/* ============================================
   BIG VISION MANAGEMENT SYSTEM
   Kinetic Precision — Design System
   Dark Mode Glassmorphic Theme
   ============================================ */

/* ── Tailwind CDN ── */
@import url('https://cdn.jsdelivr.net/npm/tailwindcss@2.2.19/dist/tailwind.min.css');

/* ── CSS Variables ── */
:root {
    /* Background hierarchy */
    --bg-deepest:       #0A0A0A;
    --bg-base:          #121414;
    --bg-surface:       #1A1C1C;
    --bg-surface-hover: #1E2020;
    --bg-surface-raised:#282A2B;
    --bg-glass:         rgba(18, 20, 20, 0.75);

    /* Primary */
    --primary:          #FF8C00;
    --primary-hover:    #FFa030;
    --primary-dark:     #E07800;
    --primary-glow:     rgba(255, 140, 0, 0.25);
    --primary-glow-soft:rgba(255, 140, 0, 0.10);

    /* Typography */
    --text-primary:     #FAFAFA;
    --text-secondary:   #A0A0A0;
    --text-tertiary:    #666666;
    --text-muted:       #555555;

    /* Borders */
    --border-default:   #333333;
    --border-subtle:    #252525;
    --border-active:    #4A4A4A;

    /* Semantic */
    --success:          #22c55e;
    --success-bg:       rgba(34, 197, 94, 0.12);
    --warning:          #f59e0b;
    --warning-bg:       rgba(245, 158, 11, 0.12);
    --error:            #ef4444;
    --error-bg:         rgba(239, 68, 68, 0.12);
    --info:             #3b82f6;
    --info-bg:          rgba(59, 130, 246, 0.12);

    /* Spacing */
    --space-unit:       8px;

    /* Radius */
    --radius-sm:        8px;
    --radius-md:        12px;
    --radius-lg:        16px;
    --radius-xl:        24px;
    --radius-full:      9999px;

    /* Shadows */
    --shadow-sm:        0 2px 4px rgba(0,0,0,0.3);
    --shadow-md:        0 8px 24px rgba(0,0,0,0.4);
    --shadow-lg:        0 16px 48px rgba(0,0,0,0.5);
    --shadow-glow:      0 0 24px var(--primary-glow);

    /* Transitions */
    --transition-fast:  150ms ease;
    --transition-base:  200ms ease;
    --transition-slow:  350ms ease;

    /* Sidebar */
    --sidebar-width:    260px;
    --sidebar-collapsed: 72px;
    --header-height:     64px;
}

/* ── Reset & Base ── */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-deepest);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Grain texture overlay */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.015;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* ── Scrollbar ── */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: var(--border-default);
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--border-active);
}

/* ── Typography ── */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Geist', 'Inter', -apple-system, sans-serif;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.font-display {
    font-family: 'Geist', 'Inter', -apple-system, sans-serif;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}
a:hover {
    color: var(--primary-hover);
}

/* ── Layout ── */
.admin-layout {
    display: flex;
    min-height: 100vh;
}

.main-content {
    flex: 1;
    margin-left: var(--sidebar-width);
    padding-top: var(--header-height);
    transition: margin-left var(--transition-slow);
    min-width: 0;
}

.main-content-inner {
    padding: calc(var(--space-unit) * 3) calc(var(--space-unit) * 4);
    max-width: 1440px;
    margin: 0 auto;
}

/* ── Sidebar ── */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: var(--sidebar-width);
    background: var(--bg-base);
    border-right: 1px solid var(--border-subtle);
    z-index: 100;
    display: flex;
    flex-direction: column;
    transition: width var(--transition-slow), transform var(--transition-slow);
    overflow-y: auto;
    overflow-x: hidden;
}

.sidebar-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-subtle);
}

.sidebar-logo-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 16px rgba(255, 140, 0, 0.2);
}

.sidebar-logo-text {
    font-family: 'Geist', 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    white-space: nowrap;
}

