/* Rex Automation Design System — dark gradient theme for user-facing pages.
   Not used on Login/Dashboard (CoreUI/Bootstrap) — class names would collide. */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    /* Background */
    --ds-color-bg-start: #17263f;
    --ds-color-bg-mid: #0b1220;
    --ds-color-bg-end: #070b12;
    --ds-color-surface: rgba(255, 255, 255, 0.05);
    --ds-color-surface-strong: rgba(255, 255, 255, 0.08);
    --ds-color-surface-subtle: rgba(255, 255, 255, 0.03);
    --ds-color-border: rgba(255, 255, 255, 0.1);
    --ds-color-border-strong: rgba(255, 255, 255, 0.2);

    /* Text */
    --ds-color-text: #eaf0fb;
    --ds-color-heading: #ffffff;
    --ds-color-text-muted: rgba(231, 237, 248, 0.72);
    --ds-color-text-subtle: rgba(231, 237, 248, 0.5);

    /* Brand */
    --ds-color-brand: #5865F2;
    --ds-color-brand-hover: #4752C4;
    --ds-color-accent: #8eb4ff;

    /* Semantic */
    --ds-color-success: #22c55e;
    --ds-color-success-bg: rgba(34, 197, 94, 0.15);
    --ds-color-success-border: rgba(34, 197, 94, 0.3);
    --ds-color-danger: #ef4444;
    --ds-color-danger-bg: rgba(239, 68, 68, 0.15);
    --ds-color-danger-border: rgba(239, 68, 68, 0.3);
    --ds-color-warning: #fbbf24;
    --ds-color-warning-strong: #f97316;
    --ds-color-warning-bg: rgba(251, 191, 36, 0.15);
    --ds-color-neutral: #9ca3af;
    --ds-color-neutral-bg: rgba(107, 114, 128, 0.2);

    /* Typography */
    --ds-font-sans: "Segoe UI Variable Display", "Bahnschrift", "Trebuchet MS", sans-serif;
    --ds-font-mono: 'SF Mono', Monaco, monospace;
    --ds-text-xs: 0.75rem;
    --ds-text-sm: 0.85rem;
    --ds-text-base: 0.95rem;
    --ds-text-md: 1rem;
    --ds-text-lg: 1.1rem;
    --ds-text-xl: 1.25rem;
    --ds-text-2xl: 1.5rem;
    --ds-text-3xl: 1.75rem;
    --ds-text-4xl: 2rem;

    /* Spacing scale (8/16/24/32) */
    --ds-space-1: 0.5rem;
    --ds-space-2: 1rem;
    --ds-space-3: 1.5rem;
    --ds-space-4: 2rem;
    --ds-space-5: 2.5rem;
    --ds-space-6: 3rem;

    /* Radius */
    --ds-radius-sm: 8px;
    --ds-radius-md: 10px;
    --ds-radius-lg: 12px;
    --ds-radius-xl: 16px;
    --ds-radius-pill: 20px;

    --ds-shadow-elevated: 0 12px 32px rgba(0, 0, 0, 0.45);
    --ds-transition-fast: 0.2s ease;

    /* Breakpoints (documented — CSS vars can't be used inside @media) */
    /* --ds-bp-sm: 576px; --ds-bp-md: 768px; --ds-bp-lg: 1024px; */
}

/* ---------- Base ---------- */
.ds-body {
    background: radial-gradient(circle at top left, var(--ds-color-bg-start) 0, var(--ds-color-bg-mid) 36%, var(--ds-color-bg-end) 100%);
    color: var(--ds-color-text);
    font-family: var(--ds-font-sans);
    min-height: 100vh;
    padding: var(--ds-space-4);
}

.ds-container {
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
}

.ds-container-narrow {
    max-width: 600px;
}

.ds-container-doc {
    max-width: 820px;
}

.ds-top-logo {
    position: absolute;
    top: var(--ds-space-4);
    left: var(--ds-space-4);
    display: flex;
    align-items: center;
    gap: var(--ds-space-2);
}

.ds-top-logo img {
    width: 48px;
    height: 48px;
    border-radius: var(--ds-radius-lg);
}

.ds-top-logo span,
.ds-top-logo a {
    font-size: var(--ds-text-xl);
    font-weight: 700;
    color: var(--ds-color-heading);
    text-decoration: none;
}

