/* ============================================
   Podujatia Stats – Frontend Widget
   ============================================ */

.ps-widget {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #1a1a1a;
    max-width: 540px;
    line-height: 1.4;
}

.ps-intro {
    font-size: 15px;
    color: #333;
    margin: 0 0 6px 0;
    font-weight: 400;
}

/* Big total number */
.ps-total {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin: 4px 0 2px 0;
}

.ps-total-number {
    font-size: 56px;
    font-weight: 800;
    line-height: 1;
    color: #111;
    letter-spacing: -1px;
}

.ps-total-label {
    font-size: 22px;
    font-weight: 600;
    color: #111;
}

.ps-subtitle {
    font-size: 14px;
    color: #555;
    margin: 6px 0 16px 0;
}

/* Two-column grid */
.ps-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 32px;
}

.ps-col {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Each stat row */
.ps-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    padding: 5px 0;
    border-bottom: none;
}

.ps-count {
    font-size: 20px;
    font-weight: 700;
    color: #111;
    min-width: 36px;
    text-align: right;
    flex-shrink: 0;
}

.ps-label {
    font-size: 15px;
    color: #333;
    font-weight: 400;
}

/* Preview mode (inside admin) */
.ps-preview {
    background: #fff;
    padding: 28px 32px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    display: inline-block;
}

/* Responsive */
@media (max-width: 480px) {
    .ps-total-number { font-size: 44px; }
    .ps-grid { grid-template-columns: 1fr; gap: 0; }
    .ps-count { min-width: 32px; font-size: 18px; }
    .ps-label { font-size: 14px; }
}
