/* PanaFlex Pro ERP — Premium Stylesheet v2.0 */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    --bg-light: #f5f5f7;
    --bg-dark: #000000;
    --card-light: rgba(255,255,255,0.75);
    --card-dark: rgba(28,28,30,0.65);
    --border-light: rgba(0,0,0,0.07);
    --border-dark: rgba(255,255,255,0.07);
    --text-light: #1d1d1f;
    --text-dark: #f5f5f7;
    --text-secondary-light: #86868b;
    --text-secondary-dark: #a1a1a6;
    --accent: #0071e3;
    --success: #34c759;
    --warning: #ff9500;
    --danger: #ff3b30;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.07), 0 2px 6px rgba(0,0,0,0.04);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.1), 0 4px 12px rgba(0,0,0,0.06);
    --radius: 16px;
    --radius-sm: 10px;
    --radius-lg: 24px;
}

/* ===========================
   BASE RESET & BODY
=========================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: background-color 0.3s ease, color 0.3s ease;
    overflow-x: hidden;
    min-height: 100vh;
}

body:not(.dark) {
    background: var(--bg-light);
    color: var(--text-light);
    background-image:
        radial-gradient(ellipse at 10% 20%, rgba(0,113,227,0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 90% 80%, rgba(134,65,245,0.05) 0%, transparent 50%);
}

body.dark {
    background: var(--bg-dark);
    color: var(--text-dark);
    background-image:
        radial-gradient(ellipse at 10% 20%, rgba(59,130,246,0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 90% 80%, rgba(168,85,247,0.08) 0%, transparent 50%);
}

/* ===========================
   GLASSMORPHISM
=========================== */
.glass {
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
}
body:not(.dark) .glass {
    background: var(--card-light);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-md);
}
body.dark .glass {
    background: var(--card-dark);
    border: 1px solid var(--border-dark);
    box-shadow: 0 4px 30px rgba(0,0,0,0.4);
}
.glass:hover {
    box-shadow: var(--shadow-lg);
}

/* ===========================
   INPUTS
=========================== */
.glass-input {
    outline: none;
    transition: all 0.2s cubic-bezier(0.16,1,0.3,1);
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
}
body:not(.dark) .glass-input {
    background: rgba(0,0,0,0.025);
    border: 1.5px solid rgba(0,0,0,0.1);
    color: var(--text-light);
}
body.dark .glass-input {
    background: rgba(255,255,255,0.04);
    border: 1.5px solid rgba(255,255,255,0.1);
    color: var(--text-dark);
}
body:not(.dark) .glass-input:focus {
    background: #ffffff;
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(0,113,227,0.12);
}
body.dark .glass-input:focus {
    background: #1c1c1e;
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(0,113,227,0.25);
}
.glass-input::placeholder { color: rgba(134,134,139,0.6); }

select.glass-input option {
    background: #ffffff;
    color: #1d1d1f;
}
body.dark select.glass-input option {
    background: #1c1c1e;
    color: #f5f5f7;
}

/* ===========================
   SCROLLBAR
=========================== */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.12); border-radius: 99px; }
body.dark ::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.12); }
::-webkit-scrollbar-thumb:hover { background: rgba(0,0,0,0.25); }
body.dark ::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.25); }

