.auth-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background-image: url("img/authback.jpg"); 
    background-size: cover;
    background-repeat: no-repeat; 
    background-position: center;
}

.auth-container {
    max-width: 1100px;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(20px);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 0;
    padding: 60px 40px;
}

.auth-box {
    padding: 0 30px;
}

.auth-divider {
    width: 1px;
    background: #e5e7eb86;
    margin: 0 40px;
}

.auth-title {
    font-size: 28px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 30px;
}

.auth-description {
    font-size: 15px;
    color: #6b7280;
    line-height: 1.7;
    margin-bottom: 30px;
}

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

.form-group {
    position: relative;
}

.form-group input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 15px;
    color: #1f2937;
    transition: border-color 0.2s;
}

.form-group input:focus {
    outline: none;
    border-color: #9ca3af;
}

.form-group input::placeholder {
    color: #9ca3af;
}

.password-group {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #6b7280;
    font-size: 16px;
    padding: 5px;
}

.toggle-password:hover {
    color: #111827;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: -5px;
}

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

.remember-me input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
    accent-color: #111827;
}

.forgot-password {
    font-size: 14px;
    color: #111827;
    text-decoration: underline;
    transition: color 0.2s;
    white-space: nowrap;
}

.forgot-password:hover {
    color: #374151;
}

.btn-primary {
    display: inline-block;
    width: 100%;
    padding: 14px 24px;
    background: #111827;
    color: #fff;
    border: none;
    border-radius: 25px;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.3s, transform 0.1s;
}

.btn-primary:hover {
    background: #1f2937;
    transform: translateY(-1px);
}

.btn-primary:active {
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 992px) {
     .auth-container {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 50px 30px;
    }
    
   .auth-divider {
        display: none;
    }
    
    .auth-box {
        padding: 0;
    }
}

@media (max-width: 768px) {
    .auth-section {
        padding: 30px 15px;
    }
    
    .auth-container {
        padding: 40px 25px;
    }
    
    .auth-title {
        font-size: 24px;
    }
    
    .auth-description {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .auth-container {
        padding: 30px 20px;
    }
    
    .auth-title {
        font-size: 22px;
        margin-bottom: 20px;
    }
    
    .form-group input {
        padding: 12px 14px;
        font-size: 14px;
    }
    
    .btn-primary {
        padding: 12px 20px;
        font-size: 14px;
    }
    
    /* Keep form-options in row on mobile */
    .form-options {
        flex-wrap: wrap;
        gap: 8px 15px;
    }
    
    .remember-me {
        font-size: 13px;
    }
    
    .remember-me input[type="checkbox"] {
        width: 14px;
        height: 14px;
    }
    
    .forgot-password {
        font-size: 13px;
    }
}

@media (max-width: 360px) {
    .form-options {
        gap: 6px 10px;
    }
    
    .remember-me {
        font-size: 12px;
    }
    
    .forgot-password {
        font-size: 12px;
    }
}