/* LOGIN SCREEN STYLES — login.css */

:root {
    --login-bg: #fdfdfd;
    --hero-overlay: rgba(27, 43, 31, 0.4);
    --form-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.login-auth-wrapper {
    min-height: 100vh;
    display: flex;
    background: var(--login-bg);
}

/* Left Hero Side */
.login-hero-side {
    position: relative;
    flex: 1.2;
    background: url('/images/auth/hero.png') no-repeat center center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.login-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--dark-green), transparent);
    opacity: 0.85;
}

.login-hero-content {
    position: relative;
    z-index: 5;
    max-width: 500px;
    padding: 40px;
    color: white;
}

.login-hero-content h1 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.1;
}

.login-hero-content p {
    font-size: 18px;
    opacity: 0.9;
    line-height: 1.6;
}

/* Right Form Side */
.login-form-side {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px;
    background: white;
    overflow-y: auto;
}

.login-form-container {
    width: 100%;
    max-width: 440px;
    animation: fadeInUp 0.6s ease-out;
}

.login-form-header {
    margin-bottom: 35px;
}

.login-form-header .sub-logo {
    margin-bottom: 20px;
    height: 50px;
}

.login-form-header h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--dark-green);
    margin-bottom: 8px;
}

.login-form-header p {
    color: var(--text-muted);
}

/* Form Groups */
.auth-input-group {
    margin-bottom: 25px;
    position: relative;
}

.auth-input-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 8px;
}

.input-with-icon {
    position: relative;
}

.input-with-icon i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    width: 18px;
    height: 18px;
}

.input-with-icon input {
    width: 100%;
    padding: 14px 15px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    font-size: 15px;
    transition: all 0.3s;
    background: #fcfdfe;
}

.input-with-icon input:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 4px rgba(109, 179, 77, 0.1);
    background: white;
}

/* Actions Checkbox & Forgot */
.auth-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    font-size: 14px;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    color: var(--text-muted);
}

.forgot-password {
    color: var(--primary-green);
    font-weight: 700;
    text-decoration: none;
}

/* Submit Button */
.auth-submit-btn {
    width: 100%;
    background: var(--primary-green);
    color: white;
    padding: 16px;
    border: none;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(109, 179, 77, 0.25);
}

.auth-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(109, 179, 77, 0.35);
    background: #5fa43d;
}

/* Social Login Divider */
.social-divider {
    display: flex;
    align-items: center;
    margin: 35px 0;
    color: #cbd5e1;
}

.social-divider::before,
.social-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e2e8f0;
}

.social-divider span {
    padding: 0 15px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* Social Buttons */
.social-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: white;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-main);
    cursor: pointer;
    transition: all 0.2s;
}

.social-btn:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
}

.social-btn img {
    height: 20px;
}

/* Register link */
.register-link {
    text-align: center;
    margin-top: 35px;
    font-size: 14px;
    color: var(--text-muted);
}

.register-link a {
    color: var(--primary-green);
    font-weight: 700;
    text-decoration: none;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .login-hero-side { display: none; }
    .login-form-side { padding: 40px 20px; }
}
