/* =========================================================
   AUTH PAGE
========================================================= */
.auth-page {
    width: 100%;
    display: flex;
    align-items: center;
    padding: 50px 0;
}

/* =========================================================
   AUTH CARD
========================================================= */

.auth-card {
    background: #ffffff;

    border-radius: 18px;

    padding: 35px;

    box-shadow:
        0 10px 35px rgba(0, 0, 0, 0.08);

    border: 1px solid rgba(0, 0, 0, 0.06);
}


/* =========================================================
   AUTH ICON
========================================================= */

.auth-icon {

    width: 65px;

    height: 65px;

    margin: 0 auto;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    background: rgba(218, 165, 32, 0.12);

    color: var(--secondary, #c58a00);

    font-size: 26px;
}


/* =========================================================
   INPUT GROUP
========================================================= */

.auth-input-group {

    border-radius: 10px;

    overflow: hidden;
}


.auth-input-group .input-group-text {

    background: #f8f8f8;

    border-right: 0;

    color: #888;

    min-width: 48px;

    justify-content: center;
}


.auth-input-group .form-control {

    border-left: 0;

    padding: 12px 14px;
}


.auth-input-group .form-control:focus {

    box-shadow: none;

    border-color: #dee2e6;
}


.auth-input-group:focus-within {

    box-shadow:
        0 0 0 3px rgba(218, 165, 32, 0.12);
}


/* =========================================================
   REGISTER INFORMATION
========================================================= */

.register-info {

    display: flex;

    gap: 10px;

    align-items: flex-start;

    padding: 12px 14px;

    border-radius: 10px;

    background: #fff8e6;

    color: #725600;

    font-size: 13px;

    line-height: 1.5;
}


.register-info > i {

    margin-top: 3px;

    flex-shrink: 0;
}


/* =========================================================
   REGISTER BUTTON
========================================================= */

.auth-submit-btn {

    padding: 12px;

    border-radius: 10px;

    font-weight: 600;
}


/* =========================================================
   LOGIN LINK
========================================================= */

.auth-link {

    color: var(--secondary, #c58a00);

    font-weight: 600;

    text-decoration: none;

    margin-left: 5px;
}


.auth-link:hover {

    text-decoration: underline;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 576px) {
    .auth-page {
        padding-top: 20px;
        padding-bottom: 25px;
        padding-left: 8px;
        padding-right: 8px;
        min-height: auto;
    }

    .auth-card {
        padding: 24px 16px;
        border-radius: 14px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    }

    .auth-icon {
        width: 52px;
        height: 52px;
        font-size: 22px;
        margin-bottom: 8px;
    }

    .auth-card h2.tamil-heading {
        font-size: 1.32rem !important;
    }

    .auth-input-group .form-control {
        font-size: 16px !important; /* Prevents iOS auto-zoom on input focus */
        padding: 10px 12px;
    }

    .auth-input-group .input-group-text {
        min-width: 42px;
        padding: 10px 12px;
    }

    .auth-submit-btn {
        padding: 12px;
        font-size: 0.98rem;
    }

    .register-info {
        padding: 10px 12px;
        font-size: 12px;
    }
}

@media (max-width: 380px) {
    .auth-card {
        padding: 18px 12px;
    }

    .auth-card h2.tamil-heading {
        font-size: 1.18rem !important;
    }

    .auth-submit-btn {
        font-size: 0.92rem;
        padding: 10px;
    }
}

.password-toggle {
    border: 1px solid #dee2e6;
    border-left: 0;
    color: #777;
    min-width: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.password-toggle:hover {
    background: #f8f8f8;
    color: #333;
}

.password-toggle:focus {
    box-shadow: none;
}