.license-request-body{
    padding: 0px !important;
    height: 100% !important;
    background: #29235C;
    background: -webkit-linear-gradient(180deg,rgba(41, 35, 92, 1) 0%, rgba(0, 117, 191, 1) 100%);
    background: -moz-linear-gradient(180deg,rgba(41, 35, 92, 1) 0%, rgba(0, 117, 191, 1) 100%);
    background: linear-gradient(180deg,rgba(41, 35, 92, 1) 0%, rgba(0, 117, 191, 1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(
            startColorstr="#29235C",
            endColorstr="#0075BF",
            GradientType=0
    );
}

.license-request-full{
    padding: 0px !important;
    height: 100% !important;
    background: #29235C;
    background: -webkit-linear-gradient(180deg,rgba(41, 35, 92, 1) 0%, rgba(0, 117, 191, 1) 100%);
    background: -moz-linear-gradient(180deg,rgba(41, 35, 92, 1) 0%, rgba(0, 117, 191, 1) 100%);
    background: linear-gradient(180deg,rgba(41, 35, 92, 1) 0%, rgba(0, 117, 191, 1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(
            startColorstr="#29235C",
            endColorstr="#0075BF",
            GradientType=0
    );
    display: flex;
    justify-content: center;
    align-items: center;
}

.license-content{
    width: 80%;
    min-width: 600px;
    max-width: 900px;
    height: auto;
    min-height: 100%;
    background-color: #ffffff;
    float: right;
}

@media only screen and (max-width: 600px) {
    .license-content{
        width: 100%;
        min-width: auto;
        max-width: none;
        height: auto;
        padding-top: 20px;
        padding-bottom: 20px;
        padding-left: 0px;
        padding-right: 0px;
        min-height: 100%;
        background-color: #ffffff;
        float: none;
    }

    .progress-div{
        padding-left: 20px;
        padding-right: 20px;

        .smiley-bar{
            width: 100%;
        }

        .progress.progress-license{
            width: 100%;
        }
    }
}

.license-content-full{
    width: 90%;
    max-width: 1200px;
    height: 90%;
    background-color: #ffffff;
    border-radius: 16px;
    overflow: auto;
}

::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
    border-radius: 16px;
}

::-webkit-scrollbar-thumb {
    border-radius: 16px;
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.5);
}

.logo{
    text-align: center;
    padding-top: 20px;
    padding-bottom: 30px;
}

.logo img {
    max-width: 200px;
}

.logo.logo-small img {
    max-width: 80px;
}

.license-title{
    font-size: 40px;
    font-weight: 300;
    margin-top: 20px;
    line-height: 40px;
}

.license-sub-title{
    font-size: 20px;
    font-weight: 200;
    margin-top: 20px;
    line-height: 40px;
}

.request-registration-img{
    max-width: 80%;
}

.progress.progress-license{
    width: 400px;
    height: 10px;
    margin-left: auto;
    margin-right: auto;
}

.smiley-bar{
    width: 400px;
    margin-left: auto;
    margin-right: auto;
    font-size: 24px;
}

.smiley-bar .smiley-inverse{
    margin-left: 21%;
    margin-bottom: 5px;
    display: inline-block;
    width: auto;
    -moz-transform: scale(-1, 1);
    -webkit-transform: scale(-1, 1);
    -o-transform: scale(-1, 1);
    -ms-transform: scale(-1, 1);
    transform: scale(-1, 1);
}

.smiley-bar .smiley-inverse-2{
    margin-left: 46%;
    margin-bottom: 5px;
    display: inline-block;
    width: auto;
    -moz-transform: scale(-1, 1);
    -webkit-transform: scale(-1, 1);
    -o-transform: scale(-1, 1);
    -ms-transform: scale(-1, 1);
    transform: scale(-1, 1);
}

.smiley-bar .smiley-inverse-3{
    margin-left: 71%;
    margin-bottom: 5px;
    display: inline-block;
    width: auto;
    -moz-transform: scale(-1, 1);
    -webkit-transform: scale(-1, 1);
    -o-transform: scale(-1, 1);
    -ms-transform: scale(-1, 1);
    transform: scale(-1, 1);
}

.smiley-bar .smiley-inverse-4{
    margin-left: 100%;
    margin-bottom: 5px;
    display: inline-block;
    width: auto;
}

.smiley-bar .smiley-inverse-5{
    margin-left: 95%;
    margin-bottom: 5px;
    display: inline-block;
    width: auto;
}

.progress.progress-license .bar{
    background: #0075BF;
    background: -webkit-linear-gradient(90deg,rgba(0, 117, 191, 1) 0%, rgba(41, 35, 92, 1) 100%);
    background: -moz-linear-gradient(90deg,rgba(0, 117, 191, 1) 0%, rgba(41, 35, 92, 1) 100%);
    background: linear-gradient(90deg,rgba(0, 117, 191, 1) 0%, rgba(41, 35, 92, 1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(
            startColorstr="#0075BF",
            endColorstr="#29235C",
            GradientType=1
    );
}

.progress.progress-license .bar.bar-green{
    background: #198754 !important;
    filter: none !important;
}

.license-content-body{
    margin-top: 50px;
    width: 300px;
    margin-left: auto;
    margin-right: auto;
}

.license-form label.checkbox{
    font-size: 12px;
}

.license-form .form-label-group.outline input{
    padding: 10px;
}

.license-form input:not(.btn, .licenseFormMultiCheckbox, [type="radio"], [type="checkbox"]),
.license-form textarea,
.license-form .dropdown .dropdown-toggle
{
    width: 95%;
}

.license-form input[type="radio"],
.license-form input[type="checkbox"]{
    margin-right: 8px;
    vertical-align: middle;
    flex-shrink: 0;
}

/* Case ou radio alignés avec leur texte ; sauf les choix présentés en boutons (label.btn dans un .btn-group, ex. type
   de licence, assurance, paiement du tunnel de licence) qui doivent rester côte à côte */
.license-form label:not(.btn):has(input[type="radio"]),
.license-form label:not(.btn):has(input[type="checkbox"]){
    display: flex;
    align-items: center;
}

.license-form input.licenseFormMultiCheckbox{
    width: 15px !important;
    height: 15px !important;
    margin-right: 10px !important;
    margin-top: 1px !important;
}

.license-form .control-group-phone input{
    width: 92%;
}

.license-form label.licenseFormMultiCheckboxLabel{
    font-size: 12px;
    display: inline-flex;
    align-items: center;
    margin-right: 20px;
}

.license-form select, .license-form .control-group-phone{
    margin-bottom: 0px;
}

.license-form select, .license-form .control-group:not(.input-prefix) .select2-container{
    width: 101%;
}

.license-form .control-group-phone-prefix{
    float: left;
    width: 40%;
}

.license-form .control-group-phone{
    float: left;
    width: 56%;
    margin-left: 10px;
}


.license-form .control-group-phone-prefix .select2-container{
    width: 100%;
}

.license-form input:not(.btn, .licenseFormMultiCheckbox, [type="radio"], [type="checkbox"]),
.license-form select,
.license-form .dropdown .dropdown-toggle
{
    height: 58px;
    padding-left: 10px;
    padding-top: 6px;
    padding-bottom: 2px;
    margin: 0px !important;
    font-size: 16px !important;
    font-weight: 400;
}

.license-form .old-radio input{
    height: 15px;
    width: 30px;
}

.license-form .dropdown .dropdown-toggle{
    background: #fff;
    border: 1px solid rgb(204, 204, 204);
    text-decoration: none;
    box-shadow: none;
    text-shadow: none;
    color: rgb(108, 117, 125);
    text-align: left;
    padding-top : 20px!important;
}

.license-form .dropdown .dropdown-menu{
    width: 100%;
    padding: 4px;
}

.license-form .dropdown .dropdown-menu input{
    height: 20px;
    width: 20px;
    margin-right: 5px!important;
    color: rgb(108, 117, 125);
    font-size: 16px;
}

.license-form .dropdown .dropdown-menu label.checkbox{
    color: rgb(108, 117, 125);
    font-size: 16px;
}

.license-form .dropdown-menu li label {
    display: block;
    padding: 3px 20px;
    cursor: pointer;
    font-weight: normal;
}

.license-form .dropdown-menu li label:hover {
    background-color: #f5f5f5;
}

.license-form .dropdown-menu li input[type="checkbox"] {
    margin-right: 8px;
}

.license-form textarea{
    height: 200px;
    padding-left: 10px;
    padding-top: 6px;
    padding-bottom: 2px;
    margin: 0px !important;
    font-size: 16px !important;
    font-weight: 400;
}

.license-form .input-prefix-custom select{
    height: 68px;
}

.custom-disabled-input{
    width: 100%;
    height: 58px;
    margin: 0px !important;
    font-size: 16px !important;
    font-weight: 400;
    padding: 0px;
}

.license-form .license-form-radio,
.license-form .insurance-form-radio,
.license-form .payment-form-radio
{
    display:none;
}

.font-grey
{
    color: grey;
}

.license-form .license-form-radio-label,
.license-form .insurance-form-radio-label,
.license-form .payment-form-radio-label
{
    text-shadow: none;
    font-weight: 400;
    padding: 10px;
    background: #ffffff;
    font-size: 11px;
}

.license-form .license-form-radio-label:hover, .license-form .license-form-radio-label:active, .license-form .license-form-radio-label-checked,
.license-form .insurance-form-radio-label:hover, .license-form .insurance-form-radio-label:active, .license-form .insurance-form-radio-label-checked,
.license-form .payment-form-radio-label:hover, .license-form .payment-form-radio-label:active, .license-form .payment-form-radio-label-checked
{
    background: #29235C;
    color: #fff;
}

.btn-request-registration{
    width: auto !important;
    color: #fff !important;
    text-shadow: none;
    font-weight: 400;
    padding-top: 11px;
    padding-bottom: 11px;
    padding-left: 19px;
    padding-right: 19px;
    border-radius: 6px;
    font-size: 16px;
}

.fftri-dark-blue{
    background: #29235C !important;
    color: #fff !important;
}

.fftri-light-blue{
    background: #0075BF !important;
    color: #fff !important;
}

.license-form .zebradp.not-modifiable{
    background: #ffffff;
}

.license-form .zebradp::-webkit-calendar-picker-indicator,
.license-form .zebradp::-webkit-inner-spin-button {
    display: none;
    -webkit-appearance: none;
}

.dp_header{
    background: #29235C !important;
}

.form-label-group label{
    font-size: 16px !important;
    font-weight: 400 !important;
}


#passwordShow,
.password-show{
    position: absolute;
    top: 30%;
    right: -10px;
    border: none;
    background-color: transparent;
    background-image: none;
    box-shadow: none;
}

/* .btn:hover / :focus / :active (Bootstrap) would give a grey background, #passwordShow wins thanks to the id */
.btn.password-show:hover,
.btn.password-show:focus,
.btn.password-show:active{
    background-color: transparent;
    background-image: none;
    box-shadow: none;
}

#passwordShow.loginPasswordShow{
    right: 5px;
}

#passwordShow [class^="icon-"],
#passwordShow [class^="bi"],
.password-show [class^="bi"]
{
    font-size: 20px !important;
    color: #000000 !important;
}

.loginAction .btn-request-registration{
    width: 100% !important;
}

.margin-top-5{
     margin-top: 5px;
 }

.margin-top-10{
    margin-top: 10px;
}

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

.margin-top-40{
    margin-top: 40px;
}

.margin-bottom-5{
    margin-bottom: 5px;
}

.margin-bottom-10{
    margin-bottom: 10px;
}

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

.margin-bottom-40{
    margin-bottom: 40px;
}

.btn-custom-return{
    width: auto;
    color: #0075BF;
    border-color: #0075BF !important;
    text-shadow: none;
    font-weight: 400;
    font-size: 16px;
    padding: 10px;
    border-radius: 6px;
    background: #ffffff;
}

.btn-custom-return:focus,
.btn-custom-return:hover,
.btn-custom-return:active{
    width: auto;
    color: #ffffff;
    border-color: #0075BF !important;
    text-shadow: none;
    font-weight: 400;
    padding: 10px;
    border-radius: 6px;
    background: #0075BF;
}

.custom-fieldset{
    clear: both;
}

.fieldset-title{
    font-weight: 600;
    font-size: 20px;
}

#license-resquest-form-column{
    width: 50%;
    float: left;
}

#license-preview{
    width: 50%;
    float: left;
}

#license-resquest-form-column{
    width: 50%;
    float: left;
}

