/* Import des polices Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

/* Styles de base pour tous les éléments */
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: "Open Sans", sans-serif;
}

/* Compensation pour le header fixe */
body {
    padding-top: 84px;
}

/* Flash messages */
.notice, .alert {
    max-width: 1300px;
    margin: 10px auto;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
}

.notice {
    background: #ECFDF5;
    color: #065F46;
    border: 1px solid #A7F3D0;
}

.alert {
    background: #FEF2F2;
    color: #991B1B;
    border: 1px solid #FECACA;
}

/* Container principal */
.container {
    max-width: 1300px;
    margin: 0 auto;
}

/* Admin dashboard base */
.admin-dashboard h1 {
    font-size: 32px;
    margin: 10px 0 16px;
}

.admin-dashboard ul {
    margin-left: 18px;
    list-style: disc;
}

.admin-dashboard li {
    margin-bottom: 6px;
}

/* Styles de base pour les liens */
a {
    text-decoration: none;
}

/* Suppression du focus par défaut sur les inputs */
input:focus {
    outline: none;
}

/* Classe utilitaire pour masquer les éléments */
.hidden {
    display: none !important;
}

/* Styles généraux pour les sections */
section {
    margin: 0 74px;
}

/* Styles pour les boutons avec effet de survol */
.btn-primary {
    border-radius: 30px;
    border: 1px solid #1D252B;
    padding: 14px 22px;
    color: #1D252B;
    font-size: 16px;
    font-weight: 600;
    background-image: linear-gradient(to left,
    transparent,
    transparent 50%,
    #1D252B 50%,
    #1D252B);
    background-position: 100% 0;
    background-size: 200% 100%;
    transition: all .25s ease-in;
    cursor: pointer;
}

.btn-primary:hover {
    background-position: 0 0;
    color: #fff;
}

/* Styles pour les cartes */
.card {
    border-radius: 20px;
    border: 1px solid var(--color-stroke, #E2E7EA);
    background: #FFF;
    padding: 20px;
}

/* Styles pour les titres de sections */
.section-title {
    color: var(--deep-dark-concree, #172735);
    font-size: 44px;
    font-weight: 700;
    line-height: 54px;
}

.section-subtitle {
    color: var(--Color1, #223245);
    font-size: 16px;
    font-weight: 400;
    line-height: 40px;
}

/* Styles pour les transitions */
.transition {
    transition: .2s all ease-in-out;
}

/* Styles pour les éléments avec effet de survol */
.hover-effect {
    transition: all .25s ease-in;
    cursor: pointer;
}

/* Styles pour les conteneurs flex */
.flex {
    display: flex;
}

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.flex-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

/* Styles pour les espacements */
.gap-10 { gap: 10px; }
.gap-20 { gap: 20px; }
.gap-30 { gap: 30px; }

/* Styles pour les marges */
.mt-20 { margin-top: 20px; }
.mt-30 { margin-top: 30px; }
.mt-40 { margin-top: 40px; }
.mt-50 { margin-top: 50px; }

.mb-20 { margin-bottom: 20px; }
.mb-30 { margin-bottom: 30px; }
.mb-40 { margin-bottom: 40px; }
.mb-50 { margin-bottom: 50px; }

/* Styles pour les paddings */
.p-20 { padding: 20px; }
.p-30 { padding: 30px; }
.p-40 { padding: 40px; }
.p-50 { padding: 50px; }

/* Styles pour les couleurs de texte */
.text-primary { color: #1D252B; }
.text-secondary { color: #5B6878; }
.text-accent { color: #F90; }
.text-white { color: #FFF; }

/* Styles pour les tailles de police */
.text-sm { font-size: 14px; }
.text-base { font-size: 16px; }
.text-lg { font-size: 20px; }
.text-xl { font-size: 24px; }
.text-2xl { font-size: 32px; }
.text-3xl { font-size: 40px; }
.text-4xl { font-size: 48px; }

/* Styles pour les poids de police */
.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }

/* Styles pour les bordures arrondies */
.rounded-sm { border-radius: 10px; }
.rounded-md { border-radius: 15px; }
.rounded-lg { border-radius: 20px; }
.rounded-xl { border-radius: 25px; }
.rounded-2xl { border-radius: 30px; }

/* Styles pour les largeurs */
.w-full { width: 100%; }
.w-auto { width: auto; }

/* Styles pour les hauteurs */
.h-full { height: 100%; }
.h-auto { height: auto; }

/* Styles pour le responsive */
@media (max-width: 767px) {
    .section-title {
        font-size: 32px;
        line-height: 50px;
    }
    
    .section-subtitle {
        font-size: 12px;
        line-height: 26px;
    }
    
    section {
        margin: 0 20px;
    }
    
    .container {
        margin: 0 0;
        padding: 20px;
    }
}
