@import url('https://fonts.googleapis.com/css2?family=Raleway&display=swap');

.entry-content {
    display: flex;
    justify-content: center;
}

.login-box {
    width: clamp(256px, 100%, 800px);
    font-family: "Raleway", sans-serif;
    margin: 20px 20px 40px;
    background: #f9f9f9;
    box-sizing: border-box;
    box-shadow: 0 15px 25px rgba(0,0,0,.6);
    border-radius: 10px;
    --color: #333;
    --color-contrast: #bdb8b8;
    --color-error: #fa755a;
    position: relative;
    overflow: hidden;
}

.login-box:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom right, #ffffff 50%, #f5f5dc 50%);
    transform: skewX(-10deg);
    transform-origin: top left;
    z-index: -1;
}

.login-box span,
.login-box a,
.login-box p,
.login-box h1 {
    font-weight: 600;
}

.login-box .user-box {
    position: relative;
    width: 100%;
}

.login-box .user-box input {
    width: 100%;
    padding: 10px 0;
    font-size: 16px;
    color: var(--color);
    margin-bottom: 30px;
    border: none;
    border-bottom: 1px solid var(--color);
    outline: none;
    background: transparent;
}

.login-box .user-box label {
    position: absolute;
    top: 0;
    left: 0;
    padding: 10px 0;
    font-size: 16px;
    color: var(--color);
    pointer-events: none;
    transition: .5s;
}

.login-box .user-box input:focus ~ label,
.login-box .user-box input:not(:placeholder-shown) ~ label {
    top: -30px;
    left: 0;
    color: var(--color-contrast);
    font-size: 12px;
}

.formContent,
#reservationForm {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 1rem 0;
    padding: 0 40px;
}
#reservationFormWorkshop {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.form-field {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-bottom: 10px;
}

.checkbox-field {
    flex-direction: row;
}

.form-field label {
    display: flex;
    flex-direction: column;
    width: 100%;
    color: var(--color);
    gap: 10px;
}

.form-field label span {
    font-size: 0.8rem;
    font-weight: 600;
}

.form-field label > input {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 0.5rem;
    font-size: 1rem;
}

input:-webkit-autofill {
    background-color: transparent;
    -webkit-box-shadow:0 0 0 50px transparent inset; /* Change the color to your own background color */
    -webkit-text-fill-color: #333;
}

input:-webkit-autofill:focus {
    background-color: transparent;
    -webkit-box-shadow: 0 0 0 50px transparent inset;/*your box-shadow*/
    -webkit-text-fill-color: #333;
}

.subject {
    display: flex;
    justify-content: center;
    margin: 1rem 0;
    font-size: clamp(1.3rem, 2vw, 1.5rem);
    color: var(--color);
}

#card-errors {
    color: var(--color-error);
    font-size: 1.2rem;
    font-weight: 600;
    margin: 1rem 0;
}

#card-elements {
    padding: 20px;
    width: 100%;
}

.is-invalid {
    border: 3px solid var(--color-error);
}

button.submit-button {
    --button_radius: 0.75em;
    --button_color: #e8e8e8;
    --button_outline_color: #000000;
    --shadow-color: rgba(0, 0, 0, 0.2);
    --highlight-color: rgba(255, 255, 255, 0.2);
    font-size: 17px;
    font-weight: bold;
    border: 2px solid var(--button_outline_color);
    border-radius: var(--button_radius);
    padding: 0.75em 1.5em;
    color: var(--button_outline_color);
    cursor: pointer;
    background: var(--button_color);
    transition: transform 0.2s ease;

}

button.submit-button:hover {
    transform: scale(1.05);
}

button.submit-button:active {
    transform: scale(0.95);
}

.form-link {
    cursor: pointer;
    color: white;
    display: flex;
    justify-content: center;
    font-weight: bold;
    text-decoration: underline;
    text-underline-offset: 3px;
    font-size: clamp(1rem,2vw,1rem)
}

.form-link:hover {
    color: #cee9ed;
    text-decoration: #cee9ed underline;
}

.payment-info {
    width: 100%;
    margin: 10px 0;
}

.stripe-payment-inputs {
    padding: 10px;
    background-color: white;
    border: 1px solid black;
    color: black;
    border-radius: 0.5rem;
}


