:root {
    --blue: #151b36;
    --orange: #EC6834;
    --background: #F0F3F7;
    --background-navbar: linear-gradient(to bottom, #151B36, #1f2951, #212B55);
    --btn_update: #FFC107;
    --btn_delete: #DC3545;
}

body {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    background-color: var(--background);
    margin-bottom: 125px;
    overflow-x: hidden;
}

main{
    z-index: -1;
}

.swal2-container {
    z-index: 20000 !important;
  }

h1, h2, h3{
    font-family: 'Roboto', sans-serif;
    font-weight: 600;
    text-align: center;
}

h1{
    font-size: 36px;
    color: var(--orange);
}

h1 span{
    color: var(--blue);
}

h2{
    font-size: 30px;
}

h3{
    font-size: 24px;
}

p{
    font-size: 16px;
}

a{
    text-decoration: none;
    color: black;
}

.hide-dash{
    display: none;
}

.asterisk{
    color: var(--orange);
}

.btn-inline {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 30px;

}

.btn-inline div{
    display: flex;
    align-items: center;
    margin-top: 30px;
    gap: 25px;
}

.btn-inline div:first-child{
    font-size: 16px;
}

.btn-inline a {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    transition: background 0.3s;
    text-align: center;
}

.btn-inline .btn:last-child{
    font-size: 16px;
}

.btn-inline .btn{
    color: black;
}

.error {
    background-color: #fdecea;
    color: #b71c1c;
    font-weight: bold;
    border-left: 4px solid #e53935;
    border-radius: 3px;
    padding: 15px 20px;
}

.introuvable{
    width: 90%;
    margin: 0 auto;
}

.introuvable .btn{
    margin-top: 25px;
    display: inline-block;
    display: grid;
    place-self: center; 

}

#form-with-icon textarea{
    width: 300px;
    padding: 10px;
}

#form-with-icon .btn-informations{
    display: block;
}

#form-with-icon .btn:hover{
    font-weight: bold;
}

#form-with-icon i{
    display: inline-block;
    color: var(--blue);
}

.mobile-break {
    display: inline;
}

/* =====================================================*/
/*                                                      */
/*                                                      */
/*                       NAVBAR                         */
/*                                                      */
/*                                                      */
/* =====================================================*/

.mobile-navbar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--background-navbar);
    display: flex;
    justify-content: space-around;
    z-index: 100;
}

.mobile-navbar-content {
    display: flex;
    justify-content: space-around;
    width: 100%;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    width: 100%;
    font-weight: 600;
    padding: 10px;
    transition: background-color 0.3s ease;
}

.nav-item.active {
    background-color: var(--background);
}

.nav-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 5px;
}

.nav-text {
    color: var(--orange);
    font-size: 12px;
    text-align: center;
    text-decoration: none;
}

/* =====================================================*/
/*                                                      */
/*                                                      */
/*                      PAGE HOME                       */
/*                                                      */
/*                                                      */
/* =====================================================*/

.repartition-salle{
    margin-bottom: 35px;
}

.repartition-salle h2{
    margin-bottom: 25px;
}

.repartition-salle img{
    width: 300px;
    margin: 0 auto;
    display: block; 
    max-width: 100%;
}

#modifier-repartition_salles{
    margin-top: 25px;
    text-align: center;
}

#modifier-repartition_salles input{
    width: 50%;
}

.evenements div{
    border: 2px solid var(--orange);
    border-radius: 30px;
    padding: 15px;
    width: 300px;
    margin: 0 auto;
    box-shadow: 0 2px 5px rgba(21, 27, 54, 0.2);
}

/* =====================================================*/
/*                                                      */
/*                                                      */
/*                   PAGE CANDIDATURES                  */
/*                                                      */
/*                                                      */
/* =====================================================*/

.candidatures {
    display: block;
    width: 80%;
    margin: 50px auto;    
}

