/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* Variables AGIAS */
:root {
  --primary-color: #1e4a73;      /* Bleu institutionnel du logo */
  --secondary-color: #e67e22;    /* Orange/doré du logo */
  --accent-color: #f39c12;       /* Orange plus vif pour les accents */
  --white: #ffffff;
  --bg-color: #f8f9fa;
  --text-color: #333333;
  --transition: all 0.3s ease;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-hover: 0 8px 25px rgba(0, 0, 0, 0.15);
  --gradient-primary: linear-gradient(135deg, #1e4a73, #2c5f8a);
  --gradient-secondary: linear-gradient(135deg, #e67e22, #f39c12);
  --gradient-mixed: linear-gradient(135deg, #1e4a73, #e67e22);
}

body {
    margin: 0;
    font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
    background: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Banner événement */
.evenement-banner {
    background: linear-gradient(135deg, #f8f9fa 0%, #e3f2fd 50%, #f0f8ff 100%) !important;
    padding: 40px 0 !important;
    margin-bottom: 40px !important;
    border-bottom: 3px solid var(--secondary-color);
    position: relative;
    overflow: hidden;
}

.evenement-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23e67e22" fill-opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.evenement-banner h2 {
    color: var(--primary-color) !important;
    font-weight: 700 !important;
    font-size: 2.2rem !important;
    margin-bottom: 30px !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.evenement-banner img {
    border-radius: 20px !important;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15) !important;
    transition: transform 0.3s ease;
}

.evenement-banner img:hover {
    transform: translateY(-5px);
}

.evenement-banner a {
    background: var(--gradient-secondary) !important;
    padding: 15px 40px !important;
    border-radius: 50px !important;
    font-weight: 600 !important;
    box-shadow: 0 8px 25px rgba(230, 126, 34, 0.3) !important;
    transition: all 0.3s ease !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.evenement-banner a:hover {
    background: var(--gradient-primary) !important;
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(30, 74, 115, 0.4) !important;
}

/* Header moderne */
.header {
    background: var(--gradient-primary);
    padding: 40px 0 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255,255,255,0.1) 0%, transparent 50%, rgba(255,255,255,0.1) 100%);
    pointer-events: none;
}

.breadcrumb {
    display: inline-block;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 35px;
    border-radius: 50px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    font-size: 1.1rem;
    margin-top: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--secondary-color);
}

.breadcrumb span {
    margin: 0 12px;
    color: #888;
    font-weight: 500;
}

/* Section de recherche et filtres moderne */
.search-filter-section {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    position: relative;
    z-index: 10;
}

.search-container {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border-radius: 50px;
    padding: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    width: 100%;
    max-width: 500px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.search-container:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.2);
}

.search-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 15px 25px;
    font-size: 1.1rem;
    background: transparent;
    color: var(--text-color);
    font-weight: 500;
}

.search-input::placeholder {
    color: rgba(51, 51, 51, 0.6);
    font-weight: 400;
}

.search-btn {
    background: var(--gradient-secondary);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(230, 126, 34, 0.3);
}

.search-btn:hover {
    background: var(--gradient-primary);
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(30, 74, 115, 0.4);
}

/* Filtres modernes */
.filter-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin-bottom: 20px;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(30, 74, 115, 0.2);
    border-radius: 50px;
    padding: 12px 25px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.filter-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-secondary);
    transition: left 0.3s ease;
    z-index: -1;
}

.filter-btn:hover::before {
    left: 0;
}

.filter-btn:hover {
    color: white;
    border-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(230, 126, 34, 0.3);
}

.filter-btn.active {
    background: var(--gradient-secondary);
    color: white;
    border-color: var(--secondary-color);
    box-shadow: 0 8px 25px rgba(230, 126, 34, 0.4);
    transform: translateY(-2px);
}

.filter-btn.active::before {
    left: 0;
}

.search-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 12px 20px;
    font-size: 1rem;
    border-radius: 20px;
}

.search-btn {
    background: #165bb6;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s;
}

.search-btn:hover {
    background: #0d4692;
}

.filter-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.filter-btn {
    padding: 8px 16px;
    border: 2px solid #fff;
    background: transparent;
    color: #fff;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
    background: #fff;
    color: #165bb6;
}

/* Container principal */
.container {
    max-width: 1200px;
    margin: -60px auto 0 auto;
    padding: 0 20px 60px 20px;
    position: relative;
    z-index: 10;
}

/* Section des statistiques moderne */
.stats-section {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 60px;
    flex-wrap: wrap;
    animation: slideInFromLeft 0.8s ease;
}

.stat-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    padding: 35px 25px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
    min-width: 180px;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-secondary);
    transition: height 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(30, 74, 115, 0.2);
    border-color: var(--secondary-color);
}

