        :root {
            --brand-red: #C21807;
            --brand-red-hover: #a11305;
            --brand-gold: #F0B429;
            --brand-dark: #120E0E;
            --brand-dark-light: #1c1717;
            --text-slate: #64748b;
            --input-border: #E2E8F0;
            --bg-grid: radial-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 0);
        }

        body, html {
            height: 100%;
            margin: 0;
            font-family: 'Plus Jakarta Sans', sans-serif;
            background-color: #fff;
            overflow: hidden;
            -webkit-font-smoothing: antialiased;
        }

        .main-wrapper {
            display: flex;
            height: 100vh;
            width: 100%;
        }

        /* --- Left Dynamic Panel --- */
        .panel-left {
            flex: 1.1;
            background-color: var(--brand-dark);
            background-image: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand-dark-light) 100%);
            color: white;
            display: flex;
            flex-direction: column;
            justify-content: center;
            padding: 0 8%;
            position: relative;
            z-index: 10;
            box-shadow: 10px 0 40px rgba(0, 0, 0, 0.15);
        }

        /* Ambient glowing backgrounds in left panel */
        .panel-left::before {
            content: '';
            position: absolute;
            top: -20%;
            left: -20%;
            width: 600px;
            height: 600px;
            background: radial-gradient(circle, rgba(194, 24, 7, 0.15) 0%, transparent 70%);
            z-index: -1;
            pointer-events: none;
        }

        .panel-left::after {
            content: '';
            position: absolute;
            bottom: -10%;
            right: -10%;
            width: 500px;
            height: 500px;
            background: radial-gradient(circle, rgba(240, 180, 41, 0.08) 0%, transparent 70%);
            z-index: -1;
            pointer-events: none;
        }

        .accent-square {
            width: 20px;
            height: 20px;
            background: var(--brand-gold);
            margin-bottom: 35px;
            box-shadow: 0 0 25px rgba(240, 180, 41, 0.6);
            border-radius: 2px;
            transform: rotate(45deg);
        }

        .brand-label {
            text-transform: uppercase;
            letter-spacing: 5px;
            font-size: 0.75rem;
            font-weight: 800;
            margin-bottom: 25px;
            color: rgba(255,255,255,0.6);
            border-left: 2px solid var(--brand-red);
            padding-left: 12px;
            line-height: 1;
        }

        .typewriter-container {
            min-height: 220px;
        }

        .dynamic-title {
            font-family: 'Instrument Serif', serif;
            font-size: clamp(2.8rem, 5.5vw, 4.5rem);
            line-height: 1.1;
            margin-bottom: 25px;
            font-style: italic;
            font-weight: 400;
            background: linear-gradient(to right, #ffffff, #f3f4f6);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .cursor {
            display: inline-block;
            width: 3px;
            background-color: var(--brand-gold);
            margin-left: 8px;
            animation: blink 0.8s infinite;
            box-shadow: 0 0 8px var(--brand-gold);
        }

        @keyframes blink {
            50% { opacity: 0; }
        }

        .dynamic-desc {
            font-size: 1.15rem;
            color: rgba(255,255,255,0.65);
            max-width: 480px;
            line-height: 1.7;
            font-weight: 300;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            padding-top: 20px;
        }

        /* --- Right Form Panel --- */
        .panel-right {
            flex: 1;
            background: #fff;
            background-image: var(--bg-grid);
            background-size: 24px 24px;
            display: flex;
            flex-direction: column;
            padding: 50px 8%;
            overflow-y: auto;
            position: relative;
        }

        .auth-header-nav {
            display: flex;
            gap: 35px;
            margin-bottom: 50px;
            border-bottom: 2px solid #f1f5f9;
        }

        .nav-item-custom {
            padding: 14px 0;
            font-size: 0.9rem;
            font-weight: 700;
            color: #94a3b8;
            cursor: pointer;
            position: relative;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            background: none;
            border: none;
        }

        .nav-item-custom:hover {
            color: #475569;
        }

        .nav-item-custom.active {
            color: var(--brand-red);
        }

        .nav-item-custom.active::after {
            content: '';
            position: absolute;
            bottom: -2px;
            left: 0;
            width: 100%;
            height: 3px;
            background: var(--brand-red);
            border-radius: 3px 3px 0 0;
        }

        .form-heading {
            font-weight: 800;
            font-size: 2.6rem;
            color: #0f172a;
            margin-bottom: 12px;
            letter-spacing: -1.5px;
        }

        .form-subheading {
            color: var(--text-slate);
            font-size: 1rem;
            margin-bottom: 40px;
            font-weight: 400;
        }

        .custom-label {
            font-size: 0.7rem;
            font-weight: 800;
            text-transform: uppercase;
            letter-spacing: 1.8px;
            color: #64748b;
            margin-bottom: 12px;
            display: block;
        }

        .custom-input {
            width: 100%;
            padding: 15px 20px;
            border: 1.5px solid var(--input-border);
            border-radius: 12px;
            font-size: 0.95rem;
            margin-bottom: 25px;
            transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
            color: #1e293b;
            background-color: #fafafa;
        }

        .custom-input::placeholder {
            color: #cbd5e1;
        }

        .custom-input:focus {
            outline: none;
            border-color: var(--brand-red);
            background-color: #fff;
            box-shadow: 0 0 0 4px rgba(194, 24, 7, 0.08), 0 4px 12px rgba(0,0,0,0.03);
        }

        select.custom-input {
            appearance: none;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2394a3b8'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2.5' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-position: right 20px center;
            background-size: 16px;
            padding-right: 45px;
            cursor: pointer;
        }

        .pass-group {
            position: relative;
        }

        .btn-show {
            position: absolute;
            right: 20px;
            top: 16px;
            font-size: 0.75rem;
            font-weight: 800;
            color: #64748b;
            cursor: pointer;
            background: none;
            border: none;
            text-transform: uppercase;
            letter-spacing: 1px;
            transition: color 0.2s ease;
        }

        .btn-show:hover {
            color: var(--brand-red);
        }

        .btn-primary-auth {
            width: 100%;
            background-color: var(--brand-red);
            color: #fff;
            border: none;
            padding: 18px;
            border-radius: 14px;
            font-weight: 700;
            font-size: 1.05rem;
            margin-top: 15px;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            box-shadow: 0 10px 25px rgba(194, 24, 7, 0.25);
            letter-spacing: 0.5px;
        }

        .btn-primary-auth:hover {
            transform: translateY(-2px);
            box-shadow: 0 14px 30px rgba(194, 24, 7, 0.35);
            background-color: var(--brand-red-hover);
        }

        .btn-primary-auth:active {
            transform: translateY(0);
        }

        .switch-text {
            text-align: center;
            margin-top: 35px;
            font-size: 0.95rem;
            color: var(--text-slate);
        }

        .switch-text span {
            color: var(--brand-red);
            font-weight: 700;
            cursor: pointer;
            text-decoration: underline;
            text-underline-offset: 4px;
            transition: color 0.2s ease;
        }

        .switch-text span:hover {
            color: var(--brand-red-hover);
        }

        /* Better Link States */
        a {
            transition: color 0.2s ease;
        }
        a:hover {
            color: var(--brand-red-hover) !important;
            text-decoration: underline !important;
        }

        /* --- Transitions --- */
        .fade-container {
            animation: formAppear 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
        }

        @keyframes formAppear {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }

        .hidden { display: none !important; }

        /* --- Floating UI --- */
        .wa-button {
            position: fixed;
            bottom: 35px;
            right: 35px;
            width: 60px;
            height: 60px;
            background: #25D366;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #fff;
            font-size: 2rem;
            box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
            transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
            text-decoration: none;
            z-index: 999;
        }

        .wa-button:hover {
            transform: scale(1.08) translateY(-4px);
            box-shadow: 0 12px 30px rgba(37, 211, 102, 0.4);
            color: #fff;
        }

        @media (max-width: 992px) {
            .panel-left { display: none; }
            .panel-right { padding: 40px 6%; }
        }
