/**
 * ============================================================================
 * ZALL MIDMAN — CENTRALIZED GLOBAL DESIGN SYSTEM & UI TOKENS
 * Version: 3.0 (Phase 3A Unified Visual Language)
 * ============================================================================
 */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
    /* --- COLOR PALETTE: BRAND --- */
    --z-primary: #f66197;
    --z-primary-hover: #e04880;
    --z-primary-active: #c8356c;
    --z-primary-light: rgba(246, 97, 151, 0.12);
    --z-primary-glow: rgba(246, 97, 151, 0.25);
    
    --z-secondary: #d006c0;
    --z-secondary-hover: #b504a7;
    --z-secondary-light: rgba(208, 6, 192, 0.12);
    
    --z-brand-gradient: linear-gradient(135deg, #f66197 0%, #d006c0 100%);
    --z-brand-gradient-hover: linear-gradient(135deg, #e04880 0%, #b504a7 100%);

    /* --- COLOR PALETTE: SEMANTIC --- */
    --z-success: #10b981;
    --z-success-light: rgba(16, 185, 129, 0.12);
    --z-success-border: rgba(16, 185, 129, 0.3);

    --z-warning: #f59e0b;
    --z-warning-light: rgba(245, 158, 11, 0.12);
    --z-warning-border: rgba(245, 158, 11, 0.3);

    --z-danger: #ef4444;
    --z-danger-light: rgba(239, 68, 68, 0.12);
    --z-danger-border: rgba(239, 68, 68, 0.3);

    --z-info: #06b6d4;
    --z-info-light: rgba(6, 182, 212, 0.12);
    --z-info-border: rgba(6, 182, 212, 0.3);

    /* --- NEUTRAL COLORS (LIGHT MODE) --- */
    --z-bg: #f8fafc;
    --z-surface: #ffffff;
    --z-surface-muted: #f1f5f9;
    --z-surface-hover: #e2e8f0;
    
    --z-text: #0f172a;
    --z-text-muted: #64748b;
    --z-text-subtle: #94a3b8;

    --z-border: #e2e8f0;
    --z-border-subtle: #f1f5f9;

    /* --- TYPOGRAPHY --- */
    --z-font: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --z-font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

    /* --- SPACING TOKENS --- */
    --z-space-1: 4px;
    --z-space-2: 8px;
    --z-space-3: 12px;
    --z-space-4: 16px;
    --z-space-5: 20px;
    --z-space-6: 24px;
    --z-space-8: 32px;
    --z-space-10: 40px;

    /* --- BORDER RADIUS TOKENS --- */
    --z-radius-sm: 6px;
    --z-radius-md: 10px;
    --z-radius-lg: 16px;
    --z-radius-xl: 24px;
    --z-radius-full: 9999px;

    /* --- SHADOW TOKENS --- */
    --z-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.03);
    --z-shadow-md: 0 4px 12px rgba(0, 0, 0, 0.06), 0 2px 4px rgba(0, 0, 0, 0.04);
    --z-shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.08), 0 4px 10px rgba(0, 0, 0, 0.04);
    --z-shadow-glow: 0 4px 20px rgba(246, 97, 151, 0.25);
}

/* --- DARK MODE OVERRIDES --- */
[data-bs-theme="dark"],
[data-finquans-theme="dark"],
html.dark,
body.dark,
body:not(.light-mode) {
    --z-bg: #0b0f19;
    --z-surface: #171d2d;
    --z-surface-muted: #1e2638;
    --z-surface-hover: #263045;

    --z-text: #f8fafc;
    --z-text-muted: #94a3b8;
    --z-text-subtle: #64748b;

    --z-border: rgba(255, 255, 255, 0.1);
    --z-border-subtle: rgba(255, 255, 255, 0.05);

    --z-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.4);
    --z-shadow-md: 0 4px 14px rgba(0, 0, 0, 0.5);
    --z-shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.6);
}

/* ============================================================================
 * GLOBAL TYPOGRAPHY & BASE RESET
 * ============================================================================ */
body {
    font-family: var(--z-font);
    background-color: var(--z-bg);
    color: var(--z-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--z-font);
    font-weight: 700;
    color: var(--z-text);
    letter-spacing: -0.02em;
}

/* ============================================================================
 * BUTTON COMPONENT SYSTEM (.z-btn)
 * ============================================================================ */
.z-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--z-font);
    font-weight: 600;
    font-size: 0.875rem;
    padding: 0.625rem 1.25rem;
    border-radius: var(--z-radius-md);
    border: 1px solid transparent;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    text-decoration: none !important;
    white-space: nowrap;
    user-select: none;
}

