/* Styles pour la page auteur */
.main-content {
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.become-author-section {
    text-align: center;
    padding: 3rem;
    background: #f5f5f5;
    color: #333;
    border-radius: 8px;
    margin: 2rem 0;
}

.become-author-section p {
    background: #f5f5f5;
    color: #333;
}

.author-dashboard {
    margin-top: 2rem;
}

.stats-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.update-form {
    margin: 0;
}

.global-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    text-align: center;
}

.stat-card h3 {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.stat-number {
    margin: 0.5rem 0 0;
    font-size: 2rem;
    font-weight: bold;
    color: #333;
}

.detailed-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.stats-section {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.stats-table {
    overflow-x: auto;
    margin-top: 1rem;
}

.stats-table table {
    width: 100%;
    border-collapse: collapse;
}

.stats-table th,
.stats-table td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.stats-table th {
    background: #f5f5f5;
    font-weight: 600;
}

.chart-container {
    margin: 1rem 0;
    height: 300px;
}

.empty-stats-message {
    text-align: center;
    padding: 3rem;
    background: #f9f9f9;
    border-radius: 8px;
    margin: 2rem 0;
}

.empty-stats-message h3 {
    color: #666;
    margin-bottom: 1rem;
}

.empty-stats-message p {
    color: #888;
    margin-bottom: 2rem;
    line-height: 1.5;
}

.no-data-message {
    text-align: center;
    color: #888;
    padding: 2rem;
    font-style: italic;
}

/* Boutons */
.btn {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.2s;
}

.btn.primary {
    background: #007bff;
    color: white;
}

.btn.primary:hover {
    background: #0056b3;
}

.btn.secondary {
    background: #6c757d;
    color: white;
}

.btn.secondary:hover {
    background: #5a6268;
}

/* Responsive */
@media (max-width: 768px) {
    .global-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-table {
        font-size: 0.9rem;
    }
}
