/* Extracted from registrasi.php */
/* ============================================================
           SIAR GBKP - PREMIUM REGISTRATION DESIGN SYSTEM v3.0
           Mobile-First | Glassmorphism | Luxury UI
        ============================================================ */

        /* --- CSS Variables --- */
        :root {
            --primary: #4f46e5;
            --primary-dark: #3730a3;
            --primary-light: #818cf8;
            --primary-glow: rgba(79, 70, 229, 0.25);
            --accent: #06b6d4;
            --accent-glow: rgba(6, 182, 212, 0.3);
            --success: #10b981;
            --success-glow: rgba(16, 185, 129, 0.25);
            --danger: #ef4444;
            --warning: #f59e0b;
            --surface: #ffffff;
            --surface-2: #f8fafc;
            --surface-3: #f1f5f9;
            --border: #e2e8f0;
            --border-focus: #818cf8;
            --text-primary: #0f172a;
            --text-secondary: #334155;
            --text-muted: #64748b;
            --text-light: #94a3b8;
            --card-shadow: 0 25px 80px rgba(15, 23, 42, 0.18), 0 8px 32px rgba(15, 23, 42, 0.08);
            --input-shadow-focus: 0 0 0 4px rgba(79, 70, 229, 0.12);
            --radius-sm: 0.75rem;
            --radius: 1rem;
            --radius-lg: 1.5rem;
            --radius-xl: 2rem;
            --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
        }

        /* --- Base Reset --- */
        body {
            font-family: 'Outfit', system-ui, -apple-system, sans-serif;
            background: #f0f4ff;
            min-height: 100vh;
            -webkit-text-size-adjust: 100%;
        }

        html, body {
            max-width: 100%;
            overflow-x: hidden;
        }

        input, select, textarea, button {
            font-family: inherit;
            font-size: 16px;
        }

        /* --- Hero Background --- */
        .registration-bg {
            background:
                linear-gradient(145deg,
                    rgba(30, 27, 75, 0.97) 0%,
                    rgba(49, 46, 129, 0.95) 35%,
                    rgba(17, 24, 56, 0.98) 70%,
                    rgba(8, 47, 73, 0.97) 100%
                );
            position: relative;
            overflow: hidden;
        }

        .registration-bg::before {
            content: '';
            position: absolute;
            inset: 0;
            background-image:
                radial-gradient(circle at 15% 20%, rgba(139, 92, 246, 0.18) 0%, transparent 40%),
                radial-gradient(circle at 85% 80%, rgba(6, 182, 212, 0.15) 0%, transparent 40%),
                radial-gradient(circle at 50% 50%, rgba(79, 70, 229, 0.08) 0%, transparent 60%);
        }

        /* Animated grid pattern */
        .hero-pattern {
            background-image:
                linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
                linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
            background-size: 32px 32px;
            width: 100%;
            height: 100%;
        }

        /* Floating glow orbs */
        .glow-orb {
            position: absolute;
            border-radius: 50%;
            filter: blur(60px);
            animation: orbFloat 8s ease-in-out infinite;
            pointer-events: none;
        }

        .glow-orb-1 {
            width: 300px;
            height: 300px;
            background: radial-gradient(circle, rgba(139, 92, 246, 0.22) 0%, transparent 70%);
            top: -80px;
            left: -60px;
            animation-duration: 9s;
        }

        .glow-orb-2 {
            width: 250px;
            height: 250px;
            background: radial-gradient(circle, rgba(6, 182, 212, 0.18) 0%, transparent 70%);
            bottom: -60px;
            right: -40px;
            animation-duration: 11s;
            animation-delay: -4s;
        }

        .glow-orb-3 {
            width: 180px;
            height: 180px;
            background: radial-gradient(circle, rgba(236, 72, 153, 0.12) 0%, transparent 70%);
            top: 30%;
            left: 60%;
            animation-duration: 13s;
            animation-delay: -2s;
        }

        @keyframes orbFloat {
            0%, 100% { transform: translate(0, 0) scale(1); }
            33% { transform: translate(20px, -25px) scale(1.08); }
            66% { transform: translate(-15px, 15px) scale(0.94); }
        }

        /* --- Header Area --- */
        .registration-card,
        .registration-header,
        .registration-section {
            min-width: 0;
        }

        .registration-header-panel {
            max-width: 56rem;
            margin-inline: auto;
        }

        .registration-logo-ring {
            position: absolute;
            inset: -6px;
            border-radius: 1.5rem;
            background: conic-gradient(
                from 0deg,
                rgba(139,92,246,0.6),
                rgba(6,182,212,0.6),
                rgba(236,72,153,0.5),
                rgba(139,92,246,0.6)
            );
            animation: logoRingSpin 5s linear infinite;
            z-index: 0;
        }

        @keyframes logoRingSpin {
            from { transform: rotate(0deg); }
            to { transform: rotate(360deg); }
        }

        .gradient-text {
            background: linear-gradient(135deg, #ffffff 0%, #c7d2fe 40%, #67e8f9 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .header-pill {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.5rem 1rem;
            border-radius: 100px;
            font-size: 0.8125rem;
            font-weight: 600;
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            border: 1px solid rgba(255,255,255,0.15);
            transition: var(--transition);
        }

        /* --- Registration Card (Glassmorphism) --- */
        .registration-card {
            background: rgba(255, 255, 255, 0.995);
            border: 1px solid rgba(255, 255, 255, 0.8);
            border-radius: var(--radius-xl);
            box-shadow: var(--card-shadow), 0 1px 0 rgba(255,255,255,0.9) inset;
            overflow: visible !important;
        }

        /* --- Progress Tracker --- */
        #progress-tracker {
            background: linear-gradient(145deg, #1e1b4b 0%, #312e81 50%, #0c1445 100%);
            border-radius: var(--radius-xl) var(--radius-xl) 0 0;
            position: relative;
            overflow: hidden;
        }

        #progress-tracker::before {
            content: '';
            position: absolute;
            inset: 0;
            background-image:
                linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
                linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
            background-size: 24px 24px;
        }

        .step-indicator-circle {
            transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
            position: relative;
            z-index: 2;
        }

        .step-indicator-item.active .step-indicator-circle {
            border-color: #67e8f9 !important;
            background: linear-gradient(135deg, #06b6d4 0%, #818cf8 100%) !important;
            color: #ffffff !important;
            box-shadow: 0 0 0 4px rgba(6,182,212,0.2), 0 0 20px rgba(6,182,212,0.5) !important;
            transform: scale(1.15);
        }

        .step-indicator-item.active .step-indicator-label {
            color: #67e8f9 !important;
            font-weight: 800 !important;
            opacity: 1 !important;
            text-shadow: 0 0 12px rgba(103,232,249,0.5);
        }

        .step-indicator-item.completed .step-indicator-circle {
            border-color: #34d399 !important;
            background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
            color: #ffffff !important;
            box-shadow: 0 0 0 3px rgba(16,185,129,0.15), 0 0 12px rgba(16,185,129,0.3) !important;
        }

        .step-indicator-item.completed .step-indicator-label {
            color: #34d399 !important;
            opacity: 0.9 !important;
        }

        .step-icon-bg {
            width: 2.5rem;
            height: 2.5rem;
            border-radius: 50%;
            background: rgba(255,255,255,0.08);
            border: 2px solid rgba(255,255,255,0.15);
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 800;
            font-size: 0.9rem;
            color: rgba(255,255,255,0.5);
            transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
        }

        /* --- Section Blocks --- */
        .section-block {
            background: var(--surface);
            border-radius: var(--radius-lg);
            border: 1px solid var(--border);
            padding: 1.5rem;
            position: relative;
            overflow: hidden;
            margin-bottom: 1.5rem;
        }

        .section-block::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 4px;
            height: 100%;
            border-radius: 4px 0 0 4px;
        }

        .section-block.accent-blue::before   { background: linear-gradient(180deg, #4f46e5, #06b6d4); }
        .section-block.accent-green::before  { background: linear-gradient(180deg, #10b981, #059669); }
        .section-block.accent-purple::before { background: linear-gradient(180deg, #8b5cf6, #ec4899); }
        .section-block.accent-teal::before   { background: linear-gradient(180deg, #06b6d4, #0891b2); }
        .section-block.accent-orange::before { background: linear-gradient(180deg, #f59e0b, #ea580c); }

        .section-title {
            display: flex;
            align-items: center;
            gap: 0.625rem;
            font-size: 1rem;
            font-weight: 800;
            color: var(--text-primary);
            margin-bottom: 1.25rem;
            flex-wrap: wrap;
        }

        .section-title-icon {
            width: 2rem;
            height: 2rem;
            border-radius: 0.5rem;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }

        /* --- Premium Input Fields --- */
        .premium-input {
            width: 100%;
            padding: 0.8rem 1rem;
            background: var(--surface-2);
            border: 1.5px solid var(--border);
            border-radius: var(--radius-sm);
            color: var(--text-primary);
            font-size: 16px;
            font-weight: 500;
            transition: var(--transition);
            outline: none;
            appearance: none;
            -webkit-appearance: none;
        }

        .premium-input:focus {
            background: var(--surface);
            border-color: var(--primary-light);
            box-shadow: var(--input-shadow-focus);
        }

        .premium-input:hover:not(:focus) {
            border-color: #c7d2fe;
            background: #fafbff;
        }

        .input-group {
            position: relative;
        }

        .input-icon {
            position: absolute;
            left: 0.875rem;
            top: 50%;
            transform: translateY(-50%);
            pointer-events: none;
            display: flex;
            align-items: center;
        }

        .input-with-icon {
            padding-left: 2.75rem;
        }

        .field-label {
            display: block;
            font-size: 0.8125rem;
            font-weight: 700;
            color: var(--text-secondary);
            margin-bottom: 0.375rem;
            letter-spacing: 0.01em;
        }

        .field-label .required {
            color: #ef4444;
            margin-left: 2px;
        }

        /* --- Select Custom Arrow --- */
        .premium-select {
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2394a3b8' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-position: right 0.75rem center;
            background-size: 1.1rem;
            padding-right: 2.5rem;
        }

        /* --- Photo Upload Zone --- */
        .photo-dropzone {
            position: relative;
            border: 2px dashed #c7d2fe;
            border-radius: var(--radius-lg);
            background: linear-gradient(135deg, #fafbff 0%, #f5f3ff 100%);
            cursor: pointer;
            transition: var(--transition);
            overflow: hidden;
        }

        .photo-dropzone::before {
            content: '';
            position: absolute;
            inset: 0;
            border-radius: inherit;
            background: linear-gradient(135deg, rgba(79,70,229,0) 0%, rgba(79,70,229,0.04) 100%);
            opacity: 0;
            transition: var(--transition);
        }

        .photo-dropzone:hover {
            border-color: var(--primary-light);
            background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 100%);
            transform: translateY(-1px);
            box-shadow: 0 8px 24px rgba(79, 70, 229, 0.1);
        }

        .photo-dropzone:hover::before {
            opacity: 1;
        }

        .photo-dropzone-inner {
            padding: 1.5rem;
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
            gap: 0.75rem;
        }

        .photo-upload-icon-wrapper {
            width: 3.5rem;
            height: 3.5rem;
            border-radius: 1rem;
            background: linear-gradient(135deg, #ede9fe 0%, #ddd6fe 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            transition: var(--transition);
        }

        .photo-dropzone:hover .photo-upload-icon-wrapper {
            transform: scale(1.1) rotate(-5deg);
            background: linear-gradient(135deg, #ddd6fe 0%, #c4b5fd 100%);
        }

        /* --- Photo Example Cards --- */
        .photo-example-card {
            min-width: 0;
            border: 1.5px solid var(--border);
            background: var(--surface);
            border-radius: var(--radius-sm);
            padding: 0.625rem;
            transition: var(--transition);
        }

        .photo-example-card:hover {
            border-color: #c7d2fe;
            box-shadow: 0 4px 12px rgba(79, 70, 229, 0.1);
            transform: translateY(-2px);
        }

        .photo-example-face {
            position: relative;
            aspect-ratio: 1 / 1;
            border-radius: 0.625rem;
            overflow: hidden;
            background: linear-gradient(180deg, #ede9fe 0%, #e0e7ff 100%);
        }

        .photo-example-bad {
            filter: blur(2px) grayscale(0.3);
            opacity: 0.65;
        }

        /* --- Touch Cards (Segmented Radio) --- */
        .touch-card {
            transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
            border: 2px solid var(--border) !important;
            background-color: var(--surface) !important;
            cursor: pointer;
            position: relative;
            box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04) !important;
            border-radius: var(--radius-sm) !important;
        }

        .touch-card .touch-card-icon {
            background-color: var(--surface-3) !important;
            color: var(--text-muted) !important;
            transition: all 0.3s ease;
        }

        .touch-card .touch-card-icon svg { color: var(--text-muted) !important; }

        .touch-card span {
            color: var(--text-primary) !important;
            font-weight: 600 !important;
            transition: all 0.25s ease;
        }

        .touch-card span:last-of-type {
            color: var(--text-muted) !important;
            font-weight: 500 !important;
        }

        .touch-card:hover {
            transform: translateY(-3px) scale(1.015);
            border-color: #c7d2fe !important;
            box-shadow: 0 8px 20px rgba(79, 70, 229, 0.1) !important;
        }

        /* Active Blue */
        .touch-card-checked {
            border-color: var(--primary) !important;
            background: linear-gradient(135deg, #f0f0ff 0%, #e0e7ff 100%) !important;
            box-shadow: 0 8px 24px rgba(79, 70, 229, 0.18) !important;
            transform: translateY(-2px);
        }

        .touch-card-checked .touch-card-icon {
            background: linear-gradient(135deg, var(--primary) 0%, #6366f1 100%) !important;
            color: #fff !important;
            box-shadow: 0 4px 12px rgba(79, 70, 229, 0.35) !important;
        }

        .touch-card-checked .touch-card-icon svg { color: #fff !important; }

        .touch-card-checked span {
            color: #312e81 !important;
            font-weight: 800 !important;
        }

        .touch-card-checked span:last-of-type { color: var(--primary) !important; }

        /* Active Pink */
        .touch-card-checked-pink {
            border-color: #db2777 !important;
            background: linear-gradient(135deg, #fdf2f8 0%, #fce7f3 100%) !important;
            box-shadow: 0 8px 24px rgba(219, 39, 119, 0.16) !important;
            transform: translateY(-2px);
        }

        .touch-card-checked-pink .touch-card-icon {
            background: linear-gradient(135deg, #db2777 0%, #ec4899 100%) !important;
            color: #fff !important;
            box-shadow: 0 4px 12px rgba(219, 39, 119, 0.35) !important;
        }

        .touch-card-checked-pink .touch-card-icon svg { color: #fff !important; }
        .touch-card-checked-pink span { color: #831843 !important; font-weight: 800 !important; }

        /* Active Orange */
        .touch-card-checked-orange {
            border-color: #ea580c !important;
            background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%) !important;
            box-shadow: 0 8px 24px rgba(234, 88, 12, 0.16) !important;
            transform: translateY(-2px);
        }

        .touch-card-checked-orange .touch-card-icon {
            background: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%) !important;
            color: #fff !important;
            box-shadow: 0 4px 12px rgba(234, 88, 12, 0.35) !important;
        }

        .touch-card-checked-orange .touch-card-icon svg { color: #fff !important; }
        .touch-card-checked-orange span { color: #7c2d12 !important; font-weight: 800 !important; }
        .touch-card-checked-orange span:last-of-type { color: #ea580c !important; }

        /* Checkmark Badge */
        .checkmark-badge {
            position: absolute;
            top: 10px;
            right: 10px;
            width: 22px;
            height: 22px;
            border-radius: 50%;
            background: var(--primary);
            color: #fff;
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transform: scale(0.5);
            transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
            box-shadow: 0 4px 8px rgba(79, 70, 229, 0.35);
            z-index: 10;
        }

        .touch-card-checked .checkmark-badge { opacity: 1; transform: scale(1); }
        .touch-card-checked-pink .checkmark-badge { background: #db2777; box-shadow: 0 4px 8px rgba(219,39,119,0.35); opacity: 1; transform: scale(1); }
        .touch-card-checked-orange .checkmark-badge { background: #ea580c; box-shadow: 0 4px 8px rgba(234,88,12,0.35); opacity: 1; transform: scale(1); }

        /* --- Wizard Step Containers --- */
        .step-container {
            display: none;
        }

        .step-container.active {
            display: block;
            animation: stepFadeUp 0.4s ease forwards;
        }

        @keyframes stepFadeUp {
            from { opacity: 0; transform: translateY(16px); }
            to   { opacity: 1; transform: translateY(0); }
        }

        @keyframes shake {
            0%, 100% { transform: translateX(0); }
            20%       { transform: translateX(-8px); }
            40%       { transform: translateX(8px); }
            60%       { transform: translateX(-5px); }
            80%       { transform: translateX(5px); }
        }

        .animate-shake {
            animation: shake 0.4s ease-in-out;
        }

        /* --- Focus Styling --- */
        .step-container input:focus,
        .step-container select:focus,
        .step-container textarea:focus {
            box-shadow: var(--input-shadow-focus) !important;
            border-color: var(--primary-light) !important;
            background: var(--surface) !important;
        }

        /* --- Sticky Mobile Action Bar --- */
        @media (max-width: 640px) {
            body {
                padding-bottom: 7rem;
            }

            .sticky-action-bar {
                position: fixed !important;
                bottom: 0 !important;
                left: 0 !important;
                right: 0 !important;
                width: 100% !important;
                background: rgba(248, 250, 252, 0.97) !important;
                backdrop-filter: blur(20px) !important;
                -webkit-backdrop-filter: blur(20px) !important;
                border-top: 1px solid rgba(226, 232, 240, 0.9) !important;
                padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom, 0px)) !important;
                box-shadow: 0 -12px 30px rgba(15, 23, 42, 0.08) !important;
                z-index: 10000 !important;
                display: grid !important;
                grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr) !important;
                gap: 0.625rem !important;
                align-items: stretch !important;
            }

            .sticky-action-bar > button,
            .sticky-action-bar > div {
                width: 100% !important;
                min-width: 0 !important;
            }

            .sticky-action-bar button {
                min-height: 3rem !important;
                touch-action: manipulation;
                -webkit-tap-highlight-color: transparent;
            }

            .sticky-action-bar > button.hidden { display: none !important; }

            .sticky-action-bar.single-action {
                grid-template-columns: 1fr !important;
            }

            .registration-form-actions-spacer { height: 6.5rem; }
        }

        /* --- Premium Nav Buttons --- */
        .btn-prev {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 0.375rem;
            padding: 0.75rem 1.25rem;
            border-radius: var(--radius-sm);
            border: 1.5px solid var(--border);
            background: var(--surface);
            color: var(--text-secondary);
            font-weight: 700;
            font-size: 0.9375rem;
            cursor: pointer;
            transition: var(--transition);
        }

        .btn-prev:hover {
            background: var(--surface-3);
            border-color: #c7d2fe;
            color: var(--primary);
        }

        .btn-next {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 0.375rem;
            padding: 0.75rem 1.75rem;
            border-radius: var(--radius-sm);
            background: linear-gradient(135deg, var(--primary) 0%, #6366f1 100%);
            color: #fff;
            font-weight: 800;
            font-size: 0.9375rem;
            cursor: pointer;
            border: none;
            transition: var(--transition);
            box-shadow: 0 6px 20px rgba(79, 70, 229, 0.35);
        }

        .btn-next:hover {
            background: linear-gradient(135deg, #3730a3 0%, var(--primary) 100%);
            box-shadow: 0 8px 28px rgba(79, 70, 229, 0.45);
            transform: translateY(-1px);
        }

        .btn-next:active { transform: translateY(0); }

        .btn-submit {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            padding: 0.75rem 2rem;
            border-radius: var(--radius-sm);
            background: linear-gradient(135deg, #059669 0%, #10b981 50%, #0891b2 100%);
            color: #fff;
            font-weight: 800;
            font-size: 0.9375rem;
            cursor: pointer;
            border: none;
            transition: var(--transition);
            box-shadow: 0 6px 24px rgba(16, 185, 129, 0.4);
        }

        .btn-submit:hover {
            background: linear-gradient(135deg, #047857 0%, #059669 100%);
            box-shadow: 0 10px 30px rgba(16, 185, 129, 0.5);
            transform: translateY(-1px);
        }

        .btn-submit:active { transform: translateY(0); }

        /* --- Select2 Premium Override --- */
        .select2-container {
            width: 100% !important;
            max-width: 100% !important;
        }

        .select2-container--default .select2-selection--single {
            min-height: 50px !important;
            border-radius: var(--radius-sm) !important;
            border: 1.5px solid var(--border) !important;
            background-color: var(--surface-2) !important;
            display: flex !important;
            align-items: center !important;
            transition: var(--transition) !important;
        }

        .select2-container--default .select2-selection--single .select2-selection__rendered {
            color: var(--text-primary) !important;
            line-height: 50px !important;
            padding-left: 1rem !important;
            padding-right: 2.5rem !important;
            font-size: 16px !important;
            font-weight: 500 !important;
            width: 100% !important;
            overflow: hidden !important;
            text-overflow: ellipsis !important;
        }

        .select2-container--default .select2-selection--single .select2-selection__arrow {
            height: 50px !important;
            right: 0.65rem !important;
        }

        .select2-dropdown {
            border-radius: var(--radius-sm) !important;
            border-color: #e0e7ff !important;
            box-shadow: 0 12px 40px rgba(15, 23, 42, 0.14) !important;
            overflow: hidden !important;
        }

        .select2-search__field {
            min-height: 44px !important;
            border-radius: 0.5rem !important;
            border: 1px solid var(--border) !important;
            font-size: 16px !important;
            padding: 8px 12px !important;
        }

        .select2-results__option {
            padding: 11px 16px !important;
            font-size: 15px !important;
        }

        .select2-container--default .select2-results__option--highlighted[aria-selected] {
            background: linear-gradient(135deg, var(--primary) 0%, #6366f1 100%) !important;
        }

        .select2-container--default .select2-results__option[aria-selected=true] {
            background-color: #ede9fe !important;
            color: #312e81 !important;
        }

        /* --- Mobile Responsive --- */
        @media (max-width: 640px) {
            .registration-bg {
                height: 34rem;
                border-bottom-left-radius: 2rem;
                border-bottom-right-radius: 2rem;
            }

            .registration-page {
                padding: 1rem 0.75rem 2rem;
            }

            .registration-header {
                margin-bottom: 1rem;
            }

            .registration-card {
                border-radius: 1.25rem;
            }

            .registration-card-body {
                padding: 1.125rem;
            }

            #progress-tracker {
                padding: 1.25rem 1rem;
                border-radius: 1.25rem 1.25rem 0 0;
            }

            .step-icon-bg {
                width: 2rem;
                height: 2rem;
                font-size: 0.75rem;
            }

            .step-indicator-label {
                font-size: 0.65rem !important;
                line-height: 1.2;
            }

            .section-block {
                padding: 1.125rem 1rem;
            }

            .registration-title {
                font-size: clamp(1.4rem, 7vw, 2rem);
                line-height: 1.15;
            }

            .registration-subtitle {
                font-size: 0.875rem;
            }

            .photo-dropzone-inner {
                padding: 1.25rem 1rem;
            }

            .photo-upload-icon-wrapper {
                width: 3rem;
                height: 3rem;
            }
        }

        @media (max-width: 400px) {
            .registration-card-body {
                padding: 0.875rem;
            }

            .section-block {
                padding: 1rem 0.875rem;
            }
        }

        /* --- Success Modal Premium --- */
        .success-check-ring {
            width: 5rem;
            height: 5rem;
            border-radius: 50%;
            background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 1.5rem;
            box-shadow: 0 0 0 8px rgba(16, 185, 129, 0.1), 0 8px 24px rgba(16, 185, 129, 0.25);
            animation: checkRingPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
        }

        @keyframes checkRingPop {
            from { transform: scale(0.5); opacity: 0; }
            to   { transform: scale(1); opacity: 1; }
        }

        .success-check-svg {
            animation: checkDraw 0.6s ease 0.3s forwards;
            stroke-dasharray: 30;
            stroke-dashoffset: 30;
        }

        @keyframes checkDraw {
            to { stroke-dashoffset: 0; }
        }

        .reg-code-box {
            background: linear-gradient(135deg, #eff6ff 0%, #e0e7ff 100%);
            border: 2px solid #c7d2fe;
            border-radius: var(--radius-sm);
            padding: 1rem;
            position: relative;
            overflow: hidden;
        }

        .reg-code-box::before {
            content: '';
            position: absolute;
            top: 0; left: 0; right: 0;
            height: 3px;
            background: linear-gradient(90deg, var(--primary), var(--accent));
        }

        /* --- Error Alert --- */
        .error-alert {
            display: flex;
            align-items: flex-start;
            gap: 0.75rem;
            padding: 1rem 1.25rem;
            background: #fef2f2;
            border: 1.5px solid #fecaca;
            border-radius: var(--radius-sm);
            color: #991b1b;
            border-left: 4px solid #ef4444;
        }

        /* --- Registration field transition --- */
        .registration-field {
            transition: border-color 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
        }

        /* --- Confirmation checkbox area --- */
        .confirm-block {
            border-radius: var(--radius-sm);
            border: 1.5px solid #a7f3d0;
            background: linear-gradient(135deg, #ecfdf5 0%, #f0fdf4 100%);
            padding: 1rem 1.25rem;
        }

        /* --- Sector contact card --- */
        .sector-contact-card-inner {
            background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
            border: 1.5px solid #a7f3d0;
            border-radius: var(--radius-sm);
            padding: 1rem;
        }

        /* --- Join family inputs area --- */
        .join-family-block {
            background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 100%);
            border: 1.5px solid #c4b5fd;
            border-radius: var(--radius-sm);
            padding: 1.25rem;
        }

        /* ===== NETWORK STATUS CARD ===== */
        .network-status-card {
            background: rgba(255, 255, 255, 0.07);
            border: 1px solid rgba(255, 255, 255, 0.14);
            border-radius: 1rem;
            backdrop-filter: blur(16px);
            -webkit-backdrop-filter: blur(16px);
            overflow: hidden;
            text-align: left;
        }

        .network-status-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0.65rem 0.9rem;
            background: rgba(255, 255, 255, 0.05);
            border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        }

        .network-stats-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 0;
        }

        .net-stat-item {
            display: flex;
            align-items: center;
            gap: 0.625rem;
            padding: 0.65rem 0.9rem;
            border-bottom: 1px solid rgba(255, 255, 255, 0.06);
            border-right: 1px solid rgba(255, 255, 255, 0.06);
        }
        .net-stat-item:nth-child(2n) { border-right: none; }
        .net-stat-item:nth-last-child(-n+2) { border-bottom: none; }

        .net-stat-icon {
            width: 2rem;
            height: 2rem;
            border-radius: 0.5rem;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }

        .net-stat-label {
            font-size: 0.6875rem;
            color: rgba(255, 255, 255, 0.5);
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.03em;
            line-height: 1;
            margin-bottom: 0.2rem;
        }

        .net-stat-value {
            font-size: 0.8125rem;
            color: rgba(255, 255, 255, 0.92);
            font-weight: 700;
            line-height: 1.2;
        }

        /* Signal dot states */
        .net-dot {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            flex-shrink: 0;
        }
        .net-dot-loading {
            background: rgba(255, 255, 255, 0.3);
            animation: pulse-slow 1.5s ease-in-out infinite;
        }
        .net-dot-good    { background: #34d399; box-shadow: 0 0 6px rgba(52,211,153,0.7); animation: pulse-slow 2s ease-in-out infinite; }
        .net-dot-warning { background: #fbbf24; box-shadow: 0 0 6px rgba(251,191,36,0.7); animation: pulse-slow 2s ease-in-out infinite; }
        .net-dot-poor    { background: #f87171; box-shadow: 0 0 6px rgba(248,113,113,0.7); animation: pulse-slow 2s ease-in-out infinite; }

        @keyframes pulse-slow {
            0%, 100% { opacity: 1; }
            50% { opacity: 0.5; }
        }

        /* Quality badge */
        .net-quality-badge {
            font-size: 0.65rem;
            font-weight: 700;
            padding: 0.2rem 0.55rem;
            border-radius: 999px;
            background: rgba(255,255,255,0.12);
            color: rgba(255,255,255,0.7);
            letter-spacing: 0.02em;
            text-transform: uppercase;
        }
        .net-quality-good    { background: rgba(52,211,153,0.2);  color: #6ee7b7; }
        .net-quality-warning { background: rgba(251,191,36,0.2);  color: #fcd34d; }
        .net-quality-poor    { background: rgba(248,113,113,0.2); color: #fca5a5; }



        /* all above is new design system v3 */

        /* ===== PREMIUM V3 HELPER CLASSES ===== */

        /* Gradient text for h1 title */
        .gradient-text {
            background: linear-gradient(135deg, #ffffff 0%, #bfdbfe 50%, #a5f3fc 100%);
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        /* Header pills (small info badges) */
        .header-pill {
            display: inline-flex;
            align-items: center;
            gap: 0.375rem;
            padding: 0.35rem 0.85rem;
            border-radius: 999px;
            border: 1px solid transparent;
            font-size: 0.75rem;
            font-weight: 600;
            line-height: 1;
            text-decoration: none;
        }

        /* Spinning logo ring */
        .registration-logo-ring {
            position: absolute;
            inset: -6px;
            border-radius: 1.25rem;
            background: conic-gradient(from 0deg, rgba(99,102,241,0.7), rgba(6,182,212,0.7), rgba(139,92,246,0.7), rgba(99,102,241,0.7));
            animation: spin-ring 4s linear infinite;
            z-index: 1;
        }
        @keyframes spin-ring {
            to { transform: rotate(360deg); }
        }

        /* Glowing orbs in background */
        .glow-orb {
            position: absolute;
            border-radius: 50%;
            filter: blur(60px);
            pointer-events: none;
        }
        .glow-orb-1 {
            width: 280px;
            height: 280px;
            background: rgba(99, 102, 241, 0.35);
            top: -60px;
            left: -60px;
            animation: orb-float 8s ease-in-out infinite;
        }
        .glow-orb-2 {
            width: 220px;
            height: 220px;
            background: rgba(6, 182, 212, 0.3);
            top: 20px;
            right: 5%;
            animation: orb-float 10s ease-in-out infinite reverse;
        }
        .glow-orb-3 {
            width: 160px;
            height: 160px;
            background: rgba(139, 92, 246, 0.3);
            bottom: -30px;
            left: 40%;
            animation: orb-float 12s ease-in-out infinite;
        }
        @keyframes orb-float {
            0%, 100% { transform: translateY(0) scale(1); }
            50% { transform: translateY(-20px) scale(1.08); }
        }

        /* Step icon background in progress tracker */
        .step-icon-bg {
            width: 2rem;
            height: 2rem;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            background: rgba(255,255,255,0.08);
            border: 1.5px solid rgba(255,255,255,0.15);
            color: rgba(255,255,255,0.5);
            font-weight: 700;
            font-size: 0.75rem;
            transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
        }

        /* Section block (form groups) */
        .section-block {
            background: #ffffff;
            border-radius: var(--radius-md);
            padding: 1.25rem 1.25rem 1.5rem;
            border-left: 4px solid var(--color-primary);
            box-shadow: 0 1px 6px rgba(15, 23, 42, 0.05);
            display: flex;
            flex-direction: column;
            gap: 1.25rem;
        }
        .section-block.accent-blue  { border-left-color: #4f46e5; }
        .section-block.accent-green { border-left-color: #10b981; }
        .section-block.accent-purple{ border-left-color: #8b5cf6; }
        .section-block.accent-teal  { border-left-color: #0ea5e9; }
        .section-block.accent-orange{ border-left-color: #f59e0b; }

        /* Section title inside section-block */
        .section-title {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            font-size: 0.9375rem;
            font-weight: 700;
            color: var(--color-text-primary);
            margin: 0;
            padding-bottom: 0.75rem;
            border-bottom: 1.5px solid #f1f5f9;
        }
        .section-title-icon {
            width: 2rem;
            height: 2rem;
            border-radius: 0.5rem;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }

        /* Field label */
        .field-label {
            display: block;
            font-size: 0.8125rem;
            font-weight: 700;
            color: #374151;
            margin-bottom: 0.4rem;
            letter-spacing: 0.01em;
        }

        /* Premium input */
        .premium-input {
            width: 100%;
            padding: 0.75rem 1rem;
            background: #f9fafb;
            border: 1.5px solid #e5e7eb;
            border-radius: 0.75rem;
            font-size: 16px;
            color: #111827;
            transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
            outline: none;
        }
        .premium-input:focus {
            background: #ffffff;
            border-color: #4f46e5;
            box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.12);
        }
        .premium-input::placeholder { color: #9ca3af; }
        .premium-select { appearance: none; }

        /* Buttons */
        .btn-prev {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            padding: 0.8rem 1.5rem;
            border: 2px solid #e2e8f0;
            background: #ffffff;
            color: #475569;
            border-radius: var(--radius-sm);
            font-weight: 700;
            font-size: 0.9375rem;
            cursor: pointer;
            transition: all 0.2s ease;
            min-height: 48px;
        }
        .btn-prev:hover {
            background: #f8fafc;
            border-color: #cbd5e1;
            color: #1e293b;
        }
        .btn-next {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            padding: 0.8rem 1.75rem;
            background: linear-gradient(135deg, #4f46e5 0%, #06b6d4 100%);
            color: #ffffff;
            border: none;
            border-radius: var(--radius-sm);
            font-weight: 800;
            font-size: 0.9375rem;
            cursor: pointer;
            transition: all 0.25s ease;
            box-shadow: 0 6px 20px rgba(79, 70, 229, 0.3);
            min-height: 48px;
        }
        .btn-next:hover {
            box-shadow: 0 10px 28px rgba(79, 70, 229, 0.4);
            transform: translateY(-1px);
        }
        .btn-submit {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            padding: 0.8rem 2rem;
            background: linear-gradient(135deg, #059669 0%, #0ea5e9 100%);
            color: #ffffff;
            border: none;
            border-radius: var(--radius-sm);
            font-weight: 800;
            font-size: 0.9375rem;
            cursor: pointer;
            transition: all 0.25s ease;
            box-shadow: 0 6px 20px rgba(5, 150, 105, 0.3);
            min-height: 48px;
        }
        .btn-submit:hover {
            box-shadow: 0 10px 28px rgba(5, 150, 105, 0.4);
            transform: translateY(-1px);
        }

        /* Error alert */
        .error-alert {
            display: flex;
            align-items: flex-start;
            gap: 0.75rem;
            padding: 1rem 1.25rem;
            background: #fef2f2;
            border: 1.5px solid #fecaca;
            border-left: 4px solid #ef4444;
            border-radius: var(--radius-sm);
            color: #991b1b;
        }

        /* Photo dropzone */
        .photo-dropzone {
            display: block;
            border: 2px dashed #c4b5fd;
            border-radius: var(--radius-sm);
            background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 100%);
            cursor: pointer;
            transition: all 0.25s ease;
        }
        .photo-dropzone:hover {
            border-color: #8b5cf6;
            background: linear-gradient(135deg, #ede9fe 0%, #ddd6fe 100%);
            box-shadow: 0 4px 16px rgba(139, 92, 246, 0.15);
        }
        .photo-dropzone-inner {
            display: flex;
            align-items: center;
            gap: 1rem;
            padding: 1rem 1.25rem;
        }

        /* Success check ring animation */
        .success-check-ring {
            width: 80px;
            height: 80px;
            border-radius: 50%;
            background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 1.5rem;
            box-shadow: 0 0 0 8px rgba(16, 185, 129, 0.12), 0 8px 24px rgba(16, 185, 129, 0.25);
            animation: check-pop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
        }
        @keyframes check-pop {
            0% { transform: scale(0.6); opacity: 0; }
            100% { transform: scale(1); opacity: 1; }
        }
        .success-check-svg {
            animation: check-draw 0.4s ease 0.3s both;
        }
        @keyframes check-draw {
            0% { stroke-dasharray: 0 100; opacity: 0; }
            100% { stroke-dasharray: 100 0; opacity: 1; }
        }

        /* Registration code display box */
        .reg-code-box {
            background: linear-gradient(135deg, #eff6ff 0%, #e0f2fe 100%);
            border: 1.5px solid #bfdbfe;
            border-radius: var(--radius-sm);
            padding: 1rem 1.25rem;
        }

        /* Sticky action bar override for dark body */
        @media (max-width: 640px) {
            .sticky-action-bar {
                background-color: rgba(15, 23, 42, 0.97) !important;
                border-top: 1px solid rgba(99, 102, 241, 0.3) !important;
            }
        }



        .select2-container {
            width: 100% !important;
            max-width: 100% !important;
        }

        .select2-container .select2-selection--single {
            min-height: 48px;
            border: 1px solid #e5e7eb;
            border-radius: 0.75rem;
            background: #f9fafb;
            display: flex;
            align-items: center;
        }

        .select2-container--default .select2-selection--single .select2-selection__rendered {
            color: #111827;
            line-height: 48px;
            padding-left: 1rem;
            padding-right: 2.5rem;
            width: 100%;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .select2-container--default .select2-selection--single .select2-selection__arrow {
            height: 48px;
            right: 0.65rem;
        }

        .select2-dropdown {
            border-radius: 0.85rem;
            border-color: #dbeafe;
            overflow: hidden;
        }

        .select2-search__field {
            min-height: 42px;
            border-radius: 0.65rem;
        }

        .registration-card,
        .registration-header,
        .registration-section {
            min-width: 0;
        }

        .registration-bg {
            background:
                linear-gradient(135deg, rgba(30, 64, 175, 0.94), rgba(15, 23, 42, 0.96)),
                radial-gradient(circle at 18% 12%, rgba(45, 212, 191, 0.28), transparent 32%),
                radial-gradient(circle at 84% 4%, rgba(96, 165, 250, 0.32), transparent 30%);
        }

        .registration-header-panel {
            max-width: 56rem;
            margin-inline: auto;
        }

        .registration-card {
            box-shadow: 0 24px 70px rgba(15, 23, 42, 0.16);
        }

        .registration-field {
            transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
        }

        .photo-example-card {
            min-width: 0;
            border: 1px solid #e5e7eb;
            background: #ffffff;
            border-radius: 0.9rem;
            padding: 0.75rem;
        }

        .photo-example-face {
            position: relative;
            aspect-ratio: 1 / 1;
            border-radius: 0.75rem;
            overflow: hidden;
            background: linear-gradient(180deg, #dbeafe 0%, #eef2ff 100%);
        }

        .photo-example-bad {
            filter: blur(2px) grayscale(0.2);
            opacity: 0.72;
        }

        @media (max-width: 640px) {
            .registration-bg {
                height: 32rem;
                border-bottom-left-radius: 1.75rem;
                border-bottom-right-radius: 1.75rem;
            }

            .registration-page {
                padding: 1rem 0.75rem 2rem;
            }

            .registration-header {
                margin-bottom: 1.25rem;
            }

            .registration-logo img {
                width: 4rem;
                height: 4rem;
            }

            .registration-title {
                font-size: clamp(1.55rem, 8vw, 2.1rem);
                line-height: 1.1;
                gap: 0.45rem;
                flex-wrap: wrap;
            }

            .registration-title i {
                font-size: 2rem;
            }

            .registration-subtitle {
                font-size: 0.9rem;
                line-height: 1.45;
                padding: 0 0.25rem;
            }

            .registration-pill {
                width: 100%;
                justify-content: center;
                border-radius: 1rem;
                padding: 0.75rem 0.9rem;
                text-align: left;
            }

            .registration-card {
                border-radius: 1.25rem;
                margin-left: 0;
                margin-right: 0;
            }

            .registration-card-body {
                padding: 1rem;
            }

            #progress-tracker {
                padding: 1.1rem 0.9rem;
            }

            .step-indicator-circle {
                width: 2rem !important;
                height: 2rem !important;
                font-size: 0.75rem !important;
            }

            .step-indicator-label {
                font-size: 0.68rem !important;
                line-height: 1.1;
            }

            .registration-intro {
                padding: 1rem;
                align-items: flex-start;
            }

            .registration-section {
                gap: 1rem;
            }

            .registration-section-title {
                align-items: flex-start;
                font-size: 1rem;
                line-height: 1.35;
            }

            .registration-section-title .section-required-note {
                width: 100%;
                margin-left: 0;
                margin-top: 0.35rem;
            }

            .photo-upload-label {
                align-items: flex-start;
                justify-content: flex-start;
                padding: 1rem;
            }

            .radio-stack-mobile {
                flex-direction: column;
                align-items: stretch;
                gap: 0.75rem;
            }

            .radio-stack-mobile label {
                width: 100%;
                border: 1px solid #e5e7eb;
                border-radius: 0.85rem;
                padding: 0.75rem 0.85rem;
                background: #ffffff;
            }

            .submit-registration-btn {
                min-height: 3.25rem;
                box-shadow: 0 18px 34px rgba(37, 99, 235, 0.28);
            }
        }

        /* --- WIZARD STEPS & PREMIUM TRANSITIONS --- */
        .step-container {
            display: none;
        }
        .step-container.active {
            display: block;
            animation: fadeInUp 0.4s ease forwards;
        }

        /* Dynamic Step Indicator Styles */
        .step-indicator-circle {
            transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
        }
        .step-indicator-item.active .step-indicator-circle {
            border-color: #22d3ee !important;
            background: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%) !important;
            color: #ffffff !important;
            box-shadow: 0 0 15px rgba(6, 182, 212, 0.4) !important;
            transform: scale(1.1);
        }
        .step-indicator-item.active .step-indicator-label {
            color: #22d3ee !important;
            font-weight: 800 !important;
            opacity: 1 !important;
        }
        .step-indicator-item.completed .step-indicator-circle {
            border-color: #10b981 !important;
            background-color: #10b981 !important;
            color: #ffffff !important;
            box-shadow: 0 0 10px rgba(16, 185, 129, 0.2) !important;
        }
        .step-indicator-item.completed .step-indicator-label {
            color: #10b981 !important;
            opacity: 0.8 !important;
        }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(12px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes shake {
            0%, 100% { transform: translateX(0); }
            25% { transform: translateX(-6px); }
            75% { transform: translateX(6px); }
        }
        .animate-shake {
            animation: shake 0.2s ease-in-out 2;
        }

        /* --- STICKY FOOTER ACTION PANEL FOR MOBILE --- */
        @media (max-width: 640px) {
            body {
                padding-bottom: 6.75rem;
            }

            .sticky-action-bar {
                position: fixed !important;
                bottom: 0 !important;
                left: 0 !important;
                right: 0 !important;
                width: 100% !important;
                background-color: rgba(255, 255, 255, 0.96) !important;
                backdrop-filter: blur(16px) !important;
                -webkit-backdrop-filter: blur(16px) !important;
                border-top: 1px solid rgba(226, 232, 240, 0.8) !important;
                padding: 12px 14px calc(14px + env(safe-area-inset-bottom, 0px)) !important;
                box-shadow: 0 -10px 25px -5px rgba(0, 0, 0, 0.08) !important;
                z-index: 10000 !important;
                display: grid !important;
                grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.35fr) !important;
                gap: 0.75rem !important;
                align-items: stretch !important;
            }
            .theme-dark .sticky-action-bar {
                background-color: rgba(30, 41, 59, 0.96) !important;
                border-top-color: rgba(55, 65, 81, 0.8) !important;
            }
            .sticky-action-bar > button,
            .sticky-action-bar > div {
                width: 100% !important;
                min-width: 0 !important;
            }
            .sticky-action-bar button {
                min-height: 3.15rem !important;
                touch-action: manipulation;
                -webkit-tap-highlight-color: transparent;
            }
            .sticky-action-bar > button.hidden {
                display: none !important;
            }
            .sticky-action-bar.single-action {
                grid-template-columns: 1fr !important;
            }

            .registration-form-actions-spacer {
                height: 5.75rem;
            }
        }

        /* --- ULTRA-PREMIUM TOUCH CARDS & INTERACTIVES (HIGH CONTRAST & PREMIUM) --- */
        .touch-card {
            transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
            border: 2px solid #e2e8f0 !important;
            background-color: #ffffff !important;
            cursor: pointer;
            position: relative;
            box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03) !important;
        }
        .theme-dark .touch-card {
            border-color: #334155 !important;
            background-color: #1e293b !important;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
        }
        
        /* Unselected Child elements */
        .touch-card .touch-card-icon {
            background-color: #f1f5f9 !important;
            color: #475569 !important;
            transition: all 0.3s ease;
        }
        .theme-dark .touch-card .touch-card-icon {
            background-color: #0f172a !important;
            color: #94a3b8 !important;
        }
        .touch-card .touch-card-icon svg {
            color: #475569 !important;
            transition: all 0.3s ease;
        }
        .theme-dark .touch-card .touch-card-icon svg {
            color: #94a3b8 !important;
        }
        .touch-card span {
            color: #1e293b !important; /* Premium dark text */
            font-weight: 600 !important;
            transition: all 0.3s ease;
        }
        .theme-dark .touch-card span {
            color: #f8fafc !important; /* Crisp light text */
        }
        .touch-card span:last-of-type {
            color: #64748b !important; /* Slightly lighter description */
            font-weight: 500 !important;
        }
        .theme-dark .touch-card span:last-of-type {
            color: #94a3b8 !important;
        }
        
        /* Hover animation */
        .touch-card:hover {
            transform: translateY(-3px) scale(1.02);
            border-color: #cbd5e1 !important;
            box-shadow: 0 12px 24px rgba(15, 23, 42, 0.06) !important;
        }
        .theme-dark .touch-card:hover {
            border-color: #475569 !important;
            box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25) !important;
        }
        
        /* Active (Checked) state accents */
        /* 1. Blue accent: Male, BPJS Sudah, KK Baru, Gabung KK */
        .touch-card-checked {
            border-color: #2563eb !important;
            background: linear-gradient(135deg, #f0f6ff 0%, #e0ecff 100%) !important;
            box-shadow: 0 12px 28px rgba(37, 99, 235, 0.16) !important;
            transform: translateY(-2px) scale(1.02);
        }
        .theme-dark .touch-card-checked {
            border-color: #3b82f6 !important;
            background: linear-gradient(135deg, rgba(37, 99, 235, 0.2) 0%, rgba(59, 130, 246, 0.05) 100%) !important;
            box-shadow: 0 12px 28px rgba(37, 99, 235, 0.3) !important;
        }
        .touch-card-checked .touch-card-icon {
            background-color: #2563eb !important;
            color: #ffffff !important;
            box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3) !important;
        }
        .theme-dark .touch-card-checked .touch-card-icon {
            background-color: #3b82f6 !important;
            color: #ffffff !important;
            box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4) !important;
        }
        .touch-card-checked .touch-card-icon svg {
            color: #ffffff !important;
        }
        .touch-card-checked span {
            color: #1e40af !important; /* Bold royal blue */
            font-weight: 800 !important;
        }
        .theme-dark .touch-card-checked span {
            color: #60a5fa !important;
        }
        .touch-card-checked span:last-of-type {
            color: #2563eb !important;
        }
        .theme-dark .touch-card-checked span:last-of-type {
            color: #93c5fd !important;
        }
        
        /* 2. Pink accent: Female */
        .touch-card-checked-pink {
            border-color: #db2777 !important;
            background: linear-gradient(135deg, #fdf2f8 0%, #fce7f3 100%) !important;
            box-shadow: 0 12px 28px rgba(219, 39, 119, 0.16) !important;
            transform: translateY(-2px) scale(1.02);
        }
        .theme-dark .touch-card-checked-pink {
            border-color: #f472b6 !important;
            background: linear-gradient(135deg, rgba(219, 39, 119, 0.2) 0%, rgba(244, 114, 182, 0.05) 100%) !important;
            box-shadow: 0 12px 28px rgba(219, 39, 119, 0.3) !important;
        }
        .touch-card-checked-pink .touch-card-icon {
            background-color: #db2777 !important;
            color: #ffffff !important;
            box-shadow: 0 4px 12px rgba(219, 39, 119, 0.3) !important;
        }
        .theme-dark .touch-card-checked-pink .touch-card-icon {
            background-color: #f472b6 !important;
            color: #0f172a !important;
            box-shadow: 0 4px 12px rgba(244, 114, 182, 0.4) !important;
        }
        .touch-card-checked-pink .touch-card-icon svg {
            color: #ffffff !important;
        }
        .theme-dark .touch-card-checked-pink .touch-card-icon svg {
            color: #0f172a !important;
        }
        .touch-card-checked-pink span {
            color: #9d174d !important; /* Bold deep pink */
            font-weight: 800 !important;
        }
        .theme-dark .touch-card-checked-pink span {
            color: #f472b6 !important;
        }
        
        /* 3. Orange accent: Later KK */
        .touch-card-checked-orange {
            border-color: #ea580c !important;
            background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%) !important;
            box-shadow: 0 12px 28px rgba(234, 88, 12, 0.16) !important;
            transform: translateY(-2px) scale(1.02);
        }
        .theme-dark .touch-card-checked-orange {
            border-color: #f97316 !important;
            background: linear-gradient(135deg, rgba(234, 88, 12, 0.2) 0%, rgba(251, 146, 60, 0.05) 100%) !important;
            box-shadow: 0 12px 28px rgba(234, 88, 12, 0.3) !important;
        }
        .touch-card-checked-orange .touch-card-icon {
            background-color: #ea580c !important;
            color: #ffffff !important;
            box-shadow: 0 4px 12px rgba(234, 88, 12, 0.3) !important;
        }
        .theme-dark .touch-card-checked-orange .touch-card-icon {
            background-color: #f97316 !important;
            color: #ffffff !important;
            box-shadow: 0 4px 12px rgba(251, 146, 60, 0.4) !important;
        }
        .touch-card-checked-orange .touch-card-icon svg {
            color: #ffffff !important;
        }
        .touch-card-checked-orange span {
            color: #9a3412 !important; /* Bold rust orange */
            font-weight: 800 !important;
        }
        .theme-dark .touch-card-checked-orange span {
            color: #ff9800 !important;
        }
        .touch-card-checked-orange span:last-of-type {
            color: #ea580c !important;
        }
        .theme-dark .touch-card-checked-orange span:last-of-type {
            color: #ffb74d !important;
        }

        /* Checkmark Badge Spring Animation */
        .checkmark-badge {
            position: absolute;
            top: 12px;
            right: 12px;
            width: 22px;
            height: 22px;
            border-radius: 50%;
            background-color: #2563eb;
            color: #ffffff;
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transform: scale(0.6);
            transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
            box-shadow: 0 4px 8px rgba(37, 99, 235, 0.3);
            z-index: 10;
        }
        .touch-card-checked .checkmark-badge {
            opacity: 1;
            transform: scale(1);
        }
        .touch-card-checked-pink .checkmark-badge {
            background-color: #db2777;
            box-shadow: 0 4px 8px rgba(219, 39, 119, 0.3);
            opacity: 1;
            transform: scale(1);
        }
        .touch-card-checked-orange .checkmark-badge {
            background-color: #ea580c;
            box-shadow: 0 4px 8px rgba(234, 88, 12, 0.3);
            opacity: 1;
            transform: scale(1);
        }

        /* Focus Styling for Inputs */
        .step-container input:focus, .step-container select:focus, .step-container textarea:focus {
            box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15) !important;
            border-color: #3b82f6 !important;
        }

        /* --- SELECT2 MOBILE TARGET SIZE OPTIMIZATIONS --- */
        .select2-container--default .select2-selection--single {
            min-height: 52px !important;
            border-radius: 0.85rem !important;
            border: 1px solid #d1d5db !important;
            background-color: #f9fafb !important;
            display: flex !important;
            align-items: center !important;
            transition: all 0.2s !important;
        }
        .theme-dark .select2-container--default .select2-selection--single {
            border-color: #374151 !important;
            background-color: #1f2937 !important;
        }
        .select2-container--default .select2-selection--single:focus,
        .select2-container--default .select2-selection--single:active {
            border-color: #3b82f6 !important;
            box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15) !important;
        }
        .select2-container--default .select2-selection--single .select2-selection__rendered {
            line-height: 52px !important;
            padding-left: 1.25rem !important;
            font-size: 16px !important;
            color: #1f2937 !important;
        }
        .theme-dark .select2-container--default .select2-selection--single .select2-selection__rendered {
            color: #f3f4f6 !important;
        }
        .select2-container--default .select2-selection--single .select2-selection__arrow {
            height: 52px !important;
            right: 0.75rem !important;
        }
        .select2-dropdown {
            border-radius: 0.85rem !important;
            border-color: #e2e8f0 !important;
            box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1) !important;
            overflow: hidden !important;
        }
        .theme-dark .select2-dropdown {
            border-color: #374151 !important;
            background-color: #1f2937 !important;
        }
        .select2-search__field {
            min-height: 44px !important;
            border-radius: 0.5rem !important;
            border: 1px solid #d1d5db !important;
            font-size: 16px !important;
            padding: 8px 12px !important;
        }
        .theme-dark .select2-search__field {
            border-color: #4b5563 !important;
            background-color: #111827 !important;
            color: #ffffff !important;
        }
        .select2-results__option {
            padding: 12px 16px !important;
            font-size: 16px !important;
        }
        .theme-dark .select2-results__option {
            color: #d1d5db !important;
        }
        .select2-container--default .select2-results__option--highlighted[aria-selected] {
            background-color: #3b82f6 !important;
        }
        .select2-container--default .select2-results__option[aria-selected=true] {
            background-color: #eff6ff !important;
            color: #1e3a8a !important;
        }
        .theme-dark .select2-container--default .select2-results__option[aria-selected=true] {
            background-color: rgba(59, 130, 246, 0.2) !important;
            color: #ffffff !important;
        }

        /* Final registration page background fixes */
        html,
        body {
            background:
                linear-gradient(180deg, #253b9f 0%, #18345f 36rem, #eef4ff 36rem, #eef4ff 100%) !important;
        }

        .registration-bg {
            height: 34rem !important;
            background:
                linear-gradient(145deg, rgba(49, 46, 129, 0.98) 0%, rgba(30, 64, 175, 0.96) 46%, rgba(15, 50, 86, 0.98) 100%) !important;
        }

        .registration-bg::after {
            content: "";
            position: absolute;
            left: 0;
            right: 0;
            bottom: -1px;
            height: 8.5rem;
            background: linear-gradient(180deg, rgba(238, 244, 255, 0) 0%, #eef4ff 88%);
            pointer-events: none;
        }

        .registration-page {
            padding-bottom: 4rem;
        }

        .registration-card {
            background: #ffffff !important;
            isolation: isolate;
        }

        .registration-card-body,
        .step-container,
        .registration-section {
            background: #ffffff !important;
        }

        .registration-card-body {
            position: relative;
            z-index: 1;
            border-radius: 0 0 var(--radius-xl) var(--radius-xl);
        }

        .registration-section {
            border-radius: 1rem;
        }

        .field-label,
        .registration-section label,
        .registration-section-title {
            color: #1f2937 !important;
            text-shadow: none !important;
            opacity: 1 !important;
            -webkit-font-smoothing: antialiased;
            text-rendering: geometricPrecision;
        }

        .registration-field,
        .registration-section input,
        .registration-section select,
        .registration-section textarea,
        .select2-container--default .select2-selection--single {
            background-color: #ffffff !important;
            color: #111827 !important;
            backdrop-filter: none !important;
            -webkit-backdrop-filter: none !important;
        }

        .registration-header {
            position: relative;
            z-index: 3;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 0.35rem;
            padding-top: 0.25rem;
        }

        .registration-header .registration-logo {
            margin-bottom: 1rem !important;
        }

        .registration-header .registration-logo > div:last-child {
            border-radius: 1.25rem;
            padding: 0.65rem;
        }

        .registration-title {
            line-height: 1.08;
            max-width: 58rem;
            text-wrap: balance;
        }

        .registration-subtitle {
            max-width: 42rem;
            text-wrap: balance;
        }

        .network-status-card {
            position: relative;
            z-index: 2;
            margin-bottom: 1.75rem;
            width: min(100%, 36rem);
            box-shadow: 0 24px 60px rgba(15, 23, 42, 0.24);
        }

        .network-status-card .net-stat-item > div:last-child {
            min-width: 0;
        }

        .network-status-card .net-stat-label,
        .network-status-card .net-stat-value {
            white-space: normal !important;
            overflow: visible !important;
            text-overflow: clip !important;
            overflow-wrap: anywhere;
            word-break: break-word;
        }

        .network-status-card .net-stat-value {
            line-height: 1.25;
        }

        .photo-example-card {
            min-width: 0;
            border-radius: 1rem;
            border: 1px solid rgba(203, 213, 225, 0.9);
            background: rgba(255, 255, 255, 0.9);
            padding: 0.6rem;
        }

        .photo-example-face {
            aspect-ratio: 1 / 1;
            border-radius: 0.85rem;
            background: #e2e8f0;
        }

        .photo-example-card img {
            display: block;
        }

        @media (max-width: 640px) {
            html,
            body {
                background:
                    linear-gradient(180deg, #253b9f 0%, #18345f 39rem, #eef4ff 39rem, #eef4ff 100%) !important;
            }

            .registration-bg {
                height: 37rem !important;
            }

            .registration-page {
                padding-top: 1rem !important;
            }

            .registration-header {
                gap: 0.2rem;
                padding-inline: 0.25rem;
            }

            .registration-header .registration-logo {
                margin-bottom: 0.75rem !important;
            }

            .registration-header .registration-logo img {
                width: 4rem;
                height: 4rem;
            }

            .registration-title {
                font-size: clamp(1.65rem, 8vw, 2.35rem) !important;
                line-height: 1.12;
                margin-bottom: 0.45rem !important;
            }

            .registration-subtitle {
                font-size: 0.92rem;
                line-height: 1.45;
                padding-inline: 0.5rem;
            }

            .header-pill {
                min-height: 2rem;
                padding: 0.42rem 0.7rem;
                font-size: 0.72rem;
            }

            .network-status-card {
                margin-top: 0.85rem !important;
                margin-bottom: 1.35rem;
                border-radius: 0.95rem;
            }

            .network-stats-grid {
                grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
            }

            .net-stat-item {
                align-items: flex-start !important;
                gap: 0.55rem !important;
                min-width: 0;
                padding: 0.8rem 0.72rem !important;
            }

            .net-stat-icon {
                width: 2.15rem !important;
                height: 2.15rem !important;
                flex: 0 0 2.15rem;
            }

            .net-stat-label {
                font-size: 0.66rem !important;
                line-height: 1.15 !important;
                letter-spacing: 0.035em !important;
            }

            .net-stat-value {
                display: block;
                max-width: 100% !important;
                font-size: 0.84rem !important;
                line-height: 1.28 !important;
            }

            #net-ip {
                font-size: 0.76rem !important;
            }

            .siar-theme-switcher {
                top: 0.75rem !important;
                right: 0.75rem !important;
                bottom: auto !important;
                z-index: 10050 !important;
                padding: 0.25rem !important;
                border-radius: 999px !important;
                background: rgba(255, 255, 255, 0.94) !important;
                box-shadow: 0 8px 24px rgba(15, 23, 42, 0.18) !important;
            }

            .siar-theme-switcher select {
                min-width: 4.9rem !important;
                min-height: 2.2rem !important;
                height: 2.2rem !important;
                border-radius: 999px !important;
                padding: 0 1.65rem 0 0.75rem !important;
                font-size: 0.76rem !important;
            }
        }

        .registration-card .select2-container--open .select2-selection--single,
        .registration-card .select2-container--default.select2-container--focus .select2-selection--single,
        .registration-card .select2-container--default .select2-selection--single:focus,
        .registration-card .select2-container--default .select2-selection--single:active {
            border-color: #93c5fd !important;
            box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12) !important;
            outline: none !important;
        }

        .registration-card .select2-dropdown {
            border: 1px solid #dbeafe !important;
            box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08) !important;
        }

        .registration-card .select2-search--dropdown {
            padding: 0.45rem !important;
        }

        .registration-card .select2-search__field {
            border: 1px solid #bfdbfe !important;
            border-radius: 0.65rem !important;
            box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.08) !important;
            outline: none !important;
        }

        .registration-card .select2-container--default .select2-results__option--highlighted[aria-selected] {
            background-color: #eef2ff !important;
            color: #1e3a8a !important;
        }

        .select2-container--open .select2-dropdown {
            border: 1px solid #bfdbfe !important;
            border-radius: 0.8rem !important;
            background: #ffffff !important;
            box-shadow: 0 2px 6px rgba(37, 99, 235, 0.06) !important;
            overflow: hidden !important;
        }

        .select2-container--open .select2-dropdown--below {
            margin-top: 0.25rem !important;
        }

        .select2-container--open .select2-dropdown--above {
            margin-bottom: 0.25rem !important;
        }

        .select2-container--default.select2-container--open .select2-selection--single {
            border-color: #93c5fd !important;
            box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.08) !important;
        }

        .select2-container--open .select2-search--dropdown {
            padding: 0.45rem 0.5rem !important;
            background: #ffffff !important;
        }

        .select2-container--open .select2-search__field,
        .select2-container--open .select2-search__field:focus {
            border: 1px solid #bfdbfe !important;
            border-radius: 0.65rem !important;
            outline: none !important;
            box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.08) !important;
        }

        .select2-container--default .select2-results__option--highlighted[aria-selected] {
            background: #eef2ff !important;
            color: #1e3a8a !important;
        }

        .select2-container--default .select2-results__option[aria-selected=true] {
            background: #f8fafc !important;
            color: #0f172a !important;
        }

        .theme-dark .select2-container--open .select2-dropdown {
            border-color: rgba(148, 163, 184, 0.28) !important;
            background: #111827 !important;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2) !important;
        }

        .theme-dark .select2-container--open .select2-search--dropdown {
            background: #111827 !important;
        }

        .theme-dark .select2-container--default .select2-results__option--highlighted[aria-selected] {
            background: rgba(59, 130, 246, 0.22) !important;
            color: #dbeafe !important;
        }

        .confirm-block {
            border: 1px solid rgba(16, 185, 129, 0.28) !important;
            border-radius: 1.25rem !important;
            background:
                linear-gradient(135deg, rgba(236, 253, 245, 0.96), rgba(240, 253, 250, 0.92)) !important;
            padding: 1rem !important;
            box-shadow: 0 14px 32px rgba(16, 185, 129, 0.08);
        }

        .confirm-label {
            display: flex;
            align-items: center;
            gap: 0.95rem;
            cursor: pointer;
            min-width: 0;
        }

        .confirm-checkbox {
            position: absolute;
            opacity: 0;
            pointer-events: none;
        }

        .confirm-icon {
            width: 2.35rem;
            height: 2.35rem;
            flex: 0 0 2.35rem;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border-radius: 0.9rem;
            color: #ffffff;
            background: #ffffff;
            border: 2px solid #10b981;
            box-shadow: 0 6px 16px rgba(16, 185, 129, 0.12);
            transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
        }

        .confirm-icon svg {
            opacity: 0;
            transform: scale(0.6);
            transition: opacity 0.18s ease, transform 0.18s ease;
        }

        .confirm-checkbox:checked + .confirm-icon {
            background: linear-gradient(135deg, #10b981, #0d9488);
            box-shadow: 0 10px 22px rgba(16, 185, 129, 0.28);
        }

        .confirm-checkbox:checked + .confirm-icon svg {
            opacity: 1;
            transform: scale(1);
        }

        .confirm-label:hover .confirm-icon {
            transform: translateY(-1px);
            box-shadow: 0 12px 26px rgba(16, 185, 129, 0.3);
        }

        .confirm-checkbox:focus-visible + .confirm-icon {
            outline: 3px solid rgba(16, 185, 129, 0.22);
            outline-offset: 3px;
        }

        .confirm-copy {
            display: flex;
            flex-direction: column;
            min-width: 0;
            gap: 0.15rem;
        }

        .confirm-title {
            font-size: 0.78rem;
            font-weight: 900;
            line-height: 1.2;
            color: #047857;
            letter-spacing: 0.04em;
            text-transform: uppercase;
        }

        .confirm-text {
            font-size: 0.95rem;
            font-weight: 650;
            line-height: 1.45;
            color: #0f3f33;
        }

        @media (max-width: 640px) {
            .confirm-block {
                padding: 0.9rem !important;
                border-radius: 1rem !important;
            }

            .confirm-label {
                align-items: flex-start;
                gap: 0.75rem;
            }

            .confirm-icon {
                width: 2rem;
                height: 2rem;
                flex-basis: 2rem;
                border-radius: 0.75rem;
                margin-top: 0.1rem;
            }

            .confirm-title {
                font-size: 0.7rem;
            }

            .confirm-text {
                font-size: 0.86rem;
            }
        }

