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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f5f7fa;
    padding: 20px;
    line-height: 1.3;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
}

/* Bandeau du haut */
.header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 12px 30px;
}

.header h1 {
    font-size: 20px;
    margin-bottom: 0;
}

.stats {
            background: rgba(255,255,255,0.2);
			font-size: 15px;
            padding: 10px 20px;
            border-radius: 5px;
            display: inline-block;
            margin-top: 10px;
}

/* Barre de navigation avec onglets */
.navbar {
    background: #2c3e50;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    border-bottom: 3px solid #667eea;
}

.navbar a {
    color: white;
    text-decoration: none;
    padding: 12px 25px;
    display: inline-block;
    transition: all 0.3s;
    font-weight: 500;
    font-size: 14px;
    border-right: 1px solid rgba(255,255,255,0.1);
}

.navbar a:first-child {
    border-left: none;
}

.navbar a:hover {
    background: #34495e;
    color: #667eea;
}

.navbar a.active {
    background: #667eea;
    color: white;
}

/* Zone de contenu avec tuiles */
.content {
    padding: 5px;
}

.content-title {
    font-size: 24px;
    color: #2c3e50;
    margin-bottom: 10px;
    text-align: center;
}

.tiles-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-top: 10px;
}

.tiles-container-8 {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 15px;
    margin-top: 10px;
}
.tiles-container-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 10px;
}
/* Style des tuiles */
.tile {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.tile:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Tuile avec image */
.tile-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.tile-content {
    padding: 20px;
}

.tile-title {
    font-size: 14px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 10px;
}

.tile-text {
    font-size: 12px;
    color: #6c757d;
    line-height: 1;
}

/* Tuile texte uniquement (sans image) */
.tile-text-only {
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 250px;
}

.tile-text-only .tile-title {
    font-size: 8px;
    margin-bottom: 5px;
}

/* Icône optionnelle en haut de la tuile texte */
.tile-icon {
    font-size: 40px;
    text-align: center;
    margin-bottom: 15px;
}

/* Pied de page */
.footer {
    background: #2c3e50;
    color: white;
    padding: 15px 30px;
    text-align: center;
    font-size: 14px;
    border-top: 3px solid #667eea;
}

.footer a {
    color: #667eea;
    text-decoration: none;
}

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

.navfermes {
    background-color: #e4f0f5;
	color: white;
    padding: 0;
    border-bottom: 3px solid #667eea;
	font-size: 12px;
    border-right: 1px solid rgba(255,255,255,0.1);
}


thead {
  border-bottom: 2px solid rgb(160 160 160);
  text-align: center;
  background-color: #2c5e77;
  color: white;
}

tbody {
  background-color: #e4f0f5;
}
/* Responsive */
@media (max-width: 992px) {
    .tiles-container {
        grid-template-columns: repeat(2, 1fr);
    }
	.tiles-container-8 {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .tiles-container {
        grid-template-columns: 1fr;
    }
	.tiles-container-8 {
        grid-template-columns: 2fr;
    }
    
    .navbar {
        flex-wrap: wrap;
    }
    
    .navbar a {
        padding: 10px 15px;
        font-size: 12px;
    }
}
