/* Public Statistics Styles */
body {
    background: #f8f9fa;
    min-height: 100vh;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #333;
    overflow-x: hidden;
}

.container-fluid {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

.stats-header {
    background: white;
    border-radius: 8px;
    padding: 20px 30px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.stats-header h1 {
    font-size: 2rem;
    font-weight: 600;
    margin: 0;
    color: #2c3e50;
}

.back-link {
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
}

.back-link:hover {
    color: #0056b3;
}

.stat-card {
    background: white;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.card-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #2c3e50;
    border-bottom: 2px solid #f1f3f4;
    padding-bottom: 10px;
}

.stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding: 8px 0;
}

.stat-label {
    color: #666;
    font-size: 0.95rem;
}

.stat-value {
    font-weight: 600;
    font-size: 1.1rem;
    color: #333;
}

.blocked-color {
    color: #e74c3c !important;
}

.clean-color {
    color: #27ae60 !important;
}

.error-color {
    color: #f39c12 !important;
}

.chart-container {
    background: white;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    height: 400px;
    overflow: hidden;
}

.chart-container h4 {
    margin-bottom: 20px;
    color: #2c3e50;
    font-weight: 600;
}

.chart-container canvas {
    max-height: 320px !important;
}

.summary-grid {
    background: white;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.summary-item {
    text-align: center;
    padding: 15px;
}

.summary-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.summary-label {
    color: #666;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.info-section {
    background: #fff;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.info-section h4 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 600;
}

.info-section p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 10px;
}

.footer-note {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin-top: 30px;
    text-align: center;
    color: #666;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .stats-header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .summary-number {
        font-size: 2rem;
    }

    .chart-container {
        height: 300px;
    }

    .chart-container canvas {
        max-height: 220px !important;
    }
}