* { 
    box-sizing: border-box; 
    margin: 0;
    padding: 0; 
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; 
}

body { 
    background: #0b1120; 
    color: #f8fafc; 
    height: 100vh; 
    overflow: hidden; 
}

.app-container { 
    display: flex; 
    height: 100vh; 
}

.sidebar {
    width: 240px;
    background: #0f172a;
    border-right: 1px solid #1e293b;
    display: flex;
    flex-direction: column;
}
.sidebar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 20px 18px;
    border-bottom: 1px solid #1e293b;
}
.sidebar-brand h2 { 
    font-size: 1.15rem; 
    color: #38bdf8; 
    font-weight: 700; 
}
.brand-icon { 
    font-size: 1.4rem; 
}

.sidebar-menu { 
    display: flex; 
    flex-direction: column; 
    gap: 4px; 
    padding: 14px 10px; 
    flex: 1; 
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: transparent;
    color: #94a3b8;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.92rem;
    font-weight: 500;
    text-align: left;
    transition: all 0.15s ease-in-out;
}
.nav-item:hover { 
    background: #1e293b; 
    color: #f8fafc; 
}

.nav-item.active { 
    background: #0284c7; 
    color: #ffffff; 
    font-weight: 600; 
}

.nav-item .icon { 
    font-size: 1.1rem; 
}

.sidebar-footer { 
    padding: 16px; 
    border-top: 1px solid #1e293b; 
    text-align: center; 
}

.system-time { 
    font-family: monospace; 
    font-size: 1rem; 
    color: #38bdf8; 
}

.version-tag { 
    display: block; 
    font-size: 0.72rem; 
    color: #64748b; 
    margin-top: 4px; 
}

.content-area { 
    flex: 1; 
    padding: 16px 20px; 
    overflow-y: auto; 
    position: relative; 
}

.app-view { 
    display: none; 
    height: 100%; 
    flex-direction: column; 
}

.app-view.active { 
    display: flex; 
}

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

.refresh-btn { 
    background: #1e293b; 
    border: 1px solid #334155; 
    color: #cbd5e1; 
    padding: 6px 14px; 
    border-radius: 4px; 
    cursor: pointer; 
}

.refresh-btn:hover { 
    background: #334155; 
    color: #fff; 
}

.kpi-grid { 
    display: grid; 
    grid-template-columns: repeat(4, 1fr); 
    gap: 14px; 
    margin-bottom: 16px; 
}

.kpi-card { 
    background: #1e293b; 
    padding: 16px; 
    border-radius: 8px; 
    border: 1px solid #334155; 
}

.kpi-label { 
    font-size: 0.8rem; 
    color: #94a3b8; 
    text-transform: uppercase; 
    font-weight: 600; 
}

.kpi-value { 
    display: block; 
    font-size: 1.5rem; 
    color: #38bdf8; 
    margin-top: 6px; 
}

.dashboard-split { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 14px; 
    flex: 1; 
    min-height: 0; 
}

.card { 
    background: #1e293b; 
    border-radius: 8px; 
    border: 1px solid #334155; 
    display: flex; 
    flex-direction: column; 
    overflow: hidden; 
}

.card-header { 
    padding: 12px 16px; 
    border-bottom: 1px solid #334155; 
}

.card-header h3 { 
    font-size: 0.95rem; 
}

.alert-header { 
    border-left: 4px solid #f59e0b; 
}

.danger-header { 
    border-left: 4px solid #ef4444; 
}

.data-table { 
    width: 100%; 
    border-collapse: collapse; 
    text-align: left; 
    font-size: 0.88rem; 
}

.data-table th, 
.data-table td { 
    padding: 9px 12px; 
    border-bottom: 1px solid #334155; 
}

.data-table th { 
    background: #162032; 
    color: #94a3b8; 
    position: sticky; 
    top: 0; 
}

.placeholder-cell { 
    text-align: center; 
    color: #64748b; 
    padding: 24px; 
}

.tag-danger { 
    background: #ef4444; 
    color: #fff; 
    padding: 2px 6px; 
    border-radius: 4px; 
    font-weight: bold; 
    font-size: 0.75rem; 
}

.tag-warning { 
    background: #f59e0b; 
    color: #000; 
    padding: 2px 6px; 
    border-radius: 4px; 
    font-weight: bold; 
    font-size: 0.75rem; 
}

.pos-layout { 
    display: flex; 
    flex: 1; 
    gap: 14px; 
    height: 100%; 
}

