/* =============================================================================
   SMART BIN DASHBOARD — Mobile-First Responsive Design v4
   ============================================================================= */

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

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

html, body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #ffffff;
    color: #1e293b;
    height: 100vh;
    overflow: hidden;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

/* ===================================================================
   TOP BAR — Fixed, always visible
   =================================================================== */
.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    background: #047857;
    color: white;
    height: 52px;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.topbar-left i {
    font-size: 18px;
    flex-shrink: 0;
}

.topbar-title {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -0.3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.topbar-status {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 500;
    opacity: 0.95;
}

.topbar-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}

.topbar-dot.active {
    background: #86efac;
    box-shadow: 0 0 6px rgba(134, 239, 172, 0.6);
}

.topbar-dot.waiting {
    background: #fbbf24;
    box-shadow: 0 0 4px rgba(251, 191, 36, 0.4);
}

.topbar-dot.error {
    background: #fca5a5;
    box-shadow: 0 0 4px rgba(252, 165, 165, 0.4);
}

.btn-sim {
    padding: 5px 10px;
    font-size: 10px;
    font-weight: 700;
    border: 1.5px solid rgba(255, 255, 255, 0.5);
    border-radius: 6px;
    background: transparent;
    color: white;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    transition: all 0.2s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.btn-sim:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: white;
}

.btn-sim.sim-active {
    background: rgba(255, 255, 255, 0.2);
    border-color: #86efac;
    color: #86efac;
    box-shadow: 0 0 12px rgba(134, 239, 172, 0.3);
}

.btn-clear-db {
    padding: 5px 10px;
    font-size: 10px;
    font-weight: 700;
    border: 1.5px solid rgba(255, 255, 255, 0.5);
    border-radius: 6px;
    background: transparent;
    color: white;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    transition: all 0.2s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.btn-clear-db:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: #ef4444;
    color: #fca5a5;
}

.btn-clear-db:active {
    background: rgba(239, 68, 68, 0.3);
    box-shadow: 0 0 12px rgba(239, 68, 68, 0.4);
}

/* ===================================================================
   MAIN CONTAINER — Fixed layout, NO scrolling on desktop
   =================================================================== */
.main-container-fixed {
    display: flex;
    flex-direction: column;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    background: #ffffff;
}

.main-content-wrapper {
    display: flex;
    flex-direction: column;
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 12px;
    gap: 12px;
}

/* ===================================================================
   STAT CARDS — Responsive grid
   =================================================================== */
.stats-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    width: 100%;
    flex-shrink: 0;
}

.stat-card {
    background: white;
    border-radius: 10px;
    padding: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    min-height: 64px;
    transition: all 0.2s ease;
}

.stat-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
}

.stat-icon-box {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: white;
    flex-shrink: 0;
}

.stat-info {
    flex: 1;
    min-width: 0;
}

.stat-value {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.5px;
    line-height: 1.1;
    display: block;
    color: #0f172a;
}

.stat-label {
    font-size: 11px;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    font-weight: 600;
    margin-top: 2px;
}

/* ===================================================================
   PROGRESS BARS — Category fill levels
   =================================================================== */
.progress-bars-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    width: 100%;
    flex-shrink: 0;
}

.progress-card {
    background: white;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.progress-label-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.progress-icon {
    width: 22px;
    height: 22px;
    object-fit: contain;
    flex-shrink: 0;
}

.progress-category-label {
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.progress-display {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: space-between;
}

.progress-left {
    min-width: 32px;
    text-align: center;
}

.progress-middle {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    min-width: 0;
}

.progress-right {
    min-width: 32px;
    text-align: center;
}

.progress-number {
    font-size: 16px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1;
}

.progress-bar-wrapper {
    width: 100%;
    height: 20px;
    background: #f1f5f9;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.05);
}

.progress-bar-fill {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 6px;
    transition: all 0.3s ease;
    min-width: 2px;
    border-radius: 6px;
}

.progress-percentage {
    font-size: 12px;
    font-weight: 700;
    color: #0f172a;
    min-width: 40px;
    text-align: center;
}

/* ===================================================================
   HISTORY PANEL — Fills remaining vertical space
   =================================================================== */
.history-panel-fullscreen {
    background: white;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    flex: 1;
    min-height: 200px;
}

.history-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-bottom: 1px solid #f1f5f9;
    flex-shrink: 0;
}

.history-header-title {
    font-size: 12px;
    font-weight: 700;
    color: #0f172a;
}

.history-header i {
    color: #047857;
    font-size: 14px;
}

.history-table-wrapper {
    flex: 1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.table-scroll {
    flex: 1;
    overflow-y: auto;
    overflow-x: auto;
}

.table-scroll::-webkit-scrollbar {
    width: 4px;
    height: 4px;
}

.table-scroll::-webkit-scrollbar-track {
    background: #f8fafc;
}

.table-scroll::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 2px;
}

.history-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 13px;
    min-width: 480px;
}