#license-request-form:not(.span12) .license-form{
    width: 300px;
    margin-left: auto;
    /*margin-right: auto;*/
}

#license-request-form.span12 .license-form{
    padding-left: 10%;
    padding-right: 10%;
}

.autocomplete-card {
    width: 500px;
    height: 360px;
    border: 2px solid #29235C;
    border-radius: 16px;
    padding-top: 20px;
    padding-left: 20px;
    padding-right: 0px;
}

.license-card{
    width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.license-card .license-number{
    width: 100%;
}

.license-card .license-number .license-short{
    width: 40%;
    float: left;
}

.license-card .license-number .license-bold{
    font-size: 40px;
    font-weight: 800;
}

.license-card .license-more .license-bold{
    font-size: 20px;
    font-weight: 500;
}

.license-card .license-number .license-infos{
    font-size: 12px;
    color: #979a9a;
    font-weight: 400;
}

.license-card #card-license-type{
    font-size: 11px;
}

.license-card .license-number .license-more{
    padding-top: 7px;
    width: 50%;
    float: left;
}

.license-card .license-number .license-para{
    padding-top: 7px;
    width: 10%;
    float: left;
}

.license-infos-list{
    clear: both;
    width: 100%;
    padding-top: 10px;
}

.license-infos-list .license-list{
    width: 60%;
    float: left;
    font-size: 14px;
    line-height: 25px;
    font-weight: 500;
}