.left-panel { 
    flex: 6; 
    display: flex; 
    flex-direction: column; 
    gap: 10px; 
}

.right-panel { 
    flex: 4; 
    display: flex; 
    flex-direction: column; 
    background: #1e293b; 
    border-radius: 8px; 
    padding: 14px; 
    border: 1px solid #334155; 
}

.input-card input { 
    width: 100%; 
    padding: 12px 16px; 
    font-size: 1rem; 
    background: #0f172a; 
    border: 2px solid #38bdf8; 
    color: #fff; 
    border-radius: 6px; 
    outline: none; 
}

.customer-inputs { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 8px; 
    margin-bottom: 10px; 
}

.customer-inputs input:last-child { 
    grid-column: span 2; 
}

.customer-inputs input { 
    padding: 8px 10px; 
    background: #0f172a; 
    border: 1px solid #475569; 
    color: #fff; 
    border-radius: 4px; 
    font-size: 0.9rem; 
}

.results-table-container,
.cart-table-container { 
    flex: 1; 
    overflow-y: auto; 
    background: #1e293b; 
    border-radius: 6px; 
    border: 1px solid #334155; 
}

.checkout-footer { 
    margin-top: auto; 
    padding-top: 10px; 
    border-top: 1px solid #334155; 
}

.calc-row { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    margin-bottom: 6px; 
    font-size: 0.95rem; 
}

.calc-row input { 
    width: 80px; 
    padding: 4px 6px; 
    background: #0f172a; 
    border: 1px solid #475569; 
    color: #fff; 
    border-radius: 4px; 
    text-align: right; 
}

.grand-total-box { 
    display: flex; 
    justify-content: space-between; 
    font-size: 1.3rem; 
    margin: 8px 0; 
    color: #38bdf8; 
}

.pay-btn { 
    width: 100%; 
    padding: 12px; 
    font-size: 1rem; 
    font-weight: bold; 
    background: #38bdf8; 
    color: #0f172a; 
    border: none; 
    border-radius: 6px; 
    cursor: pointer; 
}

.pay-btn:hover { 
    background: #7dd3fc; 
}

.badge-fefo { 
    background: #0284c7; 
    color: #fff; 
    padding: 2px 6px; 
    border-radius: 4px; 
    font-size: 0.75rem; 
}

.badge-rx { 
    background: #dc2626; 
    color: #fff; 
    padding: 1px 4px; 
    border-radius: 3px; 
    font-size: 0.7rem; 
    font-weight: bold; 
    margin-left: 4px; 
}

.tag-restricted { 
    background: #b91c1c; 
    padding: 2px 8px; 
    font-size: 0.75rem; 
    border-radius: 4px; 
    font-weight: bold; 
    color: #fff; 
}

.add-btn { 
    background: #10b981; 
    color: white; 
    border: none; 
    padding: 6px 12px; 
    border-radius: 4px; 
    cursor: pointer; 
    font-weight: 600; 
}

.remove-btn { 
    background: #ef4444; 
    color: white; 
    border: none; 
    padding: 2px 8px; 
    border-radius: 4px; 
    cursor: pointer; 
}

.inventory-form-container { 
    padding: 20px; 
    max-width: 800px; 
}

.form-grid { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 14px; 
    margin-top: 14px; 
}

.form-grid label { 
    display: block; 
    font-size: 0.8rem; 
    color: #94a3b8; 
    margin-bottom: 4px; 
}

.form-grid input { 
    width: 100%; 
    padding: 9px; 
    background: #0f172a; 
    border: 1px solid #475569; 
    color: #fff; 
    border-radius: 4px; 
}

.form-check-group { 
    display: flex; 
    align-items: center; 
    gap: 8px; 
    grid-column: span 2; 
    margin-top: 6px; 
}

.form-check-group input[type="checkbox"] { 
    width: auto; 
}

.rx-label { 
    color: #f87171 !important; 
    font-weight: 500; 
}

.form-actions { 
    margin-top: 18px; 
    text-align: right; 
}

.history-filter-bar { 
    display: flex; 
    gap: 8px; 
    margin-bottom: 12px; 
}

.history-filter-bar input { 
    background: #1e293b; 
    border: 1px solid #475569; 
    color: #fff; 
    padding: 6px 10px; 
    border-radius: 4px; 
}

.history-filter-bar input[type="text"] { 
    flex: 2; 
}

