/* ===========================================
/* 1. Radzen Dropdown - Trigger / Input  */
.rz-dropdown {
    background: #252015 !important;
    border: 1px solid #2e2b25 !important;
    border-radius: 0.5rem !important;
    color: #fff !important;
    transition: border-color 0.2s;
}

.rz-dropdown:hover {
    border-color: rgba(177, 141, 89, 0.25) !important;
}

.rz-dropdown.rz-state-focused,
.rz-dropdown:focus-within {
    border-color: #b18d59 !important;
    box-shadow: 0 0 0 1px rgba(177, 141, 89, 0.15) !important;
}

.rz-dropdown .rz-inputtext,
.rz-dropdown .rz-dropdown-label { color: #fff !important; background: transparent !important; font-weight: 700; }
.rz-dropdown .rz-placeholder { color: #6b7280 !important; }
.rz-dropdown .rz-dropdown-trigger { color: #9ca3af !important; background: transparent !important; }
.rz-dropdown .rz-dropdown-trigger:hover { color: #b18d59 !important; }
.rz-dropdown .rz-dropdown-trigger .rzi { color: #9ca3af !important; }
.rz-dropdown .rz-dropdown-clear-icon { color: #9ca3af !important; }
.rz-dropdown .rz-dropdown-clear-icon:hover { color: #fff !important; }

/* 2. Radzen Dropdown - Popup Panel  */
.rz-dropdown-panel {
    background: #12100d !important;
    border: 1px solid rgba(177, 141, 89, 0.22) !important;
    border-radius: 0.5rem !important;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.55) !important;
    z-index: 10000 !important;
}

.rz-dropdown-panel .rz-dropdown-filter-container {
    background: transparent !important;
    border-bottom: 1px solid #2e2b25 !important;
    padding: 0.5rem !important;
}

.rz-dropdown-panel .rz-dropdown-filter-container .rz-inputtext,
.rz-dropdown-panel .rz-dropdown-filter {
    background: #252015 !important;
    border: 1px solid #2e2b25 !important;
    border-radius: 0.375rem !important;
    color: #fff !important;
    padding: 0.5rem 0.75rem !important;
}

.rz-dropdown-panel .rz-dropdown-filter::placeholder,
.rz-dropdown-panel .rz-dropdown-filter-container .rz-inputtext::placeholder { color: #6b7280 !important; }
.rz-dropdown-panel .rz-dropdown-filter:focus { border-color: #b18d59 !important; }

.rz-dropdown-panel .rz-dropdown-items-wrapper,
.rz-dropdown-panel .rz-dropdown-items { background: transparent !important; }

.rz-dropdown-panel .rz-dropdown-item {
    color: #e2e0dd !important;
    background: transparent !important;
    padding: 0.625rem 1rem !important;
    transition: background 0.15s, color 0.15s !important;
}

.rz-dropdown-panel .rz-dropdown-item:hover {
    background: #252015 !important;
    color: #fff !important;
}

.rz-dropdown-panel .rz-dropdown-item.rz-state-highlight {
    background: #252015 !important;
    color: #b18d59 !important;
    font-weight: 600 !important;
}

.rz-dropdown-panel .rz-dropdown-empty-message { color: #6b7280 !important; }

/* 3. Radzen FormField  */
.rz-form-field .rz-form-field-label { color: rgba(177, 141, 89, 0.6) !important; }
.rz-form-field .rz-form-field-content { border-color: #2e2b25 !important; }
.rz-form-field.rz-state-focused .rz-form-field-content { border-color: rgba(177, 141, 89, 0.4) !important; }

.rz-textbox { background: #252015 !important; border: 1px solid #2e2b25 !important; border-radius: 0.5rem !important; color: #fff !important; }
.rz-textbox:focus, .rz-textbox.rz-state-focused { border-color: rgba(177, 141, 89, 0.4) !important; }
.rz-textbox::placeholder { color: #6b7280 !important; }

/* 4. Native <select>  */
.intake-field select,
select.ep-form-input {
    width: 100%;
    background: #252015;
    border: 1px solid #2e2b25;
    border-radius: 0.5rem;
    padding: 0.75rem 2.5rem 0.75rem 1rem;
    color: #fff;
    font-weight: 700;
    font-size: 0.875rem;
    outline: none;
    transition: border-color 0.2s;
    box-sizing: border-box;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%239ca3af' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
}

.intake-field select:focus, select.ep-form-input:focus { border-color: #b18d59; }
.intake-field select option, select.ep-form-input option { background: #12100d; color: #e2e0dd; }

input.ep-form-input, textarea.ep-form-input {
    width: 100%;
    background: #252015;
    border: 1px solid #2e2b25;
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    color: #fff;
    font-weight: 700;
    font-size: 0.875rem;
    outline: none;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

input.ep-form-input:focus, textarea.ep-form-input:focus { border-color: #b18d59; }

/* 5. Date inputs  */
.intake-field input[type="date"],
.intake-field input[type="datetime-local"],
input.ep-form-input[type="date"],
input.ep-form-input[type="datetime-local"] {
    color-scheme: dark;
    -webkit-appearance: none;
    appearance: none;
}

.intake-field input[type="date"]::-webkit-calendar-picker-indicator,
.intake-field input[type="datetime-local"]::-webkit-calendar-picker-indicator,
input.ep-form-input[type="date"]::-webkit-calendar-picker-indicator,
input.ep-form-input[type="datetime-local"]::-webkit-calendar-picker-indicator {
    filter: invert(0.65) sepia(1) saturate(2) hue-rotate(5deg);
    cursor: pointer; opacity: 0.7; transition: opacity 0.2s;
}

.intake-field input[type="date"]::-webkit-calendar-picker-indicator:hover,
input.ep-form-input[type="date"]::-webkit-calendar-picker-indicator:hover { opacity: 1; }

.intake-field input[type="date"]::-webkit-inner-spin-button,
input.ep-form-input[type="date"]::-webkit-inner-spin-button { display: none; }

/* 6. Radzen Button  */
.rz-button.rz-button-md { border-radius: 0.5rem !important; font-weight: 700 !important; text-transform: uppercase !important; letter-spacing: 0.05em !important; font-size: 0.75rem !important; }

/* 7. Country Dropdown Items  */
.country-item .country-name { color: #fff; }
.country-item .country-meta { color: #9ca3af; }
.country-dropdown-loading { background: #252015; border: 1px solid #2e2b25; border-radius: 0.5rem; padding: 1rem; }
.country-loading-text { color: #fff; font-weight: 700; }

/* 8. Address Autocomplete  */
.address-autocomplete-input { background: #252015 !important; border: 1px solid #2e2b25 !important; border-radius: 0.5rem !important; color: #fff !important; font-size: 0.875rem !important; font-weight: 700 !important; padding: 1rem 2.25rem 1rem 1rem !important; outline: none !important; transition: border-color 0.2s !important; }
.address-autocomplete-input:focus { border-color: #b18d59 !important; }
.address-autocomplete-input::placeholder { color: #6b7280 !important; }

.address-autocomplete-dropdown { background: #12100d !important; border: 1px solid rgba(177, 141, 89, 0.22) !important; border-radius: 0.5rem !important; box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5) !important; }
.address-autocomplete-option { color: #e2e0dd !important; background: transparent !important; padding: 0.625rem 1rem !important; font-size: 0.8125rem !important; transition: background 0.15s, color 0.15s !important; }
.address-autocomplete-option:hover { background: #252015 !important; color: #fff !important; }
.address-autocomplete-option + .address-autocomplete-option { border-top: 1px solid #2e2b25 !important; }
.address-autocomplete-option-icon { color: #b18d59 !important; }
.address-autocomplete-clear { color: #9ca3af !important; }
.address-autocomplete-clear:hover { color: #fff !important; }
.address-autocomplete-spinner { border-color: rgba(177, 141, 89, 0.3) !important; border-top-color: #b18d59 !important; }
.address-autocomplete-selected { background: #252015 !important; border: 1px solid rgba(177, 141, 89, 0.25) !important; border-radius: 0.5rem !important; }
.address-autocomplete-selected-text { color: #e5e7eb !important; }
.address-autocomplete-selected-icon { color: #b18d59 !important; }