:root {
    /* Color Palette - Forest Theme */
    --color-primary: #2e7d32; /* Richer Green */
    --color-primary-light: #558b2f; /* Light Olive Green */
    --color-primary-dark: #1b5e20;
    --color-secondary: #546e7a;
    --color-accent: #7cb342; /* Natural Light Green */
    --color-background: #f0f2f5;
    
    --sidebar-bg: rgba(20, 40, 20, 0.85);

    /* Glassmorphism Variables - Enhanced */
    --glass-bg: rgba(255, 255, 255, 0.5); /* More transparent */
    --glass-border: 1px solid rgba(255, 255, 255, 0.4);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
    --glass-blur: blur(12px); /* Stronger blur */
    
    /* Text Colors */
    --text-main: #1a1a1a;
    --text-muted: #555;
    --text-light: #ffffff;

    /* Spacing & Radius */
    --border-radius-lg: 20px; /* Rounder */
    --border-radius-md: 15px;
    --border-radius-sm: 10px;
}

/* Robust Reset */
*, *::before, *::after {
    box-sizing: border-box;
}

body {
    font-family: 'Nunito Sans', sans-serif;
    color: var(--text-main);
    background-color: var(--color-background);
    margin: 0;
    padding: 0;
    height: 100vh; 
    width: 100vw;
    overflow-x: hidden;
    overflow-y: auto;
}

h1, h2, h3, h4, h5, h6, .navbar-brand {
    font-family: 'Poppins', sans-serif; /* Modern Headings */
    font-weight: 600;
    letter-spacing: -0.5px;
    color: #1b5e20; /* Ensure Dark Green for headings */
}

/* Wallpaper Background with Overlay */
body::before {
    content: "";
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-image: linear-gradient(to bottom right, rgba(46, 125, 50, 0.1), rgba(0, 0, 0, 0.2)), url('../../wallpaper.jpg'); /* Gradient Overlay */
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    z-index: -1;
}

/* Layout: Sidebar & Main Content */
.page-wrapper {
    display: flex;
    width: 100%;
    min-height: 100vh;
}

/* Sidebar Styling - Modern Dark Glass */
.sidebar {
    width: 240px; /* Reduced from 280px */
    flex-shrink: 0;
    background: rgba(20, 40, 20, 0.85); /* Dark semi-transparent */
    backdrop-filter: blur(15px);
    border-right: 1px solid rgba(255,255,255,0.1);
    color: var(--text-light);
    padding: 15px; /* Reduced from 25px */
    display: flex;
    flex-direction: column;
    gap: 1rem; /* Reduced from 2rem */
    box-shadow: 10px 0 30px rgba(0,0,0,0.1);
    z-index: 100;
    min-height: 100vh;
}

.sidebar .navbar-brand {
    color: var(--text-light);
    margin-bottom: 5px;
    text-align: center;
    text-decoration: none;
    display: block;
    text-transform: uppercase;
    font-size: 1rem; /* Reduced */
}

.sidebar .navbar-brand-logo {
    width: 75px; /* Increased to 75px */
    height: 75px;
    margin-bottom: 10px;
    border-radius: 20px; /* Squircle */
    object-fit: cover;
    border: 2px solid rgba(255,255,255,0.5);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
}

.sidebar .navbar-brand:hover .navbar-brand-logo {
    transform: rotate(-3deg) scale(1.05);
}

.sidebar .nav-link {
    color: rgba(255, 255, 255, 0.7);
    padding: 10px 15px; /* Reduced from 14px 20px */
    border-radius: var(--border-radius-md);
    transition: all 0.3s ease;
    margin-bottom: 5px; /* Reduced */
    display: flex;
    align-items: center;
    text-decoration: none;
    font-weight: 500;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem; /* Compact font */
}

.sidebar .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.15);
    color: var(--text-light);
    transform: translateX(5px);
}

.sidebar .nav-link.active {
    background: linear-gradient(90deg, var(--color-primary-light), var(--color-primary));
    color: var(--text-light);
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(85, 139, 47, 0.4);
}

.sidebar .nav-link i.fa-fw {
    margin-right: 15px; /* Reduced */
    width: 20px;
    text-align: center;
}

.sidebar .username-display {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

.card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: var(--glass-border);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--glass-shadow);
    margin-bottom: 1.5rem; /* Reduced */
    overflow: hidden;
    transition: transform 0.2s ease;
}