@supports (-webkit-appearance: none) or (-moz-appearance: none) {
    .checkbox-wrapper-13 input[type=checkbox] {
        --active: #275EFE;
        --active-inner: #fff;
        --focus: 2px rgba(39, 94, 254, .3);
        --border: #BBC1E1;
        --border-hover: #275EFE;
        --background: #fff;
        --disabled: #F6F8FF;
        --disabled-inner: #E1E6F9;
        -webkit-appearance: none;
        -moz-appearance: none;
        height: 21px;
        outline: none;
        display: inline-block;
        vertical-align: top;
        position: relative;
        margin: 0;
        cursor: pointer;
        border: 1px solid var(--bc, var(--border));
        background: var(--b, var(--background));
        transition: background 0.3s, border-color 0.3s, box-shadow 0.2s;
    }

    .checkbox-wrapper-13 input[type=checkbox]:after {
        content: "";
        display: block;
        left: 0;
        top: 0;
        position: absolute;
        transition: transform var(--d-t, 0.3s) var(--d-t-e, ease), opacity var(--d-o, 0.2s);
    }

    .checkbox-wrapper-13 input[type=checkbox]:checked {
        --b: var(--active);
        --bc: var(--active);
        --d-o: .3s;
        --d-t: .6s;
        --d-t-e: cubic-bezier(.2, .85, .32, 1.2);
    }

    .checkbox-wrapper-13 input[type=checkbox]:disabled {
        --b: var(--disabled);
        cursor: not-allowed;
        opacity: 0.9;
    }

    .checkbox-wrapper-13 input[type=checkbox]:disabled:checked {
        --b: var(--disabled-inner);
        --bc: var(--border);
    }

    .checkbox-wrapper-13 input[type=checkbox]:disabled + label {
        cursor: not-allowed;
    }

    .checkbox-wrapper-13 input[type=checkbox]:hover:not(:checked):not(:disabled) {
        --bc: var(--border-hover);
    }

    .checkbox-wrapper-13 input[type=checkbox]:focus {
        box-shadow: 0 0 0 var(--focus);
    }

    .checkbox-wrapper-13 input[type=checkbox]:not(.switch) {
        width: 21px;
    }

    .checkbox-wrapper-13 input[type=checkbox]:not(.switch):after {
        opacity: var(--o, 0);
    }

    .checkbox-wrapper-13 input[type=checkbox]:not(.switch):checked {
        --o: 1;
    }

    .checkbox-wrapper-13 input[type=checkbox] + label {
        display: inline-block;
        vertical-align: middle;
        cursor: pointer;
        margin-left: 4px;
    }

    .checkbox-wrapper-13 input[type=checkbox]:not(.switch) {
        border-radius: 7px;
    }

    .checkbox-wrapper-13 input[type=checkbox]:not(.switch):after {
        width: 5px;
        height: 9px;
        border: 2px solid var(--active-inner);
        border-top: 0;
        border-left: 0;
        left: 7px;
        top: 4px;
        transform: rotate(var(--r, 20deg));
    }

    .checkbox-wrapper-13 input[type=checkbox]:not(.switch):checked {
        --r: 43deg;
    }
}

.checkbox-wrapper-13 * {
    box-sizing: inherit;
}

.checkbox-wrapper-13 *:before,
.checkbox-wrapper-13 *:after {
    box-sizing: inherit;
}
.titleCenerSponsor{
    text-align: center;
}

.sponsorShow{
    list-style: none;
}
.item{
    display: flex;
    flex-direction: column;
    align-content: center;
    flex-wrap: wrap;
    font-weight: 600;
    text-align: center;
    color: var(--color);
    font-size: clamp(0.8rem, 2vw, 1rem);
    gap: 5px;
}

.item > span {
    font-size: clamp(1.3rem, 2vw, 1.5rem);
}

.item p{
    width: 100%;
}
.changePageSponso{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    grid-column: 1/5;
}
.changePageSponso li{
    list-style: none;
    margin: 10px;
    width: 15px;
    height: 15px;
}
.sponsorImage{
    width: 200px;
    height: 200px;
    object-fit: contain;
}
.none{
    display: none;
}
.uncheckedCase{
    background-color: #555555;
}
.uncheckedCase:hover{
    background-color: var(--color);
    opacity: 0.8;
    cursor: pointer;
    transition: 0.2s ease-in-out;
}
.checkedCase{
    background-color: var(--color);
}
.checkedCase:hover{
    cursor: pointer;
}


.credit-card-info--form {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 15px;
}