.z-btn:disabled,
.z-btn.disabled {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

/* Button Variants */
.z-btn-primary {
    background: var(--z-brand-gradient);
    color: #ffffff !important;
    border: none;
    box-shadow: 0 4px 14px rgba(246, 97, 151, 0.3);
}

.z-btn-primary:hover {
    background: var(--z-brand-gradient-hover);
    box-shadow: 0 6px 18px rgba(246, 97, 151, 0.4);
    transform: translateY(-1px);
}

.z-btn-secondary {
    background: var(--z-surface-muted);
    color: var(--z-text) !important;
    border: 1px solid var(--z-border);
}

.z-btn-secondary:hover {
    background: var(--z-surface-hover);
    color: var(--z-text) !important;
}

.z-btn-success {
    background: var(--z-success);
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
}

.z-btn-success:hover {
    background: #0ea5e9;
    box-shadow: 0 6px 18px rgba(16, 185, 129, 0.4);
    transform: translateY(-1px);
}

.z-btn-danger {
    background: var(--z-danger);
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(239, 68, 68, 0.3);
}

.z-btn-danger:hover {
    background: #dc2626;
    box-shadow: 0 6px 18px rgba(239, 68, 68, 0.4);
    transform: translateY(-1px);
}

.z-btn-warning {
    background: var(--z-warning);
    color: #0f172a !important;
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.3);
}

.z-btn-warning:hover {
    background: #d97706;
    color: #ffffff !important;
    transform: translateY(-1px);
}

.z-btn-outline {
    background: transparent;
    color: var(--z-primary) !important;
    border: 1px solid var(--z-primary);
}

.z-btn-outline:hover {
    background: var(--z-primary-light);
    color: var(--z-primary) !important;
}

.z-btn-ghost {
    background: transparent;
    color: var(--z-text-muted) !important;
    border: none;
}

.z-btn-ghost:hover {
    background: var(--z-surface-muted);
    color: var(--z-text) !important;
}

/* Button Sizing */
.z-btn-sm {
    padding: 0.375rem 0.75rem;
    font-size: 0.75rem;
    border-radius: var(--z-radius-sm);
}

.z-btn-lg {
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
    border-radius: var(--z-radius-lg);
}

/* ============================================================================
 * CARD COMPONENT SYSTEM (.z-card)
 * ============================================================================ */
.z-card {
    background: var(--z-surface);
    border: 1px solid var(--z-border);
    border-radius: var(--z-radius-lg);
    box-shadow: var(--z-shadow-sm);
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.z-card:hover {
    box-shadow: var(--z-shadow-md);
}

.z-card-header {
    padding: 1.25rem 1.5rem;
    background: transparent;
    border-bottom: 1px solid var(--z-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.z-card-body {
    padding: 1.5rem;
}

.z-card-footer {
    padding: 1rem 1.5rem;
    background: var(--z-surface-muted);
    border-top: 1px solid var(--z-border);
}

/* ============================================================================
 * FORM COMPONENT SYSTEM (.z-form-*)
 * ============================================================================ */
.z-form-label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--z-text);
    margin-bottom: 0.375rem;
}

.z-form-control,
.z-form-select {
    width: 100%;
    padding: 0.625rem 0.875rem;
    font-family: var(--z-font);
    font-size: 0.875rem;
    color: var(--z-text);
    background-color: var(--z-surface);
    border: 1px solid var(--z-border);
    border-radius: var(--z-radius-md);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.z-form-control:focus,
.z-form-select:focus {
    outline: none;
    border-color: var(--z-primary);
    box-shadow: 0 0 0 3px var(--z-primary-glow);
}

.z-form-control::placeholder {
    color: var(--z-text-subtle);
}

.z-form-error {
    font-size: 0.75rem;
    color: var(--z-danger);
    margin-top: 0.25rem;
    font-weight: 500;
}

/* ============================================================================
 * STATUS BADGE SYSTEM (.z-badge & .badge Overrides)
 * ============================================================================ */
.z-badge, .badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 0.35em 0.75em;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--z-radius-full);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    white-space: nowrap;
}

.z-badge-pending, .badge-pending {
    background: rgba(245, 158, 11, 0.22) !important;
    color: #fcd34d !important;
    border: 1px solid rgba(245, 158, 11, 0.45) !important;
}

.z-badge-success,
.z-badge-secured,
.z-badge-completed,
.z-badge-paid,
.badge-success {
    background: rgba(16, 185, 129, 0.22) !important;
    color: #6ee7b7 !important;
    border: 1px solid rgba(16, 185, 129, 0.45) !important;
}