.history-grid-view { 
    display: flex; 
    gap: 14px; 
    flex: 1; 
    min-height: 0; 
}

.history-table-wrapper { 
    flex: 6; 
    overflow-y: auto; 
}

.history-details-pane { 
    flex: 4; 
    overflow-y: auto; 
    padding: 14px; 
}

.hist-view-btn { 
    background: #0284c7; 
    color: #fff; 
    border: none; 
    padding: 3px 8px; 
    border-radius: 3px; 
    cursor: pointer; 
}

.thermal-print-area { 
    display: none; 
}

@media print {
    body > * { 
        display: none !important; 
    }

    .thermal-print-area { 
        display: block !important; 
        position: absolute; 
        left: 0; 
        top: 0; 
        width: 72mm; 
        font-family: monospace; 
        font-size: 11px; 
        color: #000; 
        background: #fff;
    }
    .thermal-header, 
    .thermal-footer { 
        text-align: center; 
        margin-bottom: 6px; 
    }

    .thermal-table { 
        width: 100%; 
        border-collapse: collapse; 
        margin: 6px 0; 
    }

    .thermal-table th, 
    .thermal-table td { 
        text-align: left; 
        padding: 2px 0; 
    }

    .thermal-table .num { 
        text-align: right; 
    }

    .thermal-divider { 
        border-bottom: 1px dashed #000; 
        margin: 4px 0; 
    }
}

.sub-tab-group { 
    display: flex; 
    gap: 8px; 
}

.sub-tab {
    background: #1e293b;
    border: 1px solid #334155;
    color: #94a3b8;
    padding: 6px 14px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.85rem;
}
.sub-tab.active { 
    background: #0284c7; 
    color: #fff; 
    border-color: #0284c7; f
    ont-weight: 600; 
}

.inv-split-container { 
    display: flex; 
    gap: 14px; 
    flex: 1; 
    min-height: 0; 
}

.inv-list-pane { 
    flex: 5; 
    overflow-y: auto; 
}

.inv-editor-pane { 
    flex: 5; 
    overflow-y: auto; 
    padding: 16px; 
    background: #0f172a; 
}

.editor-section { 
    margin-bottom: 20px; 
    border-bottom: 1px solid #334155; 
    padding-bottom: 16px; 
}

.editor-section h4 { 
    font-size: 0.95rem; 
    margin-bottom: 10px; 
    color: #38bdf8; 
}

.batch-edit-card {
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 6px;
    padding: 10px 12px;
    margin-bottom: 10px;
}
.batch-edit-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 8px;
}
.batch-edit-grid label { 
    font-size: 0.75rem; 
    color: #94a3b8; 
    display: block; 
    margin-bottom: 2px; 
}

.batch-edit-grid input {
    width: 100%;
    padding: 5px 8px;
    background: #0f172a;
    border: 1px solid #475569;
    color: #fff;
    border-radius: 4px;
    font-size: 0.85rem;
}
.batch-action-row {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 8px;
}
.btn-save-sm { 
    background: #10b981; 
    color: #fff; 
    border: none; 
    padding: 4px 10px; 
    border-radius: 3px; 
    cursor: pointer; 
    font-size: 0.8rem; 
}

.btn-del-sm { 
    background: #ef4444; 
    color: #fff; 
    border: none; 
    padding: 4px 8px; 
    border-radius: 3px; 
    cursor: pointer; 
    font-size: 0.8rem; 
}

.form-select {
    width: 100%;
    padding: 9px;
    background: #0f172a;
    border: 1px solid #475569;
    color: #fff;
    border-radius: 4px;
}
.unit-toggle {
    background: #0f172a;
    border: 1px solid #475569;
    color: #38bdf8;
    padding: 2px 6px;
    font-size: 0.75rem;
    border-radius: 3px;
    cursor: pointer;
}
.stock-pill {
    background: #1e293b;
    border: 1px solid #334155;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.78rem;
    white-space: nowrap;
}

.po-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #334155;
    padding-top: 12px;
    margin-top: 10px;
}
.po-input {
    width: 100%;
    padding: 6px 8px;
    background: #0f172a;
    border: 1px solid #475569;
    color: #fff;
    border-radius: 4px;
    font-size: 0.85rem;
}
.margin-badge {
    color: #10b981;
    font-weight: bold;
    font-size: 0.8rem;
}

.clinical-warning-pill {
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid #f59e0b;
    color: #fde68a;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.82rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    animation: pulseAlert 2s infinite;
}

