/* ============================================
   AUTH CSS - Knowledge Wave India
   Colors: #0A210F #14591D #99AA38 #392F5A #F6F8FF
   ============================================ */

.auth-area {
    padding: 50px 0 70px;
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
}

.auth-row {
    display: flex;
    align-items: center;
    gap: 50px;
}

.signup-row { flex-direction: row-reverse; }

/* ========== AUTH INFO ========== */
.auth-info { flex: 1; padding-right: 30px; }
.signup-row .auth-info { padding-right: 0; padding-left: 30px; }

.auth-info h2 {
    font-size: 36px;
    font-weight: 800;
    color: #0A210F;
    margin: 0 0 15px;
    line-height: 1.3;
}

.auth-info p {
    font-size: 16px;
    color: #666;
    line-height: 1.7;
    margin: 0 0 30px;
}

.auth-features {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.auth-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: #333;
}

.auth-feature i { color: #99AA38; font-size: 20px; }

.auth-switch {
    padding-top: 25px;
    border-top: 1px solid #e0e0e0;
}

.auth-switch p { margin: 0; font-size: 15px; color: #666; }

.auth-switch a {
    color: #99AA38;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.auth-switch a:hover { color: #0A210F; }

/* ========== AUTH FORM ========== */
.auth-form-wrap { flex: 1; }

.auth-form-card {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

.auth-form-card h3 {
    font-size: 26px;
    font-weight: 700;
    color: #0A210F;
    margin: 0 0 6px;
}

.form-subtitle { color: #666; font-size: 15px; margin: 0 0 25px; }

.auth-form { display: flex; flex-direction: column; gap: 18px; }

.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.form-group { display: flex; flex-direction: column; gap: 7px; }

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: #0A210F;
}

.input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.input-group > i:first-child {
    position: absolute;
    left: 15px;
    color: #999;
    font-size: 14px;
    z-index: 1;
}

.input-group input {
    width: 100%;
    padding: 14px 15px 14px 42px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    outline: none;
    transition: all 0.3s ease;
    background: #F6F8FF;
}

.input-group input:focus {
    border-color: #99AA38;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(153,170,56,0.08);
}

.input-group input::placeholder { color: #aaa; }

.toggle-password {
    position: absolute;
    right: 15px;
    color: #999;
    cursor: pointer;
    font-size: 14px;
    z-index: 1;
    transition: color 0.3s ease;
}

.toggle-password:hover { color: #99AA38; }

/* ========== FORM OPTIONS ========== */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.remember-me, .terms-check {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #666;
    cursor: pointer;
}

.remember-me input, .terms-check input {
    width: 16px;
    height: 16px;
    accent-color: #99AA38;
    cursor: pointer;
}

.terms-check a { color: #99AA38; text-decoration: none; font-weight: 500; }
.terms-check a:hover { text-decoration: underline; }

.forgot-link {
    font-size: 14px;
    color: #99AA38;
    text-decoration: none;
    font-weight: 500;
}
.forgot-link:hover { color: #0A210F; }

/* ========== BUTTON ========== */
.btn-auth {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #99AA38;
    color: #0A210F;
    font-weight: 700;
    font-size: 16px;
    padding: 16px 30px;
    border: 2px solid transparent;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.btn-auth:hover {
    background: transparent;
    color: #99AA38;
    border-color: #99AA38;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(153,170,56,0.3);
}

.btn-auth i { transition: transform 0.3s ease; }
.btn-auth:hover i { transform: translateX(5px); }

/* ========== DIVIDER ========== */
.auth-divider {
    text-align: center;
    position: relative;
    margin: 25px 0;
}
.auth-divider::before {
    content: '';
    position: absolute;
    top: 50%; left: 0; right: 0;
    height: 1px;
    background: #e0e0e0;
}
.auth-divider span {
    position: relative;
    background: #fff;
    padding: 0 15px;
    font-size: 13px;
    color: #999;
    text-transform: uppercase;
}

/* ========== SOCIAL ========== */
.social-login { display: flex; justify-content: center; }

.social-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 30px;
    border: 2px solid #e0e0e0;
    border-radius: 50px;
    background: #fff;
    font-size: 15px;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}
.social-btn:hover { border-color: #99AA38; color: #99AA38; transform: translateY(-2px); }
.social-btn i { font-size: 18px; }
.google-btn i { color: #DB4437; }

/* ========== SCROLL TOP ========== */
.scroll-top {
    position: fixed; bottom: 30px; right: 30px;
    width: 50px; height: 50px;
    background: #99AA38; color: #0A210F;
    border: none; border-radius: 50%;
    cursor: pointer; font-size: 18px; z-index: 999;
    display: none; align-items: center; justify-content: center;
    box-shadow: 0 5px 20px rgba(153,170,56,0.4);
    transition: all 0.3s ease;
}
.scroll-top.show { display: flex; }
.scroll-top:hover { background: #0A210F; color: #99AA38; transform: translateY(-5px); }

/* ========== RESPONSIVE ========== */
@media (max-width: 991.98px) {
    .auth-area { padding: 35px 0 50px; }
    .auth-row, .signup-row { flex-direction: column; gap: 40px; }
    .auth-info { padding: 0 !important; text-align: center; max-width: 500px; margin: 0 auto; }
    .auth-feature { justify-content: center; }
    .auth-info h2 { font-size: 28px; }
    .auth-form-wrap { max-width: 500px; margin: 0 auto; width: 100%; }
}

@media (max-width: 767.98px) {
    .auth-form-card { padding: 30px 25px; }
    .auth-form-card h3 { font-size: 22px; }
    .form-row-2 { grid-template-columns: 1fr; }
    .auth-info h2 { font-size: 24px; }
}

@media (max-width: 575.98px) {
    .auth-form-card { padding: 25px 20px; }
    .form-options { flex-direction: column; gap: 10px; align-items: flex-start; }
    .social-btn { width: 100%; justify-content: center; }
}