/* Subtle hover lift for interactive cards */
.card.packing-list-card:hover {
    transform: translateY(-5px);
}

.card-header {
    background-color: rgba(255, 255, 255, 0.5);
    color: #1b5e20; /* Explicit Dark Green (var(--color-primary-dark)) */
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding: 0.5rem 1rem; /* Further reduced padding */
    font-weight: 700; /* Bolder */
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem; /* Slightly smaller font */
}

/* Fix for buttons inside card header being invisible if they are outline-light */
.card-header .btn-outline-light {
    color: var(--color-primary);
    border-color: var(--color-primary);
}
.card-header .btn-outline-light:hover {
    background-color: var(--color-primary);
    color: white;
}

.card-body {
    padding: 1rem; /* Reduced padding */
}

/* Buttons */
.btn-primary {
    background-color: var(--color-primary-light);
    border-color: var(--color-primary-light);
    border-radius: var(--border-radius-sm);
    padding: 0.375rem 1rem; /* Reduced */
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.2s;
}

.btn-primary:hover {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* Global Compact Inputs */
.form-control, .form-select {
    padding: 0.375rem 0.75rem;
    font-size: 0.9rem;
}

.btn-outline-primary {
    color: var(--color-primary-light);
    border-color: var(--color-primary-light);
}

.btn-outline-primary:hover {
    background-color: var(--color-primary-light);
    border-color: var(--color-primary-light);
    color: #fff;
}

/* Text Colors Override */
.text-primary {
    color: var(--color-primary) !important;
}

.btn-outline-light {
    border-color: rgba(255,255,255,0.5);
    color: rgba(255,255,255,0.8);
}
.btn-outline-light:hover {
    background-color: rgba(255,255,255,0.2);
    color: #fff;
    border-color: #fff;
}

/* Form Switch / Checkbox Override */
.form-check-input:checked {
    background-color: var(--color-primary-light);
    border-color: var(--color-primary-light);
}
.form-check-input:focus {
    border-color: var(--color-primary-light);
    box-shadow: 0 0 0 0.25rem rgba(85, 139, 47, 0.25);
}

/* Login & Register specific styles */
.auth-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.auth-container {
    max-width: 420px;
    width: 100%;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    background-color: rgba(255, 255, 255, 0.95);
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.auth-header {
    background-color: var(--color-primary);
    color: white;
    padding: 30px;
    text-align: center;
}

.auth-logo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 4px solid rgba(255,255,255,0.3);
    margin-bottom: 15px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.auth-body {
    padding: 40px 30px;
}

/* Charts & Dashboard */
.chart-container {
    position: relative;
    height: 220px; /* Reduced from 300px */
    width: 100%;
}

/* Welcome Section (Dashboard) */
.welcome-section {
    text-align: center;
    padding: 20px 0; /* Reduced from 40px */
}

.welcome-section h1 {
    font-size: 2rem; /* Reduced from 2.5rem */
    margin-bottom: 10px;
    font-weight: 700;
    color: var(--color-primary);
}

.welcome-section p.lead {
    font-size: 1rem; /* Reduced from 1.2rem */
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.welcome-image-container {
    max-width: 800px;
    height: 180px; /* Drastically reduced from 350px */
    margin: 20px auto; /* Reduced margins */
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.animated-bg {
    width: 100%;
    height: 100%;
    background-image: url('../../wallpaper.jpg');
    background-size: cover;
    background-position: center center;
    animation: ken-burns 25s infinite alternate ease-in-out;
}

@keyframes ken-burns {
    0% { transform: scale(1) translate(0, 0); }
    100% { transform: scale(1.15) translate(-2%, 2%); }
}

/* Packing List Cards */
.packing-list-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: rgba(255, 255, 255, 0.6); /* Slightly more opaque than standard card */
    border-left: 5px solid var(--color-primary-light); /* Accent border */
}

.packing-list-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15) !important;
}

.packing-list-card .card-body {
    position: relative;
}

.packing-list-card .card-icon {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 60px;
    height: 60px;
    pointer-events: none;
    opacity: 0.15;
    filter: grayscale(100%);
    transition: all 0.3s ease;
}

.packing-list-card:hover .card-icon {
    opacity: 0.4;
    transform: rotate(10deg) scale(1.1);
    filter: grayscale(0%);
}

.packing-list-card .card-title {
    font-weight: 700;
    color: var(--color-primary-dark);
    margin-bottom: 0.5rem;
}

.packing-list-card .card-footer {
    background-color: rgba(255, 255, 255, 0.5);
    border-top: 1px solid rgba(0,0,0,0.05);
    padding: 1rem 1.5rem;
}

.creator-badge {
    font-size: 0.75em;
    font-weight: 600;
    opacity: 0.9;
}

/* Footer */
.main-footer {
    background-color: transparent; /* Transparent to blend with glassmorphism or simple text */
    color: var(--text-muted);
    text-align: center;
    padding: 1.5rem;
    font-size: 0.85rem;
    margin-top: auto; /* Push to bottom if in flex container */
    border-top: 1px solid rgba(0,0,0,0.05);
}

/* Ensure main content pushes footer down */
.main-content {
    flex-grow: 1;
    padding: 30px 50px; /* Increased spacing as requested */
    display: flex;
    flex-direction: column;
}

/* --- Styles from articles.php --- */
.image-preview-tooltip {
    display: none;
    position: absolute;
    border: 1px solid rgba(0,0,0,0.1);
    background-color: #fff;
    padding: 5px;
    z-index: 1056;
    width: 150px;
    height: 150px;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    border-radius: var(--border-radius-sm);
    pointer-events: none;
}

.table tbody td {
    vertical-align: middle !important;
}

/* Force compact images in tables */
.table img, .article-image-trigger {
    width: 30px !important;
    height: 30px !important;
}

.article-image-trigger {
    cursor: pointer;
    transition: transform 0.2s;
}
.article-image-trigger:hover {
    transform: scale(1.1);
}

.modal-image {
    max-width: 100%;
    max-height: 80vh;
    border-radius: var(--border-radius-sm);
}

/* --- Styles from add_article.php --- */
.section-card {
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: var(--border-radius-md);
    overflow: visible; /* Allow dropdowns to overflow */
    background-color: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    position: relative;
    transition: z-index 0.1s step-start; /* Instant z-index change */
}

/* Lift card when interacting to ensure dropdowns appear over subsequent cards */
.section-card:hover, .section-card:focus-within {
    z-index: 10;
}

.section-card .card-header {
    background-color: rgba(59, 74, 35, 0.08); /* Very light primary */
    color: var(--color-primary-dark);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    font-weight: 700;
    border-top-left-radius: var(--border-radius-md);
    border-top-right-radius: var(--border-radius-md);
}

.section-card .card-body {
    background-color: transparent;
    overflow: visible; /* Allow dropdowns to overflow */
}

.paste-area {
    border: 2px dashed var(--color-secondary);
    border-radius: var(--border-radius-sm);
    padding: 2rem 1rem;
    text-align: center;
    color: var(--text-muted);
    background-color: rgba(250, 250, 250, 0.5);
    transition: all 0.2s;
    cursor: pointer;
}

.paste-area.hover, .paste-area:hover {
    background-color: rgba(59, 74, 35, 0.1);
    border-color: var(--color-primary-light);
    color: var(--color-primary);
}

#imagePreview {
    max-width: 100%;
    max-height: 250px;
    border-radius: var(--border-radius-sm);
    object-fit: contain;
    border: 1px solid rgba(0,0,0,0.1);
    padding: 5px;
    background-color: rgba(255, 255, 255, 0.8);
}