.candidatures > .banner {
    width: 100%;
    background-color: white;
    text-align: center;
    border-radius: 30px;
    outline: 1px solid var(--blue);
    box-shadow: 0 2px 5px rgba(21, 27, 54, 0.2);
    margin: 0;
}

.banner {
    display: flex;
    flex-direction: column;
    background-color: white;
    text-align: center;
    border-radius: 30px;
    width: 300px;
    outline: 1px solid var(--blue);
    margin: 50px auto;
    box-shadow: 0 2px 5px rgba(21, 27, 54, 0.2);
}

.main-image {
    width: 100%;
    object-fit: cover;
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
}

.content {
    flex-grow: 1;
    text-align: left;
    padding: 15px;
}

.title, .level, .sponsor{
    margin-bottom: 10px;
}

.title{
    font-family: 'Roboto', sans-serif;
    font-size: 18px;
    font-weight: bold;
}

.level{
    color: var(--orange);
    font-weight: 600;
}

.sponsor {
    align-items: flex-start;
}

.support-text {
    text-align: left;
    font-weight: 600;
    margin-bottom: 5px;
}

.sponsor-section {
    justify-content: flex-start;
}

.sponsor-logo {
    width: 100px;
}

.arrow {
    display: none;
}

/* =====================================================*/
/*                                                      */
/*                                                      */
/*              PAGE CANDIDATURES DETAILS               */
/*                                                      */
/*                                                      */
/* =====================================================*/

.titre-section {
    display: flex;
    align-items: center;
    margin: 25px 0 10px 25px;
}

.titre-section img {
    width: 35px;
    height: 35px;
    margin-left: 10px;
    margin-top: 3px;
}

.documents {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 25px;
    margin-bottom: 25px;
}

.document {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(21, 27, 54, 0.2);
    height: 150px;
    width: 250px;
    margin: 0 auto;
    padding: 10px;
    box-sizing: border-box;
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-direction: column;
    outline: 1px solid var(--blue);
}

.document-nom {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--blue);
    margin: 0;
}

.icone-ajouter,
.icone-voir {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    cursor: pointer;
}

.icone-ajouter img,
.icone-voir img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.icones-action {
    position: absolute;
    bottom: 10px;
    right: 10px;
    display: flex;
    gap: 10px;
}

.icone-action {
    width: 30px;
    height: 30px;
    
}

.icone-action img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    cursor: pointer;

}


/* =====================================================*/
/*                                                      */
/*                                                      */
/*                    PAGE FILIERES                     */
/*                                                      */
/*                                                      */
/* =====================================================*/

.formation-container {
    max-width: 900px;
    margin: 0 auto;
}

.formation-card {
    margin-bottom: 75px;
    border: 1px solid var(--blue);
    border-radius: 30px;
    padding: 20px;
    width: 300px;
    margin: 50px auto;
}

.formation-image {
    text-align: center;
}

.formation-image img {
    width: 300px;
    height: 350px;
    object-fit: cover;
    border-radius: 30px;
}

.formation-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.formation-title {
    margin-bottom: 5px;
    margin-top: 10px;
}

.formation-description {
    margin-bottom: 20px;
    line-height: 1.6;
}

.btn-informations {
    display: inline-block;
    border: 1px solid var(--orange);
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 25px;
    transition: background-color 0.3s ease;
    margin: 0 auto;
    color: var(--orange);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

#filiere_image{
    width: 150px;
    margin-bottom: 25px;
}

/* =====================================================*/
/*                                                      */
/*                                                      */
/*                   PAGE FORMATIONS                    */
/*                                                      */
/*                                                      */
/* =====================================================*/

#list-formations > div{
    margin-bottom: 100px;
}

#list-formations .btn-informations{
    display: none;
}

