:root {
    /* Light UI Color Palette based on Álamo Haeckel Logo */
    --navy-blue: #132454;
    --navy-blue-glass: rgba(19, 36, 84, 0.85);
    --navy-light: #2C4B8C;
    --deep-red: #A51928;
    --deep-red-glass: rgba(165, 25, 40, 0.85);

    --bg-light: #f0f4f8;
    --text-primary: #132454;
    --text-secondary: #4a5a7a;
    --text-muted: #7b8ca8;

    /* True Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.75);
    --glass-border: rgba(255, 255, 255, 0.6);
    --glass-shadow: 0 10px 30px 0 rgba(19, 36, 84, 0.08);
    --blur: blur(20px);

    --success: #10a37f;
    --danger: #A51928;
}

.tpv-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.tpv-badge .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.tpv-badge.online {
    background: rgba(16, 163, 127, 0.1);
    color: var(--success);
    border-color: rgba(16, 163, 127, 0.2);
}

.tpv-badge.online .dot {
    background: var(--success);
    box-shadow: 0 0 8px var(--success);
    animation: blinkGlow 2s infinite;
}

.tpv-badge.offline {
    background: rgba(165, 25, 40, 0.05);
    color: var(--text-muted);
    border-color: rgba(165, 25, 40, 0.1);
}

.tpv-badge.offline .dot {
    background: var(--text-muted);
}

@keyframes blinkGlow {
    0% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.6;
        transform: scale(1.2);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

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

body.light-theme {
    background: linear-gradient(145deg, #e6f0fa 0%, #ffffff 50%, #d1e2f3 100%);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    display: flex;
    min-height: 100vh;
    overflow-x: hidden;
    background-attachment: fixed;
}

/* Language Switcher */
.lang-toggle-wrapper {
    position: absolute;
    top: 1.5rem;
    right: 2.5rem;
    display: flex;
    gap: 5px;
    padding: 6px;
    border-radius: 20px;
    z-index: 1000;
}

.lang-btn {
    background: transparent;
    border: none;
    padding: 6px 12px;
    border-radius: 12px;
    font-weight: 700;
    color: var(--text-muted);
    cursor: pointer;
    transition: 0.3s;
    font-size: 0.8rem;
}

.lang-btn.active {
    background: var(--navy-blue);
    color: #fff;
    box-shadow: 0 4px 10px rgba(19, 36, 84, 0.3);
}

.lang-btn:hover:not(.active) {
    color: var(--navy-blue);
}

/* Glassmorphism Refined for Light UI */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: var(--blur);
    -webkit-backdrop-filter: var(--blur);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: 16px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s;
}

/* Deeper inner elements */
.glass-panel-inner {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(19, 36, 84, 0.05);
    border-radius: 12px;
}

/* Animations */
.slide-up {
    animation: slideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.slide-left {
    animation: slideLeft 0.5s ease-out forwards;
}

.hidden {
    display: none !important;
}

@keyframes slideUp {
    0% {
        transform: translateY(40px);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideLeft {
    0% {
        transform: translateX(40px);
        opacity: 0;
    }

    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 15px rgba(165, 25, 40, 0.2);
    }

    50% {
        box-shadow: 0 0 25px rgba(165, 25, 40, 0.5);
    }

    100% {
        box-shadow: 0 0 15px rgba(165, 25, 40, 0.2);
    }
}

/* Login */
#login-screen {
    margin: auto;
    padding: 3.5rem;
    width: 440px;
    text-align: center;
    border-top: 5px solid var(--navy-blue);
    /* Álamo blue stripe */
}

.login-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 1rem;
    filter: drop-shadow(0 4px 6px rgba(19, 36, 84, 0.1));
}

h1 {
    margin-bottom: 0.5rem;
    font-weight: 800;
    font-size: 2.2rem;
    color: var(--navy-blue);
    letter-spacing: -0.5px;
}

.subtitle {
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    font-size: 1rem;
}

.input-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.input-group label {
    display: block;
    margin-bottom: 0.6rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.input-group input,
.input-group select {
    width: 100%;
    padding: 1rem 1.2rem;
    border-radius: 8px;
    border: 1px solid rgba(19, 36, 84, 0.1);
    background: rgba(255, 255, 255, 0.8);
    color: var(--text-primary);
    font-size: 1rem;
    font-family: inherit;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02);
}

.input-group input:focus,
.input-group select:focus {
    outline: none;
    border-color: var(--navy-light);
    box-shadow: 0 0 0 3px rgba(44, 75, 140, 0.15);
    background: #fff;
}

select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23132454' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
}

