/* ==========================================================================
   MAYAK ERP & POS - Custom Admin Styles (Unfold Enhancements)
   ========================================================================== */

/* 1. Material Icons -> Material Symbols Outlined Compatibility */
.material-icons,
.material-symbols-outlined {
    font-family: 'Material Symbols Outlined' !important;
    font-weight: normal;
    font-style: normal;
    font-size: 20px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    vertical-align: middle;
    -webkit-font-feature-settings: 'liga';
    -webkit-font-smoothing: antialiased;
}

/* 2. Setup Wizard & Onboarding Banner Styles */
.wizard-hero-banner {
    background: linear-gradient(135deg, #09203f 0%, #16365c 45%, #0284c7 100%) !important;
    color: #ffffff !important;
    border-radius: 1.5rem;
    padding: 1.75rem 2rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 16px 32px -8px rgba(2, 132, 199, 0.25), 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.wizard-hero-banner h1,
.wizard-hero-banner h2 {
    color: #ffffff !important;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 0;
}

.wizard-hero-banner p {
    color: #e0f2fe !important;
    margin-top: 0.35rem;
    line-height: 1.5;
}

.wizard-pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(186, 230, 253, 0.35);
    color: #bae6fd;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    margin-bottom: 0.5rem;
}

.wizard-progress-track {
    width: 100%;
    height: 12px;
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 9999px;
    padding: 2px;
    overflow: hidden;
}

.wizard-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #f59e0b 0%, #10b981 100%);
    border-radius: 9999px;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.6);
}

.btn-wizard-tour {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
    color: #0f172a !important;
    font-weight: 800;
    font-size: 0.8125rem;
    padding: 0.65rem 1.15rem;
    border-radius: 0.875rem;
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-wizard-tour:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(245, 158, 11, 0.45);
}