@keyframes pulseAlert {
    0%, 100% { border-color: #f59e0b; }
    50% { border-color: #ef4444; }
}

.dosage-select {
    width: 100%;
    margin-top: 4px;
    padding: 3px 6px;
    background: #0b1120;
    border: 1px dashed #475569;
    color: #38bdf8;
    border-radius: 4px;
    font-size: 0.75rem;
    cursor: pointer;
}

.substitute-btn {
    background: transparent;
    border: 1px solid #0284c7;
    color: #38bdf8;
    padding: 2px 6px;
    font-size: 0.72rem;
    border-radius: 3px;
    cursor: pointer;
    margin-top: 4px;
    display: inline-block;
}
.substitute-btn:hover {
    background: #0284c7;
    color: #fff;
}

.po-table-scroll-wrapper {
    width: 100%;
    overflow-x: auto;
    overflow-y: visible;
    margin-bottom: 12px;
}

#po-items-table {
    min-width: 1350px;
    width: 100%;
    height: 30vh;
    border-collapse: collapse;
}

#po-items-table th, 
#po-items-table td {
    padding: 18px 6px;
    vertical-align: top;
}

.po-input {
    width: 100%;
    box-sizing: border-box;
    padding: 7px 8px;
    background: #0f172a;
    border: 1px solid #334155;
    color: #f8fafc;
    border-radius: 4px;
    font-size: 0.85rem;
}

.po-input:focus {
    border-color: #38bdf8;
    outline: none;
}

.po-autocomplete-wrapper {
    position: relative;
    width: 100%;
}

.po-suggestions-popup {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    min-width: 280px;
    max-height: 220px;
    overflow-y: auto;
    background: #1e293b;
    border: 1px solid #475569;
    border-radius: 6px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
    z-index: 9999;
}

.po-suggestion-item {
    padding: 8px 12px;
    cursor: pointer;
    border-bottom: 1px solid #334155;
    transition: background 0.15s ease;
}

.po-suggestion-item:last-child {
    border-bottom: none;
}

.po-suggestion-item:hover,
.po-suggestion-item.active {
    background: #0284c7;
}

.po-suggestion-item 
.sugg-name {
    font-weight: 600;
    color: #fff;
    display: block;
}

.po-suggestion-item 
.sugg-gen {
    font-size: 0.75rem;
    color: #94a3b8;
}

.po-suggestion-item:hover 
.sugg-gen,
.po-suggestion-item.active 
.sugg-gen {
    color: #e0f2fe;
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
}

.modal-content {
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 8px;
    padding: 20px 24px;
    box-shadow: 0 20px 35px -5px rgba(0, 0, 0, 0.6),
                0 10px 15px -5px rgba(0, 0, 0, 0.4);
    animation: modalSlideIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(12px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 12px;
    border-bottom: 1px solid #334155;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.25rem;
    color: #38bdf8;
    font-weight: 600;
}

.modal-header small {
    display: block;
    margin-top: 4px;
    color: #94a3b8;
    font-size: 0.8rem;
}

.close-btn {
    color: #94a3b8;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    background: transparent;
    border: none;
    padding: 0 4px;
    transition: color 0.15s ease, transform 0.15s ease;
}

.close-btn:hover {
    color: #f8fafc;
    transform: scale(1.1);
}

#purchase-details-modal 
.modal-content > div:nth-of-type(2) {
    background: #0f172a;
    border: 1px solid #334155;
    border-radius: 6px;
    padding: 10px 14px;
    margin: 14px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    font-size: 0.85rem;
    color: #cbd5e1;
}

#purchase-details-modal 
.modal-content > div:nth-of-type(2) strong {
    color: #94a3b8;
    margin-right: 4px;
}

#purchase-details-modal 
.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.82rem;
}

#purchase-details-modal 
.data-table th {
    background: #0f172a;
    color: #94a3b8;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.72rem;
    letter-spacing: 0.04em;
    padding: 9px 10px;
    border-bottom: 1px solid #334155;
    text-align: left;
    position: sticky;
    top: 0;
    z-index: 1;
}

#purchase-details-modal 
.data-table td {
    padding: 10px;
    border-bottom: 1px solid #1e293b;
    color: #f1f5f9;
    vertical-align: middle;
}

#purchase-details-modal 
.data-table tbody tr:hover {
    background: rgba(51, 65, 85, 0.4);
}