.btn-blue {
    display: inline-block;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 25px;
    transform: translateY(60px);
    background-color: var(--blue);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.btn-candidate{
    display: inline-block;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 25px;
    transform: translateY(60px);
    background-color: var(--blue);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

#formation_image{
    width: 150px;
    margin-bottom: 25px;
}

/* =====================================================*/
/*                                                      */
/*                                                      */
/*                PAGE RETARDS / ABSENCES               */
/*                                                      */
/*                                                      */
/* =====================================================*/

.title-with-button {
    padding: 15px;
    text-align: center;
}

.btn {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--orange);
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 10px;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.table-container {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 30px;
    margin: 25px 0 0 25px;
    box-sizing: border-box;
    max-width: calc(100vw - 50px);
}

table {
    width: 900px;
    min-width: 900px;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 30px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    white-space: nowrap;
}

table th {
    background-color: #aaaaaa;
    text-align: left;
    padding: 15px;
    border-bottom: 1px solid #ddd;
    border: 1px solid var(--blue);
}

table td {
    padding: 15px;
    border-bottom: 1px solid #ddd;
    border: 1px solid var(--blue);
}

table img {
    width: 15px;
}

.statut-justifie {
    background-color: #d4e8d4;
    color: #2c7f2c;
    padding: 5px 10px;
    border-radius: 30px;
    display: inline-block;
    font-weight: bold;
    border: 1px solid #c1dfc1;
}

.statut-en-attente {
    background-color: #ffe6d0;
    color: #ff6b22;
    padding: 5px 10px;
    border-radius: 30px;
    display: inline-block;
    font-weight: bold;
    border: 1px solid #ffe0c3;
}

.statut-non-justifie {
    background-color: #ffcaca;
    color: #dc3545;
    padding: 5px 10px;
    border-radius: 30px;
    display: inline-block;
    font-weight: bold;
    border: 1px solid #ffbebe;
}

.voir {
    cursor: pointer;
    background-color: lightblue;
    border-radius: 30px;
    padding: 10px;
}

table thead tr:first-child th:first-child {
    border-top-left-radius: 30px;
}

table thead tr:first-child th:last-child {
    border-top-right-radius: 30px;
}

table tfoot tr:last-child td:first-child {
    border-bottom-left-radius: 30px;
}

table tfoot tr:last-child td:last-child {
    border-bottom-right-radius: 30px;
}

table tfoot {
    display: table-footer-group;
    width: 100%;
}

table tfoot td {
    text-align: right;
    padding: 15px;
    font-weight: bold;
    background-color: #f0f0f0;
    border: 1px solid var(--blue);
}

.btn-view {
    background-color: var(--blue);
}

.btn-edit {
    background-color: var(--btn_update);
    color: black;
}

.btn-delete {
    background-color: var(--btn_delete);
}

.fa {
    margin-right: 5px;
}

/* =====================================================*/
/*                                                      */
/*                                                      */
/*           PAGE AJOUTER RETARDS / ABSENCES            */
/*                                                      */
/*                                                      */
/* =====================================================*/

.form-container{
    width: 300px;
    margin: 0 auto;
}

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

label {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
}

input, 
select{
    width: 90%;
    padding: 8px;
    border: 1px solid var(--blue);
    border-radius: 10px;
}

select {
    width: 100%;
    padding: 8px;
    border: 1px solid var(--blue);
    border-radius: 10px;
}

#formAbsence select{
    width: 55%;
}

input[type="time"], input[type="date"]{
    width: 50%;
    display: block;
}

input[type="tel"] {
    width: 35%;
    display: block;
}

.radio-group {
    display: flex;
    gap: 35px;
}

.radio-item {
    display: flex;
    gap: 5px;
}

.file-name {
    margin-top: 10px;
    color: #666;
    font-size: 0.9em;
}

.exemple{
    font-size: 14px;
    color: #717171;
}

#fichier{
    margin-bottom: 25px;
}

.form-container .btn{
    display: block;
    margin: 0 auto;
}

/* =====================================================*/
/*                                                      */
/*                                                      */
/*                    PAGINATION                        */
/*                                                      */
/*                                                      */
/* =====================================================*/

.pagination {
    display: flex;
    justify-content: center;
    margin: 25px 0;
    min-width: max-content;
    position: sticky;
    left: 0;
    right: 0;
    bottom: 0;
}