.sidebar-nav {
    flex: 1;
    padding: 16px 12px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.sidebar-section-label {
    font-family: 'Geist', 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-tertiary);
    padding: 12px 12px 6px;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    transition: all var(--transition-fast);
    white-space: nowrap;
    position: relative;
}

.sidebar-link:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.03);
}

.sidebar-link.active {
    color: var(--primary);
    background: rgba(255, 140, 0, 0.08);
}

.sidebar-link.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 20px;
    background: var(--primary);
    border-radius: 0 3px 3px 0;
}

.sidebar-link svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    stroke-width: 2;
}

.sidebar-footer {
    padding: 16px 12px;
    border-top: 1px solid var(--border-subtle);
}

.sidebar-user {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
}

.sidebar-user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 140, 0, 0.15);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 600;
    flex-shrink: 0;
}

.sidebar-user-info {
    overflow: hidden;
}

.sidebar-user-name {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar-user-role {
    font-size: 11px;
    color: var(--text-tertiary);
}

/* ── Header / Top Bar ── */
.header {
    position: fixed;
    top: 0;
    left: var(--sidebar-width);
    right: 0;
    height: var(--header-height);
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
    z-index: 90;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 32px;
    transition: left var(--transition-slow);
}

.header-breadcrumb {
    font-size: 13px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-breadcrumb span {
    color: var(--text-primary);
    font-weight: 500;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-btn {
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: transparent;
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.header-btn:hover {
    color: var(--text-primary);
    border-color: var(--border-default);
    background: rgba(255, 255, 255, 0.03);
}

.header-btn .badge-dot {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 6px var(--primary-glow);
}

/* ── Cards ── */
.card {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 24px;
    transition: all var(--transition-base);
}

.card:hover {
    border-color: var(--border-default);
}

.card-glass {
    background: var(--bg-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.04);
}

/* ── Stat Cards ── */
.stat-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 24px;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.stat-card:hover {
    border-color: var(--border-default);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.stat-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    transform: translate(25%, -25%);
    opacity: 0.05;
    transition: opacity var(--transition-base);
}

.stat-card:hover::after {
    opacity: 0.1;
}

.stat-card-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.stat-card-value {
    font-family: 'Geist', 'Inter', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.03em;
    line-height: 1;
    margin-bottom: 4px;
}

.stat-card-label {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
}

.stat-card-change {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 600;
    margin-top: 8px;
}

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    font-family: 'Geist', 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.01em;
    cursor: pointer;
    transition: all var(--transition-base);
    border: none;
    white-space: nowrap;
    text-decoration: none;
    line-height: 1;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #FFFFFF;
    box-shadow: 0 2px 8px rgba(255, 140, 0, 0.15);
}

.btn-primary:hover {
    box-shadow: 0 4px 20px var(--primary-glow);
    transform: translateY(-1px);
    color: #FFFFFF;
}

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

.btn-secondary {
    background: var(--bg-surface);
    color: var(--text-primary);
    border: 1px solid var(--border-default);
}

.btn-secondary:hover {
    background: var(--bg-surface-hover);
    border-color: var(--border-active);
    color: var(--text-primary);
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid transparent;
}

.btn-ghost:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.04);
}

.btn-danger {
    background: rgba(239, 68, 68, 0.1);
    color: var(--error);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.btn-danger:hover {
    background: rgba(239, 68, 68, 0.2);
    color: #f87171;
}

.btn-sm {
    padding: 6px 14px;
    font-size: 12px;
    border-radius: 6px;
}

.btn-lg {
    padding: 12px 28px;
    font-size: 14px;
}

.btn svg {
    width: 16px;
    height: 16px;
}

/* ── Forms ── */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-family: 'Geist', 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 8px;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 10px 14px;
    background: #0D0F0F;
    border: 1px solid var(--border-default);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    transition: all var(--transition-base);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 140, 0, 0.1), 0 0 16px rgba(255, 140, 0, 0.06);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--text-muted);
}

