:root {
    --black-color: #0c0c0c;
    --black-color-30-percent: rgba(var(--black-color-rgb), 0.3);
    --white-color: #fff;
    --white-color-30-percent: rgba(var(--white-color-rgb), 0.3);
    --accent-30-percent: rgba(var(--accent), 0.3);
    --gray-color: #ECECEC;
    --gray-text: rgb(from var(--black-color) r g b / 0.5);
    --primary: #f2979d;
    --secondary: #FCE2E4;
    --accent: #ea4d66;
    --success: #9DD8AC;
    --pending: #E8974B;
    --canceled: #E64242;
    --refunded: #8B7EC8;
    --dark-coral: #C85B44;
    --dark-navy-blue: #203C82;
    --spanish-green: #0E8C52;
    --deep-moss: #355F48;
    --black-olive: #43413C;
    --platine: #EAE8E7;

    --black-color-rgb: 12, 12, 12;
    --white-color-rgb: 255, 255, 255;
    --gray-color-rgb: 236, 236, 236;
    --primary-rgb: 242, 151, 157;
    --secondary-rgb: 252, 226, 228;
    --accent-rgb: 234, 77, 102;
    --success-rgb: 157, 216, 172;
    --pending-rgb: 232, 151, 75;
    --canceled-rgb: 230, 66, 66;
    --refunded-rgb: 139, 126, 200;
    --dark-coral-rgb: 200, 91, 68;
    --dark-navy-blue-rgb: 32, 60, 130;
    --spanish-green-rgb: 14, 140, 82;
    --deep-moss-rgb: 53, 95, 72;
    --black-olive-rgb: 67, 65, 60;
    --platine-rgb: 234, 232, 231;

    --bs-primary: var(--primary);
    --bs-primary-rgb: var(--primary-rgb);
    --bs-secondary: var(--secondary);
    --bs-secondary-rgb: var(--secondary-rgb);
    --bs-accent: var(--accent);
    --bs-accent-rgb: var(--accent-rgb);
    --bg-success: var(--success);
    --bg-pending: var(--pending);
    --bg-canceled: var(--canceled);
    --bg-refunded: var(--refunded);

    --h1: 500 64px/70px "neulis-cursive", sans-serif;
    --title-app: 500 36px/40px "neulis-sans", sans-serif;
    --h2: 500 36px/40px "neulis-cursive", sans-serif;
    --h3: 500 24px/28px "neulis-cursive", sans-serif;
    --titre-sans-serif: 500 24px/28px "neulis-sans", sans-serif;
    --titre-calendrier: 500 24px/28px "neulis-sans", sans-serif;
    --texte-header: 400 14px/15px "neulis-sans", sans-serif;
    --texte-header-hover: 400 16px/15px "neulis-sans", sans-serif;
    --texte: 400 17px/19px "neulis-sans", sans-serif;
    --texte-petit: 400 14px/16px "neulis-sans", sans-serif;
    --texte-gras: 500 14px/16px "neulis-sans", sans-serif;
    --texte-souligné-gras: 500 14px/16px "neulis-sans", sans-serif;
    --texte-barré: 400 14px/16px "neulis-sans", sans-serif;
    --texte-souligné: 400 14px/16px "neulis-sans", sans-serif;
    --texte-info: 400 11px/13px "neulis-sans", sans-serif;
    --texte-footer: 400 14px/16px "neulis-sans", sans-serif;

    /* Couleurs de base */
    --bs-body-bg: var(--white-color);
    --bs-body-color: var(--black-color);
    --bs-border-color: var(--gray-color);

    /* Liens */
    --bs-link-color: var(--accent);
    --bs-link-hover-color: var(--black-color);

    /* États Bootstrap */
    --bs-success: var(--success);
    --bs-warning: var(--pending);
    --bs-danger: var(--canceled);
    --bs-info: var(--secondary);

    /* Badges / boutons */
    --bs-btn-color: var(--white-color);
    --bs-btn-hover-color: var(--white-color);

    --font-texte: normal 400 14px/16px "neulis-sans", sans-serif;
    --font-texte-gras: normal 500 14px/16px "neulis-sans", sans-serif;
    --font-titre-app: normal 500 36px/40px "neulis-sans", sans-serif;

}

html, body {
    margin: 0;
    padding: 0;
}

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

.page-content {
    flex: 1 0 auto;
}