/* ---------- Typography helpers ---------- */
.ds-eyebrow {
    font-size: var(--ds-text-xs);
    color: var(--ds-color-accent);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

.ds-section-title {
    font-size: var(--ds-text-3xl);
    color: var(--ds-color-heading);
    margin-bottom: 0.5rem;
}

.ds-section-subtitle {
    color: var(--ds-color-text-muted);
    font-size: var(--ds-text-md);
    margin-bottom: var(--ds-space-3);
}

.ds-muted {
    color: var(--ds-color-text-muted);
    font-size: var(--ds-text-base);
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    border: none;
    border-radius: var(--ds-radius-md);
    font-weight: 600;
    font-size: var(--ds-text-base);
    cursor: pointer;
    transition: all var(--ds-transition-fast);
    font-family: inherit;
    text-decoration: none;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

.btn-primary {
    background: var(--ds-color-brand);
    color: #fff;
}

.btn-primary:hover:not(:disabled) {
    background: var(--ds-color-brand-hover);
    transform: translateY(-2px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.btn-secondary:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.2);
}

.btn-danger {
    background: rgba(239, 68, 68, 0.8);
    color: #fff;
}

.btn-danger:hover:not(:disabled) {
    background: rgba(239, 68, 68, 1);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--ds-color-border-strong);
    color: #fff;
}

.btn-outline:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.1);
}

.btn-ghost {
    background: transparent;
    color: var(--ds-color-text-muted);
}

.btn-ghost:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: var(--ds-text-sm);
}

/* ---------- Cards ---------- */
.card {
    background: var(--ds-color-surface);
    border: 1px solid var(--ds-color-border);
    border-radius: var(--ds-radius-xl);
    padding: var(--ds-space-4);
    margin-bottom: var(--ds-space-3);
}

.card:last-child {
    margin-bottom: 0;
}

.card-title {
    font-size: var(--ds-text-2xl);
    color: var(--ds-color-heading);
    margin-bottom: 0.5rem;
}

.card-subtitle {
    font-size: var(--ds-text-lg);
    color: var(--ds-color-heading);
    margin-bottom: 0.5rem;
}

/* ---------- Badges / status indicators ---------- */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.25rem 0.6rem;
    border-radius: var(--ds-radius-sm);
    font-size: var(--ds-text-xs);
    font-weight: 600;
    text-transform: uppercase;
    background: rgba(88, 101, 242, 0.3);
    color: var(--ds-color-accent);
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: var(--ds-radius-pill);
    font-size: var(--ds-text-sm);
    font-weight: 600;
}

.status-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
    flex-shrink: 0;
}

.status-pending { background: var(--ds-color-warning-bg); color: var(--ds-color-warning); }
.status-success { background: var(--ds-color-success-bg); color: var(--ds-color-success); }
.status-danger { background: var(--ds-color-danger-bg); color: var(--ds-color-danger); }
.status-neutral { background: var(--ds-color-neutral-bg); color: var(--ds-color-neutral); }

/* Pure dot indicator — online / offline / syncing, no text */
.status-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.status-dot-online {
    background: var(--ds-color-success);
    box-shadow: 0 0 0 3px var(--ds-color-success-bg);
}

.status-dot-offline {
    background: var(--ds-color-neutral);
}

.status-dot-syncing {
    background: var(--ds-color-warning);
    animation: ds-pulse 1.4s ease-in-out infinite;
}

@keyframes ds-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.35; }
}

/* ---------- Alerts (inline) ---------- */
.alert {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: var(--ds-space-2);
    border-radius: var(--ds-radius-sm);
    font-size: var(--ds-text-base);
    margin-bottom: var(--ds-space-2);
}

.alert-error {
    background: var(--ds-color-danger-bg);
    color: #fca5a5;
    border: 1px solid var(--ds-color-danger-border);
}

.alert-success {
    background: var(--ds-color-success-bg);
    color: #86efac;
    border: 1px solid var(--ds-color-success-border);
}

.alert-info {
    background: rgba(88, 101, 242, 0.15);
    color: var(--ds-color-accent);
    border: 1px solid rgba(88, 101, 242, 0.3);
}

.alert-warning {
    background: var(--ds-color-warning-bg);
    color: var(--ds-color-warning);
    border: 1px solid rgba(251, 191, 36, 0.3);
}

/* ---------- Toasts (floating, auto-dismiss via design-system.js) ---------- */
.toast-container {
    position: fixed;
    bottom: var(--ds-space-3);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    gap: var(--ds-space-1);
    z-index: 9999;
    width: min(420px, calc(100vw - 2rem));
}

