  :root {
            --brand-900: #10233f;
            --brand-800: #17375f;
            --brand-600: #2a6bad;
            --brand-500: #3b82c4;
            --accent-green: #32b56f;
            --card-bg: rgba(255, 255, 255, 0.94);
            --border-soft: #dbe5f1;
            --text-main: #1d2b3e;
            --text-muted: #6c7d95;
            --focus: rgba(58, 130, 196, 0.25);
            --danger: #c73645;
        }

        * { box-sizing: border-box; }

        html,
        body,
        form {
            width: 100%;
            height: 100%;
            min-height: 100%;
            overflow: hidden;
        }

        body {
            margin: 0;
            font-family: "Poppins", sans-serif;
            color: var(--text-main);
            overflow: hidden;
            background:
                radial-gradient(circle at 10% 22%, rgba(113, 169, 235, 0.22), transparent 32%),
                radial-gradient(circle at 82% 12%, rgba(67, 141, 218, 0.16), transparent 35%),
                radial-gradient(circle at 75% 84%, rgba(50, 181, 111, 0.12), transparent 30%),
                linear-gradient(135deg, #f7f9fc 0%, #e7eef8 50%, #dde8f7 100%);
            background:
                radial-gradient(circle at 10% 22%, rgba(113, 169, 235, 0.22), transparent 32%),
                radial-gradient(circle at 82% 12%, rgba(67, 141, 218, 0.16), transparent 35%),
                radial-gradient(circle at 75% 84%, rgba(50, 181, 111, 0.12), transparent 30%),
                linear-gradient(135deg, #f7f9fc 0%, #e7eef8 50%, #dde8f7 100%);
        }

        .erp-login-page {
            height: 100vh;
            height: 100dvh;
            min-height: 0;
            display: grid;
            grid-template-columns: 1.35fr 1fr;
            overflow: hidden;
        }

        .hero-panel {
            position: relative;
            overflow: hidden;
            padding: clamp(22px, 4vw, 52px);
            display: flex;
            align-items: center;
            justify-content: center;
            background: linear-gradient(160deg, rgba(238, 245, 255, 0.7) 0%, rgba(216, 230, 247, 0.55) 100%);
            border-right: 1px solid rgba(255, 255, 255, 0.65);
        }

        .hero-overlay {
            position: absolute;
            inset: 0;
            pointer-events: none;
            background-image:
                radial-gradient(circle at 12% 30%, rgba(58, 130, 196, 0.14) 0 120px, transparent 121px),
                radial-gradient(circle at 30% 24%, rgba(149, 187, 236, 0.18) 0 95px, transparent 96px),
                radial-gradient(circle at 78% 70%, rgba(93, 165, 224, 0.12) 0 145px, transparent 146px);
        }

        .hero-content {
            position: relative;
            z-index: 2;
            max-width: 960px;
            width: 100%;
            text-align: center;
        }

        .hero-kicker {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            margin-bottom: 14px;
            padding: 7px 12px;
            border-radius: 999px;
            background: rgba(16, 35, 63, 0.08);
            color: var(--brand-800);
            font-size: 12px;
            font-weight: 600;
            text-transform: uppercase;
        }

        .hero-title {
            margin: 0;
            color: var(--brand-900);
            font-size: clamp(24px, 3.4vw, 42px);
            font-weight: 300;
            line-height: 1.2;
        }

        .hero-subtitle {
            margin: 12px auto 0;
            max-width: 620px;
            color: #5a6e8d;
            font-size: clamp(13px, 1.25vw, 17px);
        }

        .hero-image-wrap {
            margin-top: clamp(18px, 3vw, 30px);
        }

        .hero-image {
            width: min(100%, 900px);
            height: auto;
            object-fit: contain;
            filter: drop-shadow(0 26px 40px rgba(21, 46, 78, 0.22));
        }

        .login-panel {
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: clamp(20px, 4vw, 40px);
        }

        .login-card {
            width: 100%;
            max-width: 460px;
            min-width: 460px;
            background: var(--card-bg);
            border: 1px solid rgba(255, 255, 255, 0.95);
            border-radius: 20px;
            box-shadow: 0 18px 40px rgba(20, 48, 83, 0.14);
            backdrop-filter: blur(4px);
            padding: clamp(20px, 2.2vw, 34px);
        }

        .logo-box {
            display: flex;
            justify-content: center;
            margin-bottom: 14px;
        }

        .logo-box img {
            height: 56px;
            width: auto;
            max-width: 100%;
        }

        .login-title {
            margin: 0;
            text-align: left;
            color: var(--brand-900);
            font-size: clamp(20px, 2vw, 23px);
            font-weight: 300;
        }

        .login-caption {
            margin: 8px 0 18px;
            min-height: 22px;
            text-align: left;
            color: var(--text-muted);
            font-size: 14px;
        }

        .form-group { margin-bottom: 14px; }

        .field-label {
            display: block;
            margin-bottom: 6px;
            color: #344c6d;
            font-size: 13px;
            font-weight: 600;
        }

        .erp-input,
        .erp-otp,
        .form-control {
            width: 100%;
            border: 1px solid var(--border-soft);
            border-radius: 12px;
            background: #fff;
            font-size: 14px;
            line-height: 1.3;
            padding: 11px 13px;
            color: var(--text-main);
            transition: border-color 0.2s ease, box-shadow 0.2s ease;
        }

        .erp-input:focus,
        .erp-otp:focus,
        .form-control:focus {
            border-color: var(--brand-500);
            box-shadow: 0 0 0 4px var(--focus);
            outline: 0;
        }

        .otp-check {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            font-size: 13px;
            color: #496180;
            line-height: 1.2;
        }

        .otp-check input[type="checkbox"] {
            -webkit-appearance: none;
            appearance: none;
            width: 42px;
            height: 24px;
            margin: 0;
            border-radius: 20px;
            border: 1px solid #bcd0ea;
            background: #dbe7f7;
            position: relative;
            cursor: pointer;
            transition: background-color 0.2s ease, border-color 0.2s ease;
            vertical-align: middle;
        }

        .otp-check input[type="checkbox"]::before {
            content: "";
            position: absolute;
            top: 2px;
            left: 2px;
            width: 18px;
            height: 18px;
            border-radius: 50%;
            background: #fff;
            box-shadow: 0 1px 4px rgba(18, 43, 73, 0.2);
            transition: transform 0.2s ease;
        }

        .otp-check input[type="checkbox"]:checked {
            background: #36b773;
            border-color: #2da764;
        }

        .otp-check input[type="checkbox"]:checked::before {
            transform: translateX(18px);
        }

        .otp-check label {
            margin: 0;
            color: #3f597b;
            font-weight: 500;
            cursor: pointer;
        }

        .otp-panel {
            padding: 12px;
            border-radius: 12px;
            background: #f5f8fd;
            border: 1px solid #e4edf8;
            margin-bottom: 14px;
        }

        .otp-actions {
            display: grid;
            grid-template-columns: 1fr;
            gap: 10px;
        }

        .otp-message {
            display: inline-block;
            margin-top: 6px;
            font-size: 12px;
            font-weight: 500;
            color: #2f8f5b;
        }

        .btn {
            border-radius: 12px;
            border: 0;
            padding: 11px 14px;
            font-weight: 600;
            font-size: 14px;
        }

        .btn-signin {
            background: linear-gradient(135deg, var(--brand-600), var(--brand-500));
            color: #fff;
        }

        .btn-otp-verify {
            background: linear-gradient(135deg, #2eaf71, var(--accent-green));
            color: #fff;
        }

        .btn-get-otp {
            background: #fff;
            border: 1px solid #d2dff0;
            color: #2e5f95;
        }

        .error-label {
            display: block;
            min-height: 20px;
            margin-bottom: 8px;
            color: var(--danger);
            font-size: 13px;
            font-weight: 500;
        }

        .meta-note {
            margin-top: 18px;
            text-align: center;
            color: #7a8ca7;
            font-size: 12px;
        }

        @media (min-width: 1025px) {
            html,
        body,
        form {
            width: 100%;
            height: 100%;
            min-height: 100%;
            overflow: hidden;
        }

            .erp-login-page {
                height: 100vh;
                height: 100dvh;
                min-height: 100dvh;
            }

            .login-panel {
                height: 100%;
                overflow: auto;
            }
        }
        @media (max-width: 1199.98px) {
            .erp-login-page {
                grid-template-columns: 1fr;
            }

            .hero-panel {
                min-height: 42vh;
                border-right: 0;
                border-bottom: 1px solid rgba(255, 255, 255, 0.7);
                padding: 24px 20px 12px;
            }

            .hero-image { width: min(90vw, 700px); }

            .login-panel {
                align-items: flex-start;
                padding: 18px 16px 28px;
            }

            .login-card {
                min-width: 0;
                max-width: 560px;
                width: 100%;
            }
        }

        @media (max-width: 767.98px) {
            .hero-panel {
                min-height: auto;
                padding: 16px 12px 8px;
            }

            .hero-title { font-size: clamp(20px, 6vw, 28px); }
            .hero-subtitle { font-size: 12px; }
            .hero-image { width: min(92vw, 520px); }

            .login-card {
                border-radius: 16px;
                padding: 18px 14px;
            }

            .btn,
            .erp-input,
            .erp-otp,
            .form-control { font-size: 13px; }
        }

        @media (max-width: 1024px) {
            .hero-panel { display: none; }

            .erp-login-page {
                display: block;
                min-height: 100dvh;
            }

            .login-panel {
                min-height: 100dvh;
                display: flex;
                align-items: center;
                justify-content: center;
                padding: 14px;
            }

            .login-card {
                min-width: 0;
                max-width: 560px;
                width: 100%;
            }
        }
    
        @media (min-width: 1025px) {
            .hero-content {
                justify-content: flex-start;
                padding-top: 18px;
            }

            .hero-kicker {
                display: inline-flex !important;
                margin-top: 0;
                margin-bottom: 10px;
            }

            .hero-image {
                max-height: 52vh;
            }
        }