.btn-glow {
    width: 100%;
    padding: 1.1rem;
    background: var(--navy-blue);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 8px 15px rgba(19, 36, 84, 0.2);
}

.btn-glow:hover:not(:disabled) {
    background: var(--navy-light);
    transform: translateY(-2px);
    box-shadow: 0 12px 20px rgba(19, 36, 84, 0.3);
}

.btn-glow.success-btn {
    background: var(--success);
    box-shadow: 0 8px 15px rgba(16, 163, 127, 0.2);
}

.btn-glow.success-btn:hover:not(:disabled) {
    background: #0e8c6c;
    box-shadow: 0 12px 20px rgba(16, 163, 127, 0.3);
}

.btn-glow:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.err-text {
    color: var(--danger);
    margin-top: 1rem;
    font-size: 0.9rem;
    font-weight: 600;
}

.status-msg {
    margin-top: 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
}

.status-msg.success {
    background: rgba(16, 163, 127, 0.1);
    color: var(--success);
    border: 1px solid rgba(16, 163, 127, 0.2);
}

.status-msg.error {
    background: rgba(165, 25, 40, 0.1);
    color: var(--danger);
    border: 1px solid rgba(165, 25, 40, 0.2);
}

/* Workspace Layout */
#app-workspace {
    display: flex;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.sidebar {
    width: 280px;
    border-right: 1px solid rgba(19, 36, 84, 0.05);
    padding: 2.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    z-index: 10;
    margin: 1rem;
    height: calc(100vh - 2rem);
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--navy-blue);
    margin-bottom: 2.5rem;
    padding-left: 0.5rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.nav-links {
    list-style: none;
    flex: 1;
}

.nav-links li {
    padding: 1rem 1.2rem;
    margin-bottom: 0.8rem;
    border-radius: 10px;
    cursor: pointer;
    color: var(--text-secondary);
    transition: all 0.3s;
    font-weight: 600;
    font-size: 1.05rem;
}

.nav-links li:hover {
    background: rgba(19, 36, 84, 0.05);
    color: var(--navy-blue);
    transform: translateX(3px);
}

.nav-links li.active {
    background: var(--navy-blue);
    color: #fff;
    box-shadow: 0 4px 12px rgba(19, 36, 84, 0.2);
}

