.dashboard-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px;
}
.dashboard-header {
    text-align: center;
    margin-bottom: 20px;
}
.dashboard-header h1 {
    margin-bottom: 6px;
}
.dashboard-header p {
    margin: 0;
    color: #555;
    font-size: 0.95rem;
}
.provinces-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(460px, 1fr));
    gap: 20px;
    align-items: start;
}
.province-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 18px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}
.province-card h2.prov-title {
    margin: 0 0 14px 0;
    padding-bottom: 8px;
    border-bottom: 2px solid #eee;
    font-size: 1.35rem;
}
.stats-box {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-bottom: 16px;
}
.stats-box .stat {
    background: #f8f9fa;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 10px 6px;
    text-align: center;
}
.stats-box .stat strong {
    display: block;
    font-size: 1.25rem;
    line-height: 1.2;
}
.stats-box .stat span {
    font-size: 0.75rem;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
.section-label {
    font-size: 0.95rem;
    font-weight: 700;
    margin: 14px 0 8px 0;
    color: #333;
}
.activity-pills {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
    margin-bottom: 14px;
}
.activity-pill {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f4f6f8;
    border: 1px solid #e2e6ea;
    border-radius: 5px;
    padding: 6px 10px;
    font-size: 0.88rem;
}
.community-grid-compact {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
}
.community-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 7px 10px;
    background: #fafafa;
    border: 1px solid #e5e5e5;
    border-radius: 5px;
    text-decoration: none;
    color: inherit;
    font-size: 0.9rem;
    transition: background 0.15s ease;
}
.community-item:hover {
    background: #eef4fa;
}
.community-count {
    background: #e9ecef;
    padding: 2px 7px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}
.toggle-communities-btn {
    width: 100%;
    padding: 9px;
    margin-top: 10px;
    cursor: pointer;
    background: #f4f4f4;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-weight: 600;
    font-size: 0.88rem;
}
.toggle-communities-btn:hover {
    background: #eaeaea;
}
.footer-note {
    text-align: center;
    font-size: 0.85rem;
    color: #666;
    margin-top: 18px;
}
@media (max-width: 540px) {
    .provinces-grid {
        grid-template-columns: 1fr;
    }
    .stats-box {
        grid-template-columns: repeat(2, 1fr);
    }
    .community-grid-compact {
        grid-template-columns: 1fr;
    }
}