.license-infos-list .license-photo{
    text-align: right;
    width: 40%;
    float: left;
}

.autocomplete-card-footer{
    clear: both;
    width: 100%;
    padding-top: 5px;
    font-size: 14px;
    line-height: 25px;
    font-weight: 500;
}

.custom-disabled-input .custom-disabled-label{
    font-size: 10px;
    color: rgb(108, 117, 125);
    padding-left: 10px;
    padding-top: 6px;
    padding-bottom: 2px;
}

.custom-disabled-input .custom-disabled-value{
    font-size: 16px;
    font-weight: 400;
    padding-left: 10px;
    padding-bottom: 2px;
}

.license-form .btn-link, .btn-link:active, .btn-link:focus{
    color:#29235C;
    font-weight: 500;
    font-size: 16px;
}

.input-photo,
.input-certif{
    height: 100px;
}

.license-form #small-photo,
.license-form #small-certif
{
    float: left;
    width: 100px;
}

.license-form #text-photo,
.license-form #text-certif{
    float: left;
    width: 200px;
}

.license-form #small-photo img, .license-form #small-photo .custom-loader.loader.loading,
.license-form #small-certif img, .license-form #small-certif .custom-loader.loader.loading{
    float: left;
    width: 75px;
    height: 100px;
}

.custom-loader.loader.loading{
    background-position-x: 50%;
}

.license-photo .custom-loader.loader.loading,
.license-certif .custom-loader.loader.loading{
    margin-right: 50%;
    margin-top: 50%;
}

.fftri-text-dark-blue{
    color: #29235C;
}

/* The switch - the box around the slider */
.switch {
    position: relative;
    display: inline-block;
    width: 30px;
    height: 17px;
}

/* Hide default HTML checkbox */
/*.switch label {
    opacity: 0;
    width: 0;
    height: 0;
}*/

