/* =====================================================
   ULTRA MODERN AUTH STYLES - STUNNING UI
   ===================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #0198a1;
    --primary-dark: #017080;
    --primary-light: #04d9e4;
    --text-dark: #0f172a;
    --text-gray: #64748b;
    --text-light: #94a3b8;
    --bg-light: #f8fafc;
    --border-color: #e2e8f0;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===== Main Wrapper ===== */
.auth-modern-wrapper {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f1f5f9 0%, #ffffff 100%);
}

/* ===== Background Layers ===== */
.auth-bg-layers {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.mesh-gradient {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(1, 152, 161, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(4, 217, 228, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(16, 185, 129, 0.05) 0%, transparent 50%);
}

.floating-shapes {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(1, 152, 161, 0.1), rgba(4, 217, 228, 0.1));
    backdrop-filter: blur(40px);
    animation: float-shape 20s infinite ease-in-out;
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.shape-2 {
    width: 200px;
    height: 200px;
    top: 30%;
    right: 10%;
    animation-delay: 5s;
}

.shape-3 {
    width: 250px;
    height: 250px;
    bottom: -80px;
    left: 40%;
    animation-delay: 10s;
}

.shape-4 {
    width: 180px;
    height: 180px;
    bottom: 20%;
    right: -50px;
    animation-delay: 15s;
}

@keyframes float-shape {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(20px, -20px) rotate(120deg); }
    66% { transform: translate(-15px, 15px) rotate(240deg); }
}

/* ===== Grid Layout ===== */
.auth-grid-layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
}

/* ===== Brand Panel (Left) ===== */
.auth-brand-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    background: linear-gradient(135deg, rgba(1, 152, 161, 0.03), rgba(4, 217, 228, 0.03));
    position: relative;
    overflow: hidden;
}

.auth-brand-panel::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 1px;
    height: 100%;
    background: linear-gradient(180deg, transparent, rgba(1, 152, 161, 0.1), transparent);
}

.brand-panel-inner {
    max-width: 560px;
    width: 100%;
}

/* Logo */
.auth-logo-modern {
    display: inline-block;
    margin-bottom: 3rem;
}

.auth-logo-modern img {
    height: 48px;
    width: auto;
}

/* Hero Text */
.brand-hero {
    margin-bottom: 3rem;
}

.brand-hero-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.brand-hero-desc {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--text-gray);
    margin: 0;
}

/* Feature List */
.feature-list-modern {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 3rem;
}

.feature-item-modern {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: white;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-item-modern:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 20px rgba(1, 152, 161, 0.1);
    transform: translateX(4px);
}

.feature-icon-box {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon-box svg {
    color: white;
    stroke-width: 2.5;
}

.feature-content h4 {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 0 0.25rem 0;
}

.feature-content p {
    font-size: 0.875rem;
    color: var(--text-gray);
    margin: 0;
}

/* Stats Bar */
.stats-bar-modern {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: 16px;
    border: 1px solid var(--border-color);
}

.stat-box {
    text-align: center;
    flex: 1;
}

.stat-number {
    font-size: 1.75rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.8125rem;
    color: var(--text-gray);
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-color);
}

/* ===== Form Panel (Right) ===== */
.auth-form-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    background: white;
}

.form-panel-inner {
    max-width: 440px;
    width: 100%;
}

/* Form Header */
.form-header-modern {
    margin-bottom: 2.5rem;
}

.form-header-modern h2 {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 0.5rem 0;
    letter-spacing: -0.01em;
}

.form-header-modern p {
    font-size: 0.9375rem;
    color: var(--text-gray);
    margin: 0;
}

