/* ── Stats Module ────────────────────────────────────────────────────────── */

.r33-stats-module {
    max-width: 860px;
}

.r33-stats-status-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.r33-stats-status-card {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    flex: 1;
    min-width: 220px;
}

.r33-stats-status-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.r33-status-live    { background: #0e2e0e; color: #4caf50; border: 1px solid #4caf50; }
.r33-status-draft   { background: #1e1e1e; color: #888;    border: 1px solid #444; }
.r33-status-paused  { background: #2a1a00; color: #c9a84c; border: 1px solid #c9a84c; }
.r33-status-pending { background: #1a1a2e; color: #7a8fc9; border: 1px solid #7a8fc9; }

.r33-stats-status-meta {
    font-size: 12px;
    color: #555;
}

.r33-stats-kpi {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #111;
    border: 1px solid #2a2a2a;
    border-radius: 8px;
    padding: 12px 20px;
    min-width: 80px;
    text-align: center;
}

.r33-stats-kpi-value {
    font-size: 22px;
    font-weight: 700;
    color: #c9a84c;
    line-height: 1.1;
}

.r33-stats-kpi-max {
    font-size: 14px;
    color: #555;
    font-weight: 400;
}

.r33-stats-kpi-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #555;
    margin-top: 4px;
}

.r33-stats-panel {
    background: #111;
    border: 1px solid #2a2a2a;
    border-radius: 8px;
    padding: 22px 24px;
    margin-bottom: 20px;
}

.r33-stats-progress-wrap {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.r33-stats-progress-bar {
    flex: 1;
    height: 6px;
    background: #1e1e1e;
    border-radius: 3px;
    overflow: hidden;
}

.r33-stats-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #9a7332, #c9a84c);
    border-radius: 3px;
    transition: width 0.4s ease;
}

.r33-stats-progress-label {
    font-size: 12px;
    color: #666;
    white-space: nowrap;
}

.r33-stats-checklist {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px 24px;
}

@media (max-width: 600px) {
    .r33-stats-checklist { grid-template-columns: 1fr; }
}

.r33-stats-check-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 0;
    border-bottom: 1px solid #181818;
}

.r33-stats-check-icon {
    font-size: 13px;
    width: 16px;
    text-align: center;
    flex-shrink: 0;
}

.r33-stats-check-row.is-done .r33-stats-check-icon    { color: #4caf50; }
.r33-stats-check-row.is-missing .r33-stats-check-icon { color: #444; }

.r33-stats-check-label {
    font-size: 13px;
    flex: 1;
}

.r33-stats-check-row.is-done .r33-stats-check-label    { color: #bbb; }
.r33-stats-check-row.is-missing .r33-stats-check-label { color: #666; }

.r33-stats-check-fix {
    font-size: 11px;
    color: #c9a84c;
    text-decoration: none;
    white-space: nowrap;
    opacity: 0.7;
    transition: opacity 0.15s;
}

.r33-stats-check-fix:hover { opacity: 1; }

.r33-stats-summary-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1px;
    background: #1e1e1e;
    border-radius: 6px;
    overflow: hidden;
}

@media (max-width: 680px) {
    .r33-stats-summary-grid { grid-template-columns: 1fr 1fr; }
}

.r33-stats-summary-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    background: #111;
    transition: background 0.15s;
}

.r33-stats-summary-item:hover { background: #141414; }

.r33-stats-summary-icon {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.r33-icon-photos   { background: #0f1e2a; color: #4a9fd4; }
.r33-icon-video    { background: #1a1a2e; color: #7a8fc9; }
.r33-icon-rates    { background: #1e1800; color: #c9a84c; }
.r33-icon-services { background: #0e2e0e; color: #4caf50; }
.r33-icon-desc     { background: #1e1218; color: #c47ab0; }
.r33-icon-location { background: #1e0e0e; color: #c97a7a; }

.r33-stats-summary-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.r33-stats-summary-val {
    font-size: 13px;
    font-weight: 600;
    color: #e0e0e0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.r33-stats-empty { color: #555 !important; }
.r33-stats-warn  { color: #c9a84c !important; }

.r33-stats-summary-sub {
    font-size: 11px;
    color: #555;
}

.r33-stats-link {
    color: #c9a84c;
    text-decoration: none;
    font-size: 11px;
    transition: color 0.15s;
}

.r33-stats-link:hover { color: #e0bc5a; }

.r33-stats-ai-badge {
    display: inline-block;
    padding: 1px 6px;
    background: #1e1218;
    border: 1px solid #c47ab0;
    border-radius: 3px;
    font-size: 10px;
    font-weight: 700;
    color: #c47ab0;
    letter-spacing: 0.5px;
    vertical-align: middle;
}