/* The slider */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 13px;
    width: 13px;
    left:2px;
    bottom: 2px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked + .slider {
    background-color: #29235C;
}

input:focus + .slider {
    box-shadow: 0 0 1px #29235C;
}

input:checked + .slider:before {
    -webkit-transform: translateX(13px);
    -ms-transform: translateX(13px);
    transform: translateX(13px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

.custom-switch-input{
    width: 40px;
    float: left;
}

.custom-switch-label{
    width: 260px;
    float: left;
}

.custom-switch-label.no-width{
    width: inherit;
    float: left;
}

.checkbox-nopadding .checkbox{
    padding-left: 0px;
}

.clear-both{
    clear: both;
}

.select2-container .select2-choice, .select2-result-label {
    font-size: 15px;
    height: 65px;
    overflow: hidden;
}

.select2-arrow{
    padding-top: 16px;
}

.select2-chosen {
    padding-top: 20px;
}

.select2-default .select2-chosen {
    display: none !important;
}

.select2-result-label{
    height: 28px;
    padding-top: 10px;
}

.license-card-relative{
    position: relative;
}

.license-card-fixed{
    position: absolute;
    top: 5%;
}

.select2-container-multi .select2-choices{
    padding-top: 30px;
}

.custom-checkbox-input, .custom-checkbox-label{
    float: left;
}

.custom-checkbox-input{
    display: block;
}

.custom-checkbox-input input{
    display: block;
    width: 15px !important;
    height: 15px !important;
}

.custom-checkbox-label{
    display: block;
    width: 250px;
    padding-left: 10px;
}

.custom-info{
    font-style: italic;
    font-weight: 400;
    font-size: 14px;
}

@media only screen and (max-width: 1270px) {
    .custom-license-responsive{
        top: 40px;
        position: relative;
        width: 100% !important;
    }

    #license-request-form .license-form{
        margin-right: auto;
    }

    .license-card-fixed{
        top: 20px;
        bottom: 20px;
        position: relative !important;
        margin: auto !important;
        margin-right: auto !important;
        margin-left: 20px; !important;
    }

    .custom-license-responsive-card{
        width: 100% !important;
        margin-left: 0px !important;
        height: auto;
        padding-bottom: 40px;

        .license-card{
            margin-left: auto;
            margin-right: auto;
            height: auto;
            width: 520px;
        }
    }

    .span2.custom-license-responsive{
        display: none;
    }

    .custom-license-responsive-full{
        width: 100% !important;
    }

    .license-card .fieldset-title{
        width: 300px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media only screen and (max-width: 610px) {
    .autocomplete-card{
        transform: scale(0.75);
        transform-origin: top left;
    }

    .license-card{
        margin-left: auto;
        margin-right: auto;
        height: 342px;
        width: 390px !important;
    }

    .custom-license-responsive-card{
        height: 332px;
    }
}

@media only screen and (max-width: 510px) {
    .autocomplete-card{
        transform: scale(0.5);
        transform-origin: top left;
    }

    .license-card{
        margin-left: auto;
        margin-right: auto;
        height: 231px;
        width: 300px !important;
    }
}

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

/*.health-form-valid .bi{
    color: #29235C;
    font-size: 30px !important;
}*/

.btn.fftri-dark-blue{
    padding: 10px !important;
    color: #fff !important;
    font-size: 16px;
    box-shadow: none;
    text-shadow: none;
}

/* Formulaire Info Santé majeur (#healthForm) et questionnaire de santé mineur (#healthFormYoung) de
   users/license/request-sport-infos.phtml : présentation du Formulaire Info Santé de la Licence Expérience
   (styles pass-health-* plus bas), une étape visible à la fois */
#healthForm,
#healthFormYoung{
    width: 60% !important;
    left: 20% !important;
    height: 80% !important;
    top: 10% !important;
    margin: 0px !important;

    .modal-body{
        height: 85% !important;
        max-height: 85% !important;
    }

    .pass-health-steps {
        margin-top: 0;
    }

    .pass-health-actions {
        margin-bottom: 10px;
    }

    .pass-health-tip p {
        margin: 0;
    }
}

/* Questionnaire de santé mineur : question et choix Oui / Non en boutons accolés, réponse "Oui" surlignée */
.health-form-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    padding: 8px 10px;
    margin: 0 -10px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    font-size: 14px;
}

.health-form-question:last-child {
    border-bottom: none;
}

.health-form-question.is-yes {
    border-radius: 6px;
    background-color: #FDF1E6;
}

.health-form-yes-no {
    display: inline-flex;
    flex-shrink: 0;
    border: 1px solid #0075BF;
    border-radius: 6px;
    overflow: hidden;
}

.health-form-yes-no label {
    position: relative;
    margin: 0;
    cursor: pointer;
}

.health-form-yes-no label + label {
    border-left: 1px solid #0075BF;
}

/* Radio invisible mais toujours focalisable au clavier */
.health-form-yes-no input[type="radio"] {
    position: absolute;
    opacity: 0;
    margin: 0;
}

.health-form-yes-no span {
    display: block;
    min-width: 50px;
    padding: 5px 12px;
    background-color: #ffffff;
    color: #0075BF;
    text-align: center;
}

.health-form-yes-no input:checked + span {
    background-color: #0075BF;
    color: #ffffff;
}

.health-form-question.is-yes .health-form-yes-no input:checked + span {
    background-color: #D9741F;
    color: #ffffff;
}

.health-form-yes-no input:focus-visible + span {
    outline: 2px solid #29235C;
    outline-offset: -2px;
}

/* Bouton "Modifier mes réponses" sous l'alerte de certificat médical requis (mineur ayant répondu "Oui") */
.health-form-edit-answers {
    margin-top: 10px;
}

.health-form-answer-count {
    font-size: 13px;
    color: #6c757d;
}

.health-form-young-yes-list {
    margin: 0 0 10px 20px;
}

@media only screen and (max-width: 1100px) {
    #healthForm,
    #healthFormYoung{
        width: 100% !important;
        left: 0px !important;
        top: 0px !important;
        height: 100% !important;
    }
}

