:root {
    --color-primary: #1e7f87;     /* Couleur primaire */
    --color-secondary: #612b22;   /* Deuxième couleur */
    --color-tertiary: #e4e4ec;    /* Troisième couleur */

    --color-create: #87ceeb; /* Bleu clair complémentaire */
    --color-orange: #ff6f61; /* Rouge-orange complémentaire */
    --color-validate: #87d769; /* Vert complémentaire */
}

/* Importation des polices */
@font-face {
    font-family: 'Montserrat';
    src: url('/fonts/Montserrat-Regular.woff2') format('woff2'),
         url('/fonts/Montserrat-Regular.woff') format('woff');
    font-weight: 300;
    font-style: normal;
}
@font-face {
    font-family: 'Montserrat-italic';
    src: url('/fonts/Montserrat-LightItalic.woff2') format('woff2'),
         url('/fonts/Montserrat-LightItalic.woff') format('woff');
    font-weight: 300;
    font-style: normal;
}
@font-face {
    font-family: 'Roboto';
    src: url('/fonts/Roboto-Regular.woff2') format('woff2'),
         url('/fonts/Roboto-Regular.woff') format('woff');
    font-weight: 300;
    font-style: normal;
}

/* RESET */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body, p, ul, li {
    list-style: none;
    text-decoration: none;
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
}

h1, h2, h3, h4, span {
    list-style: none;
    text-decoration: none;
    margin: 0;
    padding: 0;
    font-size: 1.1rem;
}

a {
    text-decoration: none; 
    color: inherit; 
    font-family: 'Montserrat', sans-serif;
}

button, 
input[type="button"], 
input[type="submit"] {
    appearance: none;
    background: none; 
    border: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
}

/* HEADER */
.container-header {
    border-bottom: 1px solid black;
    height: 100px;
    background-color: var(--color-primary);
    overflow: hidden;
}

/* FLEX Layout principal */
html, body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 80vh; 
}

/* MAIN qui prend l'espace */
main {
    flex: 1; /* Prend tout l'espace dispo entre header et footer */
    margin: 20px 0;
    width: 100%;
}

/* FOOTER */
.container-footer {
    height: 100px;
    background-color: var(--color-primary);
    margin-top: auto; /* Pour qu'il soit toujours collé en bas */
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
}

/* FLASH messages */
.container_flash-message {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100px;
}
.flash-success {
    margin-top: 50px;
    padding: 20px;
    background-color: #5da9b0;
    color: white;
    text-align: center;
    border-radius: 10px;
}
.flash-error {
    margin-top: 20px;
    padding: 20px;
    background-color: #cb2f2f;
    color: white;
    text-align: center;
    border-radius: 10px;
}
.container-account {
    margin: 0 20px;
}
select.input-field {
    height: 45px;
    line-height: 45px;
}
select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: #f9f9f9;
    border: 1px solid #ccc;
    padding: 0px 30px;
    font-size: 1rem;
    border-radius: 8px;
    width: 100%;
    height: 45px;
    line-height: 45px;
    box-sizing: border-box;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg width='14' height='10' viewBox='0 0 20 10' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23666' d='M0 0l10 10 10-10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 12px;
    cursor: pointer;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 2px rgba(176, 0, 32, 0.2);
}
.logo {
    margin: 10px;
    height: 50px;
}
input {
    font-size: 1rem;
}
.container-footer {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    height: 200px;
}
.logo-ministere {
    width: 300px;
    padding: 15px 0;
}

}
}