.z-badge-danger,
.z-badge-dispute,
.z-badge-rejected,
.badge-danger {
    background: rgba(239, 68, 68, 0.22) !important;
    color: #fca5a5 !important;
    border: 1px solid rgba(239, 68, 68, 0.45) !important;
}

.z-badge-info,
.z-badge-processing,
.badge-info {
    background: rgba(6, 182, 212, 0.22) !important;
    color: #67e8f9 !important;
    border: 1px solid rgba(6, 182, 212, 0.45) !important;
}

.z-badge-primary, .badge-primary {
    background: rgba(246, 97, 151, 0.22) !important;
    color: #f472b6 !important;
    border: 1px solid rgba(246, 97, 151, 0.45) !important;
}

/* Global Bootstrap Low-Contrast Opacity Fixes */
.badge.bg-primary.bg-opacity-20,
.badge.bg-primary.bg-opacity-10,
.badge.bg-primary.bg-opacity-15,
.bg-primary.bg-opacity-10.text-primary,
.bg-primary.bg-opacity-20.text-primary {
    background-color: rgba(246, 97, 151, 0.25) !important;
    color: #f472b6 !important;
    border: 1px solid rgba(246, 97, 151, 0.4) !important;
}

.badge.bg-info.bg-opacity-20,
.badge.bg-info.bg-opacity-10,
.badge.bg-info.bg-opacity-15,
.bg-info.bg-opacity-10.text-info,
.bg-info.bg-opacity-20.text-info {
    background-color: rgba(6, 182, 212, 0.25) !important;
    color: #67e8f9 !important;
    border: 1px solid rgba(6, 182, 212, 0.4) !important;
}

.badge.bg-success.bg-opacity-20,
.badge.bg-success.bg-opacity-10,
.badge.bg-success.bg-opacity-15,
.bg-success.bg-opacity-10.text-success,
.bg-success.bg-opacity-20.text-success {
    background-color: rgba(16, 185, 129, 0.25) !important;
    color: #6ee7b7 !important;
    border: 1px solid rgba(16, 185, 129, 0.4) !important;
}

.badge.bg-danger.bg-opacity-20,
.badge.bg-danger.bg-opacity-10,
.badge.bg-danger.bg-opacity-15,
.bg-danger.bg-opacity-10.text-danger,
.bg-danger.bg-opacity-20.text-danger {
    background-color: rgba(239, 68, 68, 0.25) !important;
    color: #fca5a5 !important;
    border: 1px solid rgba(239, 68, 68, 0.4) !important;
}

.badge.bg-warning.bg-opacity-20,
.badge.bg-warning.bg-opacity-10,
.badge.bg-warning.bg-opacity-15,
.bg-warning.bg-opacity-10.text-warning,
.bg-warning.bg-opacity-20.text-warning {
    background-color: rgba(245, 158, 11, 0.25) !important;
    color: #fcd34d !important;
    border: 1px solid rgba(245, 158, 11, 0.4) !important;
}

/* ============================================================================
 * ALERT COMPONENT SYSTEM (.z-alert)
 * ============================================================================ */
.z-alert {
    padding: 1rem 1.25rem;
    border-radius: var(--z-radius-lg);
    border: 1px solid transparent;
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
    margin-bottom: 1.25rem;
}

.z-alert-success {
    background: var(--z-success-light);
    border-color: var(--z-success-border);
    color: #065f46;
}

[data-bs-theme="dark"] .z-alert-success,
body:not(.light-mode) .z-alert-success {
    color: #6ee7b7;
}

.z-alert-danger {
    background: var(--z-danger-light);
    border-color: var(--z-danger-border);
    color: #991b1b;
}

[data-bs-theme="dark"] .z-alert-danger,
body:not(.light-mode) .z-alert-danger {
    color: #fca5a5;
}

.z-alert-warning {
    background: var(--z-warning-light);
    border-color: var(--z-warning-border);
    color: #92400e;
}

[data-bs-theme="dark"] .z-alert-warning,
body:not(.light-mode) .z-alert-warning {
    color: #fcd34d;
}

.z-alert-info {
    background: var(--z-info-light);
    border-color: var(--z-info-border);
    color: #155e75;
}

[data-bs-theme="dark"] .z-alert-info,
body:not(.light-mode) .z-alert-info {
    color: #67e8f9;
}

/* ============================================================================
 * RESPONSIVE TABLE CONTAINER & STYLING (.z-table-responsive)
 * ============================================================================ */
.z-table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: var(--z-radius-md);
}

.z-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 0.875rem;
}

.z-table th {
    background: var(--z-surface-muted);
    color: var(--z-text-muted);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    padding: 0.875rem 1rem;
    border-bottom: 1px solid var(--z-border);

}