.form-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23888888' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

.form-error {
    font-size: 12px;
    color: var(--error);
    margin-top: 4px;
}

.form-hint {
    font-size: 12px;
    color: var(--text-tertiary);
    margin-top: 4px;
}

/* ── Tables ── */
.table-container {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.table-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.table-header-title {
    font-family: 'Geist', 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

.table-scroll {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
}

table th {
    font-family: 'Geist', 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-tertiary);
    text-align: left;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.01);
    border-bottom: 1px solid var(--border-subtle);
    white-space: nowrap;
}

table td {
    padding: 14px 24px;
    font-size: 14px;
    color: var(--text-primary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
    white-space: nowrap;
}

table tbody tr {
    transition: background var(--transition-fast);
}

table tbody tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

table tbody tr:last-child td {
    border-bottom: none;
}

/* ── Badges ── */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 500;
    line-height: 1;
    white-space: nowrap;
}

.badge-success { background: var(--success-bg); color: var(--success); }
.badge-warning { background: var(--warning-bg); color: var(--warning); }
.badge-error   { background: var(--error-bg); color: var(--error); }
.badge-info    { background: var(--info-bg); color: var(--info); }
.badge-neutral { background: rgba(156,163,175,0.12); color: #9ca3af; }

/* ── Alerts ── */
.alert {
    padding: 14px 18px;
    border-radius: var(--radius-md);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    animation: slideDown 0.3s ease;
}

.alert-success {
    background: var(--success-bg);
    border: 1px solid rgba(34,197,94,0.2);
    color: #86efac;
}
.alert-error {
    background: var(--error-bg);
    border: 1px solid rgba(239,68,68,0.2);
    color: #fca5a5;
}
.alert-warning {
    background: var(--warning-bg);
    border: 1px solid rgba(245,158,11,0.2);
    color: #fcd34d;
}
.alert-info {
    background: var(--info-bg);
    border: 1px solid rgba(59,130,246,0.2);
    color: #93c5fd;
}

/* ── Pagination ── */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 16px 0;
}

.pagination-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    background: transparent;
    border: 1px solid var(--border-subtle);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.pagination-link:hover {
    color: var(--text-primary);
    border-color: var(--border-default);
    background: rgba(255,255,255,0.03);
}

.pagination-link.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #FFF;
    font-weight: 600;
}

/* ── Modal ── */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.2s ease;
}

.modal-content {
    background: var(--bg-surface);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-xl);
    padding: 24px;
    max-width: 500px;
    width: 90%;
    box-shadow: var(--shadow-lg);
    animation: scaleIn 0.2s ease;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.modal-title {
    font-family: 'Geist', 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 600;
}

.modal-close {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-subtle);
    background: transparent;
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.modal-close:hover {
    color: var(--text-primary);
    background: rgba(255,255,255,0.04);
}

/* ── Animations ── */
@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

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

@keyframes slideUp {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.95); }
    to   { opacity: 1; transform: scale(1); }
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 8px var(--primary-glow-soft); }
    50%      { box-shadow: 0 0 20px var(--primary-glow); }
}

/* ── Utilities ── */
.text-muted  { color: var(--text-secondary); }
.text-primary-clr { color: var(--primary); }
.text-success { color: var(--success); }
.text-error   { color: var(--error); }
.text-warning { color: var(--warning); }

.bg-surface  { background: var(--bg-surface); }
.bg-base     { background: var(--bg-base); }

.border-subtle { border-color: var(--border-subtle); }