.toast {
    background: #0f1c30;
    border: 1px solid var(--ds-color-border);
    border-left: 3px solid var(--ds-color-brand);
    border-radius: var(--ds-radius-sm);
    padding: var(--ds-space-2);
    box-shadow: var(--ds-shadow-elevated);
    font-size: var(--ds-text-base);
    color: var(--ds-color-text);
    animation: ds-toast-in 0.2s ease-out;
}

.toast-error { border-left-color: var(--ds-color-danger); }
.toast-success { border-left-color: var(--ds-color-success); }
.toast-warning { border-left-color: var(--ds-color-warning); }

@keyframes ds-toast-in {
    from { transform: translateY(12px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* ---------- Inputs ---------- */
.field {
    margin-bottom: var(--ds-space-2);
}

.field-label {
    display: block;
    font-size: var(--ds-text-sm);
    color: var(--ds-color-text-muted);
    margin-bottom: 0.4rem;
}

.input {
    width: 100%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--ds-color-border);
    border-radius: var(--ds-radius-sm);
    padding: 0.75rem 1rem;
    color: var(--ds-color-text);
    font-size: var(--ds-text-base);
    font-family: inherit;
    transition: border-color var(--ds-transition-fast);
}

.input::placeholder {
    color: var(--ds-color-text-subtle);
}

.input:focus {
    outline: none;
    border-color: var(--ds-color-brand);
}

select.input {
    color-scheme: dark;
}

select.input option {
    background: #0f1c30;
    color: var(--ds-color-text);
}

.input-error {
    border-color: var(--ds-color-danger);
}

.field-error {
    color: #fca5a5;
    font-size: var(--ds-text-sm);
    margin-top: 0.3rem;
}

.checkbox-field {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    cursor: pointer;
}

.checkbox-field input[type="checkbox"] {
    margin-top: 0.2rem;
    width: 16px;
    height: 16px;
    accent-color: var(--ds-color-brand);
    cursor: pointer;
    flex-shrink: 0;
}

.checkbox-field span {
    color: var(--ds-color-text);
    font-size: var(--ds-text-base);
    line-height: 1.5;
}

.checkbox-field a {
    color: var(--ds-color-accent);
}

/* ---------- Modal ---------- */
.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(3, 7, 15, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--ds-space-2);
    z-index: 9998;
}

.modal-backdrop.hidden {
    display: none;
}

.modal {
    background: #0f1c30;
    border: 1px solid var(--ds-color-border);
    border-radius: var(--ds-radius-xl);
    max-width: 480px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--ds-shadow-elevated);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--ds-space-3);
    border-bottom: 1px solid var(--ds-color-border);
}

.modal-title {
    font-size: var(--ds-text-xl);
    color: var(--ds-color-heading);
}

.modal-close {
    background: transparent;
    border: none;
    color: var(--ds-color-text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
}

.modal-body {
    padding: var(--ds-space-3);
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: var(--ds-space-1);
    padding: var(--ds-space-3);
    border-top: 1px solid var(--ds-color-border);
}

/* ---------- Lists ---------- */
.list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.list-item {
    background: var(--ds-color-surface-subtle);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--ds-radius-lg);
    padding: var(--ds-space-2);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: var(--ds-space-2);
    transition: background var(--ds-transition-fast);
}

.list-item:hover {
    background: var(--ds-color-surface);
}

.list-item > * {
    min-width: 0;
}

.list-item-title {
    font-weight: 600;
    color: var(--ds-color-heading);
    margin-bottom: 0.25rem;
    overflow-wrap: break-word;
    word-break: break-word;
}

.list-item-meta {
    font-size: var(--ds-text-sm);
    color: var(--ds-color-text-subtle);
    overflow-wrap: break-word;
    word-break: break-word;
}

/* ---------- Prose (long-form document text: terms, privacy, docs) ---------- */
.ds-prose h1 {
    font-size: var(--ds-text-3xl);
    color: var(--ds-color-heading);
    margin-bottom: 0.25rem;
}

.ds-prose .updated-at {
    color: var(--ds-color-text-subtle);
    font-size: var(--ds-text-sm);
    margin-bottom: var(--ds-space-4);
}

.ds-prose h2 {
    font-size: var(--ds-text-lg);
    color: var(--ds-color-heading);
    margin-top: var(--ds-space-4);
    margin-bottom: 0.75rem;
}

.ds-prose p,
.ds-prose li {
    color: var(--ds-color-text-muted);
    font-size: var(--ds-text-base);
    line-height: 1.65;
    margin-bottom: 0.75rem;
}