.pagination a {
    text-decoration: none;
    padding: 8px 16px;
    margin: 0 4px;
    border: 1px solid #ddd;
    border-radius: 10px;
    transition: background-color 0.3s, color 0.3s;
}

.pagination a.active {
    background-color: var(--orange);
    color: var(--blue);
    border: 1px solid var(--blue);
    cursor: default;
}

.pagination-precedent {
    font-weight: 300;
    color: #777;
}

.pagination-suivant {
    font-weight: bold;
}

/* =====================================================*/
/*                                                      */
/*                                                      */
/*                       PROFIL                         */
/*                                                      */
/*                                                      */
/* =====================================================*/

.profile-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
}

#formProfil .asterisk{
    display: none;
}

.form-container button.displayModal{
    display: none;
}

#formRetard button.displayModal, #formAbsence button.displayModal{
    display: block;
}

.profile-image {
    position: relative;
    width: 120px;
    height: 120px;
    margin-bottom: 10px;
}

.avatar {
    border-radius: 50%;
    background-color: #e6e6e6;
    display: flex;
    justify-content: center;
    align-items: center;
}

.avatar img{
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%; 
    border: 2px solid var(--orange);
    display: block;
}

.edit-button {
    position: absolute;
    bottom: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.edit-button img{
    width: 35px;
    height: 35px;
}

.form-container i{
    display: none;
    margin-left: 5px;
    color: var(--orange);
}

.buttons-profil{
    display: flex;
}

#btn-cancel{
    display: none;
    background-color: var(--blue);
}


/* =====================================================*/
/*                                                      */
/*                                                      */
/*                       MODALS                         */
/*                                                      */
/*                                                      */
/* =====================================================*/

#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 999;
    display: none;
}

#modal, #change-profil-image-modal, #modalUpdate {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    width: 300px;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    border: 2px solid var(--orange);
    z-index: 9999;
}

#modal, #change-profil-image-modal, #modalUpdate {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    width: 300px;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    border: 2px solid var(--orange);
    z-index: 9999;
}

#change-profil-image-modal .form-container, #modalUpdate .form-container, #modal .form-container{
    width: 100%;
}

.modal-header {
    background-color: var(--blue);
    padding: 10px 30px;
}

.modal-header img {
    width: 60px;
    margin-top: 8px;
}

.modal-content {
    background-color: var(--background);
    padding: 30px 40px;
    text-align: center;
}

.modal-title {
    font-size: 24px;
    font-weight: bold;
    line-height: 1.3;
    margin-bottom: 50px;
}

.modal-title span{
    color: var(--orange);
}

.button-container {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 20px;
    gap: 20px;
}

.button-container .btn-blue{
    color: var(--blue);
    transform: translateY(0);
}

.button-container .btn-blue, .button-container .btn-informations{
    background-color: var(--background);
    width: 100px;
    margin: 0;
}

#modalUpdate .button-container .btn-blue, #modalUpdate .button-container .btn-informations{
    width: 160px;
}

/* =====================================================*/
/*                                                      */
/*                                                      */
/*                      FOOTER                          */
/*                                                      */
/*                                                      */
/* =====================================================*/

footer {
    background-color: var(--blue);
    height: 50px;
    width: 100%;
    position: fixed;
    bottom: 0;
    left: 0;
}

footer div {
    color: white;
    text-align: center;
    line-height: 50px;
    margin: auto;
}

