/* Survey Kepuasan BPMP Papua – Plugin Styles */

.skb-wrapper {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 16px;
}

/* Header */
.skb-header {
    text-align: center;
    margin-bottom: 32px;
}

.skb-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 6px;
}

.skb-subtitle {
    font-size: 1rem;
    color: #555;
    margin: 0 0 4px;
}

.skb-total {
    font-size: 0.95rem;
    color: #333;
    margin: 0;
}

/* Grid */
.skb-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

/* Card */
.skb-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.skb-card-no {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: #1a73e8;
    margin: 0 0 6px;
}

.skb-card-title {
    font-size: 0.9rem;
    color: #333;
    text-align: center;
    margin: 0 0 16px;
    line-height: 1.4;
    min-height: 2.8em;
}

/* Chart canvas */
.skb-chart-wrap {
    width: 180px;
    height: 180px;
    margin-bottom: 16px;
}

.skb-chart-wrap canvas {
    width: 100% !important;
    height: 100% !important;
}

/* Legend */
.skb-legend {
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
}

.skb-legend li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: #444;
    padding: 4px 0;
    border-bottom: 1px solid #f0f0f0;
}

.skb-legend li:last-child {
    border-bottom: none;
}

.skb-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
}

/* Responsive */
@media (max-width: 480px) {
    .skb-title { font-size: 1.2rem; }
    .skb-grid  { grid-template-columns: 1fr; }
}