/* Modern Form */
.modern-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Input Groups */
.input-group-modern {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.input-label-modern {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
}

.input-container-modern {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon-modern {
    position: absolute;
    left: 1rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    pointer-events: none;
    z-index: 2;
}

.input-modern {
    width: 100%;
    height: 48px;
    padding: 0 3rem 0 3rem;
    font-size: 0.9375rem;
    color: var(--text-dark);
    background: var(--bg-light);
    border: 1.5px solid var(--border-color);
    border-radius: 12px;
    transition: all 0.2s ease;
    font-weight: 500;
}

.input-modern:focus {
    outline: none;
    background: white;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(1, 152, 161, 0.08);
}

.input-modern::placeholder {
    color: var(--text-light);
    font-weight: 400;
}

.input-toggle-modern {
    position: absolute;
    right: 1rem;
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    color: var(--text-light);
    transition: color 0.2s ease;
    display: flex;
    align-items: center;
    z-index: 2;
}

.input-toggle-modern:hover {
    color: var(--primary);
}

/* Form Options */
.form-options-modern {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.checkbox-container-modern {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    cursor: pointer;
    user-select: none;
}

.checkbox-container-modern input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
    cursor: pointer;
}

.checkbox-text {
    font-size: 0.875rem;
    color: var(--text-gray);
    font-weight: 500;
}

.link-modern {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.link-modern:hover {
    color: var(--primary-dark);
}

/* Primary Button */
.btn-modern-primary {
    width: 100%;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    font-size: 0.9375rem;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(1, 152, 161, 0.25);
}

.btn-modern-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(1, 152, 161, 0.35);
}

.btn-modern-primary:active {
    transform: translateY(0);
}

/* Divider */
.divider-modern {
    position: relative;
    text-align: center;
    margin: 0.5rem 0;
}

.divider-modern::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--border-color);
}

.divider-modern span {
    position: relative;
    display: inline-block;
    padding: 0 1rem;
    background: white;
    font-size: 0.8125rem;
    color: var(--text-light);
    font-weight: 500;
}

/* Secondary Button */
.btn-modern-secondary {
    width: 100%;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: white;
    color: var(--text-dark);
    font-size: 0.9375rem;
    font-weight: 600;
    border: 1.5px solid var(--border-color);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-modern-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(1, 152, 161, 0.02);
}

/* Back Link */
.back-link-modern {
    text-align: center;
    margin-top: 0.5rem;
}

.back-link-modern a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-gray);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.back-link-modern a:hover {
    color: var(--primary);
}

/* Demo Section */
.demo-section-modern {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.demo-header {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-gray);
    text-align: center;
    margin-bottom: 1rem;
}

/* Security Badge */
.security-badge-modern {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    margin-top: 2rem;
    padding: 1rem;
    background: rgba(1, 152, 161, 0.04);
    border-radius: 12px;
    color: var(--primary);
    font-size: 0.8125rem;
    font-weight: 500;
}

/* ===== Responsive Design ===== */
@media (max-width: 1280px) {
    .brand-hero-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 1024px) {
    .auth-grid-layout {
        grid-template-columns: 1fr;
    }

    .auth-brand-panel {
        display: none;
    }

    .auth-form-panel {
        background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    }
}

@media (max-width: 640px) {
    .auth-form-panel,
    .auth-brand-panel {
        padding: 2rem 1.5rem;
    }

    .form-header-modern h2 {
        font-size: 1.5rem;
    }

    .brand-hero-title {
        font-size: 2rem;
    }

    .stats-bar-modern {
        flex-direction: column;
        gap: 1rem;
    }

    .stat-divider {
        width: 100%;
        height: 1px;
    }

    .form-options-modern {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}

/* ========================================
   OLD AUTH PAGES STYLES
   ======================================== */

    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
}

/* Animated Background */
.auth-bg-animated {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: float 20s infinite ease-in-out;
}

.gradient-orb.orb-1 {
    width: 600px;
    height: 600px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    top: -200px;
    left: -200px;
    animation-delay: 0s;
}

.gradient-orb.orb-2 {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, #10b981, #34d399);
    bottom: -150px;
    right: -150px;
    animation-delay: 7s;
}

.gradient-orb.orb-3 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, var(--primary-light), #06b6d4);
    top: 50%;
    right: 20%;
    animation-delay: 14s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

.grid-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(1, 152, 161, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(1, 152, 161, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
}

.floating-elements {
    position: absolute;
    inset: 0;
}

.float-icon {
    position: absolute;
    font-size: 2rem;
    color: rgba(1, 152, 161, 0.1);
    animation: floatIcon 15s infinite ease-in-out;
}

.float-icon.icon-1 { top: 10%; left: 15%; animation-delay: 0s; }
.float-icon.icon-2 { top: 70%; left: 10%; animation-delay: 3s; }
.float-icon.icon-3 { top: 20%; right: 20%; animation-delay: 6s; }
.float-icon.icon-4 { bottom: 15%; right: 15%; animation-delay: 9s; }

@keyframes floatIcon {
    0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.1; }
    50% { transform: translateY(-20px) rotate(180deg); opacity: 0.2; }
}

