/* BULMA OVERRIDES */
:root {
    --bulma-primary: rgba(10, 75, 116, 0.8);
}


/* LAYOUT */
html,
body {
  height: 100%;
}
body {
    display: flex;
    flex-direction: column;
}
#wrapper {
    flex: 1 0 auto;
}
.footer {
    flex-shrink: 0;
}
#hero-header {
    background-image: url("../img/fsmp-header-k9sXH0J.webp");
    background-size: cover;
    background-repeat: no-repeat;
}
#hero-header .hero-body {
    background-color: rgba(0, 0, 0, 0.5);
}
.button.is-dark:hover {
    background-color: rgba(0, 0, 0, 0.7);
}
#navMenu.is-active a.navbar-item {
    display: inline-flex;
}
#navMenu.is-active .navbar-start {
    text-align: center;
}
#navMenu.is-active .buttons {
    justify-content: space-around;
}
/* FORM */
.togglePassword {
    pointer-events: all;
    cursor: pointer;
}
.togglePassword:hover {
    color: var(--bulma-input-icon-hover-color);
}
.label.is-required::after {
    content: ' *';
    color: red;
    font-weight: normal;
}
.input-numeric input {
    text-align: right;
    padding-right: 1em;
}
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
input[type=number] {
    appearance: textfield;
    -moz-appearance: textfield;
}
input[type=checkbox] {
    transform: scale(1.3);
    margin: 0 0.5em 0 0.2em;
}
/* Custom Select Search */

/* 1. On réinitialise le conteneur principal */
.ts-wrapper.form-control, .ts-wrapper.input {
    padding: 0 !important;
    border: none !important;
    height: auto !important;
    box-shadow: none !important;
}

/* 2. On stylise le champ (le rectangle blanc) pour qu'il ressemble à un .input Bulma */
.ts-control {
    border: 1px solid #dbdbdb !important;
    border-radius: 4px !important;
    padding: 0.5em 0.75em !important;
    min-height: 2.5em !important;
    display: flex !important;
    align-items: center !important;
    box-shadow: inset 0 0.0625em 0.125em rgba(10, 10, 10, 0.05) !important;
    transition: border-color 0.1s linear, box-shadow 0.1s linear;
}
.ts-dropdown, .ts-control, .ts-control input {
    font-size: 16px !important;
}
.ts-wrapper.single .ts-control {
    background: none !important ;
}

/* Style au focus (le bleu Bulma) */
.focus .ts-control {
    border-color: #3273dc !important;
    box-shadow: 0 0 0 0.125em rgba(50, 115, 220, 0.25) !important;
}

/* 3. On nettoie le menu déroulant */
.ts-dropdown {
    border: 1px solid #dbdbdb !important;
    border-radius: 4px !important;
    box-shadow: 0 0.5em 1em -0.125em rgba(10, 10, 10, 0.1), 0 0px 0 1px rgba(10, 10, 10, 0.02) !important;
    margin-top: 2px !important;
    padding: 0 !important;
}

/* 4. On stylise les items dans la liste */
.ts-dropdown .option {
    padding: 0.5em 0.75em !important;
    cursor: pointer;
}

/* L'item survolé ou sélectionné (Bleu Bulma) */
.ts-dropdown .active {
    background-color: #3273dc !important;
    color: white !important;
}

/* 5. Correction de l'icône de recherche (le glob) */
.ts-wrapper .ts-control input {
    margin-left: 5px !important;}
.control.has-icons-left .ts-control {
    padding-left: 2.5em !important; 
}
.ts-wrapper.single.dropdown-active .ts-control::after,
.ts-wrapper.single .ts-control::after {
    display: none !important;
}