/* assets/css/modules/auth.css */

:root {
    --primary-green: #0e4c48;
    --primary-hover: #062b29;
    --accent-gold: #fbbf24;
    --text-dark: #1e293b;
    --text-muted: #64748b;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: #fff;
    height: 100vh;
    overflow: hidden; /* Desktop: No scroll */
}

.auth-container {
    height: 100%;
    padding: 0;
    margin: 0;
}

/* --- LEFT SIDE: FORM --- */
.auth-form-section {
    height: 100%;
    overflow-y: auto; 
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    position: relative;
    padding: 2rem;
}

.auth-wrapper {
    width: 100%;
    max-width: 420px;
}

.brand-logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-green);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 2.5rem;
}

/* SMART INPUTS */
.input-wrapper {
    position: relative;
    margin-bottom: 1.25rem;
}

.input-wrapper .form-control {
    height: 50px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    background-color: #f8fafc;
    padding-left: 48px; /* Left Icon Space */
    padding-right: 15px;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.input-wrapper .form-control.has-toggle {
    padding-right: 48px; /* Right Icon Space */
}

.input-wrapper .form-control:focus {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 4px rgba(14, 76, 72, 0.05);
    background-color: #fff;
}

/* Absolute Icons */
.auth-input-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 1.1rem;
    pointer-events: none;
    z-index: 5;
}

.password-toggle {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 1.1rem;
    cursor: pointer;
    z-index: 5;
    transition: color 0.2s;
}
.password-toggle:hover { color: var(--primary-green); }

/* Buttons */
.btn-primary-custom {
    width: 100%;
    height: 50px;
    background-color: var(--primary-green);
    border: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    color: white;
    transition: all 0.3s;
    margin-top: 1rem;
}
.btn-primary-custom:hover {
    background-color: var(--primary-hover);
    color: #ffffff !important; /* Force White Text */
    transform: translateY(-1px);
    box-shadow: 0 10px 20px -5px rgba(14, 76, 72, 0.15);
}

/* Links */
.text-brand {
    color: var(--primary-green) !important;
    transition: color 0.2s;
}
.text-brand:hover {
    color: var(--primary-hover) !important;
    text-decoration: underline !important;
}

/* --- RIGHT SIDE: SLIDER --- */
.auth-info-section {
    background: var(--primary-green);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4rem;
    color: white;
    position: relative;
    overflow: hidden;
}

.bg-circle-1 {
    position: absolute; top: -10%; right: -10%;
    width: 400px; height: 400px;
    background: rgba(255,255,255,0.03); border-radius: 50%;
}
.bg-circle-2 {
    position: absolute; bottom: -10%; left: -10%;
    width: 300px; height: 300px;
    background: rgba(255,255,255,0.03); border-radius: 50%;
}

.quote-box {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,0.1);
    margin-top: 2rem;
}

/* Slider Indicators */
.carousel-indicators { justify-content: flex-start; margin-left: 0; bottom: -40px; }
.carousel-indicators [data-bs-target] {
    width: 10px; height: 10px; border-radius: 50%;
    background-color: rgba(255,255,255,0.3); border: none; margin-right: 10px;
}
.carousel-indicators .active { background-color: #fff; width: 25px; border-radius: 10px; }

/* --- MOBILE RESPONSIVENESS --- */
@media (max-width: 991px) {
    body {
        overflow-y: auto; /* Allow scrolling */
    }
    
    .auth-container {
        height: auto;
        display: block;
    }
    
    .auth-form-section {
        height: auto;
        min-height: 100vh; /* Form takes full initial screen */
        padding: 3rem 1.5rem;
    }

    .auth-info-section {
        height: auto;
        min-height: 600px; /* Enough height for content */
        padding: 4rem 2rem;
        border-radius: 30px 30px 0 0; /* Rounded top for modern look */
    }
    
    .hero-headline-mobile {
        font-size: 2.5rem;
    }
}