.truncate {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fade-in {
    animation: fadeIn 0.4s ease;
}

.slide-up {
    animation: slideUp 0.4s ease;
}

/* ── Responsive: Tablet ── */
@media (max-width: 1024px) {
    .sidebar {
        transform: translateX(-100%);
        z-index: 200;
    }
    .sidebar.open {
        transform: translateX(0);
        box-shadow: 4px 0 40px rgba(0,0,0,0.6);
    }
    .main-content {
        margin-left: 0;
    }
    .header {
        left: 0;
        padding: 0 16px;
    }
    .header-breadcrumb {
        font-size: 12px;
    }
}

/* ── Responsive: Mobile ── */
@media (max-width: 767px) {
    :root {
        --header-height: 56px;
        --sidebar-width: 260px;
    }

    /* Layout */
    .main-content-inner {
        padding: 12px;
    }

    /* Header */
    .header {
        padding: 0 12px;
    }
    .header-breadcrumb {
        font-size: 11px;
        gap: 4px;
    }
    .header-breadcrumb a, .header-breadcrumb i {
        display: none;
    }
    .header-breadcrumb span {
        font-size: 13px;
    }
    .header-btn {
        width: 36px;
        height: 36px;
    }

    /* Page titles */
    .main-content-inner h1 {
        font-size: 20px !important;
    }

    /* Cards */
    .card {
        padding: 16px;
        border-radius: 12px;
    }

    /* Stat cards */
    .stat-card {
        padding: 14px;
        border-radius: 12px;
    }
    .stat-card-icon {
        width: 34px;
        height: 34px;
        margin-bottom: 10px;
    }
    .stat-card-icon svg {
        width: 18px;
        height: 18px;
    }
    .stat-card-value {
        font-size: 20px;
    }
    .stat-card-label {
        font-size: 12px;
    }

    /* Grid layout -> stack */
    .main-content-inner > div[style*="display: grid"],
    .main-content-inner > div[style*="display:grid"] {
        grid-template-columns: 1fr !important;
    }

    /* Two-column cards */
    div[style*="grid-template-columns: 2fr 1fr"],
    div[style*="grid-template-columns:2fr 1fr"],
    div[style*="grid-template-columns: 1fr 2fr"],
    div[style*="grid-template-columns:1fr 2fr"] {
        grid-template-columns: 1fr !important;
    }

    /* Side-by-side columns in cards */
    div[style*="grid-template-columns: 1fr 1fr"],
    div[style*="grid-template-columns:1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }

    /* Tables */
    table th,
    table td {
        padding: 8px 10px;
        font-size: 12px;
    }

    .table-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 14px 16px;
    }

    .table-header-title {
        font-size: 14px;
    }

    /* Forms */
    .form-input,
    .form-select,
    .form-textarea {
        font-size: 13px;
        padding: 9px 12px;
    }

    .form-group {
        margin-bottom: 14px;
    }

    /* Buttons */
    .btn {
        padding: 8px 16px;
        font-size: 12px;
        gap: 6px;
    }
    .btn svg {
        width: 14px;
        height: 14px;
    }
    .btn-lg {
        padding: 10px 20px;
        font-size: 13px;
    }

    /* Pagination */
    .pagination-link {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }

    /* Alerts */
    .alert {
        font-size: 13px;
        padding: 10px 14px;
        gap: 8px;
    }

    /* Modal */
    .modal-content {
        padding: 18px;
        width: 95%;
    }

    /* Hide some columns on mobile tables */
    .table-scroll table th:nth-child(3),
    .table-scroll table td:nth-child(3) {
        /* Keep service column, hide others progressively */
    }

    /* Badges */
    .badge {
        font-size: 10px;
        padding: 3px 8px;
    }

    /* Charts containers */
    div[style*="height: 300px"],
    div[style*="height:300px"],
    div[style*="height: 320px"],
    div[style*="height:320px"] {
        height: 240px !important;
    }

    /* Step indicator */
    .step-dot {
        width: 28px;
        height: 28px;
        font-size: 11px;
    }
    .step-line {
        margin: 13px 2px;
    }

    /* Ship parcels form */
    .card[style*="display: flex"][style*="align-items: center"] {
        flex-direction: column !important;
        align-items: flex-start !important;
    }
}
