
        /* Choices.js Overrides */
        .choices {
            margin-bottom: 0 !important;
            width: 100%;
        }
        /* Default Form Dropdown (Large) */
        .choices__inner {
            padding: 14px 16px !important;
            border: 1px solid #E5E7EB !important;
            border-radius: 12px !important;
            background: #F9FAFB !important;
            min-height: auto !important;
            transition: all 0.2s !important;
            font-size: 15px !important;
            color: var(--text-dark) !important;
            display: flex;
            align-items: center;
        }
        
        /* Compact Selectors (e.g. Dashboard headers, Filters) */
        .panel-header .choices,
        .filter-select-field + .choices,
        .choices-sm {
            width: max-content !important;
            min-width: 140px;
        }
        .panel-header .choices__inner,
        .filter-select-field + .choices .choices__inner,
        .choices-sm .choices__inner {
            padding: 6px 12px !important;
            border-radius: 8px !important;
            font-size: 13px !important;
        }

        .choices__list--single {
            padding: 0 !important;
            line-height: 1.2 !important;
        }
        .is-focused .choices__inner, .is-open .choices__inner {
            border-color: var(--accent-1) !important;
            box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1) !important;
            background: white !important;
        }
        .choices__list--dropdown {
            border-radius: 12px !important;
            border: 1px solid rgba(0,0,0,0.06) !important;
            box-shadow: 0 10px 25px -5px rgba(0,0,0,0.1) !important;
            margin-top: 4px !important;
            z-index: 50 !important;
            width: max-content !important;
            min-width: 100% !important;
        }
        .choices__list--dropdown .choices__item {
            white-space: nowrap !important;
        }
        .choices__item--choice.is-highlighted {
            background-color: rgba(79, 70, 229, 0.05) !important;
            color: var(--accent-1) !important;
        }
        .choices[data-type*="select-one"]:after {
            border-color: #9CA3AF transparent transparent transparent !important;
            right: 12px !important;
            margin-top: -3px !important;
        }

        /* =============================================
           CUSTOM DATE & TIME PICKER (SaaS Style)
           ============================================= */
        :root {
            --dt-primary: #059669; /* Emerald 600 */
            --dt-primary-light: #ECFDF5; /* Emerald 50 */
            --dt-green: #10B981;
            --dt-text-main: #111827;
            --dt-text-sec: #64748b;
            --dt-border: #e5e7eb;
            --dt-hover: #f8fafc;
        }

        .smart-datetime-modal {
            background: #ffffff;
            border: 1px solid var(--dt-border);
            border-radius: 20px;
            box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.05);
            padding: 32px;
            margin-bottom: 40px;
            position: relative;
            z-index: 10;
        }
        
        .smart-datetime-header {
            display: flex;
            align-items: center;
            gap: 16px;
            margin-bottom: 32px;
        }
        .smart-datetime-icon {
            width: 48px;
            height: 48px;
            background: var(--dt-primary-light);
            color: var(--dt-primary);
            border-radius: 14px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 22px;
        }
        .smart-datetime-title-wrapper h3 {
            font-size: 20px;
            font-weight: 700;
            color: var(--dt-text-main);
            margin: 0 0 4px 0;
            letter-spacing: -0.01em;
        }
        .smart-datetime-title-wrapper p {
            font-size: 14px;
            color: var(--dt-text-sec);
            margin: 0;
        }

        .smart-datetime-body {
            display: flex;
            flex-direction: column;
            gap: 28px;
        }
        .smart-section > label {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 15px;
            font-weight: 600;
            color: var(--dt-text-main);
            margin-bottom: 12px;
        }
        .smart-section > label i {
            color: var(--dt-primary);
        }

        /* Input Fields common */
        .smart-date-field, .smart-time-field {
            position: relative;
            background: #ffffff;
            border: 1px solid var(--dt-border);
            border-radius: 14px;
            height: 90px;
            display: flex;
            align-items: center;
            padding: 0 20px;
            cursor: pointer;
            transition: all 0.2s;
            user-select: none;
        }
        .smart-date-field:hover, .smart-time-field:hover {
            border-color: #cbd5e1;
            background: #fcfcfc;
        }
        .smart-date-field.active, .smart-time-field.active {
            border-color: var(--dt-primary);
            box-shadow: 0 0 0 4px rgba(6, 76, 122, 0.1);
            background: #ffffff;
            z-index: 101;
        }
        
        .smart-field-icon {
            width: 48px;
            height: 48px;
            background: var(--dt-primary-light);
            color: var(--dt-primary);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 20px;
            flex-shrink: 0;
            margin-right: 16px;
        }
        
        .smart-field-content {
            flex: 1;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }
        .smart-date-display {
            font-size: 18px;
            font-weight: 700;
            color: var(--dt-text-main);
            margin-bottom: 2px;
        }
        .smart-date-day {
            font-size: 13px;
            font-weight: 500;
            color: var(--dt-text-sec);
        }
        .smart-field-chevron {
            color: #94a3b8;
            font-size: 14px;
            transition: transform 0.2s;
        }
        .active .smart-field-chevron {
            transform: rotate(180deg);
        }

        /* Time specific */
        .smart-time-field {
            height: 76px;
            width: 100%;
        }
        .time-content {
            flex-direction: row;
            align-items: center;
            justify-content: flex-start;
            gap: 12px;
            font-size: 22px;
            font-weight: 700;
            color: var(--dt-text-main);
        }
        .time-colon {
            color: #cbd5e1;
            transform: translateY(-2px);
        }
        .smart-time-ampm-display {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 16px;
            font-weight: 700;
            color: var(--dt-text-main);
            padding-left: 20px;
            border-left: 1px solid var(--dt-border);
            margin-left: 12px;
        }
        
        /* Modals common */
        .smart-calendar-popup, .smart-time-popup {
            position: absolute;
            top: calc(100% + 12px);
            left: 0;
            background: #ffffff;
            border: 1px solid var(--dt-border);
            border-radius: 16px;
            box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.15);
            z-index: 100;
            opacity: 0;
            visibility: hidden;
            transform: translateY(-10px) scale(0.98);
            transition: all 0.15s cubic-bezier(0.16, 1, 0.3, 1);
        }
        .active .smart-calendar-popup, .active .smart-time-popup {
            opacity: 1;
            visibility: visible;
            transform: translateY(0) scale(1);
        }

        /* Calendar */
        .smart-calendar-popup {
            width: 340px;
            padding: 24px;
        }
        .smart-calendar-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
        }
        .smart-calendar-header button {
            background: transparent;
            border: none;
            width: 32px;
            height: 32px;
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            color: var(--dt-text-sec);
            transition: all 0.2s;
        }
        .smart-calendar-header button:hover {
            background: var(--dt-hover);
            color: var(--dt-primary);
        }
        .smart-calendar-title {
            font-size: 16px;
            font-weight: 700;
            color: var(--dt-text-main);
        }
        .smart-calendar-weekdays {
            display: grid;
            grid-template-columns: repeat(7, 1fr);
            text-align: center;
            font-size: 11px;
            font-weight: 700;
            color: #94a3b8;
            margin-bottom: 12px;
        }
        .smart-calendar-grid {
            display: grid;
            grid-template-columns: repeat(7, 1fr);
            gap: 4px;
            text-align: center;
        }
        .smart-calendar-day {
            width: 36px;
            height: 36px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            font-size: 14px;
            font-weight: 600;
            color: var(--dt-text-main);
            cursor: pointer;
            margin: auto;
            transition: all 0.15s;
        }
        .smart-calendar-day:not(.empty):not(.disabled):hover {
            background: var(--dt-primary-light);
            color: var(--dt-primary);
        }
        .smart-calendar-day.empty {
            cursor: default;
        }
        .smart-calendar-day.other-month {
            color: #cbd5e1;
            font-weight: 400;
        }
        .smart-calendar-day.selected {
            background: var(--dt-primary) !important;
            color: white !important;
            box-shadow: 0 4px 12px rgba(6, 76, 122, 0.3);
        }
        .smart-calendar-day.today {
            color: var(--dt-primary);
            position: relative;
        }
        .smart-calendar-day.today::after {
            content: '';
            position: absolute;
            bottom: 4px;
            left: 50%;
            transform: translateX(-50%);
            width: 4px;
            height: 4px;
            border-radius: 50%;
            background: var(--dt-green);
        }
        .smart-calendar-day.today.selected::after {
            background: white;
        }
        .smart-calendar-footer {
            margin-top: 16px;
            padding-top: 16px;
            border-top: 1px solid var(--dt-border);
            text-align: center;
        }
        .btn-today-indicator {
            background: none;
            border: none;
            font-size: 14px;
            font-weight: 600;
            color: var(--dt-primary);
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            gap: 6px;
        }
        .btn-today-indicator .dot {
            width: 6px;
            height: 6px;
            background: var(--dt-primary);
            border-radius: 50%;
        }

        /* Time Picker */
        .smart-time-popup {
            width: 320px;
            padding: 20px;
            display: flex;
            flex-direction: column;
        }
        .smart-time-columns {
            display: flex;
            gap: 12px;
            height: 200px;
        }
        .smart-time-column {
            flex: 1;
            display: flex;
            flex-direction: column;
            border: 1px solid var(--dt-border);
            border-radius: 12px;
            overflow: hidden;
        }
        .time-col-title {
            text-align: center;
            font-size: 12px;
            font-weight: 700;
            color: var(--dt-text-main);
            padding: 10px 0;
            border-bottom: 1px solid var(--dt-border);
            background: #f8fafc;
        }
        .time-scroll-area {
            flex: 1;
            overflow-y: auto;
            padding: 8px;
            display: flex;
            flex-direction: column;
            gap: 4px;
            scrollbar-width: none;
        }
        .time-scroll-area::-webkit-scrollbar { display: none; }
        
        .smart-time-option {
            padding: 10px 0;
            text-align: center;
            font-size: 15px;
            font-weight: 600;
            color: var(--dt-text-sec);
            border-radius: 8px;
            cursor: pointer;
            transition: all 0.15s;
        }
        .smart-time-option:hover {
            background: var(--dt-hover);
            color: var(--dt-text-main);
        }
        .smart-time-option.selected {
            background: var(--dt-primary);
            color: white;
            box-shadow: 0 4px 10px rgba(6, 76, 122, 0.2);
        }
        .ampm-option {
            margin: auto 0;
            padding: 12px 0;
        }
        
        .smart-time-footer {
            margin-top: 16px;
            padding-top: 16px;
            border-top: 1px solid var(--dt-border);
            text-align: center;
            font-size: 15px;
            font-weight: 700;
            color: var(--dt-primary);
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
        }

        /* Quick Select */
        .smart-quick-select {
            display: flex;
            flex-wrap: wrap;
            gap: 12px;
        }
        .smart-quick-btn {
            background: #ffffff;
            border: 1px solid var(--dt-border);
            border-radius: 100px;
            padding: 10px 20px;
            font-size: 14px;
            font-weight: 600;
            color: var(--dt-text-sec);
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 8px;
            transition: all 0.2s;
        }
        .smart-quick-btn i {
            font-size: 15px;
        }
        .smart-quick-btn:hover {
            background: var(--dt-primary-light);
            border-color: var(--dt-primary-light);
            color: var(--dt-primary);
        }
        .smart-quick-btn.selected {
            background: var(--dt-primary);
            border-color: var(--dt-primary);
            color: white;
        }
        .smart-quick-btn.selected i {
            color: white !important;
        }

        @media (max-width: 600px) {
            .smart-datetime-modal {
                padding: 24px 20px;
                border: none;
                border-radius: 0;
                box-shadow: none;
                margin-bottom: 0;
            }
            .smart-quick-select {
                grid-template-columns: 1fr 1fr;
                display: grid;
            }
            .smart-quick-btn {
                justify-content: center;
                width: 100%;
            }
            .smart-time-field {
                width: 100%;
                min-width: unset;
            }
            .smart-calendar-popup {
                width: 100%;
                max-width: 360px;
            }
            .smart-time-popup {
                width: 100%;
                max-width: 340px;
            }
            /* Add overlay for mobile popups */
            .smart-popup-overlay {
                position: fixed;
                top: 0; left: 0; right: 0; bottom: 0;
                background: rgba(0,0,0,0.4);
                z-index: 90;
                opacity: 0;
                visibility: hidden;
                transition: all 0.2s;
            }
            .smart-popup-overlay.active {
                opacity: 1;
                visibility: visible;
            }
        }
        
        /* Premium Centered Form Redesign */
        .page-container {
            padding: 40px 24px;
            max-width: 800px;
            margin: 0 auto;
            width: 100%;
        }
        .form-card {
            background: #ffffff;
            border-radius: 24px;
            border: 1px solid rgba(0,0,0,0.06);
            box-shadow: 0 20px 40px -10px rgba(0,0,0,0.08);
            overflow: hidden;
            position: relative;
        }
        .form-header-premium {
            padding: 40px 48px 32px 48px;
            border-bottom: 1px solid rgba(0,0,0,0.04);
            background: linear-gradient(to bottom, #F8FAFC, #FFFFFF);
            position: relative;
        }
        .form-header-premium .icon-badge {
            width: 56px; height: 56px;
            background: white;
            border-radius: 16px;
            display: flex; align-items: center; justify-content: center;
            font-size: 24px; color: var(--accent-1);
            box-shadow: 0 8px 16px -4px rgba(16, 185, 129, 0.2);
            border: 1px solid rgba(16, 185, 129, 0.15);
            margin-bottom: 24px;
        }
        .form-header-premium h2 {
            font-size: 26px; font-weight: 800; color: var(--text-main); letter-spacing: -0.03em;
        }
        .form-header-premium p {
            color: var(--text-muted); font-size: 15px; margin-top: 8px; max-width: 500px; line-height: 1.5;
        }
        .form-body {
            padding: 48px;
            width: 100%;
            box-sizing: border-box;
        }
        .form-section-title {
            font-size: 13px; font-weight: 700; color: #94A3B8;
            text-transform: uppercase; letter-spacing: 0.08em;
            margin-bottom: 24px; display: flex; align-items: center; gap: 12px;
        }
        .form-section-title::after {
            content: ''; flex: 1; height: 1px; background: rgba(0,0,0,0.05);
        }
        
        .form-grid {
            display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 40px;
            width: 100%; box-sizing: border-box;
        }
        .form-group {
            margin-bottom: 20px;
            min-width: 0;
            width: 100%;
            box-sizing: border-box;
        }
        .form-group.full-width { grid-column: span 2; }
        
        .form-label {
            display: block; font-size: 13px; font-weight: 600; margin-bottom: 8px; color: var(--text-main);
        }
        .form-input, .form-select {
            width: 100%; padding: 14px 16px;
            border: 1px solid #E2E8F0; border-radius: 12px;
            font-family: 'Inter', sans-serif; font-size: 15px;
            transition: all 0.2s; background: #F8FAFC; color: var(--text-main);
            box-sizing: border-box; margin: 0; max-width: 100%;
        }
        .form-input:focus, .form-select:focus {
            background: white; border-color: var(--accent-1); box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.15); outline: none;
        }
        .form-select {
            appearance: none;
            background-image: url('data:image/svg+xml;utf8,<svg fill="%2364748B" height="20" viewBox="0 0 24 24" width="20" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
            background-repeat: no-repeat; background-position-x: 96%; background-position-y: 50%;
        }
        
        .form-footer {
            padding: 24px 48px; background: #F8FAFC; border-top: 1px solid rgba(0,0,0,0.04);
            display: flex; justify-content: space-between; align-items: center;
        }
        .guideline-text {
            font-size: 13px; color: var(--text-muted); display: flex; align-items: center; gap: 8px; font-weight: 500;
        }
        .guideline-text i { color: #10B981; }
        
        .btn-submit {
            background: var(--text-main); color: white; padding: 14px 28px; border-radius: 12px;
            font-weight: 600; font-size: 15px; border: none; cursor: pointer;
            transition: all 0.2s; display: inline-flex; align-items: center; gap: 8px;
        }
        .btn-submit:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,0.15); }
        
        .alert {
            margin: 24px 48px 0 48px; padding: 16px; border-radius: 12px;
            font-size: 14px; font-weight: 600; display: flex; align-items: center; gap: 12px;
        }
        .alert-error { background: #FEF2F2; color: #EF4444; border: 1px solid #FCA5A5; }
        .alert-success { background: #F0FDF4; color: #10B981; border: 1px solid #6EE7B7; }
        
        @media (max-width: 768px) {
            .page-container { padding: 16px 16px 110px 16px; width: 100%; max-width: 100vw; box-sizing: border-box; overflow-x: hidden; }
            .form-header-premium { padding: 24px 20px 20px 20px; width: 100%; box-sizing: border-box; }
            .form-header-premium h2 { font-size: 22px; }
            .form-header-premium p { font-size: 14px; }
            .form-body { padding: 24px 20px; width: 100%; box-sizing: border-box; overflow: hidden; }
            .form-card { border-radius: 18px; width: 100%; box-sizing: border-box; overflow: hidden; }
            .form-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; margin-bottom: 24px; width: 100%; }
            .form-group.full-width { grid-column: span 1; }
            .form-footer { flex-direction: column; gap: 16px; text-align: center; padding: 20px 16px; }
            .btn-submit { width: 100%; justify-content: center; }
            .alert { margin: 16px 16px 0 16px; }
            .smart-datetime-modal { padding: 20px 16px; border-radius: 16px; }
        }

        @media (max-width: 480px) {
            .country-picker-trigger { padding: 12px 10px; }
            .country-picker-trigger .country-dial-code { font-size: 13.5px; }
            .phone-input-field { padding: 12px 10px; font-size: 14px; }
            .form-section-title { font-size: 12px; margin-bottom: 16px; }
        }

        /* =============================================
           CUSTOM FILE UPLOAD COMPONENT
           ============================================= */
        .smart-file-upload {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 32px 24px;
            border: 2px dashed #E2E8F0;
            border-radius: 16px;
            background-color: #F8FAFC;
            cursor: pointer;
            transition: all 0.2s ease;
            position: relative;
            text-align: center;
        }
        .smart-file-upload:hover {
            border-color: var(--accent-1);
            background-color: rgba(79, 70, 229, 0.02);
        }
        .smart-file-upload input[type="file"] {
            position: absolute;
            width: 100%;
            height: 100%;
            top: 0;
            left: 0;
            opacity: 0;
            cursor: pointer;
            z-index: 2;
        }
        .smart-file-icon {
            font-size: 32px;
            color: var(--accent-1);
            margin-bottom: 12px;
            opacity: 0.8;
            transition: transform 0.2s ease;
        }
        .smart-file-upload:hover .smart-file-icon {
            transform: translateY(-4px);
        }
        .smart-file-text {
            font-size: 15px;
            font-weight: 600;
            color: var(--text-main);
            margin-bottom: 4px;
        }
        .smart-file-text span {
            color: var(--accent-1);
        }
        .smart-file-info {
            font-size: 13px;
            color: var(--text-muted);
        }

        /* =============================================
           SMART PHONE INPUT & COUNTRY CODE PICKER
           ============================================= */
        .smart-phone-group {
            display: flex;
            align-items: center;
            width: 100%;
            border: 2px solid #E5E7EB;
            border-radius: 12px;
            background: #F9FAFB;
            transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
            position: relative;
            box-sizing: border-box;
        }

        .smart-phone-group:focus-within,
        .smart-phone-group.is-focused {
            border-color: var(--accent-1);
            box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.15);
            background: #FFFFFF;
        }

        .country-code-picker {
            position: relative;
            flex-shrink: 0;
        }

        .country-picker-trigger {
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 13px 14px 13px 16px;
            background: transparent;
            border: none;
            border-right: 1.5px solid #E5E7EB;
            cursor: pointer;
            font-family: 'Inter', sans-serif;
            color: var(--text-main);
            transition: background-color 0.2s;
            user-select: none;
            border-top-left-radius: 10px;
            border-bottom-left-radius: 10px;
            outline: none;
        }

        .country-picker-trigger:hover {
            background: rgba(0, 0, 0, 0.04);
        }

        .country-picker-trigger .country-flag {
            font-size: 20px;
            line-height: 1;
            display: inline-flex;
        }

        .country-picker-trigger .country-dial-code {
            font-weight: 600;
            font-size: 14.5px;
            color: var(--text-main);
            letter-spacing: -0.2px;
        }

        .country-picker-trigger .country-arrow {
            font-size: 10px;
            color: #94A3B8;
            transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
            margin-left: 2px;
        }

        .country-code-picker.open .country-arrow {
            transform: rotate(180deg);
            color: var(--accent-1);
        }

        .phone-input-field {
            flex: 1;
            min-width: 0;
            padding: 14px 16px;
            background: transparent;
            border: none;
            outline: none;
            font-family: 'Inter', sans-serif;
            font-size: 15px;
            font-weight: 500;
            color: var(--text-main);
            box-sizing: border-box;
        }

        .phone-input-field::placeholder {
            color: #9CA3AF;
            font-weight: 400;
        }

        /* Dropdown Panel */
        .country-dropdown-menu {
            display: none;
            position: absolute;
            top: calc(100% + 8px);
            left: 0;
            width: 340px;
            max-width: calc(100vw - 32px);
            background: #FFFFFF;
            border: 1px solid #E2E8F0;
            border-radius: 16px;
            box-shadow: 0 16px 36px -4px rgba(0, 0, 0, 0.14), 0 4px 10px -2px rgba(0, 0, 0, 0.04);
            z-index: 1050;
            overflow: hidden;
            animation: countryDropAnim 0.2s cubic-bezier(0.16, 1, 0.3, 1);
        }

        @keyframes countryDropAnim {
            from {
                opacity: 0;
                transform: translateY(-8px) scale(0.97);
            }
            to {
                opacity: 1;
                transform: translateY(0) scale(1);
            }
        }

        .country-dropdown-menu.show {
            display: block;
        }

        .country-search-box {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 12px 16px;
            border-bottom: 1px solid #F1F5F9;
            background: #F8FAFC;
        }

        .country-search-box i {
            color: #94A3B8;
            font-size: 13px;
        }

        .country-search-box input {
            width: 100%;
            border: none;
            background: transparent;
            outline: none;
            font-family: 'Inter', sans-serif;
            font-size: 13.5px;
            color: var(--text-main);
        }

        .country-list-scroll {
            max-height: 260px;
            overflow-y: auto;
            padding: 6px 0;
            scrollbar-width: thin;
            scrollbar-color: #CBD5E1 transparent;
        }

        .country-list-scroll::-webkit-scrollbar {
            width: 5px;
        }

        .country-list-scroll::-webkit-scrollbar-thumb {
            background: #CBD5E1;
            border-radius: 10px;
        }

        .country-group-label {
            padding: 8px 16px 4px 16px;
            font-size: 11px;
            font-weight: 700;
            color: #64748B;
            text-transform: uppercase;
            letter-spacing: 0.06em;
            display: flex;
            align-items: center;
            gap: 6px;
        }

        .country-option {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 10px 16px;
            cursor: pointer;
            transition: background-color 0.15s ease;
            font-size: 14px;
            user-select: none;
        }

        .country-option:hover,
        .country-option.keyboard-highlight {
            background-color: #F8FAFC;
        }

        .country-option.selected {
            background-color: rgba(79, 70, 229, 0.08);
        }

        .country-option.selected .country-option-left .name {
            font-weight: 600;
            color: var(--accent-1);
        }

        .country-option-left {
            display: flex;
            align-items: center;
            gap: 10px;
            min-width: 0;
        }

        .country-option .flag {
            font-size: 20px;
            line-height: 1;
            display: inline-flex;
        }

        .country-option .name {
            color: var(--text-main);
            font-weight: 500;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .country-option .dial-code {
            color: #64748B;
            font-size: 13.5px;
            font-weight: 600;
            margin-left: 8px;
            flex-shrink: 0;
        }

        .country-option.selected .dial-code {
            color: var(--accent-1);
        }

        .country-badge {
            font-size: 10px;
            font-weight: 600;
            padding: 2px 7px;
            border-radius: 6px;
            display: inline-flex;
            align-items: center;
            gap: 3px;
            line-height: 1.2;
        }

        .badge-default {
            background: #EEF2FF;
            color: #4F46E5;
            border: 1px solid rgba(79, 70, 229, 0.2);
        }

        .badge-pinned {
            background: #ECFDF5;
            color: #059669;
            border: 1px solid rgba(5, 150, 105, 0.2);
        }

        .country-no-results {
            padding: 20px;
            text-align: center;
            color: #94A3B8;
            font-size: 13px;
            display: none;
        }

        /* =============================================
           FLATPICKR OVERRIDES (Calendar fixes & styling)
           ============================================= */
        .flatpickr-calendar {
            width: 325px !important;
            padding-bottom: 10px;
        }
        .flatpickr-days, .dayContainer {
            width: 100% !important;
            min-width: 100% !important;
            max-width: 100% !important;
        }

        .flatpickr-current-month .flatpickr-monthDropdown-months {
            appearance: none !important;
            -webkit-appearance: none !important;
            background: #F1F5F9 !important;
            border: 1px solid #E2E8F0 !important;
            border-radius: 6px !important;
            padding: 4px 24px 4px 8px !important;
            font-size: 14px !important;
            font-weight: 600 !important;
            color: #0F172A !important;
            margin: 0 4px !important;
            cursor: pointer !important;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") !important;
            background-repeat: no-repeat !important;
            background-position: right 6px center !important;
            background-size: 14px !important;
            height: 32px !important;
        }
        .flatpickr-current-month .flatpickr-monthDropdown-months:hover {
            background-color: #E2E8F0 !important;
        }

        .flatpickr-current-month .numInputWrapper {
            width: 65px;
        }
        .flatpickr-current-month .numInputWrapper span.arrowUp,
        .flatpickr-current-month .numInputWrapper span.arrowDown {
            display: none !important;
        }
        .flatpickr-current-month input.cur-year {
            appearance: none !important;
            -webkit-appearance: none !important;
            background: #F1F5F9 !important;
            border: 1px solid #E2E8F0 !important;
            border-radius: 6px !important;
            padding: 4px 8px !important;
            font-size: 14px !important;
            font-weight: 600 !important;
            color: #0F172A !important;
            height: 32px !important;
            box-sizing: border-box !important;
            cursor: text !important;
            text-align: center !important;
            margin-left: 4px !important;
        }
        .flatpickr-current-month input.cur-year:hover {
            background-color: #E2E8F0 !important;
        }
        .flatpickr-current-month {
            display: flex !important;
            align-items: center;
            justify-content: center;
            padding-top: 4px;
        }

        /* SweetAlert2 z-index priority over all modals and backdrops */
        .swal2-container {
            z-index: 200000 !important;
        }