:root {
    --fs-900: 2.4rem;
    --fs-700: 1.5rem;
    --fs-600: 1.35rem;
    --fs-500: 1.125rem;
    --fs-400: 1rem;
    --fs-300: .9rem;
    --fs-200: .8rem;
    --fs-100: .7rem;
    --grid-border-width: 1px;
    --common-font: Gilroy;
}

@media (max-width: 40rem) {
    :root {
        --fs-900: 1.5rem;
        --fs-700: 1.3rem;
        --fs-600: 1.15rem;
        --fs-500: 1rem;
        --fs-400: .9rem;
        --fs-300: .8rem;
        --fs-200: .6rem;
    }
}

/*default version*/
@font-face {
    font-family: "Gilroy";
    src: local("Gilroy"), url("/fonts/Gilroy-Regular.otf") format("opentype");
}

/*bold version*/
@font-face {
    font-family: "Gilroy";
    src: local("Gilroy"), url("/fonts/Gilroy-Bold.otf") format("opentype");
    font-weight: bold;
}

@font-face {
    font-family: "Gilroy";
    src: local("Gilroy"), url("/fonts/Gilroy-RegularItalic.otf") format("opentype");
    font-style: italic;
}

html, body {
    margin: 0;
    font-family: var(--common-font), sans-serif;
    font-size: var(--fs-500);
}

a {
    font-family: var(--common-font), sans-serif;
    font-size: inherit;
    color: inherit;
    display: flex;
    text-decoration: none;
}

    a:hover {
        text-decoration: underline;
        outline: none; /* Supprime le contour (outline) */
        box-shadow: none; /* Supprime toute ombre de boîte */
    }

button,
select,
input,
textarea {
    font-family: var(--common-font), sans-serif;
}

h1 {
    font-weight: bold;
    margin-bottom: .4em;
    font-size: var(--fs-900);
}

    h1:focus {
        outline: none;
    }

h2 {
    font-weight: bold;
    font-size: var(--fs-700);
    color: var(--main-color-1);
    margin-block: .6em;
    margin-right: .5em;
    display: flex;
    justify-content: start;
}

h3 {
    font-size: var(--fs-600);
    font-weight: bold;
    color: var(--main-color-1);
}

h4 {
    font-size: var(--fs-500);
    font-weight: bold;
    color: var(--main-color-1);
}

h5 {
    font-size: var(--fs-600);
    color: var(--gray-medium);
}

h6 {
    font-size: var(--fs-400);
    font-weight: bold;
    color: var(--main-color-1);
}

hgroup > p {
    color: var(--gray-medium);
}

i {
    font-style: italic;
}

/*Remove arrows from input type=number*/
/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}

ul {
}

em {
    font-weight: bold;
}

.pdf-container {
    height: 80vh;
}

.ga-container {
    padding: 1rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "Une erreur est survenue."
    }

.prevent-select {
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* IE 10 and IE 11 */
    user-select: none; /* Standard syntax */
}

.login-link {
    padding-left: 1rem;
    font-size: 1rem;
    color: white;
}

.center-children {
    display: flex;
    justify-content: center;
}

.info-title,
.info-subtitle,
.blob-list-title {
    margin-top: .5em;
    margin-bottom: .1em;
    margin-right: .5em;
    display: flex;
    justify-content: start;
    font-weight: bold;
    font-size: 1.5rem;
    color: var(--main-color-1);
}

.info-title-container {
    display: flex;
    align-items: center;
}

.info-title-with-icon {
    margin-bottom: 0;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 1rem;
}

.info-subtitle {
    font-size: 21px;
}

.info-separation-bar {
    margin: 0.1rem;
}

.label-file {
    cursor: pointer;
    color: #00b1ca;
    font-weight: bold;
}

    .label-file:hover {
        color: #25a5c4;
    }

.input-file {
    /*display: none;*/
}

.list-wrapper {
    height: inherit;
    position: relative;
}

input[type="file"] {
    display: none;
}

.custom-file-upload {
    cursor: pointer;
    padding: 0px 5px;
}

    .custom-file-upload:hover {
        color: white;
        background: #0071c1;
    }

