/* -- ADMIN PANEL THEME: THE OFFICE -- */
:root {
    --bg-office: #020617;
    /* Deep Slate/Black */
    --bg-panel: rgba(30, 41, 59, 0.4);
    /* Glass Panel */
    --bg-sidebar: #0f172a;
    --border-glass: rgba(255, 255, 255, 0.05);
    --text-main: #f8fafc;
    --text-muted: #64748b;
    --accent-cyan: #22d3ee;
    --accent-violet: #8b5cf6;
    --accent-gold: #facc15;
    --danger: #ef4444;
    --success: #10b981;
    --font-sans: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

body {
    background-color: var(--bg-office);
    color: var(--text-main);
    font-family: var(--font-sans);
    margin: 0;
    /* overflow: hidden; REMOVED to prevent scroll lock on index.html */
    /* App feel */
}

/* -- UTILS -- */
.glass-panel {
    background: var(--bg-panel);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
}

.text-mono {
    font-family: var(--font-mono);
}

.text-cyan {
    color: var(--accent-cyan);
}

.text-violet {
    color: var(--accent-violet);
}

.text-gold {
    color: var(--accent-gold);
}

/* -- LAYOUT -- */
.admin-layout {
    display: grid;
    grid-template-columns: 80px 1fr;
    /* Sidebar collapsed by default or mini */
    grid-template-rows: 60px 1fr;
    /* Header + Content */
    height: 100vh;
}

/* -- HEADER (HUD) -- */
.admin-header {
    grid-column: 1 / -1;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-glass);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.5rem;
    z-index: 50;
}

.hud-stats {
    display: flex;
    gap: 2rem;
}

.hud-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.hud-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 1px;
}

.hud-value {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--accent-cyan);
    font-weight: 600;
}

/* -- SIDEBAR (DOCK) -- */
.admin-sidebar {
    background: var(--bg-sidebar);
    border-right: 1px solid var(--border-glass);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem 0;
    gap: 1rem;
    grid-row: 2 / -1;
}

.nav-item {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    border-radius: 12px;
    transition: all 0.2s ease;
    cursor: pointer;
    position: relative;
}

.nav-item:hover,
.nav-item.active {
    background: rgba(34, 211, 238, 0.1);
    color: var(--accent-cyan);
    box-shadow: 0 0 15px rgba(34, 211, 238, 0.2);
}

.nav-item svg {
    width: 24px;
    height: 24px;
}

/* Tooltip on right */
.nav-item::after {
    content: attr(data-tooltip);
    position: absolute;
    left: 60px;
    background: #1e293b;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    color: white;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
    white-space: nowrap;
    border: 1px solid var(--border-glass);
    z-index: 100;
}

.nav-item:hover::after {
    opacity: 1;
}

/* -- MAIN CONTENT (THE DESK) -- */
.admin-main {
    padding: 2rem;
    overflow-y: auto;
    background: radial-gradient(circle at 50% 50%, #0f172a 0%, #020617 100%);
}

.grid-dashboard {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

/* -- WIDGETS -- */
.widget-card {
    background: var(--bg-panel);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
}

.widget-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
    opacity: 0.5;
}

.widget-title {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.widget-value-big {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    font-family: var(--font-mono);
    letter-spacing: -1px;
}

/* -- DATA TABLE -- */
.data-table-container {
    background: var(--bg-panel);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    overflow: hidden;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th {
    background: rgba(15, 23, 42, 0.6);
    padding: 1rem;
    text-align: left;
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border-glass);
}

.admin-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--border-glass);
    font-size: 0.9rem;
}

.admin-table tr:last-child td {
    border-bottom: none;
}

.admin-table tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

/* -- BADGES -- */
.badge-role {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: var(--font-mono);
}

.badge-role.super_admin {
    background: rgba(250, 204, 21, 0.1);
    color: var(--accent-gold);
    border: 1px solid rgba(250, 204, 21, 0.2);
}

.badge-role.admin {
    background: rgba(139, 92, 246, 0.1);
    color: var(--accent-violet);
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.badge-role.user {
    background: rgba(148, 163, 184, 0.1);
    color: var(--text-muted);
    border: 1px solid rgba(148, 163, 184, 0.2);
}

/* -- ACTION BUTTONS -- */
.btn-icon {
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    border-radius: 6px;
    color: var(--text-muted);
    transition: all 0.2s;
}

.btn-icon:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.btn-icon.danger:hover {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger);
}