/* ===========================
   ANIMATIONS
=========================== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@keyframes slideInRight {
    from { opacity: 0; transform: translateX(16px); }
    to   { opacity: 1; transform: translateX(0); }
}
@keyframes pulse-slow {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.45; }
}
@keyframes skeleton-loading {
    0%   { background-position: 100% 50%; }
    100% { background-position:   0 50%; }
}
@keyframes spin-slow {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}
@keyframes counter-in {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes float {
    0%,100% { transform: translateY(0); }
    50%      { transform: translateY(-8px); }
}

.animate-fade-in   { animation: fadeInUp  0.4s cubic-bezier(0.16,1,0.3,1) forwards; }
.animate-fade      { animation: fadeIn    0.3s ease forwards; }
.animate-slide-right { animation: slideInRight 0.35s cubic-bezier(0.16,1,0.3,1) forwards; }
.animate-pulse-slow  { animation: pulse-slow 2s cubic-bezier(0.4,0,0.6,1) infinite; }
.animate-spin-slow   { animation: spin-slow 8s linear infinite; }
.animate-float       { animation: float 3s ease-in-out infinite; }

/* Staggered card delays */
.stagger-1 { animation-delay: 0.05s; }
.stagger-2 { animation-delay: 0.10s; }
.stagger-3 { animation-delay: 0.15s; }
.stagger-4 { animation-delay: 0.20s; }
.stagger-5 { animation-delay: 0.25s; }
.stagger-6 { animation-delay: 0.30s; }
.stagger-7 { animation-delay: 0.35s; }
.stagger-8 { animation-delay: 0.40s; }

/* ===========================
   SKELETON LOADER
=========================== */
.skeleton {
    background: linear-gradient(90deg, rgba(0,0,0,0.06) 25%, rgba(0,0,0,0.1) 37%, rgba(0,0,0,0.06) 63%);
    background-size: 400% 100%;
    animation: skeleton-loading 1.4s ease infinite;
    border-radius: 8px;
}
body.dark .skeleton {
    background: linear-gradient(90deg, rgba(255,255,255,0.05) 25%, rgba(255,255,255,0.1) 37%, rgba(255,255,255,0.05) 63%);
    background-size: 400% 100%;
    animation: skeleton-loading 1.4s ease infinite;
}

/* ===========================
   SIDEBAR NAVIGATION
=========================== */
.sidebar-link {
    transition: all 0.2s cubic-bezier(0.16,1,0.3,1);
    position: relative;
}
.sidebar-link:hover {
    transform: translateX(2px);
}
body:not(.dark) .sidebar-link-active {
    background: rgba(0,113,227,0.1) !important;
    color: #0071e3 !important;
    font-weight: 600;
}
body.dark .sidebar-link-active {
    background: rgba(59,130,246,0.18) !important;
    color: #60a5fa !important;
    font-weight: 600;
}
.sidebar-link-active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 60%;
    background: var(--accent);
    border-radius: 0 4px 4px 0;
}

/* ===========================
   STAT CARDS
=========================== */
.stat-card {
    transition: transform 0.2s cubic-bezier(0.16,1,0.3,1), box-shadow 0.2s ease;
}
.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ===========================
   BADGES & STATUS