.btn-wizard-demo {
    background: rgba(255, 255, 255, 0.12) !important;
    color: #ffffff !important;
    font-weight: 600;
    font-size: 0.8125rem;
    padding: 0.65rem 1.15rem;
    border-radius: 0.875rem;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    backdrop-filter: blur(8px);
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-wizard-demo:hover {
    background: rgba(255, 255, 255, 0.22) !important;
    transform: translateY(-1px);
}

/* 3. Header Branch Switcher Select */
.branch-switcher-select {
    padding-left: 1.75rem !important;
    padding-right: 1.5rem !important;
    height: 30px !important;
    font-size: 0.75rem !important;
    font-weight: 600 !important;
    border-radius: var(--border-radius, 6px) !important;
    border: 1px solid var(--color-base-200, #e2e8f0) !important;
    background-color: var(--color-base-50, #f8fafc) !important;
    color: var(--color-font-default-light, #1e293b) !important;
    cursor: pointer !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    outline: none !important;
    line-height: 1 !important;
    transition: all 0.15s ease !important;
}

.branch-switcher-select:hover {
    background-color: var(--color-base-100, #f1f5f9) !important;
    border-color: var(--color-base-300, #cbd5e1) !important;
}

.branch-switcher-select:focus {
    border-color: var(--color-primary-600, #0284c7) !important;
    box-shadow: 0 0 0 1px var(--color-primary-600, #0284c7) !important;
}

.dark .branch-switcher-select,
:is(.dark .branch-switcher-select) {
    border-color: var(--color-base-700, #334155) !important;
    background-color: var(--color-base-800, #1e293b) !important;
    color: var(--color-font-default-dark, #f1f5f9) !important;
}

.dark .branch-switcher-select:hover,
:is(.dark .branch-switcher-select:hover) {
    background-color: var(--color-base-700, #334155) !important;
    border-color: var(--color-base-600, #475569) !important;
}

/* 4. Активный пункт меню сайдбара Unfold и автоскролл */
#nav-sidebar-apps {
    scroll-behavior: smooth;
}

#nav-sidebar a.active,
#nav-sidebar a.mayak-sidebar-active,
#nav-sidebar-apps a.active,
#nav-sidebar-apps a.mayak-sidebar-active,
nav a.mayak-sidebar-active,
.mayak-sidebar-active {
    background-color: rgba(2, 132, 199, 0.14) !important;
    color: #0284c7 !important;
    font-weight: 700 !important;
    border-left: 4px solid #0284c7 !important;
    padding-left: calc(0.75rem + 4px) !important;
    border-radius: 0 0.5rem 0.5rem 0 !important;
    box-shadow: inset 0 0 0 1px rgba(2, 132, 199, 0.25) !important;
    transition: all 0.15s ease-in-out !important;
}

#nav-sidebar a.active span[class*="material-"],
#nav-sidebar a.active .material-symbols-outlined,
#nav-sidebar a.active .material-icons,
#nav-sidebar-apps a.active span[class*="material-"],
#nav-sidebar-apps a.active .material-symbols-outlined,
#nav-sidebar-apps a.active .material-icons,
.mayak-sidebar-active span[class*="material-"],
.mayak-sidebar-active .material-symbols-outlined,
.mayak-sidebar-active .material-icons {
    color: #0284c7 !important;
    transform: scale(1.15) !important;
    transition: transform 0.15s ease-in-out !important;
}

.dark #nav-sidebar a.active,
.dark #nav-sidebar a.mayak-sidebar-active,
.dark #nav-sidebar-apps a.active,
.dark #nav-sidebar-apps a.mayak-sidebar-active,
.dark nav a.mayak-sidebar-active,
.dark .mayak-sidebar-active {
    background-color: rgba(14, 165, 233, 0.24) !important;
    color: #38bdf8 !important;
    border-left-color: #38bdf8 !important;
    box-shadow: inset 0 0 0 1px rgba(56, 189, 248, 0.35) !important;
}

.dark #nav-sidebar a.active span[class*="material-"],
.dark #nav-sidebar a.active .material-symbols-outlined,
.dark #nav-sidebar a.active .material-icons,
.dark #nav-sidebar-apps a.active span[class*="material-"],
.dark #nav-sidebar-apps a.active .material-symbols-outlined,
.dark #nav-sidebar-apps a.active .material-icons,
.dark .mayak-sidebar-active span[class*="material-"],
.dark .mayak-sidebar-active .material-symbols-outlined,
.dark .mayak-sidebar-active .material-icons {
    color: #38bdf8 !important;
}

/* ==========================================================================
   5. Readonly Fields & Global Dark Mode Contrast Fixes
   ========================================================================== */
.dark .readonly {
    color: var(--color-font-default-dark, #f1f5f9) !important;
}

/* ==========================================================================
   6. Preview Links Widget (Секретные ссылки предпросмотра)
   ========================================================================== */
.preview-links-widget {
    background-color: var(--color-base-50, #f8fafc);
    border: 1px solid var(--color-base-200, #e2e8f0);
    border-radius: 1rem;
    padding: 1.25rem;
    color: var(--color-base-900, #0f172a);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.dark .preview-links-widget {
    background-color: var(--color-base-900, #0f172a) !important;
    border-color: var(--color-base-700, #334155) !important;
    color: #f8fafc !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.preview-links-header {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    border-bottom: 1px solid var(--color-base-200, #e2e8f0);
    padding-bottom: 0.875rem;
    margin-bottom: 1rem;
}

@media (min-width: 640px) {
    .preview-links-header {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

.dark .preview-links-header {
    border-bottom-color: var(--color-base-700, #334155);
}

.preview-links-title {
    font-size: 0.9375rem;
    font-weight: 800;
    color: var(--color-base-900, #0f172a);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dark .preview-links-title {
    color: #ffffff !important;
}

.preview-links-subtitle {
    font-size: 0.75rem;
    color: var(--color-base-600, #475569);
    margin-top: 0.25rem;
    line-height: 1.45;
}

.dark .preview-links-subtitle {
    color: #cbd5e1 !important;
}

.preview-secret-url {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 0.75rem;
    padding: 0.4rem 0.75rem;
    border-radius: 0.5rem;
    background-color: #ffffff;
    color: #1e293b;
    border: 1px solid var(--color-base-200, #cbd5e1);
    word-break: break-all;
    user-select: all;
    display: inline-block;
    font-weight: 600;
}

.dark .preview-secret-url {
    background-color: #020617 !important;
    color: #93c5fd !important;
    border-color: #3b82f6 !important;
}

.preview-cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 768px) {
    .preview-cards-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Card 1: Day (Рабочее время) */
.preview-card-day {
    background-color: #ffffff;
    border: 2px solid #10b981;
    border-radius: 1rem;
    padding: 1.15rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1rem;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.1);
    transition: all 0.2s ease;
}

.preview-card-day:hover {
    border-color: #059669;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.2);
}

.dark .preview-card-day {
    background-color: #064e3b20 !important;
    border-color: #10b981 !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

.dark .preview-card-day:hover {
    border-color: #34d399 !important;
    background-color: #064e3b35 !important;
}

.preview-badge-day {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    font-weight: 800;
    color: #065f46;
    background-color: #ecfdf5;
    border: 1px solid #a7f3d0;
    padding: 0.3rem 0.75rem;
    border-radius: 9999px;
}

.dark .preview-badge-day {
    color: #6ee7b7 !important;
    background-color: rgba(6, 78, 59, 0.8) !important;
    border-color: #059669 !important;
}

.preview-btn-day {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff !important;
    font-weight: 900;
    font-size: 0.875rem;
    padding: 0.85rem 1.25rem;
    border-radius: 0.75rem;
    border: 2px solid #059669;
    text-decoration: none !important;
    transition: all 0.2s ease;
    box-shadow: 0 4px 14px rgba(5, 150, 105, 0.4);
    cursor: pointer;
    letter-spacing: 0.4px;
}

.preview-btn-day:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(5, 150, 105, 0.55);
}

.dark .preview-links-widget {
    background-color: #0f172a !important;
    border-color: #334155 !important;
}

.dark .preview-card-day {
    background-color: #1e293b !important;
    border-color: #10b981 !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4) !important;
}

.dark .preview-desc-day {
    background-color: rgba(6, 78, 59, 0.35) !important;
    border-color: #059669 !important;
    color: #a7f3d0 !important;
}

.dark .preview-btn-day {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    color: #ffffff !important;
    border-color: #34d399 !important;
}

.dark .preview-btn-day:hover {
    background: linear-gradient(135deg, #34d399 0%, #10b981 100%) !important;
    color: #022c22 !important;
    transform: translateY(-2px);
}

/* Card 2: Night (Нерабочее время) */
.preview-card-night {
    background-color: #ffffff;
    border: 2px solid #f59e0b;
    border-radius: 1rem;
    padding: 1.15rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1rem;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.1);
    transition: all 0.2s ease;
}

.preview-card-night:hover {
    border-color: #d97706;
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.2);
}

.dark .preview-card-night {
    background-color: #1e293b !important;
    border-color: #f59e0b !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4) !important;
}

.dark .preview-desc-night {
    background-color: rgba(120, 53, 15, 0.35) !important;
    border-color: #d97706 !important;
    color: #fde68a !important;
}

.dark .preview-card-night:hover {
    border-color: #fbbf24 !important;
}

.preview-badge-night {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    font-weight: 800;
    color: #92400e;
    background-color: #fffbeb;
    border: 1px solid #fde68a;
    padding: 0.3rem 0.75rem;
    border-radius: 9999px;
}

.dark .preview-badge-night {
    color: #fde68a !important;
    background-color: rgba(120, 53, 15, 0.8) !important;
    border-color: #d97706 !important;
}

.preview-btn-night {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #ffffff !important;
    font-weight: 900;
    font-size: 0.875rem;
    padding: 0.85rem 1.25rem;
    border-radius: 0.75rem;
    border: 2px solid #d97706;
    text-decoration: none !important;
    transition: all 0.2s ease;
    box-shadow: 0 4px 14px rgba(217, 119, 6, 0.4);
    cursor: pointer;
    letter-spacing: 0.4px;
}

.preview-btn-night:hover {
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(217, 119, 6, 0.55);
}

.dark .preview-btn-night {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
    color: #ffffff !important;
    border-color: #fbbf24 !important;
}

.dark .preview-btn-night:hover {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%) !important;
    color: #451a03 !important;
    transform: translateY(-2px);
}

.preview-card-text {
    font-size: 0.75rem;
    color: #334155;
    line-height: 1.55;
    margin-top: 0.5rem;
}

.dark .preview-card-text {
    color: #cbd5e1 !important;
}

.preview-card-status-label {
    font-size: 0.6875rem;
    font-weight: 700;
}
.preview-card-status-label.day {
    color: #059669;
}
.dark .preview-card-status-label.day {
    color: #34d399 !important;
}
.preview-card-status-label.night {
    color: #d97706;
}
.dark .preview-card-status-label.night {
    color: #fbbf24 !important;
}

/* Changelist quick buttons */
.preview-pill-day {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.2rem 0.5rem;
    border-radius: 0.375rem;
    background-color: #059669;
    color: #ffffff !important;
    font-weight: 700;
    font-size: 11px;
    text-decoration: none !important;
    transition: all 0.15s ease;
}
.preview-pill-day:hover {
    background-color: #047857;
    filter: brightness(1.1);
}

.preview-pill-night {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.2rem 0.5rem;
    border-radius: 0.375rem;
    background-color: #d97706;
    color: #ffffff !important;
    font-weight: 700;
    font-size: 11px;
    text-decoration: none !important;
    transition: all 0.15s ease;
}
.preview-pill-night:hover {
    background-color: #b45309;
    filter: brightness(1.1);
}

/* Badges for Storefront Settings */
.badge-ordering-on {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.25rem 0.65rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    background-color: #d1fae5;
    color: #065f46;
    border: 1px solid #6ee7b7;
}
.dark .badge-ordering-on {
    background-color: rgba(6, 78, 59, 0.8) !important;
    color: #6ee7b7 !important;
    border-color: #059669 !important;
}

.badge-ordering-off {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.25rem 0.65rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    background-color: #fef3c7;
    color: #92400e;
    border: 1px solid #fcd34d;
}
.dark .badge-ordering-off {
    background-color: rgba(120, 53, 15, 0.8) !important;
    color: #fcd34d !important;
    border-color: #d97706 !important;
}

.badge-status-active {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.25rem 0.65rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 800;
    background-color: #d1fae5;
    color: #065f46;
    border: 1px solid #6ee7b7;
}
.dark .badge-status-active {
    background-color: rgba(6, 78, 59, 0.8) !important;
    color: #6ee7b7 !important;
    border-color: #059669 !important;
}

.badge-status-draft {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.25rem 0.65rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    background-color: #f1f5f9;
    color: #475569;
    border: 1px solid #cbd5e1;
}
.dark .badge-status-draft {
    background-color: #1e293b !important;
    color: #94a3b8 !important;
    border-color: #334155 !important;
}

/* ==========================================================================
   7. Universal Tailwind Color Utilities for Unfold (Light & Dark)
   ========================================================================== */
.bg-emerald-50 { background-color: #ecfdf5 !important; }
.bg-emerald-100 { background-color: #d1fae5 !important; }
.bg-emerald-500 { background-color: #10b981 !important; }
.bg-emerald-600 { background-color: #059669 !important; }
.bg-emerald-700 { background-color: #047857 !important; }
.bg-emerald-800 { background-color: #065f46 !important; }
.bg-emerald-900 { background-color: #064e3b !important; }
.bg-emerald-950 { background-color: #022c22 !important; }
.text-emerald-200 { color: #a7f3d0 !important; }
.text-emerald-300 { color: #6ee7b7 !important; }
.text-emerald-400 { color: #34d399 !important; }
.text-emerald-600 { color: #059669 !important; }
.text-emerald-700 { color: #047857 !important; }
.text-emerald-800 { color: #065f46 !important; }
.border-emerald-200 { border-color: #a7f3d0 !important; }
.border-emerald-300 { border-color: #6ee7b7 !important; }
.border-emerald-500 { border-color: #10b981 !important; }
.border-emerald-600 { border-color: #059669 !important; }
.border-emerald-700 { border-color: #047857 !important; }
.border-emerald-800 { border-color: #065f46 !important; }

.bg-amber-50 { background-color: #fffbeb !important; }
.bg-amber-100 { background-color: #fef3c7 !important; }
.bg-amber-500 { background-color: #f59e0b !important; }
.bg-amber-600 { background-color: #d97706 !important; }
.bg-amber-700 { background-color: #b45309 !important; }
.bg-amber-800 { background-color: #92400e !important; }
.bg-amber-900 { background-color: #78350f !important; }
.bg-amber-950 { background-color: #451a03 !important; }
.text-amber-200 { color: #fde68a !important; }
.text-amber-300 { color: #fcd34d !important; }
.text-amber-400 { color: #fbbf24 !important; }
.text-amber-600 { color: #d97706 !important; }
.text-amber-700 { color: #b45309 !important; }
.text-amber-800 { color: #92400e !important; }
.text-amber-900 { color: #78350f !important; }
.border-amber-200 { border-color: #fde68a !important; }
.border-amber-300 { border-color: #fcd34d !important; }
.border-amber-500 { border-color: #f59e0b !important; }
.border-amber-600 { border-color: #d97706 !important; }
.border-amber-700 { border-color: #b45309 !important; }
.border-amber-800 { border-color: #92400e !important; }

.bg-rose-50 { background-color: #fff1f2 !important; }
.bg-rose-100 { background-color: #ffe4e6 !important; }
.bg-rose-500 { background-color: #f43f5e !important; }
.bg-rose-600 { background-color: #e11d48 !important; }
.bg-rose-700 { background-color: #be123c !important; }
.bg-rose-800 { background-color: #9f1239 !important; }
.bg-rose-900 { background-color: #881337 !important; }
.bg-rose-950 { background-color: #4c0519 !important; }
.text-rose-200 { color: #fecdd3 !important; }
.text-rose-300 { color: #fda4af !important; }
.text-rose-400 { color: #fb7185 !important; }
.text-rose-600 { color: #e11d48 !important; }
.text-rose-700 { color: #be123c !important; }
.text-rose-800 { color: #9f1239 !important; }
.border-rose-200 { border-color: #fecdd3 !important; }
.border-rose-300 { border-color: #fda4af !important; }
.border-rose-500 { border-color: #f43f5e !important; }
.border-rose-700 { border-color: #be123c !important; }

.bg-slate-50 { background-color: #f8fafc !important; }
.bg-slate-100 { background-color: #f1f5f9 !important; }
.bg-slate-200 { background-color: #e2e8f0 !important; }
.bg-slate-700 { background-color: #334155 !important; }
.bg-slate-800 { background-color: #1e293b !important; }
.bg-slate-850 { background-color: #162032 !important; }
.bg-slate-900 { background-color: #0f172a !important; }
.bg-slate-950 { background-color: #020617 !important; }
.text-slate-100 { color: #f1f5f9 !important; }
.text-slate-300 { color: #cbd5e1 !important; }
.text-slate-400 { color: #94a3b8 !important; }
.text-slate-500 { color: #64748b !important; }
.text-slate-600 { color: #475569 !important; }
.text-slate-700 { color: #334155 !important; }
.text-slate-800 { color: #1e293b !important; }
.text-slate-900 { color: #0f172a !important; }
.border-slate-200 { border-color: #e2e8f0 !important; }
.border-slate-300 { border-color: #cbd5e1 !important; }
.border-slate-700 { border-color: #334155 !important; }
.border-slate-800 { border-color: #1e293b !important; }

/* Dark mode overrides for color utilities */
.dark .dark\:bg-emerald-900\/40 { background-color: rgba(6, 78, 59, 0.4) !important; }
.dark .dark\:bg-emerald-900\/60 { background-color: rgba(6, 78, 59, 0.6) !important; }
.dark .dark\:bg-emerald-950 { background-color: #022c22 !important; }
.dark .dark\:text-emerald-300 { color: #6ee7b7 !important; }
.dark .dark\:text-emerald-400 { color: #34d399 !important; }
.dark .dark\:border-emerald-700 { border-color: #047857 !important; }
.dark .dark\:border-emerald-800 { border-color: #065f46 !important; }

.dark .dark\:bg-amber-900\/40 { background-color: rgba(120, 53, 15, 0.4) !important; }
.dark .dark\:bg-amber-900\/60 { background-color: rgba(120, 53, 15, 0.6) !important; }
.dark .dark\:bg-amber-950 { background-color: #451a03 !important; }
.dark .dark\:text-amber-300 { color: #fcd34d !important; }
.dark .dark\:text-amber-400 { color: #fbbf24 !important; }
.dark .dark\:border-amber-700 { border-color: #b45309 !important; }
.dark .dark\:border-amber-800 { border-color: #92400e !important; }

.dark .dark\:bg-rose-900\/40 { background-color: rgba(136, 19, 55, 0.4) !important; }
.dark .dark\:bg-rose-900\/60 { background-color: rgba(136, 19, 55, 0.6) !important; }
.dark .dark\:bg-rose-950 { background-color: #4c0519 !important; }
.dark .dark\:text-rose-300 { color: #fda4af !important; }
.dark .dark\:border-rose-700 { border-color: #be123c !important; }

.dark .dark\:bg-slate-800 { background-color: #1e293b !important; }
.dark .dark\:bg-slate-900 { background-color: #0f172a !important; }
.dark .dark\:bg-slate-900\/60 { background-color: rgba(15, 23, 42, 0.6) !important; }
.dark .dark\:bg-slate-950 { background-color: #020617 !important; }
.dark .dark\:text-slate-100 { color: #f1f5f9 !important; }
.dark .dark\:text-slate-300 { color: #cbd5e1 !important; }
.dark .dark\:text-slate-400 { color: #94a3b8 !important; }
.dark .dark\:border-slate-700 { border-color: #334155 !important; }
.dark .dark\:border-slate-800 { border-color: #1e293b !important; }

/* ==========================================================================
   8. Quill WYSIWYG Editor Dark Mode Support
   ========================================================================== */
.dark .ql-toolbar.ql-snow {
    background-color: var(--color-base-800, #1e293b) !important;
    border-color: var(--color-base-700, #334155) !important;
}

.dark .ql-toolbar.ql-snow .ql-stroke {
    stroke: #cbd5e1 !important;
}

.dark .ql-toolbar.ql-snow .ql-fill {
    fill: #cbd5e1 !important;
}

.dark .ql-toolbar.ql-snow .ql-picker {
    color: #cbd5e1 !important;
}

.dark .ql-toolbar.ql-snow .ql-picker-options {
    background-color: var(--color-base-800, #1e293b) !important;
    border-color: var(--color-base-700, #334155) !important;
}

.dark .ql-container.ql-snow {
    border-color: var(--color-base-700, #334155) !important;
    background-color: var(--color-base-900, #0f172a) !important;
    color: #f1f5f9 !important;
}

.dark #quill_editor_about_text,
.dark #quill_editor_content {
    background-color: var(--color-base-900, #0f172a) !important;
    color: #f1f5f9 !important;
}