.button-file-upload {
    border: 1px black solid;
    border-radius: 5px;
    margin: 8px;
    padding: 6px, 12px;
}

.radio-group {
    display: inline;
}

.item-selected,
.item-not-selected {
    cursor: pointer;
}

.item-selected {
    background-color: darkgrey;
    color: #FFFFFF;
    border-color: darkgrey;
}

.item-not-selected {
    background-color: white;
    color: black;
}

    .item-not-selected:hover {
        background-color: gainsboro;
        color: black;
    }

.display-on-hover {
    display: none;
}

.display-on-hover-container:hover .display-on-hover {
    display: flex;
}

.option-entry {
    margin: 1rem;
    padding: 1rem;
}

.container-rounded {
    border: 1px black solid;
    border-radius: 20px;
}

.container-rounded-bg-light,
.container-rounded-bg-dark {
    padding-block: .6em;
    padding-inline: 1em;
    border-radius: 20px;
}

.container-rounded-bg-light {
    background-color: var(--bg-light);
}

.container-rounded-bg-dark {
    background-color: rgba(44,77,33,0.149);
}

.id-photo-form {
    max-height: 150px;
    max-width: 150px;
    object-fit: scale-down;
}

.document-container {
    height: 100%;
}

.control-section {
    height: 800px;
}

.button-text {
    margin-inline: .3em;
    white-space: nowrap;
}

.button-link {
    color: var(--main-color-1);
    cursor: pointer;
    border: none;
    font-family: inherit;
    font-size: 1rem;
}

.btn-main-1,
.btn-main-2,
.btn-main-2-not-rounded,
.btn-main-3,
.a-main-1 {
    display: flex;
    align-items: center;
    color: white;
    padding-block: 0.5rem;
    padding-inline: 1rem;
    border-radius: 1.8rem;
    margin-right: 0.5rem;
    cursor: pointer;
    border: none;
    font-family: inherit;
    font-size: 1rem;
    text-decoration: none;
}

.btn-main-1 {
    background-color: var(--main-color-1);
}

    .btn-main-1:hover {
        background-color: var(--main-color-2);
        text-decoration: none;
    }

    .btn-main-1:disabled {
        background-color: var(--bg-dark);
    }

    .a-main-1 {
        background-color: var(--main-color-1);
    }

    .a-main-1:hover {
        background-color: var(--main-color-2);
        text-decoration: none;
    }

.btn-main-2-not-rounded, .btn-main-2 {
    background-color: var(--main-color-2);
}

    .btn-main-2-not-rounded:hover, .btn-main-2:hover {
        background-color: var(--main-color-1);
    }

    .btn-main-2-not-rounded:disabled, .btn-main-2:disabled {
        background-color: var(--bg-dark);
    }

.btn-main-2-not-rounded {
    border-radius: 0;
    border-width: 0;
    margin: 0;
    width: 100%;
}

.btn-main-3 {
    background-color: lightgray;
}

    .btn-main-3:hover {
        background-color: var(--gray-medium);
    }

    .btn-main-3:disabled {
        background-color: var(--bg-dark);
    }