.ds-prose ul {
    padding-left: 1.25rem;
    margin-bottom: 0.75rem;
}

.ds-prose strong {
    color: var(--ds-color-heading);
}

.ds-prose a {
    color: var(--ds-color-accent);
}

/* ---------- App shell / navigation (bottom tab bar on mobile, sidebar on desktop) ---------- */
.app-shell {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.app-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    background: #0f1c30;
    border-top: 1px solid var(--ds-color-border);
    z-index: 100;
    padding-bottom: env(safe-area-inset-bottom, 0);
}

.app-nav-brand {
    display: none;
}

.app-nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    padding: 0.6rem 0.25rem;
    color: var(--ds-color-text-subtle);
    text-decoration: none;
    font-size: 0.7rem;
    font-weight: 600;
    transition: color var(--ds-transition-fast), transform 0.1s ease, opacity 0.1s ease;
    cursor: pointer;
    background: transparent;
    border: none;
    font-family: inherit;
    -webkit-tap-highlight-color: transparent;
}

.app-nav-icon {
    display: inline-block;
    width: 1.3rem;
    height: 1.3rem;
    fill: currentcolor;
}

.app-nav-item.active {
    color: var(--ds-color-accent);
    position: relative;
}

.app-nav-item.active::before {
    content: '';
    position: absolute;
    top: 0.15rem;
    left: 50%;
    transform: translateX(-50%);
    width: 28px;
    height: 3px;
    border-radius: var(--ds-radius-pill);
    background: var(--ds-color-accent);
}

.app-nav-item:active {
    transform: scale(0.92);
    opacity: 0.7;
}

.app-nav-divider {
    width: 1px;
    align-self: stretch;
    margin: 0.5rem 0.25rem;
    background: var(--ds-color-border);
    flex-shrink: 0;
}

/* ---------- Top navigation progress bar (instant tap feedback on real page navigation) ---------- */
.nav-progress {
    position: fixed;
    top: env(safe-area-inset-top, 0);
    left: 0;
    height: 4px;
    width: 0;
    background: var(--ds-color-brand);
    z-index: 10000;
    pointer-events: none;
    box-shadow: 0 0 8px var(--ds-color-brand);
}

.nav-progress.step-1 {
    width: 40%;
    transition: width 0.15s ease-out;
}

.nav-progress.step-2 {
    width: 80%;
    transition: width 0.5s ease-out;
}

.app-content {
    flex: 1;
    padding: var(--ds-space-2);
    padding-bottom: calc(4.5rem + var(--ds-space-2));
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
}

@media (min-width: 1024px) {
    .app-shell {
        flex-direction: row;
    }
    .app-nav {
        position: sticky;
        top: 0;
        bottom: auto;
        left: auto;
        right: auto;
        flex-direction: column;
        width: 240px;
        height: 100vh;
        flex-shrink: 0;
        border-top: none;
        border-right: 1px solid var(--ds-color-border);
        padding: var(--ds-space-3) var(--ds-space-1);
        gap: 0.25rem;
        padding-bottom: var(--ds-space-3);
        align-items: stretch;
    }
    .app-nav-brand {
        display: flex;
        align-items: center;
        gap: var(--ds-space-1);
        padding: 0 var(--ds-space-2);
        margin-bottom: var(--ds-space-3);
    }
    .app-nav-brand img {
        width: 32px;
        height: 32px;
        border-radius: var(--ds-radius-sm);
    }
    .app-nav-brand span {
        font-weight: 700;
        color: var(--ds-color-heading);
    }
    .app-nav-item {
        flex: none;
        flex-direction: row;
        justify-content: flex-start;
        gap: var(--ds-space-1);
        padding: 0.75rem 1rem;
        border-radius: var(--ds-radius-md);
        font-size: var(--ds-text-base);
    }
    .app-nav-item.active {
        background: rgba(88, 101, 242, 0.15);
        color: #fff;
    }
    .app-nav-item.active::before {
        display: none;
    }
    .app-nav-icon {
        width: 1.1rem;
        height: 1.1rem;
    }
    .app-content {
        padding: var(--ds-space-4);
        padding-bottom: var(--ds-space-4);
    }
    .app-nav-divider {
        width: auto;
        height: 1px;
        align-self: stretch;
        margin: 0.5rem var(--ds-space-1);
    }
}

/* ---------- DataTables reskin (admin, jQuery DataTables.net rendered into a plain table) ---------- */
.ds-datatable-wrapper {
    overflow-x: auto;
}

