


.ah-auth-container {
    display: flex;
    min-height: 80vh;
    width: 100%;
    font-family: 'Inter', sans-serif;
    background: #fff;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    margin: 40px auto;
    max-width: 1200px;
}

/* PREMIUM LEFT SIDE VISUAL */
.ah-auth-visual {
    flex: 0 0 55%;
    /* Stunning dark moody tropical leaves */
    background: url('https://images.unsplash.com/photo-1518531933037-91b2f5f229cc?auto=format&fit=crop&q=80&w=2000') center/cover no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Cinematic Gradient Overlay */
.ah-auth-visual::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(26, 60, 52, 0.85) 0%, rgba(10, 25, 20, 0.95) 100%);
    z-index: 1;
}

/* Optional subtle grain/texture overlay for a highly premium feel */
.ah-auth-visual::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: url('data:image/svg+xml,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.65" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)" opacity="0.05"/%3E%3C/svg%3E');
    z-index: 2;
    pointer-events: none;
}

.ah-visual-content {
    position: relative;
    z-index: 3;
    text-align: left;
    color: #fff;
    padding: 0 10%;
    max-width: 800px;
}

.ah-premium-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 30px;
    color: #ECAE3A; /* Ayurvedic Gold */
    font-weight: 600;
}

.ah-visual-content h1 {
    font-family: 'Montserrat', serif;
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 25px;
    color: #ffffff;
    font-weight: 400;
    letter-spacing: -1px;
}

.ah-visual-content p {
    font-size: 1.25rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 300;
    max-width: 80%;
}

/* RIGHT SIDE FORM WRAPPER */
.ah-auth-form-wrapper {
    flex: 0 0 45%;
    padding: 40px 60px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    background: #FAFAFA;
    overflow-y: auto;
    height: 100%;
}

.ah-auth-box {
    max-width: 420px;
    margin: auto auto; /* Vertically centers when short, allows normal scroll when tall */
    width: 100%;
}

.ah-auth-box h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    margin-bottom: 8px;
    color: #1a3c34;
    font-weight: 700;
    text-align: center;
}

.ah-auth-box p.subtitle {
    color: #666;
    margin-bottom: 40px;
    text-align: center;
    font-size: 0.95rem;
}

.ah-auth-view {
    display: none;
}

.ah-auth-view.active {
    display: block;
    animation: fadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Premium Form Styles */
.ah-auth-box form .form-row {
    margin-bottom: 24px;
}

.ah-auth-box label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.85rem;
    color: #444;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ah-auth-box input.input-text {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #E0E0E0;
    background: #fff;
    border-radius: 8px;
    font-size: 1rem;
    color: #333;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.01);
}

.ah-auth-box input.input-text:focus {
    border-color: #1a3c34;
    outline: none;
    box-shadow: 0 4px 12px rgba(26, 60, 52, 0.08);
}

.ah-auth-box button.button {
    width: 100%;
    padding: 16px;
    background: #1a3c34 !important;
    color: #fff !important;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(26, 60, 52, 0.2);
}

.ah-auth-box button.button:hover {
    background: #122b25 !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26, 60, 52, 0.3);
}

/* Switch View Links */
.ah-switch-view {
    margin-top: 30px;
    text-align: center;
    font-size: 0.95rem;
    color: #666;
}

.ah-switch-view a {
    color: #ECAE3A; /* Accent Gold */
    font-weight: 700;
    text-decoration: none;
    margin-left: 5px;
    transition: color 0.3s ease;
}

.ah-switch-view a:hover {
    color: #1a3c34;
}

/* Lost Password Link */
.lost_password {
    text-align: right;
    margin-top: -15px !important;
    margin-bottom: 25px !important;
}

.lost_password a {
    font-size: 0.85rem;
    color: #888;
    text-decoration: none;
    transition: color 0.3s ease;
}

.lost_password a:hover {
    color: #1a3c34;
}

/* Responsive */
@media (max-width: 992px) {
    .ah-auth-container { 
        flex-direction: column; 
        height: auto; 
        margin: 20px auto; 
        width: 95%;
    }
    .ah-auth-visual { 
        flex: 0 0 350px; 
        padding: 40px 0;
    }
    .ah-visual-content h1 { font-size: 2.5rem; }
    .ah-auth-form-wrapper { 
        flex: 1; 
        padding: 40px 20px; 
        height: auto; 
    }
}