.history-table th {
    background: #f8fafc;
    color: #475569;
    padding: 10px 12px;
    text-align: center;
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: sticky;
    top: 0;
    z-index: 10;
    border-bottom: 2px solid #e2e8f0;
    white-space: nowrap;
}

.history-table td {
    padding: 10px 12px;
    text-align: center;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: middle;
    font-size: 13px;
    white-space: nowrap;
}

.history-table tbody tr:hover td {
    background: #f8fafc;
}

.table-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
    vertical-align: middle;
    margin-right: 5px;
    display: inline-block;
}

.pagination-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 8px;
    border-top: 1px solid #f1f5f9;
    flex-shrink: 0;
    flex-wrap: wrap;
}

.page-btn {
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 600;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    background: white;
    color: #475569;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    transition: all 0.15s ease;
}

.page-btn:hover {
    background: #f1f5f9;
}

.page-btn.active {
    background: #047857;
    color: white;
    border-color: #047857;
}

.page-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.page-info {
    font-size: 11px;
    color: #94a3b8;
    font-weight: 500;
}

/* ===================================================================
   FULL BIN NOTIFICATION — Alert banner
   =================================================================== */
.full-bin-notification {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9998;
    display: flex;
    justify-content: center;
    padding: 12px 16px;
    animation: notif-slide-down 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

@keyframes notif-slide-down {
    from { opacity: 0; transform: translateY(-100%); }
    to   { opacity: 1; transform: translateY(0); }
}

.full-bin-notification-inner {
    display: flex;
    align-items: center;
    gap: 14px;
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: white;
    padding: 14px 20px;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(220, 38, 38, 0.35), 0 2px 8px rgba(0, 0, 0, 0.1);
    max-width: 720px;
    width: 100%;
    pointer-events: auto;
}

.full-bin-notification-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 20px;
    animation: notif-pulse 1.5s ease-in-out infinite;
}

@keyframes notif-pulse {
    0%, 100% { transform: scale(1); }
    50%      { transform: scale(1.1); }
}

.full-bin-notification-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.full-bin-notification-title {
    font-size: 14px;
    font-weight: 800;
    letter-spacing: -0.2px;
    text-transform: uppercase;
}

.full-bin-notification-text {
    font-size: 12px;
    font-weight: 500;
    opacity: 0.95;
    line-height: 1.4;
}

.full-bin-notification-close {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    background: transparent;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
    transition: all 0.15s ease;
}

.full-bin-notification-close:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: white;
}

