/**
 * Styles for Hoeveel Zijn Er Nog Plugin
 */

.hoeveel-zijn-er-nog-wrapper {
    width: 100%;
    margin: 20px 0;
    box-sizing: border-box;
}

.rdw-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.rdw-stat-item {
    background: rgba(0, 0, 0, 0.02);
    padding: 20px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease;
}

.rdw-stat-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.rdw-stat-label {
    display: block;
    font-size: 0.85em;
    color: inherit;
    opacity: 0.7;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.rdw-stat-value {
    display: block;
    font-size: 1.5em;
    font-weight: 700;
    color: inherit;
}

.rdw-stat-value small {
    display: block;
    font-size: 0.5em;
    color: inherit;
    opacity: 0.6;
    margin-top: 4px;
    font-weight: normal;
}

/* Responsive design for smaller screens */
@media (max-width: 600px) {
    .rdw-stats-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   Phase 2 — new shortcode styles
   ========================================================= */

/* History chart */
.hzen-history-wrap {
    margin: 20px 0;
}

/* Top-N leaderboard */
.hzen-top-n-wrap {
    margin: 20px 0;
    overflow-x: auto;
}

.hzen-top-n-table {
    width: 100%;
    border-collapse: collapse;
}

.hzen-top-n-table th,
.hzen-top-n-table td {
    padding: 10px 14px;
    text-align: left;
    border-bottom: 1px solid rgba(0,0,0,0.08);
}

.hzen-top-n-table th {
    font-weight: 700;
    font-size: 0.82em;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    opacity: 0.7;
}

.hzen-top-n-table .hzen-rank {
    width: 40px;
    text-align: center;
    font-weight: 700;
}

.hzen-top-n-table .hzen-value {
    font-weight: 600;
}

.hzen-top-n-table .hzen-date {
    opacity: 0.6;
    font-size: 0.88em;
}

/* Compare chart */
.hzen-compare-wrap {
    margin: 20px 0;
}

/* Model page */
.hzen-model-page {
    margin: 20px 0;
}

.hzen-model-page .hzen-model-title {
    margin-top: 0;
}

.hzen-model-history {
    margin-top: 32px;
}

/* Generic notices */
.hzen-error,
.hzen-no-data {
    padding: 12px 16px;
    border-left: 4px solid #d63638;
    background: rgba(214, 54, 56, 0.05);
    margin: 16px 0;
}

.hzen-no-data {
    border-color: #72aee6;
    background: rgba(114, 174, 230, 0.05);
}