/* Auth Container */
.auth-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* Left Side - Branding */
.auth-branding {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.brand-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.brand-logo-large {
    display: block;
    margin-bottom: 1rem;
}

.brand-logo-large img {
    height: 60px;
    width: auto;
    max-width: 250px;
}

.brand-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    color: #0f172a;
    margin: 0;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.brand-description {
    font-size: 1.125rem;
    color: #64748b;
    line-height: 1.7;
    margin: 0;
}

.brand-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

.brand-feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.brand-feature-item:hover {
    box-shadow: 0 4px 16px rgba(1, 152, 161, 0.15);
    transform: translateX(5px);
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon i {
    font-size: 1.5rem;
    color: white;
}

.feature-text h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #0f172a;
    margin: 0 0 0.25rem 0;
}

.feature-text p {
    font-size: 0.875rem;
    color: #64748b;
    margin: 0;
}

.brand-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.stat-item h3 {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0 0 0.5rem 0;
}

.stat-item p {
    font-size: 0.875rem;
    color: #64748b;
    margin: 0;
}

/* Right Side - Form */
.auth-form-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.auth-form-card {
    background: white;
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.auth-form-header {
    margin-bottom: 2rem;
}

.auth-form-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 0.5rem 0;
}

.auth-form-header p {
    font-size: 1rem;
    color: #64748b;
    margin: 0;
}

/* Form Elements */
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group-modern {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group-modern label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #334155;
    margin: 0;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 1rem;
    color: #94a3b8;
    font-size: 1rem;
    pointer-events: none;
}

.form-control-modern {
    width: 100%;
    padding: 0.875rem 1rem 0.875rem 3rem;
    font-size: 1rem;
    color: #0f172a;
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    transition: all 0.2s ease;
}

.form-control-modern:focus {
    outline: none;
    background: white;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(1, 152, 161, 0.1);
}

.form-control-modern::placeholder {
    color: #94a3b8;
}

.input-toggle {
    position: absolute;
    right: 1rem;
    color: #94a3b8;
    cursor: pointer;
    transition: color 0.2s ease;
}

.input-toggle:hover {
    color: var(--primary);
}

.input-toggle i:last-child {
    display: none;
}

/* Form Options */
.form-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.checkbox-modern {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    user-select: none;
}

.checkbox-modern input {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
    cursor: pointer;
}

.checkbox-label {
    font-size: 0.875rem;
    color: #64748b;
}

.forgot-link {
    font-size: 0.875rem;
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.forgot-link:hover {
    color: var(--primary-dark);
}

/* Submit Button */
.btn-auth-primary {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    color: white;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(1, 152, 161, 0.35);
}

.btn-auth-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(1, 152, 161, 0.45);
}

.btn-auth-primary:active {
    transform: translateY(0);
}

/* Form Footer */
.form-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e2e8f0;
}

.form-footer p {
    font-size: 0.875rem;
    color: #64748b;
    margin: 0;
}

.form-footer a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.form-footer a:hover {
    color: var(--primary-dark);
}

.back-home-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #64748b;
    text-decoration: none;
    transition: color 0.2s ease;
}

.back-home-link:hover {
    color: var(--primary);
}

/* Demo Section */
.demo-section {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e2e8f0;
}

.demo-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: #64748b;
    text-align: center;
    margin-bottom: 1rem;
}

/* Trust Badge */
.auth-trust-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    background: rgba(1, 152, 161, 0.05);
    border-radius: 12px;
    color: var(--primary);
    font-size: 0.875rem;
}