body:has(nav) main {
    margin-top: 80px;
}

.footer {
    flex-shrink: 0;
}

.h1, .titre {
    font-family: "neulis-cursive", sans-serif;
    font-size: 64px;
    font-style: normal;
    font-weight: 500;
    line-height: 70px;
    text-decoration: none;
    margin: 0;
    -webkit-font-smoothing: antialiased;
}

.h2, .title-app {
    font-family: "neulis-cursive", sans-serif;
    font-size: 36px;
    font-style: normal;
    font-weight: 500;
    line-height: 40px;
    text-decoration: none;
    margin: 0;
    -webkit-font-smoothing: antialiased;
}

.h3, .titre-h3 {
    font-family: "neulis-cursive", sans-serif;
    font-size: 24px;
    font-style: normal;
    font-weight: 500;
    line-height: 28px;
    text-decoration: none;
    margin: 0;
    -webkit-font-smoothing: antialiased;
}

.titre-sans-serif {
    font-family: "neulis-sans", sans-serif;
    font-size: 24px;
    font-style: normal;
    font-weight: 500;
    line-height: 28px;
    text-decoration: none;
    margin: 0;
    -webkit-font-smoothing: antialiased;
}

.titre-calendrier {
    font-family: "neulis-sans", sans-serif;
    font-size: 24px;
    font-style: normal;
    font-weight: 500;
    line-height: 28px;
    text-decoration: none;
    margin: 0;
    color: var(--black-color);
    transition: border-bottom 0.3s ease;
    width: fit-content;
    -webkit-font-smoothing: antialiased;
}

.texte-header {
    font-family: "neulis-sans", sans-serif;
    font-size: 17px;
    font-style: normal;
    font-weight: 400;
    line-height: 19px;
    text-decoration: none;
    margin: 0;
    color: var(--black-color);
    -webkit-font-smoothing: antialiased;
}

.texte-footer {
    font-family: "neulis-sans", sans-serif;
    font-size: 17px;
    font-style: normal;
    font-weight: 400;
    line-height: 19px;
    width: fit-content;
    margin: 0;
    color: var(--white-color);
    text-decoration: underline;
    -webkit-font-smoothing: antialiased;
}

.texte-header-button {
    font-family: "neulis-sans", sans-serif;
    font-size: 17px;
    font-style: normal;
    font-weight: 400;
    line-height: 19px;
    text-decoration: none;
    margin: 0;
    -webkit-font-smoothing: antialiased;
}

.texte-header:hover {
    color: var(--primary);
}

.texte {
    font-family: "neulis-sans", sans-serif;
    font-size: 17px;
    font-style: normal;
    font-weight: 400;
    line-height: 19px;
    text-decoration: none;
    margin: 0;
    -webkit-font-smoothing: antialiased;
}

.texte-petit, .texte-info {
    font-family: "neulis-sans", sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 15px;
    text-decoration: none;
    margin: 0;
    -webkit-font-smoothing: antialiased;
}

.texte-petit-souligné {
    font-family: "neulis-sans", sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 15px;
    text-decoration: underline dotted;
    margin: 0;
    -webkit-font-smoothing: antialiased;
}

.texte-gras {
    font-family: "neulis-sans", sans-serif;
    font-size: 17px;
    font-style: normal;
    font-weight: 500;
    line-height: 19px;
    text-decoration: none;
    margin: 0;
    -webkit-font-smoothing: antialiased;
}

.texte-souligné-gras {
    font-family: "neulis-sans", sans-serif;
    font-size: 17px;
    font-style: normal;
    text-decoration: underline;
    font-weight: 500;
    line-height: 19px;
    margin: 0;
    -webkit-font-smoothing: antialiased;
}

.texte-barré {
    font-family: "neulis-sans", sans-serif;
    font-size: 17px;
    font-style: normal;
    text-decoration: line-through;
    font-weight: 400;
    line-height: 19px;
    margin: 0;
    -webkit-font-smoothing: antialiased;
}

.texte-souligné {
    font-family: "neulis-sans", sans-serif;
    font-size: 17px;
    font-style: normal;
    font-weight: 400;
    line-height: 19px;
    margin: 0;
    text-decoration: none;
    border-bottom: 1px dotted var(--black-color);
    color: var(--black-color);
    transition: border-bottom 0.3s ease;
    width: fit-content;
    -webkit-font-smoothing: antialiased;
}