.input_container {
    width: 100%;
    height: fit-content;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.split {
    display: grid;
    grid-template-columns: 4fr 2fr;
    gap: 15px;
}

.split input {
    width: 100%;
}

.input_label {
    color: var(--color);
    font-size: 16px;
}

.input_field {
    width: auto;
    height: 40px;
    padding: 0 0 0 16px;
    border-radius: 9px;
    outline: none;
    background-color: #F2F2F2;
    border: 1px solid #e5e5e500;
    transition: all 0.3s cubic-bezier(0.15, 0.83, 0.66, 1);
}

.input_field:focus {
    border: 1px solid transparent;
    box-shadow: 0px 0px 0px 2px #242424;
    background-color: transparent;
}

.purchase--btn {
    height: 55px;
    background: #F2F2F2;
    border-radius: 11px;
    border: 0;
    outline: none;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    background: linear-gradient(180deg, #363636 0%, #1B1B1B 50%, #000000 100%);
    box-shadow: 0px 0px 0px 0px #FFFFFF, 0px 0px 0px 0px #000000;
    transition: all 0.3s cubic-bezier(0.15, 0.83, 0.66, 1);
}

.purchase--btn:hover {
    box-shadow: 0px 0px 0px 2px #FFFFFF, 0px 0px 0px 4px #0000003a;
}

/* Reset input number styles */
.input_field::-webkit-outer-spin-button,
.input_field::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.input_field[type=number] {
    -moz-appearance: textfield;
}

.button {
    --main-focus: #2d8cf0;
    --font-color: #dedede;
    --bg-color-sub: #222;
    --bg-color: #323232;
    --main-color: #dedede;
    position: relative;
    width: 45px;
    height: 40px;
    cursor: pointer;
    display: flex;
    align-items: center;
    border: 2px solid var(--main-color);
    box-shadow: 4px 4px var(--main-color);
    background-color: var(--bg-color);
    border-radius: 10px;
    overflow: hidden;
}

.button.disabled {
    pointer-events: none; /* Désactive les événements de pointer (clic, survol, etc.) */
    background-color: #999; /* Change la couleur de fond pour indiquer qu'il est désactivé */
    border-color: #999; /* Change la couleur de la bordure */
    color: #666; /* Change la couleur du texte */
    cursor: not-allowed; /* Affiche un curseur "interdit" pour indiquer qu'il est désactivé */
}

.button, .button__icon, .button__text {
    transition: all 0.3s;
}

.button .button__text {
    transform: translateX(33px);
    color: var(--font-color);
    font-weight: 600;
}

.button .button__icon {
    height: 100%;
    width: 39px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.button .svg {
    width: 20px;
    fill: var(--main-color);
}

.button:hover {
    background: var(--bg-color);
}

.button:hover .button__text {
    color: transparent;
}

.button:hover .button__icon {
    width: 148px;
    transform: translateX(0);
}

.button:active {
    transform: translate(3px, 3px);
    box-shadow: 0px 0px var(--main-color);
}

.hours-button {
    --main-focus: #2d8cf0;
    --font-color: #dedede;
    --bg-color-sub: #222;
    --bg-color: #323232;
    --main-color: #dedede;
    position: relative;
    width: 200px;
    height: 40px;
    cursor: pointer;
    display: flex;
    align-items: center;
    border: 2px solid var(--main-color);
    box-shadow: 4px 4px var(--main-color);
    background-color: var(--bg-color);
    border-radius: 10px;
    overflow: hidden;
}

.hours-button, .hours-button__icon, .hours-button__text {
    transition: all 0.3s;
}

.hours-button .hours-button__text {
    transform: translateX(25px);
    color: var(--font-color);
    font-weight: 600;
}

.hours-button .hours-button__icon {
    position: absolute;
    transform: translateX(149px);
    height: 100%;
    width: 39px;
    background-color: var(--bg-color-sub);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hours-button .svg {
    width: 20px;
    stroke: var(--main-color);
}

.hours-button:hover {
    background: var(--bg-color);
}

.hours-button:hover .hours-button__text {
    color: transparent;
}

.hours-button:hover .hours-button__icon {
    width: 200px;
    transform: translateX(-5px);
}

.hours-button:active {
    transform: translate(3px, 3px);
    box-shadow: 0px 0px var(--main-color);
}





/* WORKSHOP */
.workshop {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 1rem 0 2rem 0;
    text-align: center;
    color: var(--color);
}

.workshop-name span {
    font-weight: 600;
    font-size: clamp(1.3rem, 2vw, 1.5rem);
}