.auth-trust-badge i {
    font-size: 1rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .auth-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .auth-branding {
        display: none;
    }

    .brand-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .auth-section-modern {
        padding: 2rem 1rem;
    }

    .auth-form-card {
        padding: 2rem 1.5rem;
    }

    .auth-form-header h2 {
        font-size: 1.75rem;
    }

    .brand-stats {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .auth-form-card {
        padding: 1.5rem 1rem;
    }

    .form-options {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ========================================
   OLD AUTH PAGES STYLES - Login, Register, Forgot Password
   ======================================== */

/* Base Styles */
.auth-body {
    min-height: 100vh;
    background: #f8fafc;
    font-family: 'Plus Jakarta Sans', sans-serif;
    margin: 0;
    padding: 0;
}

/* Auth Container - Split Layout */
.auth-container {
    display: flex;
    min-height: 100vh;
}

/* Left Side - Branding */
.auth-branding {
    flex: 1;
    background: linear-gradient(135deg, #0198a1 0%, #017a82 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    overflow: hidden;
}

.auth-branding-content {
    position: relative;
    z-index: 10;
    max-width: 480px;
    color: white;
}

.auth-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    margin-bottom: 2.5rem;
}

.auth-logo span {
    font-size: 1.75rem;
    font-weight: 700;
    color: white;
}

.auth-branding-content h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.auth-branding-content > p {
    font-size: 1.125rem;
    opacity: 0.9;
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

/* Auth Features */
.auth-features {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 2.5rem;
}

.auth-feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.auth-feature-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.auth-feature-icon i {
    font-size: 1.25rem;
    color: white;
}

.auth-feature-text h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.auth-feature-text p {
    font-size: 0.875rem;
    opacity: 0.8;
    margin: 0;
}

/* Testimonial */
.auth-testimonial {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
}

.auth-testimonial > p {
    font-style: italic;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.auth-testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.author-avatar {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.author-avatar i {
    font-size: 1.25rem;
    color: white;
}

.auth-testimonial-author strong {
    display: block;
    font-size: 0.9375rem;
}

.auth-testimonial-author span {
    font-size: 0.8125rem;
    opacity: 0.8;
}

/* Background Effects */
.auth-branding-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.auth-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
}

.auth-orb-1 {
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.1);
    top: -100px;
    right: -100px;
    animation: floatOrb 8s ease-in-out infinite;
}

.auth-orb-2 {
    width: 300px;
    height: 300px;
    background: rgba(4, 217, 228, 0.15);
    bottom: -50px;
    left: -50px;
    animation: floatOrb 8s ease-in-out infinite reverse;
}

@keyframes floatOrb {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-30px) scale(1.05); }
}

.auth-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 30px 30px;
}

/* Right Side - Form Section */
.auth-form-section {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: white;
}

.auth-form-container {
    width: 100%;
    max-width: 440px;
}

/* Form Header */
.auth-form-header {
    margin-bottom: 2rem;
}

.auth-form-header h2 {
    font-size: 1.875rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.5rem;
}

.auth-form-header p {
    color: #6b7280;
    font-size: 1rem;
}

/* Form Styles */
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
}

.input-with-icon {
    position: relative;
    display: flex;
    align-items: center;
}

.input-with-icon > i:first-child {
    position: absolute;
    left: 1rem;
    color: #9ca3af;
    font-size: 1rem;
}

.input-with-icon input {
    width: 100%;
    padding: 0.875rem 1rem 0.875rem 2.75rem;
    border: 2px solid #e5e7eb;
    border-radius: 0.75rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    outline: none;
    font-family: inherit;
}

.input-with-icon input:focus {
    border-color: #0198a1;
    box-shadow: 0 0 0 4px rgba(1, 152, 161, 0.1);
}

.input-with-icon input::placeholder {
    color: #9ca3af;
}

.toggle-password {
    position: absolute;
    right: 1rem;
    background: none;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    padding: 0.5rem;
    transition: color 0.3s ease;
}

.toggle-password:hover {
    color: #0198a1;
}

/* Form Options - Remember Me & Forgot Password */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.checkbox-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.875rem;
    color: #4b5563;
    user-select: none;
}

.checkbox-container input {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid #d1d5db;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.checkbox-container input:checked + .checkmark {
    background: #0198a1;
    border-color: #0198a1;
}

.checkbox-container input:checked + .checkmark::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: white;
    font-size: 0.625rem;
}

.forgot-link {
    font-size: 0.875rem;
    color: #0198a1;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.forgot-link:hover {
    text-decoration: underline;
}

/* Primary Auth Button */
.btn-auth-primary {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #0198a1, #04d9e4);
    color: white;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 0.75rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(1, 152, 161, 0.3);
    font-family: inherit;
}

.btn-auth-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(1, 152, 161, 0.4);
}

.btn-auth-primary:active {
    transform: translateY(0);
}