=========================== */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.01em;
    white-space: nowrap;
}
.badge-pending     { background: rgba(255,149,0,0.12);  color: #e07800; }
.badge-designing   { background: rgba(134,65,245,0.12); color: #7c3aed; }
.badge-approved    { background: rgba(0,113,227,0.12);  color: #0071e3; }
.badge-printing    { background: rgba(6,182,212,0.12);  color: #0891b2; }
.badge-lamination  { background: rgba(16,185,129,0.1);  color: #059669; }
.badge-cutting     { background: rgba(245,158,11,0.12); color: #d97706; }
.badge-finishing   { background: rgba(99,102,241,0.12); color: #6366f1; }
.badge-packing     { background: rgba(20,184,166,0.12); color: #0d9488; }
.badge-ready       { background: rgba(52,199,89,0.12);  color: #16a34a; }
.badge-delivered   { background: rgba(52,199,89,0.2);   color: #15803d; font-weight: 700; }
.badge-cancelled   { background: rgba(255,59,48,0.1);   color: #dc2626; }
.badge-urgent      { background: rgba(255,59,48,0.1);   color: #dc2626; }
.badge-normal      { background: rgba(0,0,0,0.06);      color: #6b7280; }
.badge-paid        { background: rgba(52,199,89,0.12);  color: #16a34a; }
.badge-partial     { background: rgba(255,149,0,0.12);  color: #d97706; }
.badge-overdue     { background: rgba(255,59,48,0.12);  color: #dc2626; }

/* Customer category badges */
.badge-regular     { background: rgba(0,0,0,0.07);      color: #374151; }
.badge-vip         { background: linear-gradient(135deg, #fbbf24, #f59e0b); color: #fff; }
.badge-corporate   { background: linear-gradient(135deg, #3b82f6, #1d4ed8); color: #fff; }
.badge-government  { background: linear-gradient(135deg, #34c759, #16a34a); color: #fff; }
.badge-inactive    { background: rgba(107,114,128,0.15); color: #6b7280; }

/* ===========================
   TABLES
=========================== */
.erp-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}
.erp-table thead th {
    padding: 10px 14px;
    text-align: left;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
}
body:not(.dark) .erp-table thead { background: rgba(0,0,0,0.03); }
body:not(.dark) .erp-table thead th { color: #6b7280; border-bottom: 1px solid rgba(0,0,0,0.06); }
body.dark .erp-table thead { background: rgba(255,255,255,0.03); }
body.dark .erp-table thead th { color: #9ca3af; border-bottom: 1px solid rgba(255,255,255,0.06); }

.erp-table tbody tr {
    transition: background 0.15s;
    cursor: default;
}
body:not(.dark) .erp-table tbody tr:hover { background: rgba(0,0,0,0.02); }
body.dark .erp-table tbody tr:hover { background: rgba(255,255,255,0.03); }

.erp-table tbody td {
    padding: 12px 14px;
    vertical-align: middle;
}
body:not(.dark) .erp-table tbody td { border-bottom: 1px solid rgba(0,0,0,0.04); color: #374151; }
body.dark .erp-table tbody td { border-bottom: 1px solid rgba(255,255,255,0.04); color: #d1d5db; }

/* ===========================
   KANBAN BOARD
=========================== */
.kanban-board {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 16px;
    min-height: calc(100vh - 180px);
    align-items: flex-start;
}
.kanban-column {
    flex: 0 0 260px;
    min-width: 260px;
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 200px);
}
body:not(.dark) .kanban-column {
    background: rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.06);
}
body.dark .kanban-column {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
}
.kanban-header {
    padding: 12px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    position: sticky;
    top: 0;
    z-index: 1;
    border-radius: var(--radius) var(--radius) 0 0;
    backdrop-filter: blur(12px);
}
body.dark .kanban-header { border-bottom-color: rgba(255,255,255,0.06); }

.kanban-cards {
    flex: 1;
    overflow-y: auto;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-height: 80px;
}
.kanban-card {
    border-radius: var(--radius-sm);
    padding: 12px;
    cursor: grab;
    transition: all 0.2s cubic-bezier(0.16,1,0.3,1);
    position: relative;
    user-select: none;
}
body:not(.dark) .kanban-card { background: #ffffff; border: 1px solid rgba(0,0,0,0.07); box-shadow: var(--shadow-sm); }
body.dark .kanban-card { background: rgba(44,44,46,0.9); border: 1px solid rgba(255,255,255,0.08); }
.kanban-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.kanban-card.dragging {
    opacity: 0.5;
    cursor: grabbing;
    transform: rotate(2deg) scale(1.02);
    box-shadow: var(--shadow-lg);
}
.kanban-card.drag-over {
    border: 2px dashed var(--accent);
    background: rgba(0,113,227,0.04);
}
.kanban-column.drag-over-col {
    background: rgba(0,113,227,0.05);
    border-color: rgba(0,113,227,0.3);
}

/* ===========================
   MODALS
=========================== */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}
.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}
.modal-overlay .modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(6px);
}
.modal-box {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 540px;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: var(--radius-lg);
    transform: scale(0.95) translateY(10px);
    transition: transform 0.3s cubic-bezier(0.16,1,0.3,1);
}
.modal-overlay.active .modal-box {
    transform: scale(1) translateY(0);
}
body:not(.dark) .modal-box { background: #ffffff; box-shadow: 0 24px 80px rgba(0,0,0,0.18); border: 1px solid rgba(0,0,0,0.08); }
body.dark .modal-box { background: #1c1c1e; box-shadow: 0 24px 80px rgba(0,0,0,0.6); border: 1px solid rgba(255,255,255,0.08); }

/* ===========================
   PRODUCTION TIMELINE
=========================== */
.timeline-item {
    display: flex;
    gap: 14px;
    position: relative;
}
.timeline-item:not(:last-child)::before {
    content: '';
    position: absolute;
    left: 19px;
    top: 36px;
    bottom: -8px;
    width: 2px;
    background: rgba(0,0,0,0.08);
}
body.dark .timeline-item:not(:last-child)::before { background: rgba(255,255,255,0.08); }
.timeline-item.done:not(:last-child)::before { background: var(--success); opacity: 0.4; }
.timeline-dot {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    margin-top: 2px;
}
.timeline-dot.done { background: rgba(52,199,89,0.15); color: var(--success); }
.timeline-dot.active { background: rgba(0,113,227,0.15); color: var(--accent); animation: pulse-slow 2s infinite; }
.timeline-dot.pending { background: rgba(0,0,0,0.05); color: #9ca3af; }
body.dark .timeline-dot.pending { background: rgba(255,255,255,0.06); }

/* ===========================
   PROGRESS BARS
=========================== */
.progress-bar {
    width: 100%;
    height: 6px;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(0,0,0,0.06);
}
body.dark .progress-bar { background: rgba(255,255,255,0.08); }
.progress-fill {
    height: 100%;
    border-radius: 999px;
    transition: width 0.8s cubic-bezier(0.16,1,0.3,1);
    background: linear-gradient(90deg, var(--accent), #00b4ff);
}

/* ===========================
   BUTTONS
=========================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 18px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.18s cubic-bezier(0.16,1,0.3,1);
    border: none;
    text-decoration: none;
    white-space: nowrap;
    -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 4px 14px rgba(0,113,227,0.3); }
.btn-primary:hover { background: #0077ed; box-shadow: 0 6px 20px rgba(0,113,227,0.4); }
.btn-success { background: var(--success); color: #fff; box-shadow: 0 4px 14px rgba(52,199,89,0.25); }
.btn-danger  { background: var(--danger);  color: #fff; box-shadow: 0 4px 14px rgba(255,59,48,0.25); }
.btn-ghost {
    background: transparent;
    color: inherit;
}
body:not(.dark) .btn-ghost { border: 1.5px solid rgba(0,0,0,0.12); }
body:not(.dark) .btn-ghost:hover { background: rgba(0,0,0,0.04); }
body.dark .btn-ghost { border: 1.5px solid rgba(255,255,255,0.12); }
body.dark .btn-ghost:hover { background: rgba(255,255,255,0.06); }
.btn-sm { padding: 5px 12px; font-size: 12px; }

/* ===========================
   SEARCH DROPDOWN
=========================== */
#global-search-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    z-index: 100;
    border-radius: var(--radius);
    overflow: hidden;
    max-height: 320px;
    overflow-y: auto;
}
body:not(.dark) #global-search-dropdown {
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.1);
    box-shadow: 0 16px 48px rgba(0,0,0,0.15);
}
body.dark #global-search-dropdown {
    background: #1c1c1e;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 16px 48px rgba(0,0,0,0.5);
}
.search-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    font-size: 13px;
    cursor: pointer;
    transition: background 0.15s;
    text-decoration: none;
    color: inherit;
}
body:not(.dark) .search-item:hover { background: rgba(0,0,0,0.04); }
body.dark .search-item:hover { background: rgba(255,255,255,0.06); }

/* ===========================
   TOAST NOTIFICATIONS
=========================== */
.toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 8px;
    pointer-events: none;
}
.app-toast {
    pointer-events: all;
    min-width: 280px;
    max-width: 380px;
    border-radius: var(--radius);
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
    transform: translateX(110%);
    opacity: 0;
    transition: all 0.35s cubic-bezier(0.16,1,0.3,1);
    font-size: 13px;
    font-weight: 500;
}
.app-toast.show { transform: translateX(0); opacity: 1; }
.app-toast.hide { transform: translateX(110%); opacity: 0; }

/* ===========================
   STATS COUNTER ANIMATION
=========================== */
.stat-number { font-variant-numeric: tabular-nums; }

/* ===========================
   AMBIENT GRADIENTS
=========================== */
.bg-ambient-blue {
    background: radial-gradient(circle at 10% 20%, rgba(0,113,227,0.07) 0%, transparent 45%);
}
.bg-ambient-purple {
    background: radial-gradient(circle at 90% 80%, rgba(134,65,245,0.06) 0%, transparent 45%);
}
body.dark .bg-ambient-blue {
    background: radial-gradient(circle at 10% 20%, rgba(59,130,246,0.14) 0%, transparent 50%);
}
body.dark .bg-ambient-purple {
    background: radial-gradient(circle at 90% 80%, rgba(168,85,247,0.10) 0%, transparent 50%);
}

/* ===========================
   PRINT INVOICE
=========================== */
@media print {
    * { -webkit-print-color-adjust: exact !important; print-color-adjust: exact !important; }
    body { background: #ffffff !important; color: #000000 !important; }
    .no-print { display: none !important; }
    .sidebar-wrapper, aside, header, .mobile-nav { display: none !important; }
    .print-area { display: block !important; }
    .invoice-print-wrapper {
        width: 100%;
        max-width: 800px;
        margin: 0 auto;
        padding: 32px;
        font-size: 12px;
    }
    .invoice-print-wrapper h1 { font-size: 22px; }
    .invoice-logo { max-height: 56px; }
    .page-break { page-break-after: always; }
}
.print-area { display: none; }

/* ===========================
   STOCK LEVEL INDICATORS
=========================== */
.stock-ok      { color: var(--success); }
.stock-low     { color: var(--warning); }
.stock-critical{ color: var(--danger); animation: pulse-slow 2s infinite; }

/* ===========================
   RATING STARS
=========================== */
.star-rating { display: inline-flex; gap: 2px; }
.star-filled  { color: #fbbf24; }
.star-empty   { color: #d1d5db; }

/* ===========================
   CALENDAR/DATE PICKER
=========================== */
input[type='date'].glass-input::-webkit-calendar-picker-indicator {
    filter: opacity(0.5);
    cursor: pointer;
}
body.dark input[type='date'].glass-input::-webkit-calendar-picker-indicator {
    filter: invert(1) opacity(0.5);
}

/* ===========================
   LOADING OVERLAY
=========================== */
.page-loader {
    position: fixed;
    inset: 0;
    z-index: 9998;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(8px);
}
body.dark .page-loader { background: rgba(0,0,0,0.85); }
.loader-ring {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 3px solid rgba(0,113,227,0.2);
    border-top-color: var(--accent);
    animation: spin-slow 0.7s linear infinite;
}

/* ===========================
   CHART CONTAINERS
=========================== */
.apex-chart-container { min-height: 0; }

/* ===========================
   QUICK ACTION BUTTONS
=========================== */
.quick-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 12px;
    border-radius: var(--radius);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16,1,0.3,1);
    text-decoration: none;
    text-align: center;
    border: none;
}
.quick-action:hover { transform: translateY(-3px); }
body:not(.dark) .quick-action { background: rgba(0,0,0,0.03); color: #374151; border: 1px solid rgba(0,0,0,0.06); }
body.dark .quick-action { background: rgba(255,255,255,0.04); color: #d1d5db; border: 1px solid rgba(255,255,255,0.06); }
.quick-action .icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Responsive utility */
@media (max-width: 768px) {
    .kanban-board { gap: 8px; }
    .kanban-column { flex: 0 0 220px; min-width: 220px; }
    .modal-box { max-width: 100%; }
}