/* ===================================================================
   MODAL — Detection result popup
   =================================================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(6px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    animation: m-fade 0.25s ease;
}

@keyframes m-fade {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.18);
    width: 92%;
    max-width: 900px;
    max-height: 90vh;
    overflow: hidden;
    animation: m-slide 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}

@keyframes m-slide {
    from { opacity: 0; transform: translateY(20px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-img-side {
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
}

.modal-img-side.bg-paper   { background: linear-gradient(145deg, #dbeafe 0%, #eff6ff 100%); }
.modal-img-side.bg-metal   { background: linear-gradient(145deg, #e2e8f0 0%, #f1f5f9 100%); }
.modal-img-side.bg-glass   { background: linear-gradient(145deg, #d1fae5 0%, #ecfdf5 100%); }
.modal-img-side.bg-plastic { background: linear-gradient(145deg, #cffafe 0%, #ecfeff 100%); }
.modal-img-side.bg-waste   { background: linear-gradient(145deg, #fee2e2 0%, #fef2f2 100%); }
.modal-img-side.bg-organic { background: linear-gradient(145deg, #fef3c7 0%, #fef9e7 100%); }

.modal-img-side img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 16px;
}

.modal-info-side {
    flex: 1;
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow-y: auto;
}

.modal-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 14px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 12px;
    width: fit-content;
}

.modal-badge.badge-paper   { background: #dbeafe; color: #1d4ed8; }
.modal-badge.badge-metal   { background: #e2e8f0; color: #475569; }
.modal-badge.badge-glass   { background: #d1fae5; color: #065f46; }
.modal-badge.badge-plastic { background: #cffafe; color: #155e75; }
.modal-badge.badge-waste   { background: #fee2e2; color: #991b1b; }
.modal-badge.badge-organic { background: #fef3c7; color: #78350f; }

.modal-title {
    font-size: 22px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 6px;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.modal-subtitle {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 16px;
    line-height: 1.5;
}

.modal-confidence {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}

.modal-conf-label { font-size: 11px; color: #64748b; font-weight: 600; white-space: nowrap; }
.modal-conf-bar-bg { flex: 1; height: 8px; background: #f1f5f9; border-radius: 4px; overflow: hidden; }
.modal-conf-bar { height: 100%; border-radius: 4px; transition: width 0.5s ease; }
.modal-conf-pct { font-size: 13px; font-weight: 800; color: #0f172a; min-width: 38px; text-align: right; }

.modal-question {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 12px;
    text-align: center;
}

.modal-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 8px;
}

.modal-btn {
    padding: 10px 24px;
    font-size: 13px;
    font-weight: 700;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    color: white;
    flex: 1;
    justify-content: center;
    min-width: 100px;
}

.modal-btn-yes { background: linear-gradient(135deg, #10b981, #059669); box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3); }
.modal-btn-yes:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4); }

.modal-btn-no { background: linear-gradient(135deg, #ef4444, #dc2626); box-shadow: 0 4px 14px rgba(239, 68, 68, 0.3); }
.modal-btn-no:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(239, 68, 68, 0.4); }

.modal-countdown-bar { width: 100%; height: 4px; background: #f1f5f9; border-radius: 2px; margin: 12px 0; overflow: hidden; }
.modal-countdown-fill { height: 100%; background: linear-gradient(90deg, #047857, #10b981); border-radius: 2px; animation: countdown-shrink 5s linear forwards; }
@keyframes countdown-shrink { from { width: 100%; } to { width: 0%; } }

.modal-countdown-text { font-size: 10px; color: #94a3b8; text-align: center; margin: 4px 0; }
.modal-ts { font-size: 10px; color: #94a3b8; text-align: center; margin-top: 6px; }

/* ===================================================================
   RESPONSIVE — Small phones (< 480px)
   =================================================================== */
@media (max-width: 479px) {
    .topbar-status { display: none; }

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

    .stat-card { padding: 10px; gap: 8px; min-height: 56px; }
    .stat-icon-box { width: 34px; height: 34px; font-size: 14px; }
    .stat-value { font-size: 18px; }
    .stat-label { font-size: 9px; letter-spacing: 0.4px; }

    .progress-bars-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .progress-card { padding: 8px; gap: 6px; }
    .progress-icon { width: 18px; height: 18px; }
    .progress-category-label { font-size: 11px; }
    .progress-number { font-size: 13px; }
    .progress-bar-wrapper { height: 14px; }
    .progress-percentage { font-size: 10px; min-width: 30px; }
    .progress-left { min-width: 24px; }
    .progress-right { min-width: 24px; }
    .progress-display { gap: 4px; }

    .history-table { font-size: 11px; min-width: 400px; }
    .history-table th { padding: 8px 8px; font-size: 9px; }
    .history-table td { padding: 8px 8px; font-size: 11px; }
    .table-icon { width: 16px; height: 16px; }
}

/* ===================================================================
   RESPONSIVE — Tablet (768px+)
   =================================================================== */
