.main-table {
    width: 95%;
    /* slightly smaller than full width */
    margin: 20px auto;
    /* center horizontally with margin */
    background: #ffff99;
    border: 1px solid #ccc;
    padding: 20px 40px;
    /* top-bottom 20px, left-right 40px */
    box-sizing: border-box;
    /* include padding inside width */
}

.welcome-box {
    text-align: right;
    padding: 10px 20px;
}

.welcome-box img {
    vertical-align: middle;
    margin-right: 8px;
}

.welcome-text {
    color: green;
    font-weight: bold;
    font-size: 18px;
    vertical-align: middle;
}

.tamil-text {
    font-size: 22px;
    color: green;
    font-weight: bold;
    line-height: 1.6;
    padding: 10px;
    margin-top: -80px;
    text-align: center;
}

.tamil-note {
    font-size: 16px;
    color: red;
    line-height: 1.6;
    padding: 10px;
    text-align: center;
}

.login-box {
    width: 350px;
    background: linear-gradient(to top, #ffffff, #e6f5ff);
    border: 1px solid #9ec9e2;
    border-radius: 5px;
    padding: 15px;
    margin-top: 10px;
    margin: 20px;
}

.login-title {
    font-size: 20px;
    font-weight: bold;
    font-style: italic;
    color: green;
    text-align: center;
    margin-bottom: 10px;
}

.login-table {
    width: 100%;
}

.login-table td {
    padding: 6px;
    font-size: 14px;
}

.login-table input {
    width: 95%;
    padding: 6px;
    border: 1px solid #ccc;
    border-radius: 3px;
}

.forgot {
    font-size: 12px;
    color: red;
    text-decoration: none;
}

.forgot:hover {
    text-decoration: underline;
}

.login-btn {
    background: green;
    color: white;
    border: none;
    padding: 6px 20px;
    border-radius: 5px;
    font-size: 14px;
    cursor: pointer;
}

.login-btn:hover {
    background: darkgreen;
}


/* ✅ Mobile Responsive Fix */
@media (max-width: 992px) {
    .main-table {
        display: block;
        /* break table layout */
        width: 100%;
        padding: 15px;
    }

    .main-table tr,
    .main-table td {
        display: block;
        /* stack items */
        width: 100% !important;
        text-align: center;
        /* center align on small screens */
    }

    .tamil-text {
        font-size: 18px;
        margin-top: 10px;
        text-align: center;
    }

    .tamil-note {
        font-size: 14px;
        text-align: center;
    }

    .login-box {
        width: 100%;
        max-width: 350px;
        margin: 20px auto;
    }
}

@media (max-width: 576px) {
    .welcome-text {
        font-size: 16px;
        display: block;
        margin-top: 10px;
    }

    .welcome-box img {
        width: 70px;
    }
}

.login-page {
    max-width: 350px;
    margin: 50px auto;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    font-family: Arial, sans-serif;
}

.login-title {
    text-align: center;
    color: green;
    font-size: 20px;
    margin-bottom: 20px;
}

.form-group label {
    font-weight: bold;
    margin-bottom: 5px;
    color: #333;
}

.my-form-control {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 100%;
    font-size: 14px;
}

.password-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.password-wrapper input {
    width: 100%;
    padding-right: 35px;
}

.toggle-password {
    position: absolute;
    right: 10px;
    cursor: pointer;
    color: #555;
}

.form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.forgot {
    color: red;
    font-size: 13px;
    text-decoration: none;
}

.login-btn {
    background: green;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
}
.login-btn:hover {
    background: darkgreen;
}