/* --- Packing List Editor Styles --- */
.editor-container {
    display: grid;
    grid-template-columns: 40% 1fr;
    gap: 1.5rem;
}

.editor-pane {
    display: flex;
    flex-direction: column;
    height: 75vh;
    background-color: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: var(--border-radius-md);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.pane-header {
    padding: 1rem;
    flex-shrink: 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    background-color: rgba(248, 249, 250, 0.5);
}

.pane-content {
    overflow-y: auto;
    flex-grow: 1;
    padding: 1rem;
}

.available-item-card {
    padding: 8px 12px;
    margin-bottom: 6px;
    background: rgba(248, 249, 250, 0.7);
    border-radius: var(--border-radius-sm);
    cursor: grab;
    border: 1px solid rgba(0,0,0,0.05);
    transition: background-color 0.2s;
}

.available-item-card:hover {
    background-color: #e9ecef;
}

.carrier-box {
    margin-bottom: 1.5rem;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: var(--border-radius-sm);
    overflow: hidden;
}

.carrier-header {
    padding: 0.75rem 1.25rem;
    background-color: rgba(233, 236, 239, 0.5);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    font-weight: 600;
}

.carrier-list {
    min-height: 80px;
    padding: 10px;
    background-color: rgba(255, 255, 255, 0.3);
}

.packed-item-row {
    display: flex;
    align-items: center;
    padding: 8px;
    margin-bottom: 4px;
    border-bottom: 1px solid rgba(0,0,0,0.03);
    background-color: rgba(255, 255, 255, 0.6);
    border-radius: var(--border-radius-sm);
    transition: background-color 0.2s;
}

.packed-item-row:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

.packed-item-row.ghost-class {
    background-color: rgba(59, 74, 35, 0.1);
    border: 1px dashed var(--color-primary);
    opacity: 0.7;
}

.handle {
    cursor: grab;
    color: var(--color-secondary);
    margin: 0 10px 0 5px;
}

.item-name {
    flex-grow: 1;
    font-size: 0.95rem;
}

.item-controls {
    display: flex;
    align-items: center;
    gap: 5px;
}

.quantity-input {
    width: 70px;
    text-align: center;
}

.nesting-level-1 {
    margin-left: 30px !important;
    border-left: 3px solid rgba(0,0,0,0.1);
}

.nesting-level-2 {
    margin-left: 60px !important;
    border-left: 3px solid rgba(0,0,0,0.1);
}

/* --- Storage Locations Styles --- */
.level-1-card {
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    background-color: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
}

.level-1-card .card-header {
    background-color: rgba(59, 74, 35, 0.1);
    color: var(--color-primary-dark);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    font-weight: 700;
}

.level-1-card .card-body {
    background-color: transparent;
}

.level-2-list .list-group-item {
    background-color: rgba(255, 255, 255, 0.5);
    border-left: 4px solid var(--color-primary-light);
    margin-bottom: 2px;
    border-radius: var(--border-radius-sm);
}

/* --- Tree View for Packing List Details --- */
.tree-view-item {
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
}

.tree-view-item.level-0 {
    font-weight: 600;
    color: var(--color-primary-dark);
}

/* Indentation Levels */
.tree-view-item.level-1 { padding-left: 1.5rem; }
.tree-view-item.level-2 { padding-left: 3rem; }
.tree-view-item.level-3 { padding-left: 4.5rem; }

/* The "L" shaped connector line for children */
.tree-view-item:not(.level-0) .tree-line {
    position: absolute;
    left: 0; 
    /* Logic for L-shape relative to the current cell */
    /* Since we can't connect to the row above easily in a simple table, 
       we draw a small 'L' that implies structure */
    width: 15px;
    height: 25px; /* Roughly half row height */
    border-left: 2px solid rgba(0,0,0,0.15);
    border-bottom: 2px solid rgba(0,0,0,0.15);
    border-bottom-left-radius: 5px; /* Smooth curve */
    top: -12px; /* Move up to simulate connection to parent roughly */
    display: block;
}

/* Adjust L-shape position based on level if needed, 
   but padding-left on parent handles the text offset. 
   We need the line to be at the correct X offset. */
.tree-view-item.level-1 .tree-line { left: 0.5rem; }
.tree-view-item.level-2 .tree-line { left: 2rem; }
.tree-view-item.level-3 .tree-line { left: 3.5rem; }

.item-name-text {
    margin-left: 8px;
    /* Ensure text doesn't overlap line */
}

/* Muted weight for cleaner look */
.table td .text-muted.small {
    font-size: 0.85em;
    color: #888 !important;
}

/* Better badges in table */
.badge.rounded-pill {
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* --- Packing List Detail View Styles --- */
.item-image {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    border: 1px solid rgba(0,0,0,0.1);
}

.card-header-stats {
    background-color: var(--color-primary-light) !important;
    color: var(--text-light) !important;
}

.chart-container {
    position: relative;
    min-height: 220px;
    width: 100%;
    margin-bottom: 1rem;
}

.carrier-header-row td {
    background-color: rgba(0,0,0,0.03);
    font-weight: 600;
    padding: 1rem 1.5rem;
    border-top: 1px solid rgba(0,0,0,0.05);
    color: var(--color-primary-dark);
    font-family: 'Poppins', sans-serif;
}

/* Remove border for the very first header to avoid gap at the top of the card */
.table tbody tr:first-child.carrier-header-row td {
    border-top: none;
}

.stats-table-container {
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: var(--border-radius-sm);
    background-color: rgba(255,255,255,0.5);
    overflow: hidden;
    padding: 0.75rem;
}

.save-feedback {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--color-primary-dark);
    color: #fff;
    padding: 10px 20px;
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    pointer-events: none;
    font-weight: 600;
    font-size: 0.9rem;
}
/* --- Articles Table Styles --- */
/* Sticky Header */
.table-responsive thead th {
    position: sticky;
    top: 0;
    background-color: var(--sidebar-bg); /* Match sidebar */
    color: var(--text-light);
    backdrop-filter: blur(15px);
    z-index: 10; /* Above content */
    box-shadow: 0 2px 2px -1px rgba(0,0,0,0.1);
}

/* Reverted Table Styling (Light) */
.table {
    color: var(--text-main);
    margin-bottom: 0;
}

.table th, .table td {
    border-color: rgba(0, 0, 0, 0.05);
    padding: 0.5rem 0.75rem; /* Compact padding */
    vertical-align: middle;
}

/* Hover state */
.table-hover tbody tr:hover {
    background-color: rgba(0, 0, 0, 0.02);
}

/* Category Header Row */
.category-header {
    background-color: rgba(46, 125, 50, 0.15); /* Light subtle green */
    color: var(--color-primary-dark); /* Dark text for contrast */
    cursor: pointer;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
}
.category-header:hover {
    background-color: rgba(46, 125, 50, 0.25);
}
.category-header i {
    transition: transform 0.2s;
}
.category-header.collapsed i {
    transform: rotate(-90deg);
}
.category-header td {
    background-color: rgba(46, 125, 50, 0.15) !important;
    color: var(--color-primary-dark);
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

/* --- Print Styles --- */
.print-view { display: none; }

@media print {
    @page { size: A4; margin: 1.5cm; }
    
    html, body {
        width: 210mm;
        height: auto;
        font-size: 10pt;
        background: #fff;
        color: #000;
        -webkit-print-color-adjust: exact !important; /* Chrome, Safari */
        print-color-adjust: exact !important; /* Firefox */
    }

    .screen-view, .print-hide, .sidebar, .main-footer, .navbar, .btn {
        display: none !important;
    }

    .print-view {
        display: block !important;
    }

    .print-header {
        text-align: center;
        margin-bottom: 10mm;
        border-bottom: 2px solid #000;
        padding-bottom: 5mm;
    }

    .print-header h1 {
        font-size: 20pt;
        margin: 0 0 2mm 0;
        color: #000;
    }

    .print-header p {
        font-size: 11pt;
        color: #444;
        margin: 0;
    }

    .print-carrier-group {
        page-break-inside: avoid;
        margin-top: 8mm;
    }

    .print-carrier-header {
        font-size: 13pt;
        background-color: #eee;
        padding: 2mm 4mm;
        margin-bottom: 0;
        border-bottom: 1px solid #ccc;
        font-weight: bold;
    }

    .print-table {
        width: 100%;
        border-collapse: collapse;
        margin-bottom: 5mm;
    }

    .print-table th {
        text-align: left;
        padding: 2mm;
        border-bottom: 1px solid #000;
        font-weight: bold;
        font-size: 9pt;
        text-transform: uppercase;
    }

    .print-table td {
        padding: 2mm;
        border-bottom: 1px solid #ddd;
        vertical-align: top;
    }

    .print-table tr.print-child-item td {
        color: #333;
    }

    .print-checkbox-cell {
        width: 20px;
        text-align: center;
    }

    .print-checkbox {
        display: inline-block;
        width: 4mm;
        height: 4mm;
        border: 1px solid #000;
        border-radius: 1px;
    }

    /* Arrow for print view hierarchy */
    .arrow-wrapper {
        display: inline-block;
        width: 4mm;
        margin-right: 2mm;
        border-bottom: 1px solid #999;
        border-left: 1px solid #999;
        height: 3mm;
        vertical-align: middle;
        transform: translateY(-1mm);
    }

    .statistics-section {
        page-break-before: auto;
        margin-top: 15mm;
        border-top: 2px solid #000;
        padding-top: 5mm;
    }

    .statistics-list {
        list-style: none;
        padding: 0;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 4mm;
    }

    .statistics-list li {
        border-bottom: 1px solid #eee;
        padding-bottom: 1mm;
    }
    
    .statistics-list li strong {
        display: block;
        font-size: 9pt;
    }
    
    .statistics-list li span {
        font-size: 11pt;
    }
}