@media (min-width: 768px) {
    .topbar { padding: 12px 20px; height: 56px; }
    .topbar-left i { font-size: 20px; }
    .topbar-title { font-size: 16px; }
    .topbar-status { font-size: 12px; }
    .btn-sim { padding: 6px 12px; font-size: 11px; }
    .btn-clear-db { padding: 6px 12px; font-size: 11px; }

    .main-content-wrapper { padding: 16px; gap: 14px; }

    .stats-row { grid-template-columns: repeat(4, 1fr); gap: 12px; }
    .stat-card { padding: 16px; gap: 14px; min-height: 72px; }
    .stat-icon-box { width: 46px; height: 46px; font-size: 20px; }
    .stat-value { font-size: 26px; }
    .stat-label { font-size: 12px; }

    .progress-bars-container { grid-template-columns: repeat(5, 1fr); gap: 12px; }
    .progress-card { padding: 14px; gap: 10px; }
    .progress-icon { width: 24px; height: 24px; }
    .progress-category-label { font-size: 14px; }
    .progress-number { font-size: 18px; }
    .progress-bar-wrapper { height: 24px; }
    .progress-percentage { font-size: 13px; }
    .progress-left { min-width: 40px; }
    .progress-right { min-width: 40px; }

    .history-panel-fullscreen { min-height: 280px; }
    .history-header { padding: 12px 16px; }
    .history-header-title { font-size: 13px; }
    .history-table { font-size: 14px; }
    .history-table th { padding: 12px 14px; font-size: 12px; }
    .history-table td { padding: 12px 14px; font-size: 13px; }
    .table-icon { width: 22px; height: 22px; }

    .modal-card { flex-direction: row; width: 90%; max-width: 900px; }
    .modal-img-side { width: 45%; height: auto; min-height: 380px; }
    .modal-info-side { width: 55%; padding: 32px 28px; }
    .modal-title { font-size: 26px; }
    .modal-subtitle { font-size: 14px; }
    .modal-question { font-size: 17px; }
    .modal-buttons { flex-wrap: nowrap; }
}

/* ===================================================================
   RESPONSIVE — Desktop (1024px+)
   =================================================================== */
@media (min-width: 1024px) {
    .topbar { padding: 14px 28px; height: 60px; }
    .topbar-left i { font-size: 22px; }
    .topbar-title { font-size: 18px; }
    .topbar-status { font-size: 13px; }

    .main-content-wrapper {
        gap: 18px;
        padding: 20px;
        overflow: hidden;
    }

    .stats-row { gap: 16px; }
    .stat-card { padding: 20px; gap: 16px; min-height: 88px; }
    .stat-icon-box { width: 52px; height: 52px; font-size: 22px; }
    .stat-value { font-size: 30px; }
    .stat-label { font-size: 13px; }

    .progress-bars-container { gap: 14px; }
    .progress-card { padding: 16px; gap: 12px; }
    .progress-icon { width: 26px; height: 26px; }
    .progress-category-label { font-size: 15px; }
    .progress-number { font-size: 20px; }
    .progress-bar-wrapper { height: 28px; border-radius: 8px; }
    .progress-bar-fill { border-radius: 8px; }
    .progress-percentage { font-size: 14px; min-width: 48px; }
    .progress-left { min-width: 50px; }
    .progress-right { min-width: 50px; }

    .history-panel-fullscreen { min-height: 300px; }
    .history-header { padding: 14px 18px; }
    .history-header-title { font-size: 14px; }
    .history-table { font-size: 15px; }
    .history-table th { padding: 14px 16px; font-size: 13px; }
    .history-table td { padding: 14px 16px; font-size: 14px; }
    .table-icon { width: 24px; height: 24px; }

    .modal-img-side { min-height: 420px; }
    .modal-info-side { padding: 36px 32px; }
    .modal-title { font-size: 28px; }
    .modal-subtitle { font-size: 15px; }
}

/* ===================================================================
   RESPONSIVE — Large Desktop (1440px+)
   =================================================================== */
@media (min-width: 1440px) {
    .main-content-wrapper { gap: 20px; padding: 24px; }

    .stats-row { gap: 20px; }
    .stat-card { padding: 24px; min-height: 100px; }
    .stat-icon-box { width: 56px; height: 56px; font-size: 24px; }
    .stat-value { font-size: 36px; }
    .stat-label { font-size: 14px; }

    .progress-bars-container { gap: 18px; }
    .progress-card { padding: 20px; gap: 14px; }
    .progress-icon { width: 30px; height: 30px; }
    .progress-category-label { font-size: 16px; }
    .progress-number { font-size: 24px; }
    .progress-bar-wrapper { height: 32px; }
    .progress-percentage { font-size: 16px; min-width: 54px; }
    .progress-left { min-width: 60px; }
    .progress-right { min-width: 60px; }

    .history-table th { padding: 16px 18px; font-size: 14px; }
    .history-table td { padding: 16px 18px; font-size: 15px; }
}

/* ===================================================================
   PRINT STYLES
   =================================================================== */
@media print {
    body { background: white; }
    .topbar { position: fixed; top: 0; width: 100%; z-index: 1000; }
    .main-container-fixed { height: auto; overflow: visible; }
    .main-content-wrapper { overflow: visible; }
}