.ds-datatable-wrapper .dataTables_wrapper {
    color: var(--ds-color-text);
    font-size: var(--ds-text-base);
}

.ds-datatable-wrapper .dataTables_filter input,
.ds-datatable-wrapper .dataTables_length select {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--ds-color-border);
    border-radius: var(--ds-radius-sm);
    padding: 0.5rem 0.75rem;
    color: var(--ds-color-text);
    font-family: inherit;
    font-size: var(--ds-text-sm);
    margin-left: 0.5rem;
}

.ds-datatable-wrapper .dataTables_filter input:focus,
.ds-datatable-wrapper .dataTables_length select:focus {
    outline: none;
    border-color: var(--ds-color-brand);
}

.ds-datatable-wrapper .dataTables_info,
.ds-datatable-wrapper .dataTables_filter label,
.ds-datatable-wrapper .dataTables_length label {
    color: var(--ds-color-text-muted);
    font-size: var(--ds-text-sm);
}

.ds-datatable-wrapper table.dataTable {
    width: 100% !important;
    border-collapse: collapse;
    margin-top: var(--ds-space-2);
}

.ds-datatable-wrapper table.dataTable thead th {
    text-align: left;
    padding: 0.75rem 1rem;
    color: var(--ds-color-text-subtle);
    font-size: var(--ds-text-xs);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-bottom: 1px solid var(--ds-color-border);
    white-space: nowrap;
}

.ds-datatable-wrapper table.dataTable thead th.sorting,
.ds-datatable-wrapper table.dataTable thead th.sorting_asc,
.ds-datatable-wrapper table.dataTable thead th.sorting_desc {
    cursor: pointer;
}

.ds-datatable-wrapper table.dataTable tbody td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--ds-color-border);
    vertical-align: middle;
}

.ds-datatable-wrapper table.dataTable tbody tr:hover {
    background: var(--ds-color-surface-subtle);
}

.ds-datatable-wrapper table.dataTable tbody tr.selected {
    background: rgba(88, 101, 242, 0.12);
}

.ds-datatable-wrapper .dataTables_paginate {
    display: flex;
    gap: 0.35rem;
    margin-top: var(--ds-space-2);
    flex-wrap: wrap;
}

.ds-datatable-wrapper .dataTables_paginate .paginate_button {
    padding: 0.4rem 0.75rem;
    border-radius: var(--ds-radius-sm);
    border: 1px solid var(--ds-color-border);
    color: var(--ds-color-text-muted);
    cursor: pointer;
}

.ds-datatable-wrapper .dataTables_paginate .paginate_button.current {
    background: var(--ds-color-brand);
    border-color: var(--ds-color-brand);
    color: #fff;
}

.ds-datatable-wrapper .dataTables_paginate .paginate_button.disabled {
    opacity: 0.4;
    cursor: default;
}

.ds-datatable-wrapper .dataTables_processing {
    color: var(--ds-color-text-muted);
    padding: var(--ds-space-2);
}

/* ---------- Stat tile (big highlighted metric, e.g. days remaining) ---------- */
.stat-tile {
    text-align: center;
    padding: var(--ds-space-4) var(--ds-space-2);
}

.stat-tile-value {
    font-size: 3rem;
    font-weight: 700;
    color: var(--ds-color-heading);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-tile-label {
    color: var(--ds-color-text-muted);
    font-size: var(--ds-text-base);
}

/* ---------- Skeleton loader (shimmer) ---------- */
.skeleton {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.04) 25%, rgba(255, 255, 255, 0.09) 37%, rgba(255, 255, 255, 0.04) 63%);
    background-size: 400% 100%;
    animation: ds-skeleton-shimmer 1.4s ease infinite;
    border-radius: var(--ds-radius-sm);
}

@keyframes ds-skeleton-shimmer {
    0% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.skeleton-line {
    height: 14px;
    margin-bottom: var(--ds-space-1);
}

.skeleton-block {
    height: 90px;
}

/* ---------- Misc ---------- */
.empty-state {
    text-align: center;
    padding: var(--ds-space-6) var(--ds-space-2);
    color: var(--ds-color-text-subtle);
}

.empty-state-icon {
    width: 40px;
    height: 40px;
    fill: currentcolor;
    opacity: 0.6;
    margin: 0 auto;
}

.divider {
    height: 1px;
    background: var(--ds-color-border);
    margin: var(--ds-space-3) 0;
}

.hidden {
    display: none !important;
}

@media (max-width: 768px) {
    .ds-body { padding: var(--ds-space-2); }
}
