/* ================================================================
   Admin Dashboard Styles — Mugai
   Color palette: warm white #FAFAF7, dark #1A1A1A,
                  terracotta #C4704B, sage #7A8B6F
   Font: DM Sans (matches main site)
   ================================================================ */

/* Layout */
.admin-layout {
    display: flex;
    min-height: calc(100vh - 80px);
}

/* Sidebar */
.admin-sidebar {
    width: 240px;
    background: #1A1A1A;
    color: #FAFAF7;
    flex-shrink: 0;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
}

.admin-sidebar-header {
    padding: 1.5rem;
    border-bottom: 1px solid rgba(250, 250, 247, 0.1);
}

.admin-sidebar-header h2 {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
}

.admin-nav {
    padding: 1rem 0;
}

.admin-nav-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    color: rgba(250, 250, 247, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: background 0.2s, color 0.2s;
}

.admin-nav-link:hover {
    background: rgba(250, 250, 247, 0.05);
    color: #FAFAF7;
}

.admin-nav-link.active {
    background: rgba(196, 112, 75, 0.2);
    color: #C4704B;
    border-right: 3px solid #C4704B;
}

.admin-nav-back {
    margin-top: 1rem;
    border-top: 1px solid rgba(250, 250, 247, 0.1);
    padding-top: 1rem;
}

.nav-icon {
    font-size: 1.1rem;
    width: 1.5rem;
    text-align: center;
}

/* Main Content */
.admin-main {
    flex: 1;
    padding: 2rem;
    background: #FAFAF7;
    min-width: 0;
}

.admin-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.admin-header h1 {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 1.75rem;
    color: #1A1A1A;
    margin: 0;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: #fff;
    border: 1px solid #e8e5e0;
    border-radius: 8px;
    padding: 1.25rem;
    text-align: center;
}

.stat-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #666;
    margin-bottom: 0.5rem;
}

.stat-value {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 1.75rem;
    font-weight: 600;
    color: #1A1A1A;
}

/* Admin Section */
.admin-section {
    background: #fff;
    border: 1px solid #e8e5e0;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.admin-section h2 {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 1.25rem;
    color: #1A1A1A;
    margin: 0 0 1rem 0;
}

/* Tables */
.admin-table-wrapper {
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.admin-table th {
    text-align: left;
    padding: 0.75rem 1rem;
    background: #f5f3ee;
    color: #666;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    border-bottom: 2px solid #e8e5e0;
    white-space: nowrap;
}

.admin-table td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #f0ede8;
    vertical-align: middle;
}

.admin-table tbody tr:hover {
    background: #faf8f4;
}

/* Product thumbnails */
.product-thumb {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 4px;
}

.product-thumb-sm {
    width: 32px;
    height: 32px;
    object-fit: cover;
    border-radius: 4px;
    margin-right: 0.5rem;
    vertical-align: middle;
}

.no-image {
    display: inline-block;
    width: 48px;
    height: 48px;
    background: #f0ede8;
    border-radius: 4px;
    line-height: 48px;
    text-align: center;
    font-size: 0.7rem;
    color: #999;
}

/* Badges */
.badge {
    display: inline-block;
    padding: 0.2em 0.6em;
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: 4px;
    text-transform: capitalize;
}