.btn-primary {
    background: var(--accent-cyan);
    color: #0f172a;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary:hover {
    background: #06b6d4;
}

/* -- MODALS -- */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(2, 6, 23, 0.8);
    backdrop-filter: blur(4px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
}

.modal-overlay.open {
    opacity: 1;
    pointer-events: all;
}

.modal-content {
    background: #0f172a;
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    width: 500px;
    max-width: 90%;
    padding: 2rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    transform: translateY(20px);
    transition: transform 0.2s;
}

.modal-overlay.open .modal-content {
    transform: translateY(0);
}

.form-group {
    margin-bottom: 1rem;
}

.form-label {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.form-input,
.form-textarea {
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-glass);
    padding: 0.75rem;
    color: white;
    border-radius: 8px;
    font-family: var(--font-sans);
}

.form-input:focus,
.form-textarea:focus {
    border-color: var(--accent-cyan);
    outline: none;
}

/* -- STATUS COLORS -- */
.status-draft {
    color: var(--text-muted);
}

.status-active {
    color: var(--success);
}


.status-archived {
    color: var(--danger);
}

/* Filter Buttons */
.btn-filter {
    background: transparent;
    border: 1px solid var(--border-glass);
    color: var(--text-muted);
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-filter:hover {
    border-color: var(--primary);
    color: var(--text);
}


.btn-filter.active {
    background: var(--accent-cyan);
    border-color: var(--accent-cyan);
    color: #000;
    font-weight: 700;
}

/* -- ALERT BLOCK -- */
.priority-alert {
    background: linear-gradient(90deg, rgba(234, 88, 12, 0.15) 0%, rgba(2, 6, 23, 0) 100%);
    border: 1px solid rgba(234, 88, 12, 0.3);
    border-left: 4px solid #ea580c;
    padding: 1rem 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 1rem;
    animation: slideIn 0.3s ease-out;
}

.priority-icon {
    position: relative;
    color: #ea580c;
    display: flex;
    align-items: center;
    justify-content: center;
}

.priority-icon .ping {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 8px;
    height: 8px;
    background: #ea580c;
    border-radius: 50%;
    animation: ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.priority-content {
    display: flex;
    flex-direction: column;
}

.priority-content strong {
    color: #fdba74;
    /* Orange-300 */
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.priority-content span {
    color: #fed7aa;
    /* Orange-200 */
    font-size: 0.85rem;
}

@keyframes ping {

    75%,
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* -- KANBAN BOARD -- */
.kanban-board {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* Fixed 4 columns */
    gap: 1.5rem;
    /* Increased gap */
    padding-bottom: 2rem;
    overflow-x: auto;
    height: calc(100vh - 200px);
    /* Fill available height */
}

.kanban-column {
    background: rgba(255, 255, 255, 0.03);
    /* Lighter background */
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    /* A bit more rounded */
    display: flex;
    flex-direction: column;
    height: 100%;
    backdrop-filter: blur(10px);
    /* Glassmorphism */
}

.kanban-header {
    padding: 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
}

.kanban-header .count {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
}

/* Col Colors */
.col-pending {
    border-top: 4px solid var(--accent-gold);
}

.col-confirming {
    border-top: 4px solid #f97316;
}

.col-confirmed {
    border-top: 4px solid var(--accent-cyan);
}

.col-expired {
    border-top: 4px solid var(--danger);
}

.kanban-body {
    padding: 1rem;
    /* Consistent padding */
    overflow-y: auto;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    /* More space between cards */
}

/* Scrollbar styling for columns */
.kanban-body::-webkit-scrollbar {
    width: 6px;
}

.kanban-body::-webkit-scrollbar-track {
    background: transparent;
}

.kanban-body::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

/* Order Card */
.order-card {
    background: rgba(30, 41, 59, 0.6);
    /* Slate-800 with opacity */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.25rem;
    transition: all 0.2s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.order-card:hover {
    border-color: var(--accent-cyan);
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
    background: rgba(30, 41, 59, 0.9);
}

.order-card.priority {
    border-color: #f97316;
    background: rgba(249, 115, 22, 0.1);
    /* Subtle orange tint */
}

.card-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    font-size: 0.8rem;
    color: #94a3b8;
    /* Slate-400 */
    font-weight: 500;
}

.card-amount {
    font-family: 'Inter', sans-serif;
    /* Changed from mono to fix rendering */
    color: #e2e8f0;
    /* Slate-200 */
    font-weight: 700;
    font-size: 1.25rem;
    /* Larger */
    margin-bottom: 0.5rem;
    letter-spacing: -0.5px;
}

.card-user {
    font-size: 0.85rem;
    color: #cbd5e1;
    /* Slate-300 */
    margin-bottom: 0.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.card-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
    /* Removed borders/margins as they are now handled by parent wrapper */
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.05);
    /* Subtle fill */
    border: 1px solid rgba(255, 255, 255, 0.2);
    /* Solid border */
    color: #e2e8f0;
    /* Brighter text (Slate-200) */
    padding: 0.6rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.75rem;
}

/* ==========================================
   SUPPORT ADMIN DASHBOARD
   ========================================== */
.support-admin-layout {
    display: grid;
    grid-template-columns: 350px 1fr;
    height: calc(100vh - 120px);
    gap: 1.5rem;
    overflow: hidden;
}

/* SIDEBAR LIST */
.sa-sidebar {
    background: rgba(30, 41, 59, 0.4);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.sa-header {
    padding: 1rem;
    border-bottom: 1px solid var(--border-glass);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(15, 23, 42, 0.6);
}

.sa-header h3 {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 700;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sa-list {
    overflow-y: auto;
    flex: 1;
}

.sa-ticket-item {
    padding: 1rem;
    border-bottom: 1px solid var(--border-glass);
    cursor: pointer;
    transition: all 0.2s;
    border-left: 3px solid transparent;
}

.sa-ticket-item:hover {
    background: rgba(255, 255, 255, 0.02);
}

.sa-ticket-item.active {
    background: rgba(34, 211, 238, 0.05);
    border-left-color: var(--accent-cyan);
}

.sa-ticket-row {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.sa-user-avatar {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #cbd5e1;
    font-size: 0.8rem;
}

.sa-ticket-info {
    flex: 1;
    overflow: hidden;
}

.sa-ticket-subject {
    color: #f1f5f9;
    font-weight: 500;
    font-size: 0.9rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 0.2rem;
}

.sa-ticket-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: #94a3b8;
}

.sa-ticket-status {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-top: 0.5rem;
    display: inline-block;
    padding: 2px 6px;
    border-radius: 4px;
}

.status-open {
    color: var(--accent-cyan);
    background: rgba(34, 211, 238, 0.1);
}

.status-answered {
    color: #facc15;
    background: rgba(250, 204, 21, 0.1);
}

.status-closed {
    color: #94a3b8;
    background: rgba(148, 163, 184, 0.1);
}


/* CHAT AREA */
.sa-main {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.sa-empty-state {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    gap: 1rem;
}

.sa-chat-header {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border-glass);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(2, 6, 23, 0.5);
}

.sa-ch-user {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.sa-avatar-lg {
    width: 48px;
    height: 48px;
    background: var(--accent-violet);
    color: white;
    font-size: 1.25rem;
    font-weight: 700;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sa-ch-user h2 {
    margin: 0;
    font-size: 1.1rem;
    color: white;
}

.sa-user-link {
    color: var(--accent-cyan);
    font-size: 0.85rem;
    text-decoration: none;
}

.sa-chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* MESSAGE BUBBLES */
.sa-msg-row {
    display: flex;
    width: 100%;
}

.sa-msg-row.me {
    justify-content: flex-end;
}

.sa-msg-row.other {
    justify-content: flex-start;
}

.sa-msg-bubble {
    max-width: 70%;
    padding: 1rem;
    border-radius: 8px;
    font-size: 0.95rem;
    line-height: 1.5;
    position: relative;
}

.bubble-user {
    background: rgba(30, 41, 59, 0.8);
    border: 1px solid rgba(148, 163, 184, 0.2);
    color: #e2e8f0;
    border-bottom-left-radius: 2px;
}

.bubble-admin-me {
    background: linear-gradient(135deg, var(--accent-violet) 0%, #7c3aed 100%);
    color: white;
    border-bottom-right-radius: 2px;
}

.bubble-admin-me.internal-note {
    background: repeating-linear-gradient(45deg,
            rgba(250, 204, 21, 0.1),
            rgba(250, 204, 21, 0.1) 10px,
            rgba(250, 204, 21, 0.05) 10px,
            rgba(250, 204, 21, 0.05) 20px);
    border: 1px solid #facc15;
    color: #e2e8f0;
}

.sa-msg-meta {
    font-size: 0.7rem;
    margin-bottom: 0.4rem;
    opacity: 0.8;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* INPUT AREA */
.sa-chat-input {
    padding: 1.5rem;
    background: rgba(2, 6, 23, 0.8);
    border-top: 1px solid var(--border-glass);
}

.sa-chat-input textarea {
    width: 100%;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid var(--border-glass);
    border-radius: 8px;
    color: white;
    padding: 1rem;
    min-height: 80px;
    font-family: 'Inter', sans-serif;
    resize: none;
    margin-bottom: 1rem;
}

.sa-chat-input textarea:focus {
    outline: none;
    border-color: var(--accent-violet);
}

.sa-input-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sa-checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: #facc15;
    cursor: pointer;
}

#ticketStatusSelect {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-glass);
    color: white;
    padding: 0.5rem;
    border-radius: 6px;
    cursor: pointer;
}

/* SEARCH & FILTERS HEADER */
.sa-header-controls {
    padding: 1rem;
    border-bottom: 1px solid var(--border-glass);
    background: rgba(15, 23, 42, 0.6);
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.sa-hc-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sa-hc-top h3 {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 700;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-icon-sm {
    background: transparent;
    border: none;
    color: #64748b;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: all 0.2s;
}

.btn-icon-sm:hover {
    color: #38bdf8;
    background: rgba(56, 189, 248, 0.1);
}

.sa-search-bar {
    position: relative;
}

.sa-search-bar i {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 14px;
    height: 14px;
    color: #64748b;
}

.sa-search-bar input {
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-glass);
    border-radius: 6px;
    padding: 0.5rem 0.5rem 0.5rem 2.2rem;
    color: white;
    font-size: 0.8rem;
    font-family: 'Inter', sans-serif;
}

.sa-search-bar input:focus {
    outline: none;
    border-color: var(--accent-cyan);
}

.sa-filters-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

.sa-filters-row select {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-glass);
    border-radius: 6px;
    padding: 0.4rem;
    color: #cbd5e1;
    font-size: 0.75rem;
    cursor: pointer;
}

.sa-filters-row select:focus {
    outline: none;
    border-color: var(--accent-cyan);
}

.sa-ticket-user.mini {
    font-size: 0.7rem;
    color: #64748b;
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sa-empty-list {
    padding: 2rem;
    text-align: center;
    color: #64748b;
    font-size: 0.8rem;
    font-style: italic;
}

/* MOBILE ADAPTATION FOR SUPPORT ADMIN */
@media (max-width: 768px) {

    /* STACK LAYOUT */
    .support-admin-layout {
        grid-template-columns: 1fr;
        height: calc(100vh - 140px);
    }

    /* TOGGLE VISIBILITY */
    .sa-sidebar.mobile-hidden {
        display: none;
    }

    .sa-main {
        display: none;
        /* Hidden by default on mobile */
    }

    .sa-main.mobile-active {
        display: flex;
        animation: fadeIn 0.2s;
    }

    .mobile-only {
        display: inline-flex !important;
    }
}

/* Hide mobile-only elements on desktop */
@media (min-width: 769px) {
    .mobile-only {
        display: none !important;
    }
}

/* -- QUILL EDITOR CUSTOMIZATION -- */
#quill-editor {
    font-family: var(--font-sans);
    font-size: 1rem;
}

.ql-toolbar.ql-snow {
    border: 1px solid var(--border-glass) !important;
    background: rgba(255, 255, 255, 0.03);
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.ql-container.ql-snow {
    border: 1px solid var(--border-glass) !important;
    border-top: none !important;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    background: rgba(0, 0, 0, 0.2);
    font-family: var(--font-sans);
}

.ql-editor {
    color: #cbd5e1;
    /* Slate-300 */
    min-height: 150px;
}

.ql-editor.ql-blank::before {
    color: rgba(255, 255, 255, 0.3);
    font-style: italic;
}

/* Toolbar Icons color */
.ql-snow .ql-stroke {
    stroke: #94a3b8 !important;
}

.ql-snow .ql-fill {
    fill: #94a3b8 !important;
}

.ql-snow .ql-picker {
    color: #94a3b8 !important;
}

.ql-snow .ql-picker-options {
    background-color: #0f172a !important;
    border: 1px solid var(--border-glass) !important;
}