.svg-icon,
.svg-icon-card,
.svg-icon-menu,
.svg-icon-menu-link,
.svg-icon-dark,
.svg-icon-main,
.svg-icon-main-2,
.svg-icon-small,
.svg-icon-rounded {
    stroke: white;
    height: 25px;
    width: 25px;
    fill: none;
    stroke-width: 1.5px;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.svg-icon-menu {
    stroke: var(--menu-color);
}

.svg-icon-main {
    stroke: var(--main-color-1);
}

.svg-icon-menu-link {
    stroke: var(--main-color-2);
}

.svg-icon-main-2 {
    stroke: var(--main-color-2);
}

.svg-icon-card {
    height: 35px;
    stroke: var(--main-color-2);
}

.svg-icon-dark {
    height: 20px;
    stroke: black;
}

.svg-icon-rounded {
    padding: 5px;
    border: solid;
    border-color: white;
    border-width: 1px;
    border-radius: 50%;
    background-color: var(--main-color-1);
}

.icon-button,
.icon-button-small,
.icon-button-xs {
    background-color: var(--main-color-1);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 2px;
    border-width: 0;
}

.icon-button {
    margin-top: 8px;
    margin-bottom: 8px;
    margin-right: 5px;
    height: 38px;
    width: 38px;
    min-width: 35px;
}

.icon-button-small {
    height: 1.8em;
    width: 1.8em;
}

.icon-button-xs {
    height: 1.2em;
    width: 1.2em;
}

    .icon-button:hover,
    .icon-button-small:hover,
    .icon-button-xs:hover {
        background-color: var(--main-color-2);
        cursor: pointer;
        color: black;
    }

    .icon-button:disabled,
    .icon-button-small:disabled,
    .icon-button-xs:disabled {
        background-color: var(--bg-dark);
    }

.btn-icon {
    color: black;
    background-color: transparent;
    border: none;
    cursor: pointer;
}

    .btn-icon:hover {
        color: var(--main-color-1);
    }

.btn-icon-small {
    color: white;
    background-color: var(--main-color-1);
    border: none;
    border-radius: 50%;
    margin: .3em;
    padding: .7em;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .btn-icon-small:hover {
        background-color: var(--main-color-2);
    }
    .btn-icon-small:disabled {
        background-color: var(--bg-dark);
    }

.bg-1 {
    background-color: var(--main-color-1);
}

.bg-2 {
    background-color: var(--main-color-2);
}

.bg-3 {
    background-color: var(--main-color-3);
}

.bg-back {
    background-color: white;
}

.color-1 {
    color: var(--main-color-1);
}

.color-2 {
    color: var(--main-color-2);
}

.color-3 {
    color: var(--main-color-3);
}

.ga-dropdown {
    border: solid;
    border-width: thin;
    border-radius: 30px;
    border-color: darkgray;
    padding: 0.5rem;
    margin-top: 5px;
    margin-bottom: 5px;
}

.displayMenuText {
    font-size: 1rem;
}

.img-logo-container {
    height: 150px;
}

.img-logo-text {
    display: flex;
    justify-content: center;
    height: 60px;
    object-fit: cover;
}

.header-subtitle-dashboard-container {
    margin-top: 1rem;
    border-width: 1px;
    border-color: var(--bg-dark);
    border-style: solid none;
}

.header-container,
.header-container-vertical {
    background-color: white;
}

.header-left-left {
}

.action-bar {
    padding-block: 0.5rem;
    margin-bottom: .4rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    row-gap: .5em;
}

.input-section,
.input-section-line-1-1,
.input-section-line-1-2,
.input-section-line-1-3,
.input-section-radio {
    margin-top: 1rem;
    margin-bottom: 1rem;
    margin-right: 0.5rem;
}

.input-section-line-1-1 {
    display: grid;
}

.input-section-line-1-2 {
    display: grid;
    grid-template-columns: 1fr 2fr;
}

.input-section-line-1-3 {
    display: grid;
    grid-template-columns: 1fr 3fr;
}

.input-section-radio {
    display: grid;
    grid-template-columns: auto 1fr;
}

.check-label,
.check-label-standard {
    margin-left: .6rem;
}

.check-label {
    font-weight: bold;
}

.input-date,
.input-number,
.input-no-border,
.input-text,
.input-text-area,
.input-select,
.input-inside {
    width: 100%;
    padding: .3em;
    font-size: 1rem;
    margin: 0;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    background-color: white;
}

.input-number {
    width: 95%;
}

.input-text-area {
    width: 97%;
}

.input-text {
    width: 98%;
}

.input-no-border {
    border: none;
    width: 90%;
}

.input-check {
    display: flex;
    align-items: start;
}

.input-inside {
    margin: 5px;
}

.input-label {
    font-weight: bold;
    display: flex;
    justify-content: start;
    align-items: center;
    margin-bottom: 5px;
    margin-right: 5px;
}

.cards-list {
    display: grid;
    grid-gap: 1em;
}

.card-container,
.card-container-recent {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-inline: 0;
    margin-block: 0;
    padding: 0.8rem;
    border-radius: 20px;
    cursor: pointer;
    border-color: rgba(230,230,230,1);
    border-style: solid;
    border-width: 2px;
}

    .card-container:hover {
        /* offset-x | offset-y | blur-radius | spread-radius | color */
        box-shadow: 2px 2px 20px 10px rgba(230,230,230,1);
        /*box-shadow: 5px var(--main-color-3);*/
    }

.card-container-recent {
    border-style: dashed;
    border-color: var(--main-color-2);
    background-color: rgba(145,179,73,0.102);
}

    .card-container-recent:hover {
        box-shadow: 2px 2px 20px 10px var(--main-color-2-op);
    }

.card-content-main {
    display: flex;
    align-items: center;
}

.card-title {
    display: flex;
    font-weight: bold;
    font-size: 21px;
    color: black;
}

.card-subtitle {
    font-size: 15px;
    color: var(--gray-medium);
}

.card-subtitle-sub {
    font-size: 13px;
    color: var(--gray-medium);
}

.card-img {
    width: 70px;
    height: 70px;
    min-width: 70px;
    min-height: 70px;
    border-radius: 50%;
    object-fit: cover;
}

.card-info {
    margin-left: 1rem;
}

.footer-menubar {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.dialog-title {
    font-size: var(--fs-500) !important;
    font-weight: bold !important;
    word-wrap: break-word !important;
}

.dialog-group-header {
    font-size: var(--fs-400) !important;
    font-weight: bold !important;
    word-wrap: break-word !important;
    margin-block: .3em;
}

.dialog-text {
    font-size: var(--fs-300) !important;
}

.dialog-paragraph {
    margin-bottom: .5rem;
}

.input-radio-group-inline {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    gap: .2em;
    padding-block: .2em;
}

.input-radio-label {
    font-weight: bold;
    margin-left: 0;
    margin-right: .3em;
    margin-block: .2em;
    cursor: pointer;
    font-size: .8rem;
}

    .input-radio-label:hover {
        background-color: var(--main-color-2);
        color: white;
    }

.input-radio-item-inline {
    margin-right: 5px;
}

.input-radio-item {
    margin-right: 0px;
}

.input-check-container,
.input-check-container-list {
    display: flex;
    justify-content: flex-start;
}

.input-check-container-list {
    flex-flow: column;
}

.ga-alert {
    background-color: palevioletred;
    border: solid;
    border-radius: 10px;
    color: #842029;
    background-color: #f8d7da;
    border-color: #f5c2c7;
    padding: 1rem;
}

.dialog-container {
    font-size: 1em;
    white-space: pre-line;
}

.input-number-inside,
.input-number-inside-sm {
    border: 1px solid var(--gray-medium);
    padding-inline: .3em;
    padding-block: .2em;
    border-radius: 0.3rem;
    font-size: 0.8rem;
    height: 20px;
}

.input-number-inside {
    width: 95%;
}

.input-number-inside-sm {
    width: 80%;
}

.not-authorised-container {
    color: red;
    font-weight: bold;
}

.header-info-label {
    font-weight: bold;
}

.header-title {
    font-size: var(--fs-600);
}

.header-subtitle,
.header-subtitle-sub {
    font-style: normal;
    font-weight: normal;
    font-size: 30px;
    color: var(--gray-medium);
    margin-bottom: 15px;
}

.header-subtitle-sub {
    font-size: 20px;
    margin-left: 5px;
    margin-bottom: 8px;
}

.header-info {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: rgba(0,0,0,1);
}

.header-label {
    margin-left: 5px;
    font-weight: bold;
}

.header-text {
    margin-left: 5px;
}

.info-label,
.info-label-enhance {
    font-style: normal;
    font-weight: normal;
    font-size: 14px;
    color: var(--gray-medium);
    margin-bottom: 2px;
}

.info-label-enhance {
    font-weight: bold;
}

.info-data, .info-data-cell, .info-data-preserve {
    font-style: normal;
    font-weight: bold;
    font-size: 18px;
    color: rgba(0,0,0,1);
}

.info-data {
    margin-top: 2px;
}

.info-data-cell {
    margin: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-data-preserve {
    white-space: pre-line;
    line-height: 140%;
    font-weight: normal;
}

.info-section {
    margin-block: .6em;
}

.info-group {
    margin-top: .5rem;
    background-color: var(--main-color-3);
    border-radius: 1.2rem;
    padding: 1rem;
}

.hr-header {
    border: none;
    background-color: var(--main-color-1);
    height: 1px;
    width: 100%;
}

.header-total,
.header-total-light {
    display: flex;
    align-items: center;
    font-size: var(--fs-400);
}

.header-total {
    color: var(--main-color-1);
    font-weight: bold;
}

.header-total-light {
    color: black;
}


.modal-info-data {
    display: flex;
}

.total-hours-info {
    cursor: pointer;
}

    .total-hours-info:hover {
        margin-left: 1px;
        margin-right: 1px;
        background-color: dodgerblue;
        color: white;
    }

.modal-info-title {
    font-weight: bold;
    color: dodgerblue;
}

.modal-info-group-title {
    font-weight: bold;
    overflow-wrap: break-word;
}

.modal-info-hint {
    font-style: italic;
    font-weight: normal;
    font-size: 0.8rem;
}

.input-check-inside {
    display: flex;
    justify-content: center;
}

/*for reasons still to find, this css doesn't work within <component>.razor.css*/
.radio-item-group input[type="radio"] {
    display: none;
}

.row-wrapper,
.row-wrapper-alt,
.row-wrapper-alt-link,
.row-wrapper-alt-dark,
.row-wrapper-alt-theme,
.row-wrapper-selected,
.row-wrapper-total {
    display: contents;
}

.row-wrapper-alt-link {
    cursor: pointer;
}

.row-wrapper-total {
    background-color: var(--bg-dark);
}

.row-wrapper-selected {
    background-color: var(--selected-color) !important;
}

.row-wrapper-alt-link:hover > div {
    background-color: var(--main-color-4);
}

.row-wrapper:hover > div,
.row-wrapper:hover > label {
    background-color: rgba(211,211,211, .5);
}

a.row-wrapper-alt:nth-of-type(odd),
div.row-wrapper-alt-link:nth-of-type(odd),
div.row-wrapper-alt:nth-of-type(odd) {
    background-color: white;
}

a.row-wrapper-alt:nth-of-type(even),
div.row-wrapper-alt-link:nth-of-type(even),
div.row-wrapper-alt:nth-of-type(even) {
    background-color: var(--bg-light);
}

div.row-wrapper-alt-theme:nth-of-type(odd) {
    background-color: #E8F2DA;
}

div.row-wrapper-alt-theme:nth-of-type(even) {
    background-color: #D1E5B6;
}

div.row-wrapper-alt-dark:nth-of-type(odd) {
    background-color: var(--gray-medium);
}

div.row-wrapper-alt-dark:nth-of-type(even) {
    background-color: var(--bg-dark);
}

div.row-wrapper-alt-dark:first-of-type {
    margin-top: 1rem;
}

div.row-wrapper-alt-dark:last-of-type {
    margin-bottom: 1rem;
}

.radio-item-group label {
    background-color: var(--main-color-1);
    color: white;
    border-radius: 30px;
    cursor: pointer;
    border: none;
    padding-top: 8px;
    padding-bottom: 8px;
    padding-left: 16px;
    padding-right: 16px;
}

    .radio-item-group label:hover {
        /*background-color: var(--main-color-2);*/
    }

.radio-item-group input[type=radio]:checked + label {
    background-color: var(--main-color-2);
    color: #FFFFFF;
}

    .radio-item-group input[type=radio]:checked + label:hover {
        /*        color: black;
        background-color: var(--gray-medium);
*/
    }

.radio-item-group {
    margin-top: 7px;
    margin-bottom: 7px;
    display: flex;
    flex-flow: column;
    justify-content: stretch;
}

@media (min-width: 1369px) {
    .select-month {
        display: none;
    }

    .ga-container {
        padding: 3rem;
    }

    .header-title-wrapper,
    .action-bar-wrapper {
        display: grid;
        grid-template-columns: 1fr auto;
    }
}

@media (min-width: 1000px) and (max-width: 1399.99px) {
    .cards-list {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1400px) {
    .cards-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .input-section-group {
        display: grid;
        grid-auto-columns: 1fr;
        grid-auto-flow: column;
        column-gap: 2rem;
    }

    .header-container,
    .header-container-vertical {
        gap: .5em;
        display: flex;
        background-color: white;
        z-index: 10;
    }

    .header-container-vertical {
        flex-flow: column;
    }
}

@media (min-width: 800px) {

    .title-container {
        display: flex;
        justify-content: space-between
    }

    .header-left {
        flex: 1 1 auto;
        display: flex;
    }

    .header-right {
        display: flex;
        justify-content: end;
        align-items: flex-end;
        margin-top: 0.5rem;
        gap: .5em;
    }

    .header-central-info {
        margin-left: 1rem;
    }

    .elt-action-bar {
        margin-right: 5px;
        display: flex;
        align-items: center;
    }
}

/*Shared*/

.alert-warning,
.alert-info {
    margin-top: 1rem;
    padding: 20px;
    border: solid;
    border-width: 1px;
    border-radius: 20px;
}

.alert-warning {
    background-color: wheat;
    border-color: coral;
    color: coral;
}

.alert-info {
    background-color: Gainsboro;
    border-color: darkgray;
    color: black;
}

/* New grid system*/

.grid-bg {
    display: grid;
    gap: var(--grid-border-width);
    border: var(--grid-border-width) solid grey;
    background-color: grey;
}

.cell,
.cell-data,
.cell-data-column,
.cell-data-row,
.cell-label,
.cell-total,
.cell-total-align-center,
.cell-total-align-right,
.cell-header,
.cell-total-label,
.cell-data-align-right,
.cell-data-align-center,
.cell-data-container,
.cell-disabled {
    font-size: var(--fs-400);
    padding-inline: .5rem;
    padding-block: .4em;
    background-color: white;
    display: flex;
    align-items: center;
}

.cell-disabled {
    background-color: grey;
}

.cell-data-column {
    align-items: start;
    flex-flow: column;
}

.cell-data-row {
    align-content: center;
    justify-content: space-between;
    gap: .3em;
}

.cell-data,
.cell-data-column,
.cell-data-row,
.cell-data-align-right,
.cell-data-container,
.cell-data-align-center,
.cell-total-label,
.cell-total-align-right,
.cell-label {
    background-color: inherit;
}

.cell-header {
    top: 0;
    position: sticky;
    color: white;
    background-color: var(--main-color-2);
}

.cell-total-align-center,
.cell-header,
.cell-data-align-center {
    display: flex;
    justify-content: center;
}

.cell-label {
    justify-content: flex-start;
}

.cell-total-align-right,
.cell-data-align-right {
    justify-content: flex-end;
}

.cell-total-label {
    justify-content: flex-end;
}

.cell-total-align-right,
.cell-total-align-center,
.cell-total,
.cell-total-label {
    padding: .4em;
    font-weight: bold;
}

.cell-total {
    justify-content: flex-end;
}

.cell-data-container {
    justify-content: flex-start;
    gap: .5em;
}

.group-header-wrapper {
    color: var(--main-color-1);
    background-color: white;
    display: flex;
    align-items: center;
    grid-column: 1 / -1;
    padding-top: 0.7em;
    padding-bottom: 0.5em;
    padding-inline: .5rem;
    scroll-margin-top: 1rem;
}

/* End new grid sytem*/

.model-group-all-width {
    grid-column: 1/-1;
}

.button-rounded,
.button-rounded-selected,
.check-rounded-outline,
.check-rounded-selected {
    cursor: pointer;
    color: white;
    border-radius: 30px;
    border: none;
    padding: 4px;
    padding-bottom: 4px;
    padding-left: 10px;
    padding-right: 10px;
}

.button-rounded {
    background-color: var(--main-color-1);
}

.button-rounded-selected {
    color: #FFFFFF;
    background-color: var(--main-color-2);
}

.check-rounded-outline,
.check-rounded-selected {
    font-size: 15px;
    margin-top: 3px;
    margin-right: 3px;
}

    .check-rounded-selected > input, .check-rounded-outline > input {
        display: none;
    }

.check-rounded-selected {
    align-self: flex-start;
    color: #FFFFFF;
    background-color: var(--main-color-2);
}

.check-rounded-outline {
    align-self: flex-start;
    color: var(--main-color-2);
    border: 1px solid var(--main-color-2);
    background-color: #FFFFFF;
}

.enable-button {
    background-color: transparent;
    border: none;
    color: var(--main-color-2);
    cursor: pointer;
}

    .enable-button:disabled {
        color: dimgrey;
        cursor: default;
    }

.input-search-filter {
    min-width: 150px;
    padding: .8em;
    border: none;
    background-color: var(--bg-light);
    border-radius: 1.3em;
    margin-block: .2em;
}

    .input-search-filter::placeholder {
        padding-block: .5em;
        font-size: .8rem;
        color: var(--gray-medium);
    }

    .input-search-filter:focus {
        border: 1px solid var(--main-color-1);
        outline: none;
    }

.id-photo-section {
    display: flex;
    justify-content: space-between;
}

.can-drop {
    outline: 3px dashed green !important;
}

.no-drop {
    cursor: not-allowed !important;
    outline: 3px dashed red !important;
}

.input-date-header {
    font-family: 'Gilroy', sans-serif;
    padding: 10px;
    border: 1px solid var(--gray-medium);
    font-size: 14px;
    border-radius: 20px;
    margin: 10px;
    font-weight: bold;
    font-size: 14px;
    color: var(--gray-medium);
    min-width: 7rem;
}

.maintenance-event-column-header {
    background-color: var(--main-color-2);
    padding: 5px;
    font-weight: bold;
    margin: 1px;
    justify-self: stretch;
}

.maintenance-event-cell,
.maintenance-event-cell-number {
    background-color: white;
    margin: 1px;
    justify-self: stretch;
    padding: 5px;
}

.maintenance-event-cell-number {
    display: flex;
    justify-content: right;
}

.maintenance-event-details {
    border: solid 1px black;
}

/*.model-edit-groups > * {
    margin-block: .5em;
}*/

@media (min-width: 1200px) {
    .maintenance-event-groups {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: .5em;
    }

    .model-edit-groups {
        display: grid;
        grid-template-columns: 1fr 1fr;
        column-gap: 1em;
    }
}

.hide {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.daily-planning-filters-menu {
    display: flex;
    grid-gap: .5em;
}

.toggle-switch-container {
    align-self: flex-end;
    display: flex;
    align-items: center;
}

.toggle-switch-label {
    margin-left: 0;
    margin-right: 10px;
    cursor: pointer;
    font-size: 14px;
}

.header-subtitle-dashboard-element {
    margin-top: .2rem;
}

.header-subtitle-dashboard-element-container {
    padding-bottom: .2rem;
}

.dashboard-cell,
.dashboard-cell-last {
    color: var(--main-color-1);
    font-size: 1rem;
    padding-top: .5rem;
    padding-bottom: .3rem;
}

.dashboard-cell {
    border-bottom: 1px solid var(--main-color-2);
}

.dashboard-cell-last {
    padding-bottom: 2rem;
}

/*    .dashboard-cell:hover,
    .dashboard-cell-last:hover {
        text-decoration: none;
    }*/

.dashboard-group-title {
    color: white;
    display: flex;
    align-content: center;
    font-weight: bold;
    margin-block: 0;
}

.dashboard-group-header-container {
    --bg-header: var(--main-color-2);
    background-color: var(--bg-header);
    color: white;
    stroke: white;
    display: flex;
    justify-content: space-between;
    padding-inline: 1rem;
    padding-top: .7rem;
    padding-bottom: .5rem;
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
    border-bottom: 2px solid white;
}

.dashboard-header-info-container {
    color: var(--main-color-2);
    font-size: 1rem;
    margin-block: .5em;
}

.dashboard-group-container {
    flex: 1;
    background-color: var(--main-color-3);
    border-radius: 1.2rem;
    margin-bottom: 1rem;
}

.icon-info-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: .5rem;
}

@media (min-width: 810px) {

    .header-subtitle-dashboard-element-container {
        margin: 1rem 0;
    }

    .input-radio-label {
        font-size: 1rem;
    }
}

legend {
    font-weight: bold;
    font-size: 1.5rem;
    color: var(--main-color-1);
    margin-block: .5em;
}

fieldset {
    margin-block: .1em;
}

.legend-wrapper {
    display: flex;
    align-items: center;
}

.ga-nav-link,
.ga-nav-link-hd,
.ga-sub-nav-link {
    color: var(--menu-color);
    display: flex;
    align-items: center;
    justify-content: start;
    flex-direction: row;
    text-decoration: none;
    background-color: inherit;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-size: var(--fs-400);
}

    .ga-nav-link:hover,
    .ga-nav-link-hd:hover,
    .ga-sub-nav-link:hover {
        text-decoration: none;
    }


.ga-connection-link {
    display: flex;
    align-items: center;
    color: var(--main-color-2);
    text-decoration: none;
    margin-block: .3em;
    margin-right: 1em;
}

.ga-nav-link {
    font-size: var(--fs-400);
    padding: 10px 20px;
    margin-left: 10px;
    margin-right: 10px;
    margin-top: 0px;
    margin-bottom: 0px;
}

.ga-nav-link-hd {
    display: none;
}

.ga-sub-nav-link {
    padding: .4em 1em;
    margin-left: 3em;
    margin-right: .6em;
    margin-top: 0;
    margin-bottom: 0;
    font-size: var(--fs-200);
}

.index-connection-link {
    color: var(--main-color-2);
}

@media (min-width: 810px) and (max-width: 1368px) {
    .ga-sub-nav-link {
        margin: .2em;
    }

    .ga-nav-link-hd {
        display: flex;
        height: 100%;
        align-items: center;
    }
}

@media (min-width: 1368px) {
    .header-container {
        display: flex;
        justify-content: space-between;
    }

    .ga-connection-link:last-child {
        margin-bottom: 2em !important;
    }
}

.ga-connection-link:hover {
    color: white;
    stroke: white;
}

    .ga-connection-link:hover > * {
        stroke: white;
    }

.ga-nav-link:hover,
.ga-sub-nav-link:hover,
.svg-icon-menu:hover {
    background-color: #48653F;
}

.active {
    color: white;
}

    .active > * {
        color: white !important;
        stroke: white;
    }

.navigate-years-button {
    background-color: var(--main-color-2);
    color: white;
    border-radius: 50%;
    border: none;
    margin: 0;
    cursor: pointer;
    margin: 2px;
}

    .navigate-years-button:hover {
        color: black;
    }

.btn-tab-idle,
.btn-tab-selected {
    border-width: 1px;
    border-radius: 1.5rem;
    padding-block: 0;
    padding-inline: 1em;
    background-color: transparent;
    font-weight: bold;
    font-size: var(--fs-400);
    cursor: pointer;
}

.btn-tab-idle {
    border: 1.5px dashed var(--gray-medium);
    color: var(--gray-medium);
}

.btn-tab-selected {
    border: 2px solid var(--main-color-1);
    color: var(--main-color-1);
}

.model-group-header {
    margin-top: .6em;
    margin-bottom: .4em;
    grid-column: 1/-1;
}

.circle {
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
}

.grid-bg div[style*="height"] {
    grid-column: 1 / -1;
    /*height: auto !important;*/ /* Évite que la hauteur interfère */
    visibility: hidden; /* Cache visuellement sans affecter le défilement */
}