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

        :root {
            --brand: #f76652;
            --brand-dark: #e0533f;
            --dark: #37384a;
            --mid: #6b6b6b;
            --light: #ffffff;
            --white: #ffffff;
        }

        body {
            font-family: 'DM Sans', sans-serif;
            background-color: var(--light);
            min-height: 100vh;
            overflow: auto;
        }

        .hm-auth-section {
            padding: 32px 0 64px;
        }

        .hm-auth-container {
            width: min(1240px, calc(100% - 32px));
            margin: 0 auto;
        }

        .login-layout {
            min-height: min(760px, calc(100vh - 220px));
            display: flex;
            align-items: stretch;
            border-radius: 28px;
            overflow: hidden;
            box-shadow: 0 24px 60px rgba(55, 56, 74, 0.08);
        }

        /* ── LEFT PANEL ── */
        .panel-left {
            width: 52%;
            background-color: var(--dark);
            position: relative;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            padding: 48px 56px;
            overflow: hidden;
        }

        .panel-left::before {
            content: '';
            position: absolute;
            top: -120px;
            right: -120px;
            width: 420px;
            height: 420px;
            border-radius: 50%;
            background: radial-gradient(circle, rgba(255, 103, 82, 0.18) 0%, transparent 70%);
            pointer-events: none;
        }

        .panel-left::after {
            content: '';
            position: absolute;
            bottom: -80px;
            left: -80px;
            width: 300px;
            height: 300px;
            border-radius: 50%;
            background: radial-gradient(circle, rgba(255, 103, 82, 0.12) 0%, transparent 70%);
            pointer-events: none;
        }

        .grid-lines {
            position: absolute;
            inset: 0;
            background-image:
                linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
                linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
            background-size: 60px 60px;
            pointer-events: none;
        }

        .brand-logo {
            font-family: var(--e-global-typography-secondary-font-family);
            font-size: 28px;
            font-weight: 600;
            color: var(--white);
            letter-spacing: 0.04em;
            text-decoration: none;
            display: flex;
            align-items: center;
            gap: 10px;
            position: relative;
            z-index: 1;
        }

        .brand-logo .dot {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: var(--brand);
            display: inline-block;
            margin-bottom: 2px;
        }

        .panel-left-content {
            position: relative;
            z-index: 1;
        }

        .panel-left-content h1 {
            font-family: var(--e-global-typography-secondary-font-family);
            font-size: clamp(2.35rem, 4vw, 3rem);
            font-weight: 300;
            color: var(--white);
            line-height: 1.15;
            margin-bottom: 20px;
        }

        .panel-left-content h1 em {
            font-style: italic;
            color: var(--brand);
        }

        .panel-left-content p {
            font-size: 15px;
            color: rgba(255, 255, 255, 0.5);
            line-height: 1.7;
            max-width: 360px;
            font-weight: 300;
        }

        .stats-row {
            position: relative;
            z-index: 1;
            display: flex;
            gap: 40px;
        }

        .stat {
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            padding-top: 16px;
        }

        .stat-number {
            font-family: var(--e-global-typography-secondary-font-family);
            font-size: 32px;
            font-weight: 600;
            color: var(--white);
            line-height: 1;
        }

        .stat-label {
            font-size: 12px;
            color: rgba(255, 255, 255, 0.4);
            text-transform: uppercase;
            letter-spacing: 0.1em;
            margin-top: 4px;
        }

        /* ── RIGHT PANEL ── */
        .panel-right {
            flex: 1;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 48px 56px;
            background: var(--white);
        }

        .login-box {
            width: 100%;
            max-width: 380px;
            animation: fadeUp 0.6s ease both;
        }

        @keyframes fadeUp {
            from {
                opacity: 0;
                transform: translateY(20px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .login-box h2 {
            font-family: var(--e-global-typography-secondary-font-family);
            font-size: clamp(1.8rem, 2.4vw, 2.2rem);
            font-weight: 600;
            color: var(--dark);
            margin-bottom: 6px;
        }

        .login-box .subtitle {
            font-size: 14px;
            color: var(--mid);
            margin-bottom: 36px;
        }

        .form-group {
            margin-bottom: 20px;
        }

        .form-group label {
            display: block;
            font-size: 12px;
            font-weight: 500;
            text-transform: uppercase;
            letter-spacing: 0.08em;
            color: var(--mid);
            margin-bottom: 8px;
        }

        .form-group input {
            width: 100%;
            padding: 13px 16px;
            border: 1.5px solid #e8e4e0;
            border-radius: 10px;
            font-family: 'DM Sans', sans-serif;
            font-size: 15px;
            color: var(--dark);
            background: var(--white);
            transition: border-color 0.2s, box-shadow 0.2s;
            outline: none;
        }

        .form-group input:focus {
            border-color: var(--brand);
            box-shadow: 0 0 0 3px rgba(255, 103, 82, 0.1);
        }

        .form-group input.is-invalid {
            border-color: var(--brand);
        }

        .invalid-feedback {
            font-size: 12px;
            color: var(--brand);
            margin-top: 5px;
            display: block;
        }

        .remember-row {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 28px;
        }

        .remember-label {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 13px;
            color: var(--mid);
            cursor: pointer;
        }

        .remember-label input[type="checkbox"] {
            accent-color: var(--brand);
            width: 15px;
            height: 15px;
            cursor: pointer;
        }

        .forgot-link {
            font-size: 13px;
            color: var(--brand);
            text-decoration: none;
            font-weight: 500;
            transition: opacity 0.2s;
        }

        .forgot-link:hover {
            opacity: 0.75;
        }

        .btn-login {
            width: 100%;
            padding: 14px;
            background: var(--brand);
            color: var(--white);
            border: none;
            border-radius: 10px;
            font-family: 'DM Sans', sans-serif;
            font-size: 15px;
            font-weight: 500;
            cursor: pointer;
            letter-spacing: 0.02em;
            transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
            box-shadow: 0 4px 20px rgba(255, 103, 82, 0.3);
        }

        .btn-login:hover {
            background: var(--brand-dark);
            transform: translateY(-1px);
            box-shadow: 0 6px 24px rgba(255, 103, 82, 0.4);
        }

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

        .divider {
            text-align: center;
            margin: 24px 0 0;
            font-size: 13px;
            color: rgba(107, 107, 107, 0.5);
        }

        @media (max-width: 768px) {
            .hm-auth-section {
                padding: 20px 0 48px;
            }

            .login-layout {
                flex-direction: column;
                min-height: auto;
            }

            .panel-left {
                width: 100%;
                padding: 36px 28px;
                min-height: 220px;
            }

            .panel-left-content h1 {
                font-size: 2.2rem;
            }

            .stats-row {
                display: none;
            }

            .panel-right {
                padding: 36px 28px;
            }

        }

        .auth-password-field {
            position: relative;
        }

        .auth-password-input {
            padding-right: 2.5rem;
        }

        .auth-password-toggle {
            position: absolute;
            top: 50%;
            right: 0.75rem;
            transform: translateY(-50%);
            background: none;
            border: none;
            cursor: pointer;
            padding: 0;
            color: #888;
            line-height: 1;
        }

        .auth-hidden-icon {
            display: none;
        }

        .portal-otp-input {
            letter-spacing: 0.35em;
            text-align: center;
            font-size: 24px;
            font-weight: 700;
        }

        .portal-secondary-link {
            display: block;
            text-align: center;
            text-decoration: none;
            margin-top: 12px;
            background: #fff;
            color: #37384a;
            border: 1px solid #d1d5db;
            box-shadow: none;
        }

        .auth-status-card {
            background: #f0fdf4;
            border: 1.5px solid #86efac;
            color: #15803d;
            border-radius: 10px;
            padding: 12px 16px;
            font-size: 14px;
            margin-bottom: 24px;
        }

        .divider-spaced {
            margin-top: 20px;
        }

        .auth-back-link {
            color: var(--brand);
            text-decoration: none;
            font-size: 13px;
            font-weight: 500;
        }

        .register-shell {
            background: linear-gradient(180deg, #fff8f5 0%, #ffffff 100%);
            border: 1px solid #f1e6e0;
            border-radius: 24px;
            padding: 28px;
            box-shadow: 0 24px 60px rgba(55, 56, 74, 0.08);
        }

        .register-actions {
            display: grid;
            gap: 12px;
            margin-top: 24px;
        }

        .register-secondary-link {
            display: inline-flex;
            justify-content: center;
            align-items: center;
            width: 100%;
            padding: 14px;
            border-radius: 10px;
            border: 1px solid #d9d9df;
            color: #37384a;
            text-decoration: none;
            font-size: 14px;
            font-weight: 500;
            transition: border-color 0.2s, color 0.2s, background 0.2s;
        }

        .register-secondary-link:hover {
            border-color: #f76652;
            color: #f76652;
            background: #fff8f5;
        }

        .register-help {
            margin-top: 18px;
            font-size: 12px;
            line-height: 1.7;
            color: #7a7b86;
        }

        .register-help strong {
            color: #37384a;
        }

        .register-email-error {
            color: var(--brand);
        }

        .register-terms-label {
            display: flex;
            align-items: flex-start;
            gap: 10px;
            text-transform: none;
            letter-spacing: 0;
            font-size: 14px;
            font-weight: 400;
            color: #6b6b7b;
            margin-bottom: 0;
            cursor: pointer;
        }

        .register-terms-checkbox {
            width: 16px !important;
            height: 16px !important;
            min-width: 16px;
            margin: 2px 0 0 !important;
            padding: 0 !important;
            border-radius: 4px !important;
            flex: 0 0 16px;
            appearance: auto;
            -webkit-appearance: checkbox;
            vertical-align: top;
            box-shadow: none !important;
        }

        .register-terms-link {
            color: #f76652;
        }
    