@media (min-width: 992px) {

    h1, h2, h3{
        text-align: start;
        margin-left: 150px;
    }

    h1{
        font-size: 40px;
        margin-bottom: 30px;
    }

    h2{
        font-size: 32px;
    }

    .hide-dash{
        display: inline-block;
    }

    .pagination {
        display: flex;
        justify-content: center;
        margin: 25px 0;
        min-width: max-content;
        position: relative;
    }

    .pagination a:hover {
        background-color: var(--orange);
    }

    .btn-inline {
        display: flex;
        flex-direction: row-reverse;
        justify-content: center;
        gap: 25px;
        width: calc(90% + 25px);
    }

    .introuvable{
        margin-left: 150px;
    } 
    
    .introuvable .btn{
        display: inline-block;
    }


    /* =====================================================================================*/
    /*                                                                                      */
    /*                                                                                      */
    /*                                      NAVBAR                                          */
    /*                                                                                      */
    /*                                                                                      */
    /* =====================================================================================*/

    .mobile-navbar {
        top: 50px;
        width: 120px;
        padding: 20px 0;
        height: fit-content;
        border-radius: 0px 0px 30px 0px;
    }
    
    .nav-item {
        width: 100%;
        padding: 5px;
    }

    .nav-item:hover {
        background-color: var(--background);
    }

    .mobile-navbar-content {
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        gap: 20px;
    }

    /* =====================================================================================*/
    /*                                                                                      */
    /*                                                                                      */
    /*                                    PAGE HOME                                         */
    /*                                                                                      */
    /*                                                                                      */
    /* =====================================================================================*/

    .repartition-salle img{
        width: 450px;
    }

    .evenements div{
        width: 80%;
        margin-left: 150px;
        padding-left: 25px;
    }

    .evenements div h3{
        width: 80%;
        margin-left: 0;
        margin-top: 0;
    }

    #modifier-repartition_salles input{
        width: 30%;
    }

    /* =====================================================================================*/
    /*                                                                                      */
    /*                                                                                      */
    /*                                  PAGE CANDIDATURES                                   */
    /*                                                                                      */
    /*                                                                                      */
    /* =====================================================================================*/

    .candidatures {
        display: block;
        margin-left: 200px;
        text-decoration: none;
        color: inherit;
    }

    .candidatures > .banner {
        background-color: white;
        text-align: center;
        border-radius: 30px;
        outline: 1px solid var(--blue);
        box-shadow: 0 2px 5px rgba(21, 27, 54, 0.2);
        margin: 0;
    }

    .banner {
        flex-direction: row;
        align-items: center;
        height: 225px;
        margin-left: 175px;
        margin-bottom: 50px;
    }

    .main-image {
        width: 225px;
        border-radius: 30px;
        margin-right: 20px;
        height: 100%;
    }

    .content {
        padding: 0;
        margin-top: 10px;
    }

    .title, .level, .sponsor{
        margin-bottom: 15px;
    }

    .title {
        text-align: left;
        font-size: 24px;
    }

    .sponsor-logo {
        width: 100px;
        height: 30px;
        margin-right: 10px;
    }

    .arrow {
        display: block;
        width: 20px;
        position: relative;
        right: 50px;
    }

    /* =====================================================================================*/
    /*                                                                                      */
    /*                                                                                      */
    /*                              PAGE CANDIDATURES DETAILS                               */
    /*                                                                                      */
    /*                                                                                      */
    /* =====================================================================================*/

    .documents {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        max-width: 80%;
        margin: 0 auto 50px;
        gap: 20px;
    }

    /* =====================================================================================*/
    /*                                                                                      */
    /*                                                                                      */
    /*                                  PAGE FILIERES                                       */
    /*                                                                                      */
    /*                                                                                      */
    /* =====================================================================================*/

    .formation-container {
        max-width: 1400px;
        padding: 0 20px;
        margin: 0;
        margin-left: 150px;

    }

    .formation-card {
        display: flex;
        flex-direction: row;
        gap: 50px;
        margin-bottom: 100px;
        width: 1200px;
        background-color: white;
    }

    .formation-image {
        transition: transform 0.3s ease;
    }

    .formation-image:hover {
        transform: scale(1.02);
    }

    .formation-content {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        flex-grow: 1;
        padding: 0 20px;
        justify-content: center;
    }

    .formation-title {
        margin-bottom: 15px;
        font-size: 2rem;
        margin-left: 0;
    }

    .formation-description {
        margin-bottom: 25px;
        line-height: 1.7;
    }

    .btn-informations {
        transition: all 0.3s ease;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        margin: 0;
    }

    .btn-informations:hover {
        transform: translateY(-3px);
        box-shadow: 0 6px 8px rgba(0,0,0,0.15);
        background-color: var(--orange);
        color: white;
    }

    #form-with-icon textarea{
        width: 550px;
    }

    .mobile-break {
        display: none;
    }

    #filiere_image{
        width: 500px;
    }

    /* =====================================================================================*/
    /*                                                                                      */
    /*                                                                                      */
    /*                              PAGE FORMATIONS                                         */
    /*                                                                                      */
    /*                                                                                      */
    /* =====================================================================================*/

    #list-formations .btn-informations{
        display: block;
    }

    #list-formations .main-image{
        height: 100%;
    }

    .btn-blue {
        transition: all 0.3s ease;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        margin: 0;
        transform: translateY(0);
        background-color: white;
        color: var(--blue);
        border: 1px solid var(--blue);
        cursor: pointer;
    }

    .btn-candidate {
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        margin: 0;
        transform: translateY(0);
        background-color: var(--blue);
        color: white;
        border: 1px solid var(--blue);
    }

    .btn-blue:hover {
        box-shadow: 0 6px 8px rgba(0,0,0,0.15);
        background-color: var(--blue);
        color: white;
        transform: translateY(-3px);
    }

    #list-formations .banner {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 80%;
    }

    #list-formations .banner .content {
        flex-grow: 1;
    }


    #list-formations .btn-informations,
    #list-formations .btn-blue {
        width: 125px;
        text-align: center;
        margin: 5px 25px;
    }

    #formation_image{
        width: 500px;
    }

    /* =====================================================================================*/
    /*                                                                                      */
    /*                                                                                      */
    /*                              PAGE RETARDS / ABSENCES                                 */
    /*                                                                                      */
    /*                                                                                      */
    /* =====================================================================================*/

    table{
        margin-left: 200px;
        
    }

    .admin table{
        width: 80%;
    }
    
    .table-container{
        margin-top: 0;
    }

    .title-with-button {
        display: flex;
        align-items: center;
        gap: 50px;
    }

    .form-container{
        width: 600px;
    }

    table tr:hover {
    background-color: #ec6834a0;
    font-weight: bold;
    }

    .admin tr:hover {
        background-color: #151b3662;
        font-weight: bold;
        color: var(--blue);
    }

    .admin table th:nth-child(4), .admin table td:nth-child(4) {
        width: 300px;
        word-wrap: break-word;
        white-space: normal;
    }

    #candidats table th:nth-child(4), .admin table td:nth-child(4) {
        width: 500px;
    }

    #formAbsence select{
        width: 25%;
    }

    /* =====================================================================================*/
    /*                                                                                      */
    /*                                                                                      */
    /*                          PAGE AJOUT STAGIAIRE / CANDIDAT                             */
    /*                                                                                      */
    /*                                                                                      */
    /* =====================================================================================*/

    .form-row {
        display: flex;
        flex-wrap: nowrap;
        gap: 20px;
    }

    /* =====================================================================================*/
    /*                                                                                      */
    /*                                                                                      */
    /*                                     MODALS                                           */
    /*                                                                                      */
    /*                                                                                      */
    /* =====================================================================================*/

    #modal, #change-profil-image-modal, #modalUpdate {
        width: 800px;
    }

    .button-container {
        gap: 100px;
    }

    #modal .btn-blue, #modal .btn-informations, #modalUpdate .btn-informations, #modalUpdate .btn-blue{
        font-size: 20px;
        width: 120px;
    }

    #modal .btn-blue:hover, #modalUpdate .btn-blue:hover{
        color: white;
        background-color: var(--blue);
    }

    #modal .btn-informations:hover, #modalUpdate .btn-informations:hover{
        color: white;
        background-color: var(--orange);
    }

}
