body {
    margin: 0;
    font-family: sans-serif;
    background: url('/images/bkscreen/POS-image1.jpg') no-repeat center center fixed;
    background-size: cover;
    color: #fff;
}
.site-logo-link {
    position: fixed;
    top: 10px;
    left: 12px;
    z-index: 1200;
    display: inline-block;
    text-decoration: none;
}

.site-logo {
    width: 1.5cm;
    height: 1.5cm;
    object-fit: contain;
    display: block;
    border-radius: 12px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.14);
    box-shadow: 0 8px 22px rgba(0,0,0,0.28);
    padding: 4px;
}

.page-shell {
    min-height: 100vh;
    padding: 20px;
    box-sizing: border-box;
    backdrop-filter: blur(6px);
    background: rgba(0, 0, 0, 0.18);
}

.page-title {
    text-align: center;
    margin: 8px 0 18px;
    font-size: 28px;
    font-weight: 700;
}

.filter-bar {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 18px;
}

#yearSelect {
    min-width: 110px;
    padding: 8px 10px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.25);
    background: rgba(0,0,0,0.65);
    color: #fff;
}

/* KPI */
.kpi-container {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.kpi-card {
    flex: 1 1 180px;
    min-height: 88px;
    background: rgba(0,0,0,0.65);
    padding: 14px 16px;
    border-radius: 12px;
    text-align: center;
    box-sizing: border-box;
}

.kpi-label {
    font-size: 13px;
    opacity: 0.9;
    margin-bottom: 8px;
}

.kpi-value {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
}

/* charts */
.chart-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 24px;
}

.chart-grid canvas {
    width: 100% !important;
    height: 320px !important;
    background: rgba(0,0,0,0.65);
    border-radius: 12px;
    padding: 12px;
    box-sizing: border-box;
}

#shareChart {
    grid-column: span 2;
    height: 360px !important;
}

/* table */
.data-table {
    width: 100%;
    background: rgba(0,0,0,0.7);
    border-collapse: collapse;
    border-radius: 12px;
    overflow: hidden;
}

.data-table th,
.data-table td {
    padding: 12px 10px;
    border-bottom: 1px solid rgba(255,255,255,0.12);
    text-align: center;
}

.data-table th {
    font-size: 15px;
    font-weight: 700;
    background: rgba(0,0,0,0.35);
}

.data-table td {
    font-size: 14px;
}

.data-table tbody tr:hover {
    background: rgba(255,255,255,0.06);
}

@media (max-width: 900px) {
    .chart-grid {
        grid-template-columns: 1fr;
    }

    #shareChart {
        grid-column: span 1;
    }

    .chart-grid canvas,
    #shareChart {
        height: 300px !important;
    }
}