/* Reset de base pour une mise en page propre */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
}

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

.flex-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.grid-container {
    display: grid;
    gap: 20px;
}

/* Typographie */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-uppercase { text-transform: uppercase; }
.text-bold { font-weight: bold; }
.text-muted { color: #777; }
.text-large { font-size: 1.5rem; }
.text-small { font-size: 0.875rem; }

/* Boutons */
.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

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

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

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

.btn-secondary:hover {
    background-color: #545b62;
}

.btn-outline {
    border: 2px solid #007bff;
    color: #007bff;
    background: transparent;
}

.btn-outline:hover {
    background-color: #007bff;
    color: white;
}

.btn-delete {
    border: 2px solid #ff3300;
    color: #ff3300;
    background: transparent;
}

.btn-delete:hover {
    background-color: #ff3300;
    color: white;
}

/* Cartes */
.card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    padding: 20px;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

/* Navigation */
.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.nav-item {
    margin: 0 15px;
    text-decoration: none;
    color: #333;
}

.nav-item:hover {
    color: #007bff;
}

/* Mise en page responsive */
.row { display: flex; flex-wrap: wrap; }
.col { flex: 1; }
.col-50 { flex: 0 0 50%; }
.col-33 { flex: 0 0 33.33%; }
.col-25 { flex: 0 0 25%; }

/* Espacements */
.m-1 { margin: 1rem; }
.m-2 { margin: 2rem; }
.p-1 { padding: 1rem; }
.p-2 { padding: 2rem; }
.mt-1 { margin-top: 1rem; }
.mb-2 { margin-bottom: 2rem; }

/* Effets visuels */
.shadow { box-shadow: 0 2px 4px rgba(0,0,0,0.1); }
.shadow-lg { box-shadow: 0 4px 12px rgba(0,0,0,0.15); }
.rounded { border-radius: 8px; }
.rounded-full { border-radius: 999px; }

/* Couleurs de fond */
.bg-white { background-color: #fff; }
.bg-light { background-color: #f8f9fa; }
.bg-dark { background-color: #343a40; color: white; }
.bg-primary { background-color: #007bff; color: white; }

/* Media Queries pour la responsivité */
@media (max-width: 768px) {
    .col, .col-50, .col-33, .col-25 {
        flex: 0 0 100%;
    }
    
    .nav {
        flex-direction: column;
        gap: 10px;
    }
    
    .btn {
        display: block;
        text-align: center;
    }
}