.z-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--z-border-subtle);
    color: var(--z-text);
    vertical-align: middle;
}

.z-table tbody tr:hover {
    background: var(--z-surface-hover);
}

/* ============================================================================
 * EMPTY STATE COMPONENT SYSTEM (.z-empty-state)
 * ============================================================================ */
.z-empty-state {
    text-align: center;
    padding: 3rem 1.5rem;
    background: var(--z-surface);
    border: 1px border-dashed var(--z-border);
    border-radius: var(--z-radius-lg);
}

.z-empty-state-icon {
    font-size: 2.5rem;
    color: var(--z-text-subtle);
    margin-bottom: 1rem;
}

.z-empty-state-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--z-text);
    margin-bottom: 0.375rem;
}

.z-empty-state-text {
    font-size: 0.875rem;
    color: var(--z-text-muted);
    max-width: 400px;
    margin: 0 auto 1.25rem;
}

/* ============================================================================
 * SKELETON LOADING FOUNDATION (.z-skeleton)
 * ============================================================================ */
.z-skeleton {
    background: linear-gradient(90deg, var(--z-surface-muted) 25%, var(--z-surface-hover) 37%, var(--z-surface-muted) 63%);
    background-size: 400% 100%;
    animation: z-skeleton-loading 1.4s ease infinite;
    border-radius: var(--z-radius-sm);
}

@keyframes z-skeleton-loading {
    0% { background-position: 100% 50%; }
    100% { background-position: 0 50%; }
}

/* ============================================================================
 * PHASE 3D — MOBILE RESPONSIVENESS & OVERFLOW PREVENTION
 * ============================================================================ */
html, body {
    max-width: 100%;
    overflow-x: clip;
}

.z-word-break {
    overflow-wrap: anywhere;
    word-break: break-word;
}

code, pre, .z-code-break {
    white-space: pre-wrap;
    word-break: break-all;
}

img, svg, video, canvas {
    max-width: 100%;
    height: auto;
}

.modal-dialog {
    max-width: min(94vw, 580px);
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 640px) {
    .z-btn-group-mobile {
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 0.5rem;
    }
    
    .z-btn-group-mobile .z-btn {
        width: 100%;
    }

    .z-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
}

/* ============================================================================
 * PHASE 3E — ACCESSIBILITY & FOCUS STATES & MICRO-INTERACTIONS
 * ============================================================================ */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.z-btn:focus-visible {
    outline: 2px solid var(--z-primary) !important;
    outline-offset: 2px !important;
}

.z-btn:active {
    transform: scale(0.98);
}

.z-form-control:disabled,
.z-form-select:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    background-color: var(--z-surface-muted);
}

/* ============================================================================
 * CUSTOMER & DASHBOARD NAVBAR LOGO RESPONSIVE SIZING
 * ============================================================================ */
.navbar-dash .navbar-brand img,
nav .navbar-brand img.z-logo-light,
nav .navbar-brand img.z-logo-dark,
header nav img.z-logo-light,
header nav img.z-logo-dark {
    height: 36px !important;
    max-height: 36px !important;
    width: auto !important;
    max-width: 180px !important;
    object-fit: contain !important;
}

@media (max-width: 575.98px) {
    .navbar-dash .navbar-brand img,
    nav .navbar-brand img.z-logo-light,
    nav .navbar-brand img.z-logo-dark,
    header nav img.z-logo-light,
    header nav img.z-logo-dark {
        height: 28px !important;
        max-height: 28px !important;
        max-width: 140px !important;
    }
}

/* ============================================================================
 * THEME-AWARE LOGO SWITCHING SYSTEM
 * ============================================================================ */
.z-logo-dark, [data-logo="dark"], .logo-dark {
    display: inline-block;
}

.z-logo-light, [data-logo="light"], .logo-light {
    display: none;
}

html:not(.dark) .z-logo-dark,
html:not(.dark) [data-logo="dark"],
html:not(.dark) .logo-dark,
body.light-mode .z-logo-dark,
body.light-mode [data-logo="dark"],
body.light-mode .logo-dark,
[data-bs-theme="light"] .z-logo-dark,
[data-bs-theme="light"] [data-logo="dark"],
[data-bs-theme="light"] .logo-dark,
[data-finquans-theme="light"] .z-logo-dark,
[data-finquans-theme="light"] [data-logo="dark"],
[data-finquans-theme="light"] .logo-dark {
    display: none !important;
}