/* Divider */
.auth-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #9ca3af;
    font-size: 0.875rem;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e5e7eb;
}

/* Social Auth Buttons */
.social-auth {
    display: flex;
    gap: 1rem;
}

.btn-social {
    flex: 1;
    padding: 0.875rem;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 0.75rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.9375rem;
    font-weight: 500;
    color: #374151;
    transition: all 0.3s ease;
    font-family: inherit;
}

.btn-social:hover {
    border-color: #0198a1;
    background: #f0fdfa;
}

.btn-social i {
    font-size: 1.125rem;
}

.btn-social .fa-google {
    color: #ea4335;
}

.btn-social .fa-facebook-f {
    color: #1877f2;
}

/* Auth Footer */
.auth-footer {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e7eb;
}

.auth-footer p {
    color: #6b7280;
    font-size: 0.9375rem;
}

.auth-footer a {
    color: #0198a1;
    text-decoration: none;
    font-weight: 600;
}

.auth-footer a:hover {
    text-decoration: underline;
}

/* Auth Help Link */
.auth-help {
    text-align: center;
    margin-top: 1.5rem;
}

.auth-help a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #6b7280;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.auth-help a:hover {
    color: #0198a1;
}

/* Form Row - For side by side inputs */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* Select Dropdown */
.form-group select {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 0.75rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    outline: none;
    font-family: inherit;
    background: white;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1rem;
}

.form-group select:focus {
    border-color: #0198a1;
    box-shadow: 0 0 0 4px rgba(1, 152, 161, 0.1);
}

/* Terms Checkbox */
.terms-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.terms-checkbox input {
    display: none;
}

.terms-checkbox .checkmark {
    margin-top: 2px;
    flex-shrink: 0;
}

.terms-checkbox span {
    font-size: 0.875rem;
    color: #4b5563;
    line-height: 1.5;
}

.terms-checkbox a {
    color: #0198a1;
    text-decoration: none;
}

.terms-checkbox a:hover {
    text-decoration: underline;
}

/* Password Strength Indicator */
.password-strength {
    display: flex;
    gap: 0.25rem;
    margin-top: 0.5rem;
}

.strength-bar {
    flex: 1;
    height: 4px;
    background: #e5e7eb;
    border-radius: 2px;
    transition: background 0.3s ease;
}

.strength-bar.active.weak {
    background: #ef4444;
}

.strength-bar.active.medium {
    background: #f59e0b;
}

.strength-bar.active.strong {
    background: #10b981;
}

.password-hint {
    font-size: 0.75rem;
    color: #6b7280;
    margin-top: 0.5rem;
}

/* Phone Input */
.phone-input-group {
    display: flex;
    gap: 0.5rem;
}

.phone-prefix {
    padding: 0.875rem 1rem;
    background: #f3f4f6;
    border: 2px solid #e5e7eb;
    border-radius: 0.75rem;
    font-size: 1rem;
    color: #374151;
    font-weight: 500;
}

.phone-input-group input {
    flex: 1;
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .auth-container {
        flex-direction: column;
    }

    .auth-branding {
        padding: 2rem;
        min-height: auto;
    }

    .auth-branding-content {
        max-width: 100%;
    }

    .auth-branding-content h1 {
        font-size: 2rem;
    }

    .auth-features {
        display: none;
    }

    .auth-testimonial {
        display: none;
    }

    .auth-form-section {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 640px) {
    .auth-branding {
        padding: 1.5rem;
    }

    .auth-branding-content h1 {
        font-size: 1.5rem;
    }

    .auth-branding-content > p {
        font-size: 1rem;
        margin-bottom: 0;
    }

    .auth-form-container {
        max-width: 100%;
    }

    .auth-form-header h2 {
        font-size: 1.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .social-auth {
        flex-direction: column;
    }

    .form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
}

/* Trial Badge */
.trial-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.trial-badge i {
    color: #fcd34d;
}

/* Benefits List */
.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9375rem;
}

.benefit-item i {
    color: #34d399;
}

/* Mobile Logo Header (visible on mobile) */
.mobile-logo {
    display: none;
    text-align: center;
    margin-bottom: 2rem;
}

.mobile-logo a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.mobile-logo span {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
}

@media (max-width: 1024px) {
    .mobile-logo {
        display: block;
    }
}