@media (max-width: 767px) {
    .h1, .titre {
        font-family: "neulis-cursive", sans-serif;
        font-size: 38px;
        font-style: normal;
        font-weight: 500;
        line-height: 36px;
        text-decoration: none;
        margin: 0;
    }

    .h2, .title-app {
        font-family: "neulis-cursive", sans-serif;
        font-size: 26px;
        font-style: normal;
        font-weight: 500;
        line-height: 28px;
        text-decoration: none;
        margin: 0;
    }

    .h3, .titre-h3 {
        font-family: "neulis-cursive", sans-serif;
        font-size: 20px;
        font-style: normal;
        font-weight: 500;
        line-height: 22px;
        text-decoration: none;
        margin: 0;
    }

    .titre-sans-serif {
        font-family: "neulis-sans", sans-serif;
        font-size: 20px;
        font-style: normal;
        font-weight: 500;
        line-height: 22px;
        text-decoration: none;
        margin: 0;
    }

    .titre-calendrier {
        font-family: "neulis-sans", sans-serif;
        font-size: 20px;
        font-style: normal;
        font-weight: 500;
        line-height: 22px;
        text-decoration: none;
        margin: 0;
        color: var(--black-color);
        transition: border-bottom 0.3s ease;
        width: fit-content;
    }

    .texte-header {
        font-family: "neulis-sans", sans-serif;
        font-size: 17px;
        font-style: normal;
        font-weight: 400;
        line-height: 19px;
        text-decoration: none;
        margin: 0;
        color: var(--black-color);
    }

    .texte-header-button {
        font-family: "neulis-sans", sans-serif;
        font-size: 16px;
        font-style: normal;
        font-weight: 400;
        line-height: 19px;
        text-decoration: none;
        margin: 0;
    }
}

.texte-souligné:hover {
    border-bottom: 1px dotted transparent;
}

.mini-radius {
    border-radius: 6px;
}

.radius {
    border-radius: 12px;
}

.big-radius {
    border-radius: 24px;
}

.marge-5 {
    margin: 5px !important;
}

.marge-10 {
    margin: 10px !important;
}

.marge-20 {
    margin: 20px !important;
}

.marge-30 {
    margin: 30px !important;
}

.marge-40 {
    margin: 40px !important;
}

.marge-60 {
    margin: 60px !important;
}

.marge-80 {
    margin: 80px !important;
}

.mb-20 {
    margin-bottom: 20px;
}

.main-button {
    padding: 10px 20px;
    max-height: 44px;
    border: none;
}

.main-button:active {
    background-color: var(--black-color) !important;
}

.main-button-mobile {
    padding: 5px 10px;
}

.btn-primary {
    --bs-btn-bg: var(--primary);
    --bs-btn-border-color: var(--primary);
    --bs-btn-disabled-bg: var(--primary);
    --bs-btn-disabled-border-color: var(--primary);
    --bs-btn-active-border-color: var(--primary);
    --bs-btn-hover-border-color: var(--primary);
}

.btn-outline-primary {
    --bs-btn-color: var(--primary);
    --bs-btn-border-color: var(--primary);
}

.btn-outline-primary.active, .btn-primary.active {
    --bs-btn-active-bg: var(--primary);
    --bs-btn-active-border-color: var(--primary);
}

.btn-secondary.active {
    --bs-btn-active-bg: var(--accent);
    --bs-btn-active-border-color: var(--accent);
}

.btn:hover {
    --bs-btn-hover-bg: var(--black-color);
    --bs-btn-hover-border-color: var(--black-color);
}

.btn-secondary {
    --bs-btn-bg: var(--accent);
    --bs-btn-border-color: var(--accent);
    --bs-btn-disabled-bg: var(--accent);
    --bs-btn-disabled-border-color: var(--accent);
    --bs-btn-active-border-color: var(--accent);
    --bs-btn-hover-border-color: var(--accent);
}

.btn-outline-secondary {
    --bs-btn-color: var(--accent);
    --bs-btn-border-color: var(--accent);
}

.btn:focus-visible {
    background-color: var(--accent);
}

.card-title-font {
    font-family: "neulis-sans", sans-serif;
    font-size: 24px;
    font-style: normal;
    font-weight: 500;
    line-height: 28px;
}

.black-color-text {
    color: var(--black-color);
}

.white-color-text {
    color: var(--white-color);
}

