/* Variables globales */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #34495e;
    --accent-color: #3498db;
    --success-color: #2ecc71;
    --warning-color: #f1c40f;
    --danger-color: #e74c3c;
    --light-bg: #f8f9fa;
    --dark-text: #2c3e50;
    --light-text: #ecf0f1;
    --card-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --hover-transform: translateY(-3px);
    --transition-speed: 0.3s;
}

/* Styles de base */
body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--light-bg);
    color: var(--dark-text);
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

/* Styles des cartes */
.card {
    border: none;
    border-radius: 10px;
    box-shadow: var(--card-shadow);
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
    background: white;
}

.card:hover {
    transform: var(--hover-transform);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.card-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--light-text);
    border-radius: 10px 10px 0 0 !important;
    border: none;
    padding: 1.25rem;
}

/* Styles des boutons */
.btn {
    border-radius: 6px;
    padding: 0.4rem 1rem;
    font-weight: 500;
    transition: all var(--transition-speed);
}

.btn-primary {
    background-color: var(--primary-color);
    border: none;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
}

/* Styles des tableaux */
.table {
    border-radius: 8px;
    overflow: hidden;
}

.table thead th {
    background-color: var(--primary-color);
    color: var(--light-text);
    font-weight: 500;
    border: none;
}

/* Styles des modales */
.modal-content {
    border-radius: 12px;
    border: none;
    box-shadow: var(--card-shadow);
}

.modal-header {
    background: var(--primary-color);
    color: white;
    border-radius: 12px 12px 0 0;
}

.modal-footer {
    border-top: none;
}

/* Styles des formulaires */
.form-control {
    border-radius: 8px;
    padding: 0.5rem 1rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: all var(--transition-speed);
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(44, 62, 80, 0.25);
}

/* Styles des alertes */
.alert {
    border-radius: 8px;
    border: none;
    box-shadow: var(--card-shadow);
}

/* Styles responsifs */
@media (max-width: 767px) {
    .container {
        padding: 0 10px;
    }
    
    .card {
        margin-bottom: 1rem;
    }
    
    .btn {
        padding: 0.3rem 0.8rem;
    }
}

/* Styles des badges */
.badge {
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-weight: 500;
}

/* Styles des listes */
.list-group-item {
    border-radius: 8px;
    margin-bottom: 8px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 0.7rem;
}

/* Styles des titres */
h1, h2, h3, h4, h5, h6 {
    color: var(--primary-color);
    font-weight: 600;
}

/* Styles des liens */
a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color var(--transition-speed);
}

a:hover {
    color: var(--secondary-color);
    text-decoration: none;
}

/* Styles des icônes */
.fas, .far, .fab {
    margin-right: 0.5rem;
}

/* Styles des conteneurs */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
}

/* Styles des grilles */
.row {
    margin: -0.5rem;
}

.col, .col-1, .col-2, .col-3, .col-4, .col-5, .col-6, 
.col-7, .col-8, .col-9, .col-10, .col-11, .col-12 {
    padding: 0.5rem;
}

/* Déplacer ces styles spécifiques dans un fichier dashboard-styles.css */
.notification-card {
    height: 100%;
    min-height: 200px;
}

.news-card {
    height: 100%;
    min-height: 300px;
}

.carousel-inner {
    border-radius: 15px;
}

.carousel-item {
    padding: 20px;
} 