/**
 * Styles communs pour les modules en construction
 * Ce CSS peut être ajouté dans chaque fichier page-*.css
 */

/* Style pour le message "module en construction" */
.module-coming-soon {
    text-align: center;
    padding: 3rem 1rem;
    background-color: #f9fafb;
    border-radius: 8px;
    margin: 2rem 0;
}

.module-coming-soon i {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    opacity: 0.8;
}

.module-coming-soon h2 {
    color: #374151;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.module-coming-soon p {
    color: #6b7280;
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 1rem;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px) {
    .module-coming-soon {
        padding: 2rem 1rem;
    }
    
    .module-coming-soon h2 {
        font-size: 1.3rem;
    }
    
    .module-coming-soon p {
        font-size: 1rem;
    }
}

/* Dashboard stats */
    .dashboard-stats {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
        margin: 30px 0;
    }
    
    .stat-card {
        background: white;
        border-radius: 10px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.05);
        padding: 20px;
        display: flex;
        align-items: center;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    
    .stat-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    }
    
    .stat-icon {
        width: 60px;
        height: 60px;
        background: #e5e7eb;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-right: 20px;
    }
    
    .stat-icon i {
        font-size: 24px;
        color: #1f2937;
    }
    
    .stat-info h3 {
        font-size: 28px;
        margin: 0 0 5px;
        color: #1f2937;
    }
    
    .stat-info p {
        margin: 0;
        color: #6b7280;
    }
    
    /* Upcoming events */
    .upcoming-events {
        margin: 40px 0;
    }
    
    .upcoming-events h2 {
        font-size: 1.5rem;
        color: #1f2937;
        margin-bottom: 20px;
        position: relative;
        padding-bottom: 10px;
    }
    
    .upcoming-events h2:after {
        content: '';
        position: absolute;
        width: 60px;
        height: 3px;
        background: var(--primary-color);
        bottom: 0;
        left: 0;
        border-radius: 2px;
    }
    
    .no-events {
        padding: 20px;
        background: #f9fafb;
        border-radius: 10px;
        text-align: center;
        color: #6b7280;
    }
    
    .events-list {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 20px;
    }
    
    .event-item {
        display: flex;
        background: white;
        border-radius: 10px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.05);
        overflow: hidden;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    
    .event-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    }
    
    .event-date {
        width: 70px;
        background: var(--primary-color);
        color: white;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 10px 0;
    }
    
    .event-date .day {
        font-size: 1.8rem;
        font-weight: 700;
        line-height: 1;
    }
    
    .event-date .month {
        font-size: 0.9rem;
        text-transform: uppercase;
    }
    
    .event-details {
        flex: 1;
        padding: 15px;
        position: relative;
    }
    
    .event-details h3 {
        font-size: 1.1rem;
        margin: 0 0 5px;
        color: #1f2937;
    }
    
    .event-details p {
        margin: 0 0 15px;
        color: #6b7280;
        font-size: 0.9rem;
    }
    
    .event-status {
        display: inline-block;
        padding: 3px 10px;
        border-radius: 20px;
        font-size: 0.8rem;
        font-weight: 500;
    }
    
    .event-status.confirmé {
        background: #d1fae5;
        color: #065f46;
    }
    
    .event-status.à {
        background: #fef3c7;
        color: #92400e;
    }
    
    /* Admin modules */
    .admin-modules {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 25px;
        margin: 40px 0;
    }
    
    .module-card {
        background: white;
        border-radius: 10px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.05);
        padding: 25px;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    
    .module-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    }
    
    .module-icon {
        width: 70px;
        height: 70px;
        background: #f3f4f6;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 20px;
    }
    
    .module-icon i {
        font-size: 28px;
        color: var(--primary-color);
    }
    
    .module-content h3 {
        font-size: 20px;
        margin: 0 0 10px;
        color: #1f2937;
    }
    
    .module-content p {
        margin: 0 0 20px;
        color: #6b7280;
    }
    
    .btn-primary {
        display: inline-block;
        padding: 10px 20px;
        background: var(--primary-color);
        color: white;
        text-decoration: none;
        border-radius: 6px;
        font-weight: 500;
        transition: background 0.3s ease;
    }
    
    .btn-primary:hover {
        background: var(--secondary-color);
    }
    
    /* Responsive */
    @media (max-width: 768px) {
        .dashboard-stats,
        .admin-modules {
            grid-template-columns: 1fr;
        }
        
        .events-list {
            grid-template-columns: 1fr;
        }
    }