.badge-success { background: rgba(122, 139, 111, 0.15); color: #5a6b4f; }
.badge-warning { background: rgba(196, 150, 75, 0.15); color: #8a6a30; }
.badge-danger { background: rgba(196, 75, 75, 0.15); color: #8a3030; }
.badge-info { background: rgba(75, 130, 196, 0.15); color: #305a8a; }
.badge-accent { background: rgba(196, 112, 75, 0.15); color: #C4704B; }
.badge-muted { background: #f0ede8; color: #999; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    font-size: 0.9rem;
    font-weight: 500;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    line-height: 1.5;
    transition: background 0.2s, opacity 0.2s;
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.btn-primary {
    background: #C4704B;
    color: #fff;
}

.btn-primary:hover { background: #a85d3d; }

.btn-secondary {
    background: #f0ede8;
    color: #1A1A1A;
}

.btn-secondary:hover { background: #e8e5e0; }

.btn-danger {
    background: #c44b4b;
    color: #fff;
}

.btn-danger:hover { background: #a83d3d; }

.btn-sm {
    padding: 0.3rem 0.75rem;
    font-size: 0.8rem;
}

.actions-cell {
    white-space: nowrap;
    display: flex;
    gap: 0.5rem;
}

/* Forms */
.admin-form {
    max-width: 900px;
}

.form-section {
    background: #fff;
    border: 1px solid #e8e5e0;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-section h2 {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 1.15rem;
    color: #1A1A1A;
    margin: 0 0 1rem 0;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #f0ede8;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.form-row-4 {
    grid-template-columns: repeat(4, 1fr);
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: #1A1A1A;
    margin-bottom: 0.35rem;
}

.admin-input,
.admin-select {
    width: 100%;
    padding: 0.5rem 0.75rem;
    font-size: 0.9rem;
    border: 1px solid #d4d0c8;
    border-radius: 4px;
    background: #fff;
    color: #1A1A1A;
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    box-sizing: border-box;
}

.admin-input:focus,
.admin-select:focus {
    outline: none;
    border-color: #C4704B;
    box-shadow: 0 0 0 2px rgba(196, 112, 75, 0.15);
}

.admin-textarea {
    resize: vertical;
    min-height: 80px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-weight: 400 !important;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #C4704B;
}

.form-help {
    margin-top: 0.5rem;
    font-size: 0.8rem;
    color: #666;
}

.form-help p { margin: 0.25rem 0; }

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

/* Quick Links */
.quick-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.quick-link-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.5rem 1rem;
    background: #fff;
    border: 1px solid #e8e5e0;
    border-radius: 8px;
    text-decoration: none;
    color: #1A1A1A;
    font-size: 0.9rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.quick-link-card:hover {
    border-color: #C4704B;
    box-shadow: 0 2px 8px rgba(196, 112, 75, 0.1);
}

.quick-link-icon {
    font-size: 1.5rem;
}

/* Tabs */
.admin-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #e8e5e0;
}

.tab-btn {
    padding: 0.75rem 1.25rem;
    border: none;
    background: none;
    color: #666;
    font-size: 0.9rem;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    transition: color 0.2s;
}

.tab-btn:hover { color: #1A1A1A; }

.tab-btn.active {
    color: #C4704B;
    border-bottom-color: #C4704B;
    font-weight: 500;
}

/* Toolbar */
.admin-toolbar {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.admin-toolbar .admin-input,
.admin-toolbar .admin-select {
    max-width: 300px;
}

/* Pagination */
.admin-pagination {
    text-align: center;
    margin-top: 1.5rem;
}

/* Detail grid */
.detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.detail-card {
    background: #fff;
    border: 1px solid #e8e5e0;
    border-radius: 8px;
    padding: 1.25rem;
}

.detail-card h3 {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 1rem;
    color: #1A1A1A;
    margin: 0 0 0.75rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #f0ede8;
}

.detail-list {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.25rem 1rem;
}

.detail-list dt {
    font-weight: 500;
    font-size: 0.85rem;
    color: #666;
}

.detail-list dd {
    margin: 0;
    font-size: 0.9rem;
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0.5rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #e8e5e0;
}

.timeline-item {
    position: relative;
    padding: 0.5rem 0;
    font-size: 0.9rem;
    color: #666;
}

.timeline-item.active { color: #1A1A1A; }

.timeline-dot {
    position: absolute;
    left: -1.65rem;
    top: 0.7rem;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #e8e5e0;
}

.timeline-item.active .timeline-dot { background: #7A8B6F; }
.dot-danger { background: #c44b4b !important; }

/* Image upload area */
.image-upload-area {
    border: 2px dashed #d4d0c8;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.2s;
    margin-bottom: 1rem;
}

.image-upload-area:hover,
.image-upload-area.drag-over {
    border-color: #C4704B;
    background: rgba(196, 112, 75, 0.03);
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 0.75rem;
    margin-top: 1rem;
}

.image-grid-item {
    position: relative;
    aspect-ratio: 1;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid #e8e5e0;
    cursor: grab;
}

.image-grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-grid-item .delete-btn {
    position: absolute;
    top: 4px;
    right: 4px;
    background: rgba(196, 75, 75, 0.9);
    color: #fff;
    border: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 0.8rem;
    line-height: 1;
}

.image-grid-item.primary::after {
    content: 'Primary';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(196, 112, 75, 0.85);
    color: #fff;
    font-size: 0.7rem;
    text-align: center;
    padding: 2px 0;
}

/* Upload progress */
.upload-progress {
    margin: 1rem 0;
}

.progress-bar {
    height: 4px;
    background: #e8e5e0;
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.progress-fill {
    height: 100%;
    background: #C4704B;
    border-radius: 2px;
    width: 0;
    transition: width 0.3s;
}

/* Inline edit */
.inline-edit {
    cursor: pointer;
    padding: 0.2em 0.4em;
    border-radius: 3px;
}

.inline-edit:hover {
    background: rgba(196, 112, 75, 0.1);
}

/* Text helpers */
.text-center { text-align: center; }
.text-muted { color: #999; }
.text-error { color: #c44b4b; }
.text-danger { color: #c44b4b; }
.link { color: #C4704B; text-decoration: none; }
.link:hover { text-decoration: underline; }

/* Refund section */
.refund-section {
    border-color: rgba(196, 75, 75, 0.3);
}

/* Guide content styles */
.guide-content {
    background: #fff;
    border: 1px solid #e8e5e0;
    border-radius: 8px;
    padding: 2rem;
}

.guide-content h1 {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 1.5rem;
    color: #1A1A1A;
    margin: 0 0 1.5rem 0;
}

.guide-content h2 {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 1.15rem;
    color: #1A1A1A;
    margin: 1.5rem 0 0.75rem;
}

.guide-content section {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #f0ede8;
}

.guide-content section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.guide-content ul, .guide-content ol {
    padding-left: 1.5rem;
    line-height: 1.8;
}

.guide-content code {
    background: #f5f3ee;
    padding: 0.15em 0.4em;
    border-radius: 3px;
    font-size: 0.85em;
}

/* --- 3D Scan Conversion Status --- */
.scan-file-inputs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}
.file-input {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    background: var(--color-bg);
}
.conversion-status-card {
    padding: 1rem 1.25rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    margin-bottom: 1rem;
}
.status-processing,
.status-completed,
.status-failed {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-left: 1rem;
    border-left: 4px solid currentColor;
}
.status-processing { color: #b8860b; }
.status-completed { color: #2d7a3a; }
.status-failed { color: #c0392b; }
.status-icon {
    font-size: 1.25rem;
    font-weight: bold;
}
.spinner {
    width: 20px;
    height: 20px;
    border: 3px solid #e0d5c1;
    border-top-color: #b8860b;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}
.conversion-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .admin-layout {
        flex-direction: column;
    }

    .admin-sidebar {
        width: 100%;
        height: auto;
        position: static;
    }

    .admin-nav {
        display: flex;
        overflow-x: auto;
        padding: 0.5rem;
        gap: 0;
    }

    .admin-nav-link {
        padding: 0.5rem 1rem;
        white-space: nowrap;
        font-size: 0.8rem;
        border-right: none;
    }

    .admin-nav-link.active {
        border-right: none;
        border-bottom: 2px solid #C4704B;
    }

    .admin-nav-back {
        margin-top: 0;
        border-top: none;
        padding-top: 0.5rem;
    }

    .admin-main {
        padding: 1rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .form-row-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .detail-grid {
        grid-template-columns: 1fr;
    }

    .admin-tabs {
        overflow-x: auto;
    }

    .actions-cell {
        flex-direction: column;
    }
}

/* ================================================================
   Dark Mode Overrides
   ================================================================ */
[data-theme="dark"] .admin-main {
    background: #121212;
    color: #E8E6E3;
}

[data-theme="dark"] .admin-header h1 {
    color: #E8E6E3;
}

[data-theme="dark"] .admin-sidebar {
    background: #0A0A0A;
}

/* Cards, sections, panels */
[data-theme="dark"] .stat-card,
[data-theme="dark"] .admin-section,
[data-theme="dark"] .form-section,
[data-theme="dark"] .detail-card,
[data-theme="dark"] .guide-content,
[data-theme="dark"] .quick-link-card {
    background: #1E1E1E;
    border-color: #2A2A2A;
    color: #E8E6E3;
}

[data-theme="dark"] .quick-link-card:hover {
    border-color: #C4704B;
}

/* Section headings inside cards */
[data-theme="dark"] .admin-section h2,
[data-theme="dark"] .form-section h2 {
    color: #E8E6E3;
    border-bottom-color: #2A2A2A;
}

/* Form labels */
[data-theme="dark"] .form-group label {
    color: #CCC;
}

/* Form inputs */
[data-theme="dark"] .admin-input,
[data-theme="dark"] .admin-select,
[data-theme="dark"] .admin-textarea {
    background: #2A2A2A;
    border-color: #3A3A3A;
    color: #E8E6E3;
}

[data-theme="dark"] .admin-input::placeholder,
[data-theme="dark"] .admin-textarea::placeholder {
    color: #666;
}

/* Tables */
[data-theme="dark"] .admin-table th {
    background: #2A2A2A;
    color: #999;
}

[data-theme="dark"] .admin-table td {
    border-bottom-color: #2A2A2A;
    color: #E8E6E3;
}

[data-theme="dark"] .admin-table tbody tr:hover {
    background: #2A2A2A;
}

/* Stat cards */
[data-theme="dark"] .stat-value {
    color: #E8E6E3;
}

[data-theme="dark"] .stat-label {
    color: #999;
}

/* Tabs */
[data-theme="dark"] .admin-tabs {
    border-bottom-color: #2A2A2A;
}

[data-theme="dark"] .tab-btn {
    color: #999;
}

[data-theme="dark"] .tab-btn:hover,
[data-theme="dark"] .tab-btn.active {
    color: #E8E6E3;
}

/* Detail cards */
[data-theme="dark"] .detail-label {
    color: #999;
}

[data-theme="dark"] .detail-value {
    color: #E8E6E3;
}

/* Timeline */
[data-theme="dark"] .timeline-date {
    color: #999;
}

[data-theme="dark"] .timeline-item.active {
    color: #E8E6E3;
}

/* Form help text */
[data-theme="dark"] .form-help {
    color: #999;
}

/* Checkbox */
[data-theme="dark"] .checkbox-label {
    color: #E8E6E3;
}

/* Image upload */
[data-theme="dark"] .image-upload-area {
    background: #1E1E1E;
    border-color: #3A3A3A;
    color: #E8E6E3;
}

/* 3D Scan Conversion */
[data-theme="dark"] .conversion-status-card {
    border-color: #333;
    background: #1a1a1a;
}
[data-theme="dark"] .file-input {
    background: #1a1a1a;
    border-color: #333;
    color: #e0d5c1;
}

/* Toolbar */
[data-theme="dark"] .admin-toolbar .admin-input,
[data-theme="dark"] .admin-toolbar .admin-select {
    background: #2A2A2A;
    border-color: #3A3A3A;
    color: #E8E6E3;
}

/* Guide content */
[data-theme="dark"] .guide-content code {
    background: #2A2A2A;
    color: #E8E6E3;
}

[data-theme="dark"] .guide-content a {
    color: #C4704B;
}

/* Scanning guide sections */
[data-theme="dark"] .scanning-guide h1,
[data-theme="dark"] .scanning-guide h2 {
    color: #E8E6E3;
}

[data-theme="dark"] .scanning-guide li,
[data-theme="dark"] .scanning-guide p {
    color: #CCC;
}

/* ================================================================
   Support Ticket Styles
   ================================================================ */

/* Status badges */
.support-status-badge {
    display: inline-block;
    padding: 0.2em 0.6em;
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: 4px;
    text-transform: capitalize;
}

.support-status-open { background: rgba(75, 130, 196, 0.15); color: #305a8a; }
.support-status-in-progress { background: rgba(196, 150, 75, 0.15); color: #8a6a30; }
.support-status-waiting { background: rgba(196, 112, 75, 0.15); color: #C4704B; }
.support-status-resolved { background: rgba(122, 139, 111, 0.15); color: #5a6b4f; }
.support-status-closed { background: #f0ede8; color: #999; }

/* Priority badges */
.support-priority-badge {
    display: inline-block;
    padding: 0.2em 0.6em;
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: 4px;
    text-transform: capitalize;
}

.support-priority-low { background: rgba(122, 139, 111, 0.15); color: #5a6b4f; }
.support-priority-medium { background: rgba(196, 150, 75, 0.15); color: #8a6a30; }
.support-priority-high { background: rgba(196, 75, 75, 0.15); color: #8a3030; }

/* Filter bar */
.support-filter-bar {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.support-filter-bar .admin-select {
    max-width: 220px;
}

/* Notes timeline */
.support-notes-timeline {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.support-note-item {
    background: #fff;
    border: 1px solid #e8e5e0;
    border-radius: 8px;
    padding: 1rem;
}

.support-note-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
}

.support-note-content {
    white-space: pre-wrap;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Attachment list */
.support-attachment-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.support-attachment-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.4rem 0.75rem;
    background: #f5f3ee;
    border-radius: 4px;
    font-size: 0.85rem;
}

.support-attachment-item .link {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
}

/* Dark mode overrides for support styles */
[data-theme="dark"] .support-note-item {
    background: #1E1E1E;
    border-color: #2A2A2A;
}

[data-theme="dark"] .support-attachment-item {
    background: #2A2A2A;
    color: #E8E6E3;
}

[data-theme="dark"] .support-status-closed {
    background: #2A2A2A;
    color: #999;
}