html:not(.dark) .z-logo-light,
html:not(.dark) [data-logo="light"],
html:not(.dark) .logo-light,
body.light-mode .z-logo-light,
body.light-mode [data-logo="light"],
body.light-mode .logo-light,
[data-bs-theme="light"] .z-logo-light,
[data-bs-theme="light"] [data-logo="light"],
[data-bs-theme="light"] .logo-light,
[data-finquans-theme="light"] .z-logo-light,
[data-finquans-theme="light"] [data-logo="light"],
[data-finquans-theme="light"] .logo-light {
    display: inline-block !important;
}

/* ============================================================================
 * GLOBAL ENHANCED NATIVE SELECT APPEARANCE & ZALL CUSTOM SELECT SYSTEM
 * ============================================================================ */
select,
.form-select,
.z-form-select,
.auth-select,
.box-info select,
select.box-info {
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f66197' stroke-width='2.5' 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 0.85rem center !important;
    background-size: 1.1em 1.1em !important;
    padding-right: 2.6rem !important;
    font-family: var(--z-font) !important;
    border-radius: var(--z-radius-md) !important;
    cursor: pointer !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease !important;
}

select option,
.form-select option,
.z-form-select option,
.auth-select option {
    background-color: var(--z-surface, #171d2d);
    color: var(--z-text, #f8fafc);
    padding: 10px 14px;
    font-size: 0.875rem;
}

body.light-mode select option,
body.light-mode .form-select option,
body.light-mode .z-form-select option,
body.light-mode .auth-select option,
[data-bs-theme="light"] select option {
    background-color: #ffffff;
    color: #0f172a;
}

/* Custom Select Dropdown Component */
.zall-select-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
}

.zall-select-trigger {
    width: 100%;
    padding: 0.625rem 0.875rem;
    font-family: var(--z-font);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--z-text);
    background-color: var(--z-surface);
    border: 1px solid var(--z-border);
    border-radius: var(--z-radius-md);
    cursor: pointer;
    text-align: left;
    transition: all 0.2s ease;
    user-select: none;
}

.zall-select-trigger:hover {
    border-color: var(--z-primary);
    background-color: var(--z-surface-hover);
}

.zall-select-trigger:focus,
.zall-select-wrapper.is-open .zall-select-trigger {
    outline: none;
    border-color: var(--z-primary);
    box-shadow: 0 0 0 3px var(--z-primary-glow);
}

.zall-select-arrow {
    transition: transform 0.25s ease, color 0.2s ease;
}

.zall-select-wrapper.is-open .zall-select-arrow {
    transform: rotate(180deg);
    color: var(--z-primary) !important;
}

.zall-select-panel {
    display: none !important;
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    z-index: 1060;
    background-color: var(--z-surface);
    border: 1px solid var(--z-border);
    border-radius: var(--z-radius-lg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    overflow: hidden;
    animation: zallSelectFadeIn 0.2s ease-out;
}

@keyframes zallSelectFadeIn {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
}

.zall-select-wrapper.is-open .zall-select-panel {
    display: block !important;
}

.zall-select-search-box {
    padding: 0.5rem;
    border-bottom: 1px solid var(--z-border);
    background-color: var(--z-surface-muted);
}

.zall-select-search-icon {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--z-text-muted);
    font-size: 0.8rem;
    pointer-events: none;
}

.zall-select-search-input {
    width: 100%;
    padding: 0.4rem 0.6rem 0.4rem 2.2rem;
    font-family: var(--z-font);
    font-size: 0.8125rem;
    color: var(--z-text);
    background-color: var(--z-surface);
    border: 1px solid var(--z-border);
    border-radius: var(--z-radius-sm);
    outline: none;
}

.zall-select-search-input:focus {
    border-color: var(--z-primary);
}

.zall-select-options-list {
    max-height: 240px;
    overflow-y: auto;
    padding: 0.375rem;
    scroll-behavior: smooth;
}

.zall-select-option {
    padding: 0.55rem 0.85rem;
    font-size: 0.84rem;
    font-weight: 500;
    color: var(--z-text);
    border-radius: var(--z-radius-sm);
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease;
    user-select: none;
}

.zall-select-option:hover,
.zall-select-option.is-highlighted {
    background-color: var(--z-surface-hover);
    color: var(--z-primary);
}

.zall-select-option.is-selected {
    background-color: var(--z-primary-light);
    color: var(--z-primary);
    font-weight: 600;
}

.zall-select-option-check {
    display: none;
    font-size: 0.75rem;
    color: var(--z-primary);
}

.zall-select-option.is-selected .zall-select-option-check {
    display: inline-block;
}

.zall-select-option.is-disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.zall-select-empty,
.zall-select-no-result {
    padding: 0.75rem;
    font-size: 0.8rem;
    color: var(--z-text-muted);
    text-align: center;
}