#purchase-details-modal 
.data-table td strong {
    color: #f8fafc;
}

#purchase-details-modal 
.data-table td small {
    display: block;
    margin-top: 2px;
    font-size: 0.75rem;
    color: #94a3b8;
}

#purchase-details-modal 
.badge-fefo {
    display: inline-block;
    background: rgba(56, 189, 248, 0.15);
    color: #38bdf8;
    border: 1px solid rgba(56, 189, 248, 0.3);
    padding: 2px 7px;
    border-radius: 4px;
    font-family: monospace;
    font-size: 0.75rem;
}

#purchase-details-modal 
.tag-warning {
    display: inline-block;
    background: rgba(245, 158, 11, 0.15);
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.3);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.75rem;
}

/* ==========================================================================
   MOBILE & TOUCH DISPLAY OPTIMIZATION (<= 768px)
   ========================================================================== */

/* Hidden on desktop */
.mobile-topbar, 
.sidebar-backdrop {
    display: none;
}

@media screen and (max-width: 768px) {
    /* 1. Global Reset & App Shell */
    body {
        overflow-x: hidden;
    }

    .app-container {
        display: block;
        padding-top: 56px; /* Offset for sticky mobile topbar */
        height: auto;
        min-height: 100vh;
    }

    /* 2. Topbar Navigation Header */
    .mobile-topbar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 56px;
        background: #0f172a;
        border-bottom: 1px solid #334155;
        padding: 0 16px;
        box-sizing: border-box;
        z-index: 999;
    }

    .menu-toggle-btn {
        background: transparent;
        border: none;
        color: #f8fafc;
        font-size: 1.6rem;
        cursor: pointer;
        padding: 4px 8px;
    }

    .mobile-brand {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 1.1rem;
        color: #38bdf8;
    }

    .mobile-user-tag {
        background: #1e293b;
        color: #94a3b8;
        padding: 3px 8px;
        border-radius: 4px;
        font-size: 0.75rem;
    }

    /* 3. Slide-Out Sidebar Drawer */
    .sidebar {
        position: fixed;
        top: 0;
        left: -280px;
        width: 260px;
        height: 100vh;
        background: #0f172a;
        z-index: 10000;
        transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
        display: flex;
        flex-direction: column;
        box-shadow: 4px 0 20px rgba(0, 0, 0, 0.5);
    }

    .sidebar.open {
        transform: translateX(280px);
    }

    .sidebar-backdrop {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(15, 23, 42, 0.7);
        backdrop-filter: blur(3px);
        z-index: 9999;
    }

    .sidebar-backdrop.active {
        display: block;
    }

    /* 4. Main Workspace & Views */
    .content-area {
        padding: 12px;
        height: auto;
        overflow-y: visible;
    }

    .view-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .view-header h2 {
        font-size: 1.25rem;
    }

    /* 5. KPI & Split Grids */
    .kpi-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .dashboard-split,
    .inv-split-container,
    .history-grid-view {
        display: flex;
        flex-direction: column;
        gap: 14px;
        height: auto;
    }

    .card {
        padding: 12px;
        overflow: visible;
    }

    /* 6. POS Terminal Mobile View */
    .pos-layout {
        display: flex;
        flex-direction: column-reverse; /* Puts Active Cart on Top or Below */
        gap: 14px;
        height: auto;
    }

    .left-panel, 
    .right-panel {
        width: 100%;
        height: auto;
        overflow: visible;
    }

    .customer-inputs {
        grid-template-columns: 1fr;
    }

    /* 7. Responsive Tables with Horizontal Swipe */
    .results-table-container,
    .cart-table-container,
    .history-table-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .data-table {
        min-width: 580px; /* Allows safe touch scrolling without columns collapsing */
    }

    /* 8. Forms & Inputs */
    .form-grid {
        grid-template-columns: 1fr !important;
        gap: 10px;
    }

    .history-filter-bar {
        flex-direction: column;
        align-items: stretch;
    }

    .history-filter-bar input,
    .history-filter-bar button {
        width: 100%;
        box-sizing: border-box;
    }

    /* 9. Mobile Touch Targets & Buttons */
    .add-btn, .pay-btn, .btn-save-sm {
        min-height: 42px; /* Touch target standard */
        font-size: 0.95rem;
    }

    /* 10. Modals on Mobile */
    .modal-content {
        width: 95% !important;
        max-height: 90vh;
        padding: 14px;
        margin: 10px;
    }
}