@media only screen and (max-width: 600px) {
    .health-form-question {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
}

.custom-license-table{
    width: 300px; !important;

    tr{
        font-size: 14px;
        line-height: 30px;
    }

    tr.custom-license-table-total{
        border-top: 2px solid lightgrey;
    }
}

.div-scroll{
    height: 100vh;
    overflow-y: scroll;
}

.box-form{
    border: 1px solid #9EC5FE;
    border-radius: 8px;
    padding: 10px;

    .box-form-title{
        font-size: 16px;
        font-weight: 700;
    }

    .box-form-sub-title{
        font-weight: 700;
    }
}

.box-form.min-height-400{
    min-height: 400px !important;
}

/* Columns of boxes with the same height (ex: reaffiliate-confirmation), only when the spans are side by side */
@media (min-width: 768px) {
    .row-fluid.equal-height-boxes{
        display: flex;
    }

    .row-fluid.equal-height-boxes:before,
    .row-fluid.equal-height-boxes:after{
        display: none;
    }

    .row-fluid.equal-height-boxes > [class*="span"]{
        display: flex;
        flex-direction: column;
    }

    /* The boxes fill the column height, except the .box-form-auto ones which keep their content height */
    .row-fluid.equal-height-boxes > [class*="span"] > .box-form{
        flex: 1 0 auto;
    }

    .row-fluid.equal-height-boxes > [class*="span"] > .box-form.box-form-auto{
        flex: 0 0 auto;
    }
}

/* ── Licence Expérience : liste des manifestations (/license-experience/event/list, pass-competition/event/list.phtml) ── */
/* Corps plus large que celui du formulaire de connexion (300px) pour la liste */
.license-content-body.license-content-body-wide {
    width: auto;
    max-width: 760px;
    margin-top: 30px;
    padding: 0 20px;
}

/* Filtres ligue + recherche + bouton sur une ligne, empilés sur téléphone */
.pass-event-filters {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
    gap: 0 12px;
    align-items: start;
}

.pass-event-filters .control-group {
    margin-bottom: 10px;
}

.pass-event-filters input:not(.btn),
.pass-event-filters select {
    width: 100% !important;
    box-sizing: border-box;
}

/* Même hauteur que les champs de .license-form (58px, box-sizing border-box ci-dessus) */
.btn.pass-event-filters-submit {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 58px;
    box-sizing: border-box;
    margin: 0;
    padding-top: 0;
    padding-bottom: 0;
    white-space: nowrap;
}

.pass-event-count {
    margin: 10px 0;
    color: #6c757d;
    font-size: 13px;
}

.pass-event-card {
    margin-bottom: 15px;
    padding: 15px 18px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    background-color: #ffffff;
}

.pass-event-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
}

.pass-event-name {
    font-size: 18px;
    font-weight: 600;
    color: #29235C;
}

.pass-event-organizer {
    margin-top: 2px;
    color: #6c757d;
    font-size: 13px;
}

.pass-event-league {
    flex-shrink: 0;
    padding: 3px 10px;
    border-radius: 12px;
    background-color: #E7F1FF;
    color: #29235C;
    font-size: 12px;
    font-weight: 600;
}

.pass-event-days {
    margin-top: 10px;
}

.pass-event-day ul {
    margin: 4px 0 8px 20px;
}

.pass-event-actions {
    text-align: right;
}

/* Licence Expérience : épreuves d'une manifestation (pass-competition/event/list-event-pass-competition.phtml) */
.pass-event-day-title {
    margin: 25px 0 10px;
    font-size: 18px;
    font-weight: 600;
    color: #29235C;
}

.pass-trial-infos {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 20px;
    margin-top: 10px;
    font-size: 14px;
}

.pass-trial-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #eeeeee;
}

/* Tarifs bien visibles : libellé discret au-dessus, montant en grand */
.pass-trial-prices {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 25px;
}

.pass-trial-price-label {
    display: block;
    font-size: 12px;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.pass-trial-price-amount {
    display: block;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
    color: #29235C;
}

.pass-trial-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-left: auto;
}

/* Messages flash en haut du corps (partial pass-competition/partial/flash-messages.phtml) */
.license-flash-messages {
    margin-bottom: 15px;
}

/* Licence Expérience : demande pour une épreuve (pass-competition/pass-competition/get-pass-competition.phtml) */
.progress.progress-license .bar.pass-progress-step-1 {
    width: 25%;
}

/* Formulaire à gauche, récapitulatif fixe à droite (au-dessus du formulaire sur petit écran) */
.license-content-body.pass-request-body {
    width: auto;
    max-width: 1040px;
    margin-top: 30px;
    padding: 0 30px;
}