.black-color-30p-text {
    color: var(--black-color-30-percent);
}

.form-check-input {
    --form-switch-checked-bg: var(--accent);
    --form-type-check-input-checked-bg: var(--accent);
    --form-type-check-input-border-color: var(--accent);
}

.form-widget input.form-check-input:focus, .form-control:focus, .form-select:focus {
    border-color: var(--accent);
    --form-type-check-input-box-shadow: 0 1px 2px 0 var(--primary);
    box-shadow: 0 0 0 .25rem rgb(from var(--primary) r g b / 0.5);
}

.form-check:not(.form-switch) .form-check-input:not(:checked), .form-check-input:not(:checked) {
    --form-type-check-input-border-color: var(--primary);
    background-color: var(--white-color);
    border-color: var(--primary);
}

.form-check-input:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}

.form-check-input:focus {
    outline: 0;
    box-shadow: 0 0 0 .25rem rgba(242, 151, 157, .25)
}

.form-check-input {
    border-width: 2px;
}

.underlined-text:hover {
    border-bottom: 1px dotted transparent;
}

.header-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
}

@media (max-width: 576px) {
    .header-container {
        padding-left: 40px;
        padding-right: 40px;
    }
}

.header-subcontent {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

#pendingCount {
    background-color: var(--primary);
    position: absolute;
    top: 3px;
    width: 25px;
    height: 25px;
    border-radius: 250px;
}

.header {
    background-color: var(--white-color);
}

.bg-success {
    background-color: var(--bg-success);
}

.gray-color-text {
    color: var(--gray-text);
}

.primary-color-text {
    color: var(--primary);
}

a {
    --bs-link-color-rgb: var(--accent);
    color: var(--accent);
}

.container-style {
    border: 1px solid var(--black-color);
    border-radius: 24px;
    padding: 2rem;
}

#equipment-select-container {
    margin-top: 10px;
}

.taxonomies-equipment {
    margin-top: 20px;
}

.app-input {
    border: solid var(--black-color) 1px;
    padding: 0 20px;
    height: 44px;
    font: var(--texte);
    margin: 0;
}

.gap-5px {
    gap: 5px !important;
}

.gap-10px {
    gap: 10px !important;
}

.gap-20px {
    gap: 20px !important;
}

.gap-30px {
    gap: 30px !important;
}

.gap-40px {
    gap: 40px !important;
}

.gap-80px {
    gap: 80px !important;
}

/* Modales */
.modal-dialog-responsive {
    width: min(480px, calc(100vw - 2.5rem));
    margin: 1.5rem auto;
}

@media (max-width: 768px) {
    .modal-dialog-responsive {
        width: calc(100vw - 1rem);
        margin: 1rem auto;
    }

    .modal-dialog-responsive .modal-content {
        border-radius: 20px;
    }

    .modal-dialog-responsive .modal-header,
    .modal-dialog-responsive .modal-body,
    .modal-dialog-responsive .modal-footer {
        padding: 1.25rem;
    }

    .modal-dialog-responsive .modal-title {
        font-size: 1.25rem;
    }

    .modal-dialog-responsive .btn {
        width: 100%;
    }
}

.hover-button:hover {
    background-color: var(--black-color) !important;
    color: var(--white-color);
    transform: scale(110%);
    transition: ease 0.3s;
}

.password-wrapper:not(.col-12) {
    width: 100%;
    max-width: 460px;
    align-self: center;
    border: none;
}

.password-wrapper.col-12 .toggle-password {
    right: 25px;
}

.password-wrapper {
    position: relative;
}

.reset-password-wrapper .password-wrapper .toggle-password {
    top: 50px;
}

.password-wrapper input {
    width: 100%;
    padding-right: 44px; /* espace pour l’icône */
}

.password-wrapper .toggle-password {
    position: absolute;
    top: 22px;
    right: 14px;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    font-size: 1.2rem;
}

.toggle-password i {
    color: var(--black-color);
}

.accent-button {
    background: var(--accent);
    border: none;
}

.accent-button:active {
    background: var(--black-color) !important;
}

.app-container {
    padding: 40px 70px 80px 70px;
}

@media (max-width: 992px) {
    .app-container {
        padding: 40px;
    }

    .error-image {
        width: 10%;
        height: 10%;
    }
}

.error-image {
    width: 35%;
    height: 35%;
}

nav {
    z-index: 100;
}