/* statistiques.css - Styles pour la page statistiques */

.stats {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.stat-item {
    flex: 1 1 150px;
    background: var(--card-bg);
    box-shadow: var(--box-shadow);
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: default;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.stat-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark);
}

.stat-label {
    font-size: 1rem;
    color: var(--gray-600);
    user-select: none;
}

.export-options {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 20px;
}

/* Styles pour la page statistiques */
.statistics-container {
    background: #f6f7fb;
    min-height: 100vh;
    padding-bottom: 2em;
}

.statistics-wrapper {
    max-width: 900px;
    margin: 2em auto;
    background: #f6f7fb;
    min-height: 100vh;
    padding-bottom: 2em;
}

.export-card-warning {
    background-color: #ffc107;
}

.coming-soon-message {
    text-align: center;
    color: #888;
    padding: 2em;
    font-style: italic;
}

.export-card {
    flex: 1 1 150px;
    background: var(--card-bg);
    border-radius: 8px;
    padding: 20px;
    box-shadow: var(--box-shadow);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.export-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.export-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.export-title {
    font-weight: 600;
    margin-bottom: 10px;
    user-select: none;
}

.export-btn {
    text-decoration: none;
    background: var(--secondary);
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-weight: 600;
    transition: background-color 0.2s ease;
}

.export-btn:hover {
    background: var(--primary);
}

.chart-options {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.chart-options .form-group {
    flex: 1 1 150px;
    min-width: 150px;
}

.chart-container {
    position: relative;
    width: 100%;
    max-width: 700px;
}

/* Responsive */
@media (max-width: 768px) {
    .stats {
        flex-direction: column;
    }
    .export-options {
        flex-direction: column;
    }
    .chart-options {
        flex-direction: column;
    }
}