.stat-card:hover::before {
    height: 100%;
    opacity: 0.1;
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 12px;
    transition: all 0.3s ease;
}

.stat-card:hover .stat-number {
    color: var(--secondary-color);
    transform: scale(1.1);
}

.stat-label {
    color: #666;
    font-weight: 600;
    font-size: 1.1rem;
    line-height: 1.4;
}
/* Grille des cours moderne */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
    animation: fadeInUp 0.6s ease;
}

.course-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border-radius: 24px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    position: relative;
}

.course-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: var(--gradient-secondary);
    transition: all 0.3s ease;
}

.course-card:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: 0 20px 50px rgba(30, 74, 115, 0.15);
    border-color: var(--secondary-color);
}

.course-card:hover::before {
    height: 100%;
    opacity: 0.05;
}

.course-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.course-card:hover img {
    transform: scale(1.08);
}

.card-content {
    padding: 28px 24px 24px 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Badges modernisés */
.badge {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.badge:hover::before {
    left: 100%;
}

.badge.biochemistry { background: linear-gradient(135deg, #4a69bd, #5a7bd7); }
.badge.economics { background: linear-gradient(135deg, #f6b93b, #ffd700); }
.badge.media { background: linear-gradient(135deg, #b71540, #d63384); }
.badge.public-admin { background: linear-gradient(135deg, #60a3bc, #74c0fc); }
.badge.sciences { background: linear-gradient(135deg, #38ada9, #51cf66); }
.badge.finance { background: linear-gradient(135deg, #fa983a, #fd7e14); }

.card-content h3 {
    margin: 0 0 16px 0;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1.3;
    transition: color 0.3s ease;
}

.course-card:hover .card-content h3 {
    color: var(--secondary-color);
}

.card-content p {
    flex: 1;
    margin: 0 0 24px 0;
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
}

/* Actions des cartes modernisées */
.card-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.favorite-btn {
    background: rgba(255, 255, 255, 0.8);
    border: 2px solid rgba(230, 126, 34, 0.3);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    cursor: pointer;
    color: #666;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
}

.favorite-btn:hover {
    transform: scale(1.1) rotate(360deg);
    background: var(--secondary-color);
    color: #fff;
    border-color: var(--secondary-color);
    box-shadow: 0 6px 20px rgba(230, 126, 34, 0.4);
}

.read-more {
    background: var(--gradient-primary);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    padding: 12px 24px;
    border-radius: 25px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.read-more::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.read-more:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(30, 74, 115, 0.3);
}

.read-more:hover::before {
    left: 100%;
}

/* Pagination moderne */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 60px;
    padding: 30px 0;
    animation: fadeInUp 0.6s ease;
}

.pagination-btn {
    padding: 14px 24px;
    background: var(--gradient-primary);
    color: #fff;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    min-width: 120px;
}

.pagination-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.pagination-btn:hover:not(:disabled) {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 30px rgba(30, 74, 115, 0.3);
}

.pagination-btn:hover:not(:disabled)::before {
    left: 100%;
}

.pagination-btn:disabled {
    background: linear-gradient(135deg, #ccc, #e0e0e0);
    cursor: not-allowed;
    transform: none;
    opacity: 0.6;
}

.pagination-info {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.1rem;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 2px solid rgba(30, 74, 115, 0.2);
}

/* Modale moderne */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from { 
        opacity: 0;
        backdrop-filter: blur(0px);
    }
    to { 
        opacity: 1;
        backdrop-filter: blur(8px);
    }
}

.modal-content {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    margin: 3% auto;
    padding: 0;
    border-radius: 25px;
    width: 90%;
    max-width: 700px;
    position: relative;
    animation: slideIn 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 25px 80px rgba(0,0,0,0.3);
    border: 2px solid rgba(255, 255, 255, 0.3);
    overflow: hidden;
}

.modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: var(--gradient-secondary);
}

@keyframes slideIn {
    from { 
        transform: translateY(-80px) scale(0.8); 
        opacity: 0; 
    }
    to { 
        transform: translateY(0) scale(1); 
        opacity: 1; 
    }
}

.close {
    position: absolute;
    right: 25px;
    top: 20px;
    color: #999;
    font-size: 32px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1001;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.close:hover {
    color: #fff;
    background: var(--secondary-color);
    transform: rotate(90deg) scale(1.1);
}

#modalBody {
    padding: 40px 35px 35px 35px;
}

#modalBody h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 2rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.modal-description {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
}

.modal-details h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    border-bottom: 3px solid var(--secondary-color);
    padding-bottom: 10px;
    font-size: 1.4rem;
    font-weight: 700;
}

.program-info {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    padding: 25px;
    border-radius: 20px;
    margin: 25px 0;
    border: 2px solid rgba(30, 74, 115, 0.1);
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.info-item {
    margin-bottom: 15px;
    font-size: 1.1rem;
    line-height: 1.5;
}

.info-item strong {
    color: var(--secondary-color);
    font-weight: 700;
}

.modal-actions {
    display: flex;
    gap: 20px;
    margin-top: 35px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #fff;
    border: none;
    padding: 15px 30px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    min-width: 150px;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 40px rgba(30, 74, 115, 0.3);
}

.btn-primary:hover::before {
    left: 100%;
}

/* Formulaire d'inscription à l'événement */
.event-modal-body {
    padding: 40px 35px 35px 35px;
}

.event-modal-body h2 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 2rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.event-description {
    font-size: 1.1rem;
    color: var(--secondary-color);
    margin-bottom: 30px;
    font-weight: 600;
    text-align: center;
    padding: 15px;
    background: rgba(230, 126, 34, 0.1);
    border-radius: 15px;
    border: 2px solid rgba(230, 126, 34, 0.2);
}

.event-form {
    margin-top: 25px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px 18px;
    border: 2px solid rgba(30, 74, 115, 0.2);
    border-radius: 15px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(230, 126, 34, 0.2);
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 1);
}

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

.form-group select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 12px center;
    background-repeat: no-repeat;
    background-size: 16px;
    appearance: none;
}

/* Checkbox personnalisée */
.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 20px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 0;
    color: #333;
    font-weight: 500;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 22px;
    height: 22px;
    border: 3px solid var(--primary-color);
    border-radius: 6px;
    position: relative;
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin-top: 1px;
    background: rgba(255, 255, 255, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.checkbox-label:hover .checkmark {
    border-color: var(--secondary-color);
    transform: scale(1.05);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: var(--gradient-primary);
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 2px rgba(230, 126, 34, 0.2);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-weight: bold;
    font-size: 14px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.checkbox-label a {
    color: var(--secondary-color);
    text-decoration: underline;
    font-weight: 600;
    transition: color 0.3s ease;
}

.checkbox-label a:hover {
    color: var(--primary-color);
}

/* Actions du formulaire */
.form-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 35px;
    flex-wrap: wrap;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 15px 30px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    min-width: 150px;
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 40px rgba(30, 74, 115, 0.3);
}

/* Notifications améliorées */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 16px 24px;
    border-radius: 15px;
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    transform: translateX(400px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10000;
    max-width: 400px;
    backdrop-filter: blur(15px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.notification.show {
    transform: translateX(0);
}

.notification-success {
    background: linear-gradient(135deg, #00b894, #00cec9);
    border: 2px solid rgba(0, 184, 148, 0.3);
}

.notification-error {
    background: linear-gradient(135deg, #e74c3c, #fd79a8);
    border: 2px solid rgba(231, 76, 60, 0.3);
}

.notification-info {
    background: var(--gradient-primary);
    border: 2px solid rgba(30, 74, 115, 0.3);
}

/* Responsive pour le formulaire */
@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .event-modal-body {
        padding: 25px 20px;
    }
    
    .form-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .notification {
        right: 10px;
        left: 10px;
        max-width: none;
        transform: translateY(-100px);
    }
    
    .notification.show {
        transform: translateY(0);
    }
}

.btn-secondary {
    background: transparent;
    color: #165bb6;
    border: 2px solid #165bb6;
    padding: 10px 22px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-secondary:hover {
    background: #165bb6;
    color: #fff;
}

/* Notifications */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #165bb6;
    color: #fff;
    padding: 15px 25px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    transform: translateX(400px);
    transition: transform 0.3s ease;
    z-index: 1001;
    font-weight: 500;
}

.notification.show {
    transform: translateX(0);
}

@media (max-width: 700px) {
    .courses-grid {
        grid-template-columns: 1fr;
    }
    .header {
        padding: 24px 0 40px 0;
    }
    .container {
        margin-top: -20px;
    }
    
    .search-filter-section {
        padding: 0 20px;
    }
    
    .filter-container {
        gap: 8px;
    }
    
    .filter-btn {
        padding: 6px 12px;
        font-size: 0.9em;
    }
    
    .stats-section {
        gap: 15px;
        padding: 0 20px;
    }
    
    .stat-card {
        min-width: 120px;
        padding: 18px;
    }
    
    .stat-number {
        font-size: 2em;
    }
    
    .modal-content {
        width: 95%;
        margin: 10% auto;
    }
    
    #modalBody {
        padding: 20px;
    }
    
    .modal-actions {
        flex-direction: column;
    }
    
    .pagination {
        flex-direction: column;
        gap: 15px;
    }
    
    .card-actions {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
}