.pass-request-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 30px;
    align-items: start;
}

.pass-request-summary {
    position: sticky;
    top: 20px;
}

.pass-summary-card {
    padding: 20px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    background-color: #ffffff;
}

.pass-summary-overline {
    font-size: 12px;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.pass-summary-event {
    margin-top: 4px;
    font-size: 18px;
    font-weight: 600;
    color: #29235C;
}

.pass-summary-trial {
    margin-top: 2px;
    font-size: 13px;
    color: #6c757d;
}

.pass-summary-total {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eeeeee;
}

.pass-summary-total .pass-trial-price-amount {
    font-size: 30px;
}

.pass-summary-insurance {
    display: block;
    margin-top: 10px;
    font-size: 13px;
}

.pass-cta-desktop {
    margin-top: 20px;
}

.pass-cta-desktop .btn.btn-request-registration {
    width: 100% !important;
}

.pass-cta-mobile {
    display: none;
}

@media only screen and (max-width: 900px) {
    .license-content-body.pass-request-body {
        padding: 0 15px;
    }

    .pass-request-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .pass-request-summary {
        position: static;
        order: -1;
    }

    .pass-cta-desktop {
        display: none;
    }

    .pass-cta-mobile {
        display: block;
    }
}

/* Question à choix (Oui / Non...) : intitulé au-dessus, options côte à côte */
.pass-radio-group {
    margin-top: 20px;
}

.pass-radio-question {
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
}

.license-form .pass-radio-group label.licenseFormMultiCheckboxLabel {
    font-size: 14px;
}

/* Réponses Oui / Non... en pastilles (radio masqué, label stylé ; js/pass-competition/choice-chips.js) */
.pass-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.license-form label.licenseFormMultiCheckboxLabel.pass-chip {
    position: relative;
    display: inline-flex;
    align-items: center;
    margin: 0;
    padding: 9px 18px;
    border: 1px solid #cfd4da;
    border-radius: 6px;
    background-color: #ffffff;
    color: #495057;
    font-size: 14px;
    cursor: pointer;
    transition: border-color 0.15s, background-color 0.15s;
}

.license-form label.licenseFormMultiCheckboxLabel.pass-chip:hover {
    border-color: #0075BF;
}

.license-form label.licenseFormMultiCheckboxLabel.pass-chip.is-checked {
    border-color: #0075BF;
    background-color: #E7F1FF;
    color: #29235C;
    font-weight: 600;
}

.license-form label.licenseFormMultiCheckboxLabel.pass-chip.has-focus {
    box-shadow: 0 0 0 3px rgba(0, 117, 191, 0.25);
}

/* Radio masqué mais toujours focusable au clavier et lu par les lecteurs d'écran */
.license-form input.licenseFormMultiCheckbox.pass-chip-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 1px !important;
    height: 1px !important;
    margin: 0 !important;
    opacity: 0;
    pointer-events: none;
}

/* Label à gauche, champ à droite dans une .pass-form-grid-2 : le champ est aligné sur la colonne de droite
   (date de naissance sous le prénom), empilés sur téléphone avec la grille */
.pass-grid-label-row {
    align-items: center;
}

.pass-grid-label-row .pass-field-label {
    margin-bottom: 0;
}

@media only screen and (max-width: 600px) {
    .pass-grid-label-row .pass-field-label {
        margin-bottom: 6px;
    }
}

/* Icône calendrier dans un champ date (Zebra_DatePicker avec 'show_icon': false) :
   <div class="date-input-icon-wrapper"><input ...><i class="bi bi-calendar3 date-input-icon"></i></div>
   L'icône laisse passer le clic : il arrive sur le champ, qui ouvre le calendrier. */
.date-input-icon-wrapper {
    position: relative;
}

.date-input-icon-wrapper input {
    padding-right: 42px !important;
}

.date-input-icon {
    position: absolute;
    top: 50%;
    right: 14px;
    transform: translateY(-50%);
    font-size: 18px;
    color: #29235C;
    pointer-events: none;
}

/* Label au-dessus d'un champ (listes select2) */
.pass-field-label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    font-weight: 600;
}

.pass-form-grid-2 {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 0 15px;
}

/* Tous les champs de la demande à la même largeur (95% par défaut dans .license-form, sinon décalés dans la grille) */
#pass-competition-request .license-form input:not(.btn, .licenseFormMultiCheckbox),
#pass-competition-request .license-form select,
#pass-club-page .license-form input:not(.btn, .licenseFormMultiCheckbox),
#pass-club-page .license-form select {
    width: 100%;
    box-sizing: border-box;
}

.pass-form-hint {
    margin-top: 6px;
    font-size: 12px;
    color: #6c757d;
}

/* Cases à cocher à long texte : case à gauche, texte sur plusieurs lignes à droite */
.license-form label.licenseFormMultiCheckboxLabel.pass-parental-permission,
.license-form label.licenseFormMultiCheckboxLabel.pass-cgu-label,
.license-form label.licenseFormMultiCheckboxLabel.pass-long-check {
    display: flex;
    align-items: flex-start;
    margin-right: 0;
    font-size: 14px;
}

/* Autorisation parentale : la première ligne contient le champ du représentant légal (34px de haut + marges),
   la case est alignée sur le milieu de cette ligne */