.user-profile {
    padding-top: 1.5rem;
    border-top: 1px solid rgba(19, 36, 84, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.user-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

#active-user {
    font-weight: 700;
    color: var(--navy-blue);
    font-size: 0.95rem;
    text-transform: uppercase;
}

.role-badge {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
}

.btn-micro {
    background: transparent;
    border: 1px solid rgba(165, 25, 40, 0.4);
    color: var(--deep-red);
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s;
    font-size: 0.8rem;
    font-weight: 600;
}

.btn-micro:hover {
    color: #fff;
    background: var(--deep-red);
    border-color: var(--deep-red);
}

.btn-danger-icon {
    background: rgba(165, 25, 40, 0.05);
    border: 1px solid rgba(165, 25, 40, 0.2);
    color: var(--danger);
    width: 38px;
    height: 38px;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-danger-icon:hover {
    background: var(--danger);
    color: white;
    transform: rotate(15deg) scale(1.1);
    box-shadow: 0 4px 15px rgba(165, 25, 40, 0.3);
}

.main-content {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.view-section {
    padding: 2.5rem;
    height: 100vh;
    overflow-y: auto;
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
}

/* Dashboard Cards */
.dashboard-header {
    margin-bottom: 2.5rem;
}

.dashboard-header h2 {
    font-size: 2rem;
    color: var(--navy-blue);
    font-weight: 800;
}

.dashboard-header .subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-top: 0.4rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.stat-card {
    padding: 2rem;
    text-align: left;
    border-top: 4px solid var(--navy-blue);
    position: relative;
    overflow: hidden;
}

.stat-card::after {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 100px;
    height: 100px;
    background: rgba(19, 36, 84, 0.03);
    border-radius: 50%;
}

.stat-card h3 {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    border: none;
    padding: 0;
    font-weight: 700;
}

.stat-card p {
    font-size: 1rem;
    font-weight: 800;
    color: var(--navy-blue);
}

.highlight-navy {
    color: var(--navy-blue) !important;
    font-weight: 800 !important;
}

/* Top search bar in POS */
.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1.5rem;
    position: relative;
    z-index: 100;
    /* Ensure search bar area is above grid cards */
}

.search-box {
    position: relative;
    width: 65%;
    display: flex;
    align-items: center;
}

.search-icon {
    width: 22px;
    height: 22px;
    color: var(--text-muted);
    position: absolute;
    left: 1.2rem;
}

.search-box input {
    width: 100%;
    padding: 1.2rem 1.2rem 1.2rem 3.5rem;
    border-radius: 30px;
    border: 1px solid rgba(19, 36, 84, 0.1);
    background: rgba(255, 255, 255, 0.8);
    color: var(--navy-blue);
    font-size: 1.1rem;
    transition: 0.3s;
    font-weight: 600;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02);
}

.search-box input:focus {
    outline: none;
    border-color: var(--navy-light);
    box-shadow: 0 0 0 4px rgba(44, 75, 140, 0.1);
    background: #fff;
}

.search-box input::placeholder {
    color: var(--text-muted);
    font-weight: 400;
}

.dropdown-results {
    position: absolute;
    top: 120%;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: var(--blur);
    border: 1px solid rgba(19, 36, 84, 0.1);
    border-radius: 12px;
    max-height: 350px;
    overflow-y: auto;
    z-index: 1000;
    /* High z-index to override any card */
    padding: 0.5rem;
    box-shadow: 0 15px 40px rgba(19, 36, 84, 0.1);
}

.dropdown-item {
    padding: 1rem 1.2rem;
    border-bottom: 1px solid rgba(19, 36, 84, 0.04);
    cursor: pointer;
    transition: 0.2s;
    display: flex;
    justify-content: space-between;
    border-radius: 8px;
}

.dropdown-item:hover {
    background: rgba(19, 36, 84, 0.04);
    transform: translateX(5px);
}

.dropdown-item:last-child {
    border: none;
}

.di-name {
    font-weight: 700;
    color: var(--navy-blue);
}

.di-uuid {
    font-size: 0.85rem;
    color: var(--text-secondary);
    background: rgba(19, 36, 84, 0.05);
    padding: 0.3rem 0.6rem;
    border-radius: 12px;
    font-weight: 600;
}

.fiscal-badge {
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.9rem;
    background: rgba(165, 25, 40, 0.1);
    color: var(--danger);
    border: 1px solid rgba(165, 25, 40, 0.2);
    transition: 0.3s;
    animation: pulseGlow 2s infinite;
}

.fiscal-ready {
    background: rgba(16, 163, 127, 0.1);
    color: var(--success);
    border-color: rgba(16, 163, 127, 0.2);
    animation: none;
}

/* Main Grid */
.terminal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.panel {
    padding: 2.5rem;
}

.panel h2,
.panel h3 {
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
    color: var(--navy-blue);
    border-bottom: 1px solid rgba(19, 36, 84, 0.1);
    padding-bottom: 0.8rem;
    font-weight: 800;
}

.empty-state {
    text-align: center;
    color: var(--text-muted);
    padding: 4rem 1rem;
    font-style: italic;
    font-size: 1.1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.student-card {
    margin-top: 1.5rem;
}

.student-data-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.2rem;
    border-bottom: 1px dashed rgba(19, 36, 84, 0.1);
    padding-bottom: 0.6rem;
}

.student-data-row span:first-child {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.student-data-row span:last-child {
    color: var(--navy-blue);
    font-weight: 700;
    text-align: right;
    font-size: 1.05rem;
}

.summary-box {
    padding: 2rem;
    margin: 2rem 0;
    border: 1px solid rgba(19, 36, 84, 0.1);
}

.summary-box p {
    display: flex;
    justify-content: space-between;
    color: var(--text-secondary);
    margin-bottom: 0.8rem;
    font-size: 1.15rem;
    font-weight: 600;
}

.summary-box .highlight {
    color: var(--deep-red);
}

.summary-box h3 {
    display: flex;
    justify-content: space-between;
    color: var(--navy-blue);
    font-size: 1.8rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(19, 36, 84, 0.1);
    border-bottom: none;
}

/* Data tables */
.data-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-top: 1.5rem;
}

.data-table th,
.data-table td {
    padding: 1.2rem 1rem;
    text-align: left;
}

.data-table th {
    color: var(--text-muted);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    border-bottom: 2px solid rgba(19, 36, 84, 0.1);
}

.data-table td {
    border-bottom: 1px solid rgba(19, 36, 84, 0.05);
    font-weight: 500;
}

.data-table tr {
    transition: background 0.2s;
}

.data-table tr:hover {
    background-color: rgba(19, 36, 84, 0.02);
}

/* Modals & Forms */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(19, 36, 84, 0.4);
    backdrop-filter: blur(5px);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-box {
    width: 600px;
    max-width: 90%;
    padding: 3rem;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-box h2 {
    color: var(--navy-blue);
    font-size: 1.8rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid rgba(19, 36, 84, 0.1);
    padding-bottom: 1rem;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.pagination-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(19, 36, 84, 0.1);
}

.tabs {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tab-btn {
    background: transparent;
    border: 1px solid rgba(19, 36, 84, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    transition: 0.3s;
    font-size: 0.85rem;
}

.tab-btn.active {
    background: var(--navy-blue);
    color: #fff;
    border-color: var(--navy-blue);
    box-shadow: 0 4px 10px rgba(19, 36, 84, 0.2);
}

.tab-btn:hover:not(.active) {
    background: rgba(19, 36, 84, 0.05);
}

/* Custom Searchable Dropdown */
.custom-select-wrapper {
    position: relative;
    user-select: none;
    z-index: 50;
}

.custom-select-trigger {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.2rem;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(19, 36, 84, 0.1);
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    color: var(--navy-blue);
    transition: all 0.3s ease;
}

.custom-select-trigger:hover {
    border-color: var(--navy-light);
    background: #fff;
}

.chevron-icon {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.custom-select-wrapper.open .chevron-icon {
    transform: rotate(180deg);
}

.custom-select-panel {
    position: absolute;
    top: 105%;
    left: 0;
    width: 100%;
    background: #fff;
    border: 1px solid rgba(19, 36, 84, 0.1);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(19, 36, 84, 0.15);
    overflow: hidden;
    animation: slideUpShort 0.2s ease-out;
}

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

.panel-search {
    padding: 0.8rem;
    border-bottom: 1px solid rgba(19, 36, 84, 0.05);
}

.panel-search input {
    width: 100%;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    border: 1px solid rgba(19, 36, 84, 0.1);
    background: #f8fafc;
    font-family: inherit;
    font-size: 0.9rem;
    outline: none;
}

.panel-results {
    max-height: 300px;
    overflow-y: auto;
}

.panel-results .dropdown-item {
    padding: 0.8rem 1.2rem;
    border-bottom: 1px solid rgba(19, 36, 84, 0.02);
}

.panel-footer {
    padding: 0.6rem;
    background: #f8fafc;
    text-align: right;
    border-top: 1px solid rgba(19, 36, 84, 0.05);
}

.btn-link {
    background: none;
    border: none;
    color: var(--navy-light);
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: underline;
}

.suggested-chips {
    margin-top: 0.5rem;
}

/* ==== RESPONSIVE DESIGN ==== */
@media (max-width: 1100px) {
    .terminal-grid {
        grid-template-columns: 1fr;
    }

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

    .search-box {
        width: 55%;
    }
}

@media (max-width: 768px) {
    #app-workspace {
        flex-direction: column;
        height: auto;
        min-height: 100vh;
        overflow: auto;
    }

    .sidebar {
        width: 100%;
        height: auto;
        margin: 0;
        border-radius: 0;
        border-right: none;
        border-bottom: 1px solid rgba(19, 36, 84, 0.1);
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        padding: 1rem 1.5rem;
        z-index: 50;
        position: relative;
    }

    .logo {
        margin-bottom: 0;
        width: 100%;
        justify-content: center;
    }

    .nav-links {
        display: flex;
        flex-direction: row;
        width: 100%;
        gap: 0.5rem;
        margin-top: 1rem;
        margin-bottom: 0;
    }

    .nav-links li {
        margin-bottom: 0;
        padding: 0.8rem;
        text-align: center;
        flex: 1;
        font-size: 0.95rem;
    }

    .user-profile {
        width: 100%;
        padding-top: 1rem;
        margin-top: 1rem;
        border-top: 1px solid rgba(19, 36, 84, 0.1);
    }

    .main-content {
        overflow: visible;
    }

    .view-section {
        position: relative;
        height: auto;
        padding: 1rem;
        overflow-y: visible;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .stat-card {
        padding: 1.5rem;
    }

    .top-bar {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
        padding: 1rem;
    }

    .search-box {
        width: 100%;
    }

    #login-screen {
        width: 90%;
        padding: 2rem 1.5rem;
    }

    .lang-toggle-wrapper {
        top: 0.5rem;
        right: 0.5rem;
        background: var(--glass-bg);
        backdrop-filter: var(--blur);
        border: 1px solid var(--glass-border);
    }

    .data-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    .panel {
        padding: 1.5rem;
    }

    .panel h2 {
        font-size: 1.1rem;
    }

    .summary-box {
        padding: 1rem;
    }

    .summary-box p {
        font-size: 1rem;
    }

    .summary-box h3 {
        font-size: 1.5rem;
        margin-top: 1rem;
        padding-top: 1rem;
    }
}