/* ==========================================
   ITZ ADARSH — SPLIT SCREEN AUTHENTICATION STYLES
   Green & White Theme Palette (#095650, #10B981, #095650, #FFFFFF)
   ========================================== */

:root {
    --auth-primary: #095650;
    --auth-primary-hover: #0F766E;
    --auth-accent: #10B981;
    --auth-bg-dark: #064E3B;
    --auth-text-dark: #095650;
    --auth-text-muted: #6B7872;
    --auth-bg-light: #F3F6F5;
    --auth-card-bg: #FFFFFF;
    --auth-border: #D8E0DC;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body.auth-page {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--auth-bg-light);
    color: var(--auth-text-dark);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Main Split Wrapper */
.auth-split-wrapper {
    display: flex;
    min-height: 100vh;
    width: 100%;
    overflow: hidden;
}

/* LEFT HERO PANEL (Big Screens) */
.auth-hero-side {
    flex: 1;
    background: linear-gradient(135deg, #064E3B 0%, #095650 60%, #047857 100%);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 60px;
    color: #FFFFFF;
    overflow: hidden;
}

/* Background glowing circles and patterns */
.auth-hero-side::before {
    content: '';
    position: absolute;
    top: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.35) 0%, rgba(0,0,0,0) 70%);
    border-radius: 50%;
    pointer-events: none;
}

.auth-hero-side::after {
    content: '';
    position: absolute;
    bottom: -150px;
    right: -150px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(20, 184, 166, 0.3) 0%, rgba(0,0,0,0) 70%);
    border-radius: 50%;
    pointer-events: none;
}

/* Brand Header in Left Hero */
.hero-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    z-index: 2;
}

.hero-brand-logo {
    width: 52px;
    height: 52px;
    background: #FFFFFF;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.hero-brand-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.hero-brand-name {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #FFFFFF;
}

/* Central Animation & Vector Graphic Container */
.hero-visual-container {
    position: relative;
    z-index: 2;
    margin: 40px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-svg-illustration {
    width: 100%;
    max-width: 420px;
    height: auto;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.2));
}

/* Floating Feature Badges over Graphic */
.floating-badge {
    position: absolute;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 12px 20px;
    border-radius: 50px;
    color: #FFFFFF;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    animation: floatAnim 4s ease-in-out infinite;
}

.floating-badge-1 {
    top: 10%;
    left: -20px;
    animation-delay: 0s;
}

.floating-badge-2 {
    bottom: 15%;
    right: -20px;
    animation-delay: 2s;
}

@keyframes floatAnim {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
}

/* Hero Content Text & Bullet Points */
.hero-text-content {
    z-index: 2;
}

.hero-title {
    font-size: 32px;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 15px;
    color: #FFFFFF;
}

.hero-subtitle {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.6;
    margin-bottom: 25px;
}

.hero-features-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    list-style: none;
}

.hero-feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 500;
    color: #FFFFFF;
}

.feature-check-icon {
    width: 22px;
    height: 22px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* RIGHT FORM PANEL */
.auth-form-side {
    flex: 1;
    background: var(--auth-card-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px 40px;
    position: relative;
}

.auth-form-box {
    width: 100%;
    max-width: 440px;
}

.form-header {
    margin-bottom: 32px;
}

.form-title {
    font-size: 28px;
    font-weight: 800;
    color: var(--auth-text-dark);
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.form-subtitle {
    color: var(--auth-text-muted);
    font-size: 14px;
    line-height: 1.5;
}

/* Interactive Input Groups */
.auth-form-group {
    margin-bottom: 20px;
}

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

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

.input-icon-wrapper svg.field-icon {
    position: absolute;
    left: 15px;
    width: 18px;
    height: 18px;
    color: #9CA3AF;
    pointer-events: none;
    transition: color 0.2s ease;
}

.auth-input {
    width: 100%;
    padding: 13px 15px 13px 44px;
    background: #FFFFFF !important;
    border: 1.5px solid var(--auth-border);
    border-radius: 12px;
    color: var(--auth-text-dark) !important;
    -webkit-text-fill-color: var(--auth-text-dark) !important;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.25s ease;
}

.auth-input:focus {
    outline: none;
    border-color: var(--auth-primary) !important;
    box-shadow: 0 0 0 4px rgba(9, 86, 80, 0.15) !important;
}

.input-icon-wrapper:focus-within svg.field-icon {
    color: var(--auth-primary);
}

.toggle-password {
    position: absolute;
    right: 15px;
    background: none;
    border: none;
    cursor: pointer;
    color: #9CA3AF;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    transition: color 0.2s ease;
}

.toggle-password:hover {
    color: var(--auth-primary);
}

/* Password meter / hints */
.password-hint {
    font-size: 12px;
    color: var(--auth-text-muted);
    margin-top: 6px;
}

/* Alert Boxes */
.auth-alert {
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.auth-alert-error {
    background: #FEF2F2;
    border: 1px solid #FCA5A5;
    color: #991B1B;
}

.auth-alert-success {
    background: #ECFDF5;
    border: 1px solid #6EE7B7;
    color: #065F46;
}

/* Primary Action Button */
.auth-btn-primary {
    width: 100%;
    padding: 14px;
    background: var(--auth-primary);
    color: #FFFFFF !important;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 8px 20px rgba(9, 86, 80, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.auth-btn-primary:hover {
    background: var(--auth-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(9, 86, 80, 0.35);
}

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

/* Auth Footer & Options */
.auth-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    font-size: 13px;
}

.auth-forgot-link {
    color: var(--auth-primary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.auth-forgot-link:hover {
    color: var(--auth-primary-hover);
    text-decoration: underline;
}

.auth-footer-text {
    text-align: center;
    margin-top: 28px;
    font-size: 14px;
    color: var(--auth-text-muted);
}

.auth-footer-text a {
    color: var(--auth-primary);
    font-weight: 600;
    text-decoration: none;
}

.auth-footer-text a:hover {
    text-decoration: underline;
}

/* Mobile Header Logo for smaller screens */
.mobile-auth-brand {
    display: none;
    text-align: center;
    margin-bottom: 24px;
}

/* RESPONSIVE DESIGN */
@media (max-width: 991px) {
    .auth-hero-side {
        display: none; /* Hide heavy visual column on mobile, show clean single panel */
    }

    .mobile-auth-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }

    .auth-form-side {
        padding: 40px 20px;
    }
}
