.top10-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.top10-card {
    background: #fff;
    border: 1px solid #e5e8ea;
    border-radius: 8px;
    padding: 18px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.06);
    margin-bottom: 18px;
}

.top10-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 12px;
}

.top10-date {
    font-weight: 700;
    color: #2c3e50;
    font-size: 18px;
}

.top10-day {
    color: #7f8c8d;
    font-size: 13px;
    margin-left: 6px;
}

.top10-cta {
    padding: 8px 14px;
    border-radius: 4px;
    background: #e74c3c;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
}

.category-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.category-tab {
    padding: 8px 12px;
    border-radius: 4px;
    border: 1px solid #e5e8ea;
    background: #f7f9fb;
    color: #2c3e50;
    cursor: pointer;
    font-weight: 600;
}

.category-tab.active {
    background: #e74c3c;
    color: #fff;
    border-color: #e74c3c;
}

.category-panel {
    display: none;
}

.category-panel.active {
    display: block;
}

.top10-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.top10-table th,
.top10-table td {
    padding: 8px 6px;
    border-bottom: 1px solid #ecf0f1;
}

.top10-table th {
    text-align: left;
    color: #7f8c8d;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.top10-table td strong {
    color: #2c3e50;
}

.top10-table td .price {
    color: #e74c3c;
    font-weight: 700;
}

.pagination {
    margin-top: 18px;
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.pagination a {
    padding: 8px 12px;
    border: 1px solid #e5e8ea;
    border-radius: 4px;
    text-decoration: none;
    color: #2c3e50;
    background: #fff;
}

.pagination .current {
    background: #e74c3c;
    color: #fff;
    border-color: #e74c3c;
}

.totals-bar {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    align-items: center;
    margin: 12px 0;
    font-size: 14px;
    color: #2c3e50;
}

.totals-bar .badge {
    background: #ecf0f1;
    border-radius: 6px;
    padding: 6px 10px;
    font-weight: 700;
}

.filter-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 12px;
}

.filter-row select,
.filter-row input[type=\"text\"] {
    padding: 8px 10px;
    border: 1px solid #e5e8ea;
    border-radius: 4px;
}

.filter-row button {
    padding: 8px 12px;
    border: none;
    border-radius: 4px;
    background: #e74c3c;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}

.empty-state {
    padding: 14px;
    background: #f8f9fb;
    border: 1px dashed #e5e8ea;
    border-radius: 6px;
    color: #7f8c8d;
}

.review-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.review-title {
    font-size: 18px;
    font-weight: 700;
    color: #2c3e50;
}

.review-subtitle {
    font-size: 13px;
    color: #7f8c8d;
}

.review-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.review-badge {
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    border: 1px solid transparent;
}

.review-badge.confirmed {
    background: #dcfce7;
    color: #166534;
    border-color: #bbf7d0;
}

.review-badge.pending {
    background: #fef3c7;
    color: #92400e;
    border-color: #fde68a;
}

.review-button {
    padding: 6px 12px;
    border-radius: 4px;
    border: none;
    background: #e74c3c;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}

.review-link {
    padding: 6px 12px;
    border-radius: 4px;
    border: 1px solid #e5e8ea;
    background: #fff;
    color: #2c3e50;
    text-decoration: none;
    font-weight: 600;
}

.exclude-button {
    padding: 6px 10px;
    border-radius: 4px;
    border: 1px solid #e74c3c;
    background: #fff;
    color: #e74c3c;
    font-weight: 700;
    cursor: pointer;
}

.exclude-button:hover {
    background: #fee2e2;
}

.muted {
    color: #94a3b8;
    font-size: 12px;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

@media (max-width: 1400px) {
    .results-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 1100px) {
    .results-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .results-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .results-grid {
        grid-template-columns: 1fr;
    }
}

/* Dynamic sizing when layout controls are active */
body.layout-controls-active .results-grid {
    grid-template-columns: repeat(auto-fill, minmax(var(--card-min-width, 280px), 1fr));
}