.license-form label.pass-parental-permission input.licenseFormMultiCheckbox {
    margin-top: 13px !important;
}

/* CGU : case alignée sur la première ligne de texte */
.license-form label.pass-cgu-label input.licenseFormMultiCheckbox {
    margin-top: 3px !important;
}

/* Nom du représentant légal, au milieu de la phrase d'autorisation parentale */
.license-form input.pass-inline-input {
    display: inline-block;
    width: 220px !important;
    height: 34px;
    margin: 4px 0 !important;
}

@media only screen and (max-width: 600px) {
    .pass-form-grid-2 {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* ── Licence Expérience : Formulaire Info Santé (pass-competition-health-form-*.phtml, partials health-form-*) ── */
.progress.progress-license .bar.pass-progress-step-2 {
    width: 50%;
}

/* Paiement de la Licence Expérience (pass-competition/pass-competition/payment.phtml) */
.progress.progress-license .bar.pass-progress-step-3 {
    width: 75%;
}

.pass-card-payment {
    margin-top: 15px;
    padding: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
}

.pass-card-payment-submit .bi {
    margin-right: 6px;
}

.license-content-body.pass-health-body {
    width: auto;
    max-width: 860px;
    margin-top: 20px;
    padding: 0 30px;
}

/* Suivi des 5 étapes, chaque pastille à la couleur de son volet */
.pass-health-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 20px auto 0;
    padding: 0 15px;
    font-size: 13px;
}

.pass-health-step {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #6c757d;
}

.pass-health-step-dot {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border: 2px solid currentColor;
    border-radius: 50%;
    font-weight: 600;
}

.pass-health-step.active,
.pass-health-step.done {
    font-weight: 600;
}

.pass-health-step-info.active, .pass-health-step-info.done { color: #0075BF; }
.pass-health-step-red.active, .pass-health-step-red.done { color: #C9302C; }
.pass-health-step-orange.active, .pass-health-step-orange.done { color: #D9741F; }
.pass-health-step-yellow.active, .pass-health-step-yellow.done { color: #B38600; }
.pass-health-step-green.active, .pass-health-step-green.done { color: #2E8B4A; }

/* Étape en cours : pastille pleine à la couleur du volet, chiffre en blanc */
.pass-health-step.active .pass-health-step-dot {
    color: #ffffff;
}

.pass-health-step-info.active .pass-health-step-dot { border-color: #0075BF; background-color: #0075BF; }
.pass-health-step-red.active .pass-health-step-dot { border-color: #C9302C; background-color: #C9302C; }
.pass-health-step-orange.active .pass-health-step-dot { border-color: #D9741F; background-color: #D9741F; }
.pass-health-step-yellow.active .pass-health-step-dot { border-color: #B38600; background-color: #B38600; }
.pass-health-step-green.active .pass-health-step-dot { border-color: #2E8B4A; background-color: #2E8B4A; }

.pass-health-steps-line {
    width: 24px;
    border-top: 2px solid #dee2e6;
}

/* Section d'un volet : liseré et fond clair à la couleur du volet */
.pass-health-section {
    margin-top: 25px;
    padding: 20px;
    border-left: 6px solid;
    border-radius: 0 10px 10px 0;
}

.pass-health-info { border-color: #0075BF; background-color: #EEF5FC; }
.pass-health-red { border-color: #C9302C; background-color: #FCEDED; }
.pass-health-orange { border-color: #D9741F; background-color: #FDF1E6; }
.pass-health-yellow { border-color: #E0B000; background-color: #FFF8DB; }
.pass-health-green { border-color: #2E8B4A; background-color: #EAF6EE; }

.pass-health-section-title {
    margin-bottom: 12px;
    font-size: 18px;
    font-weight: 600;
    color: #29235C;
}

.pass-health-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 10px;
    margin: 12px 0;
}

.pass-health-card {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px;
    border-radius: 8px;
    background-color: #ffffff;
    font-size: 14px;
}

.pass-health-card p {
    margin: 0;
}

.pass-health-card > .bi {
    flex-shrink: 0;
    font-size: 24px;
    line-height: 1;
}

.pass-health-info .pass-health-card > .bi { color: #0075BF; }
.pass-health-red .pass-health-card > .bi { color: #C9302C; }
.pass-health-orange .pass-health-card > .bi { color: #D9741F; }
.pass-health-yellow .pass-health-card > .bi { color: #B38600; }
.pass-health-green .pass-health-card > .bi { color: #2E8B4A; }

.pass-health-card-wide {
    grid-column: 1 / -1;
}

.pass-health-card-list {
    margin: 6px 0 0 18px;
}

.pass-health-conclusion {
    margin-top: 12px;
}

/* Version anglaise repliable */
.pass-health-en {
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    font-size: 14px;
}

.pass-health-en summary {
    color: #0075BF;
    font-weight: 600;
    cursor: pointer;
}

.pass-health-en[open] summary {
    margin-bottom: 8px;
}

/* Cases à cocher d'approbation : texte français, puis anglais en plus petit */
.pass-health-checks {
    margin-top: 25px;
}

.pass-health-checks label.pass-long-check {
    margin-bottom: 15px;
}

.pass-health-check-en {
    display: block;
    margin-top: 4px;
    font-size: 13px;
    color: #6c757d;
}

.pass-health-more {
    margin: 0 0 15px 25px;
    font-size: 13px;
}

.pass-health-tip {
    display: flex;
    gap: 12px;
    margin-top: 10px;
    padding: 15px;
    border-radius: 10px;
    background-color: #f8f9fa;
    font-size: 14px;
}

.pass-health-tip > .bi {
    font-size: 22px;
    color: #C9302C;
}

.pass-health-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin: 30px 0;
}

@media only screen and (max-width: 600px) {
    .license-content-body.pass-health-body {
        padding: 0 15px;
    }

    .pass-health-step-label,
    .pass-health-steps-line {
        display: none;
    }

    .pass-health-actions {
        flex-direction: column-reverse;
    }
}

/* Chargement (ex : js/training/registration-modal.js) et paiement par carte Worldline (js/payment/do-payment-modal.js :
   modale d'inscription à une formation, page de paiement de la Licence Expérience). Ici et non dans new-layout.css :
   ce fichier est chargé par tous les layouts récents, y compris layout/license-request-full.phtml. */
@keyframes card-payment-spin {
    to { transform: rotate(360deg); }
}

.modal-loading {
    padding: 30px 0;
}

.modal-loading .custom-spinner {
    width: 40px;
    height: 40px;
    margin: 0 auto;
    border: 4px solid rgba(0,0,0,0.15);
    border-top-color: #29235C;
    border-radius: 50%;
    animation: card-payment-spin 0.8s linear infinite;
}

.modal-card-payment-iframe {
    margin: 10px auto;
    text-align: center;
}

.modal-card-payment-iframe iframe {
    width: 100%;
    border: none;
}

/* ── Licence Expérience : confirmation (pass-competition/pass-competition/request-confirm.phtml) ── */
.progress.progress-license .bar.pass-progress-step-4 {
    width: 100%;
}

.license-content-body.pass-confirm-body {
    width: auto;
    max-width: 600px;
    margin-top: 20px;
    padding: 0 20px;
}

.pass-confirm-hero {
    text-align: center;
}

.pass-confirm-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background-color: #E7F6EC;
    color: #198754;
    font-size: 40px;
}

.pass-confirm-hero .license-title {
    margin-top: 15px;
}

.pass-confirm-subtitle {
    font-size: 18px;
    font-weight: 300;
    color: #6c757d;
}

.pass-confirm-message {
    margin-top: 15px;
    font-size: 15px;
}

.pass-confirm-card {
    margin-top: 25px;
    text-align: center;
}

.pass-confirm-number {
    margin-top: 6px;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #29235C;
}

.pass-confirm-download {
    margin-top: 20px;
}

.pass-confirm-download .bi {
    margin-right: 6px;
}

.pass-confirm-info {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    padding: 15px;
    border-radius: 10px;
    background-color: #f8f9fa;
    font-size: 14px;
}

.pass-confirm-info > .bi {
    font-size: 22px;
    color: #0075BF;
}

.pass-confirm-info p {
    margin: 0;
}

/* ── Demande de Pass Club / Rentrée Bougez / été (users/license/pass-club.phtml) ── */
/* Choix du pass en cartes */
.pass-type-tiles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.pass-type-tile {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 20px;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    background-color: #ffffff;
    color: #29235C;
    text-decoration: none;
    transition: border-color 0.15s, background-color 0.15s;
}

.pass-type-tile:hover,
.pass-type-tile:focus {
    border-color: #0075BF;
    background-color: #E7F1FF;
    color: #29235C;
    text-decoration: none;
}

.pass-type-tile > .bi {
    font-size: 30px;
    color: #0075BF;
}

.pass-type-tile-name {
    font-size: 18px;
    font-weight: 600;
}

.pass-type-tile-action {
    font-size: 13px;
    color: #0075BF;
}

/* Aide de la date de début, à côté du champ */
.pass-form-hint.pass-grid-hint {
    align-self: center;
    margin-top: 20px;
}

/* Texte de l'assurance (liste HTML de la traduction) dans le label de sa case */
.pass-insurance-text p,
.pass-insurance-text ul {
    margin-bottom: 4px;
}

.pass-insurance-text ul {
    margin-left: 18px;
}

/* Lien "Retour" (et "Accueil") en haut à gauche du bloc blanc des pages Licence Expérience / Pass Club : en bas, il
   était cliqué à la place du bouton de validation. Espace en bas du bloc, autrefois donné par la ligne du bouton */
.license-content-full.has-back-link {
    position: relative;
    padding-bottom: 40px;
}

.license-back-links {
    position: absolute;
    top: 20px;
    left: 25px;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 14px;
}

.license-back-link,
.license-back-link:visited {
    color: #0075BF;
}

.license-back-link:hover,
.license-back-link:focus {
    color: #29235C;
}

.license-back-link .bi {
    margin-right: 4px;
}

@media only screen and (max-width: 600px) {
    .license-back-links {
        position: static;
        padding: 15px 15px 0;
    }
}

.license-pagination {
    margin: 10px 0 20px;
    text-align: center;
}

.license-pagination .btn {
    margin: 2px;
}

@media only screen and (max-width: 600px) {
    .pass-event-filters {
        grid-template-columns: minmax(0, 1fr);
    }

    .pass-event-card-header {
        flex-direction: column;
    }

    .pass-event-actions {
        text-align: center;
    }

    .pass-trial-buttons {
        margin-left: 0;
        width: 100%;
    }
}
