
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: #f5f7fa;
    color: #2c3e50;
    line-height: 1.6;
}

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

/* Header */
.main-header {
    background: #2c3e50;
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

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

.logo a {
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    text-decoration: none;
}

.main-nav {
    display: flex;
    gap: 1.5rem;
}

.main-nav a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.main-nav a:hover,
.main-nav a.active {
    color: white;
}

.user-menu {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Auth boxes */
.auth-box {
    max-width: 400px;
    margin: 100px auto;
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.auth-box h1 {
    margin-bottom: 1.5rem;
    text-align: center;
    color: #2c3e50;
}

/* Forms */
.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.form-group textarea {
    min-height: 100px;
    resize: vertical;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-primary {
    background: #3498db;
    color: white;
}

.btn-primary:hover {
    background: #2980b9;
}

.btn-secondary {
    background: #95a5a6;
    color: white;
}

.btn-secondary:hover {
    background: #7f8c8d;
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.btn-success {
    background: #27ae60;
    color: white;
}

.btn-danger {
    background: #e74c3c;
    color: white;
}

/* Alerts */
.alert {
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.alert-error {
    background: #ffe5e5;
    color: #c0392b;
    border: 1px solid #c0392b;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #28a745;
}

/* Dashboard */
.dashboard {
    margin-top: 2rem;
}

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

.solde-card {
    margin-top: 1rem;
}

.solde {
    font-size: 2rem;
    font-weight: bold;
}

.solde.positif {
    color: #27ae60;
}

.solde.negatif {
    color: #e74c3c;
}

.quick-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

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

.repas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.repas-card {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    transition: transform 0.2s;
}

.repas-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.repas-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 1rem;
}

.repas-header h3 {
    font-size: 1.1rem;
    color: #2c3e50;
}

.type-badge {
    background: #3498db;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
}

.repas-date {
    color: #7f8c8d;
    margin-bottom: 0.5rem;
}

.repas-participants {
    color: #95a5a6;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.empty-state {
    text-align: center;
    color: #95a5a6;
    padding: 2rem;
}

.text-center {
    text-align: center;
    margin-top: 1rem;
}

.text-center a {
    color: #3498db;
    text-decoration: none;
}

.text-center a:hover {
    text-decoration: underline;
}

/* Table */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

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

table th {
    background: #f8f9fa;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .main-nav {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .repas-grid {
        grid-template-columns: 1fr;
    }
}

/* Page content */
.page-content {
    margin-top: 2rem;
}

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

.page-subtitle {
    color: #7f8c8d;
    margin-bottom: 1.5rem;
}

/* Form card */
.form-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    max-width: 700px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

/* Search form */
.search-form {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.search-form input {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
}

/* Filter tabs */
.filter-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid #e9ecef;
}

.tab {
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    color: #7f8c8d;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: all 0.3s;
}

.tab:hover {
    color: #2c3e50;
}

.tab.active {
    color: #3498db;
    border-bottom-color: #3498db;
}

/* Recettes */
.recettes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.recette-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.2s;
}

.recette-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.recette-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.recette-meta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    color: #7f8c8d;
}

.recette-cout {
    color: #27ae60;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.recette-description {
    color: #555;
    line-height: 1.5;
    margin-bottom: 0.75rem;
}

.recette-author {
    color: #95a5a6;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

/* Repas detail */
.repas-detail {
    margin-top: 2rem;
}

.repas-detail-header {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.repas-meta {
    color: #7f8c8d;
    margin-bottom: 1rem;
}

.repas-description {
    color: #555;
    line-height: 1.6;
    margin-top: 1rem;
}

.participation-form {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e9ecef;
}

.participation-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.participation-form select {
    width: 100%;
    max-width: 300px;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.repas-grid-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

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

.card h2 {
    margin-bottom: 1rem;
    color: #2c3e50;
    font-size: 1.3rem;
}

/* Participants */
.participant-list {
    list-style: none;
}

.participant-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    margin-bottom: 0.5rem;
    background: #f8f9fa;
    border-radius: 4px;
}

.status-badge {
    font-size: 1.2rem;
}

/* Teams */
.team-card {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.team-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.team-members {
    color: #7f8c8d;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
}

/* Recette detail */
.recette-detail {
    margin-top: 2rem;
}

.recette-detail-header {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.recette-info-bar {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.info-item {
    display: flex;
    flex-direction: column;
}

.info-label {
    font-size: 0.85rem;
    color: #7f8c8d;
    margin-bottom: 0.25rem;
}

.info-value {
    font-size: 1.1rem;
    font-weight: 500;
    color: #2c3e50;
}

.recette-content-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.ingredients-list {
    list-style: none;
}

.ingredients-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #e9ecef;
}

.ingredients-list li:before {
    content: "✓ ";
    color: #27ae60;
    font-weight: bold;
    margin-right: 0.5rem;
}

.instructions {
    line-height: 1.8;
    color: #555;
}

.recette-actions {
    text-align: center;
}

/* Transactions */
.solde-card-large {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.solde-card-large h2 {
    color: white;
    margin-bottom: 1rem;
}

.solde-amount {
    font-size: 3rem;
    font-weight: bold;
    margin: 1rem 0;
}

.solde-amount.positif {
    color: #2ecc71;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.solde-amount.negatif {
    color: #e74c3c;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.solde-info {
    font-size: 1.1rem;
    opacity: 0.9;
}

.alert-card {
    border-left: 4px solid #f39c12;
    background: #fff9e6;
}

.montant-positif {
    color: #27ae60;
    font-weight: 600;
}

.montant-negatif {
    color: #e74c3c;
    font-weight: 600;
}

/* Badges */
.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 500;
}

.badge-success {
    background: #d4edda;
    color: #155724;
}

.badge-danger {
    background: #f8d7da;
    color: #721c24;
}

.badge-warning {
    background: #fff3cd;
    color: #856404;
}

/* Chat */
.chat-container {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    overflow: hidden;
}

.chat-messages {
    padding: 1rem;
    background: #f8f9fa;
}

.chat-messages-full {
    height: 500px;
    overflow-y: auto;
    padding: 1.5rem;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px 8px 0 0;
}

.chat-message {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.chat-message.own-message {
    background: #e3f2fd;
    margin-left: 20%;
}

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

.message-header strong {
    color: #2c3e50;
}

.time {
    font-size: 0.85rem;
    color: #95a5a6;
}

.chat-message p {
    color: #555;
    margin: 0;
    line-height: 1.5;
    word-wrap: break-word;
}

.chat-form-full {
    padding: 1.5rem;
    background: white;
    border: 1px solid #e9ecef;
    border-top: none;
    border-radius: 0 0 8px 8px;
}

.chat-form-full textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 1rem;
    resize: vertical;
    font-family: inherit;
}

/* Responsive updates */
@media (max-width: 768px) {
    .repas-grid-layout {
        grid-template-columns: 1fr;
    }
    
    .recette-content-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .recette-info-bar {
        flex-direction: column;
        gap: 1rem;
    }
    
    .chat-message.own-message {
        margin-left: 0;
    }
}

.repas-creator {
    color: #95a5a6;
    font-size: 0.9rem;
}


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

.section-card h2 {
    margin-bottom: 1.5rem;
    color: #2c3e50;
}

.periodes-mini-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.periode-mini-card {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #3498db;
}

.periode-mini-card h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.periode-mini-stats {
    color: #7f8c8d;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.mes-creneaux-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.creneau-mini {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    transition: transform 0.2s;
}

.creneau-mini:hover {
    transform: translateX(5px);
    background: #e9ecef;
}

.creneau-mini-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #3498db;
    color: white;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    min-width: 60px;
}

.creneau-mini-date .jour {
    font-size: 1.8rem;
    font-weight: bold;
    line-height: 1;
}

.creneau-mini-date .mois {
    font-size: 0.9rem;
    text-transform: uppercase;
}

.creneau-mini-info {
    flex: 1;
}

.creneau-mini-info h4 {
    color: #2c3e50;
    margin-bottom: 0.25rem;
}

.creneau-mini-info .plat {
    color: #555;
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

.periode-tag {
    display: inline-block;
    background: #e3f2fd;
    color: #1976d2;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.85rem;
}

.creneau-mini-action {
    margin-left: auto;
}

.empty-card {
    text-align: center;
}

.empty-card .empty-state {
    padding: 2rem;
}

.empty-card .empty-state a {
    color: #3498db;
    font-weight: 500;
    text-decoration: none;
}

.empty-card .empty-state a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .periodes-mini-grid {
        grid-template-columns: 1fr;
    }
    
    .creneau-mini {
        flex-direction: column;
        text-align: center;
    }
    
    .creneau-mini-action {
        margin-left: 0;
    }
}


/* Admin section */
.admin-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 2rem;
}

.periodes-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.periode-item {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #3498db;
}

.periode-item .type-badge.weekend {
    background: #3498db;
    color: white;
}

.periode-item .type-badge.vacances {
    background: #e67e22;
    color: white;
}

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

.periode-header h3 {
    margin: 0;
    color: #2c3e50;
}

.periode-dates {
    color: #7f8c8d;
    margin-bottom: 0.5rem;
}

.periode-desc {
    color: #555;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.periode-stats {
    color: #95a5a6;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.periode-actions {
    display: flex;
    gap: 0.5rem;
}

/* Planning page */
.periodes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.periode-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.periode-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.periode-card-header {
    padding: 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.periode-card-header.weekend {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.periode-card-header.vacances {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.periode-card-header h2 {
    color: white;
    margin: 0;
    font-size: 1.3rem;
}

.periode-type-icon {
    font-size: 2.5rem;
}

.periode-card-body {
    padding: 2rem;
}

.periode-dates-large {
    text-align: center;
    margin-bottom: 1.5rem;
    color: #2c3e50;
    line-height: 1.6;
}

.periode-description {
    color: #555;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.periode-stats-box {
    display: flex;
    justify-content: space-around;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: bold;
    color: #3498db;
}

.stat-label {
    display: block;
    font-size: 0.85rem;
    color: #7f8c8d;
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

/* Créneaux calendar */
.periode-header-detail {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.creneaux-calendar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.jour-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.jour-header {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    padding: 1.5rem 2rem;
}

.jour-header h2 {
    margin: 0;
    color: white;
    font-size: 1.4rem;
    text-transform: capitalize;
}

.creneaux-jour {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    padding: 2rem;
}

.creneau-card {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border: 2px solid #e9ecef;
    transition: all 0.3s;
}

.creneau-card.inscrit {
    border-color: #27ae60;
    background: #eafaf1;
}

.creneau-card.complet {
    opacity: 0.7;
}

.creneau-card.ferme {
    opacity: 0.5;
    background: #ecf0f1;
}

.creneau-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.creneau-icon {
    font-size: 1.8rem;
}

.creneau-header h3 {
    margin: 0;
    font-size: 1.1rem;
    color: #2c3e50;
    flex: 1;
}

.creneau-plat {
    color: #555;
    margin-bottom: 1rem;
    font-weight: 500;
}

.creneau-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #ddd;
}

.creneau-participants {
    color: #7f8c8d;
    font-weight: 500;
}

.creneau-statut {
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 500;
}

.creneau-statut.complet {
    background: #fff3cd;
    color: #856404;
}

.creneau-statut.ferme {
    background: #f8d7da;
    color: #721c24;
}

.creneau-action {
    margin-bottom: 0.75rem;
}

.creneau-action button {
    width: 100%;
}

/* Créneau detail */
.creneau-detail-header {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    margin: 2rem 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    text-align: center;
}

.creneau-date-large {
    font-size: 1.2rem;
    color: #7f8c8d;
    margin: 1rem 0;
}

.periode-link {
    color: #3498db;
}

.creneau-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.participants-detail-list {
    list-style: none;
}

.participants-detail-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 4px;
    margin-bottom: 0.75rem;
}

.participant-name {
    font-weight: 500;
    color: #2c3e50;
}

.participant-date {
    font-size: 0.85rem;
    color: #95a5a6;
}

.info-box {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e9ecef;
}

.info-box:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.info-box h4 {
    color: #7f8c8d;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-box p {
    color: #2c3e50;
    font-size: 1.05rem;
    margin: 0;
}

/* Responsive pour planning */
@media (max-width: 768px) {
    .admin-grid {
        grid-template-columns: 1fr;
    }
    
    .periodes-grid {
        grid-template-columns: 1fr;
    }
    
    .creneaux-jour {
        grid-template-columns: 1fr;
    }
    
    .creneau-detail-grid {
        grid-template-columns: 1fr;
    }
}


.highlight-card {
    border: 3px solid #3498db;
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
}

.card-description {
    color: #555;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.generation-form {
    margin-top: 1.5rem;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.separator {
    text-align: center;
    margin: 2rem 0;
    position: relative;
}

.separator::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 1px;
    background: #ddd;
}

.separator span {
    background: #f5f7fa;
    padding: 0 1rem;
    position: relative;
    color: #7f8c8d;
    font-weight: 500;
}

.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.checkbox-card {
    display: block;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 1rem;
    cursor: pointer;
    transition: all 0.3s;
}

.checkbox-card:hover {
    border-color: #3498db;
    background: #e3f2fd;
}

.checkbox-card input[type="checkbox"] {
    margin-right: 0.75rem;
}

.checkbox-card input[type="checkbox"]:checked + .checkbox-content {
    color: #2c3e50;
}

.checkbox-content {
    display: inline-block;
    vertical-align: top;
    width: calc(100% - 30px);
}

.checkbox-content strong {
    display: block;
    color: #2c3e50;
    margin-bottom: 0.25rem;
}

.vacance-dates {
    display: block;
    color: #7f8c8d;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.vacance-duree {
    display: block;
    color: #3498db;
    font-size: 0.85rem;
    font-weight: 500;
}

.info-card {
    background: #fff9e6;
    border-left: 4px solid #f39c12;
}

.info-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.info-card ul {
    list-style: none;
    padding-left: 0;
}

.info-card ul li {
    padding: 0.5rem 0;
    color: #555;
}

.info-card ul li::before {
    margin-right: 0.5rem;
}


.success-card {
    background: #d4edda;
    border-left: 4px solid #28a745;
    text-align: center;
    padding: 3rem 2rem;
}

.success-card h2 {
    color: #155724;
    margin-bottom: 1rem;
}

.warning-card {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
}

.warning-card h2 {
    color: #856404;
    margin-bottom: 1rem;
}

.vacances-manquantes-list {
    margin: 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.vacance-manquante-item {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #f39c12;
}

.vacance-info h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.vacance-info .dates {
    color: #7f8c8d;
    margin-bottom: 0.5rem;
}

.vacance-info .delai {
    margin-top: 0.75rem;
}

.action-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.badge-info {
    background: #d1ecf1;
    color: #0c5460;
}


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

.section-card h2 {
    margin-bottom: 1.5rem;
    color: #2c3e50;
}

.periodes-mini-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.periode-mini-card {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #3498db;
}

.periode-mini-card h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.periode-mini-stats {
    color: #7f8c8d;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.mes-creneaux-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.creneau-mini {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    transition: transform 0.2s;
}

.creneau-mini:hover {
    transform: translateX(5px);
    background: #e9ecef;
}

.creneau-mini-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #3498db;
    color: white;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    min-width: 60px;
}

.creneau-mini-date .jour {
    font-size: 1.8rem;
    font-weight: bold;
    line-height: 1;
}

.creneau-mini-date .mois {
    font-size: 0.9rem;
    text-transform: uppercase;
}

.creneau-mini-info {
    flex: 1;
}

.creneau-mini-info h4 {
    color: #2c3e50;
    margin-bottom: 0.25rem;
}

.creneau-mini-info .plat {
    color: #555;
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

.periode-tag {
    display: inline-block;
    background: #e3f2fd;
    color: #1976d2;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.85rem;
}

.creneau-mini-action {
    margin-left: auto;
}

.empty-card {
    text-align: center;
}

.empty-card .empty-state {
    padding: 2rem;
}

.empty-card .empty-state a {
    color: #3498db;
    font-weight: 500;
    text-decoration: none;
}

.empty-card .empty-state a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .periodes-mini-grid {
        grid-template-columns: 1fr;
    }
    
    .creneau-mini {
        flex-direction: column;
        text-align: center;
    }
    
    .creneau-mini-action {
        margin-left: 0;
    }
}
