body{
    background: #fff;
    min-height: 100vh;
}

/* Bloc mobile centré : le fond ne s'applique qu'ici */
.main_view{
    background-image: url('../images/bg.png'), var(--linear-2-paints, linear-gradient(180deg, #F16870 0%, #F16870 2%, #F7941D 100%));
    background-repeat: repeat-y, no-repeat;
    background-position: calc(50% + 30px) top, top left;
    background-size: 100% auto, 100% 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    -webkit-box-shadow: 1px 0px 38px 7px rgba(0, 0, 0, 0.25);
    box-shadow: 1px 0px 38px 7px rgba(0, 0, 0, 0.25);
}

/* Header / footer : pleine largeur du bloc */
.full_width{
    width: 100%;
    margin: 0;
    padding: 0;
    line-height: 0;
}
.full_width img{
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
}

@font-face{
    font-family: 'Montserrat';
    src: url('../fonts/montserrat-400.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face{
    font-family: 'Montserrat';
    src: url('../fonts/montserrat-700.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
.bloc_aplat{
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.10);
}
.main_view .form-control.textarea_radius{
    border-radius: 15px;
}
.font_montserrat{
    font-family: 'Montserrat', sans-serif;
}

/* Liens légaux en bas à droite du footer */
.footer_view{
    position: relative;
}
.footer_links{
    position: absolute;
    right: 10px;
    bottom: 8px;
    margin: 0;
    line-height: 1.2;
    text-align: right;
    color: #000;
}
.footer_links a{
    color: #000;
}

/* Champs et select */
.main_view .form-control,
.main_view .form-select{
    border-radius: 30px;
    background-color: rgba(255, 255, 255, 0.20);
    color: #FFF;
}
.main_view .form-control:focus,
.main_view .form-select:focus{
    border-color: #FFF;
    background-color: rgba(255, 255, 255, 0.20);
    color: #FFF;
    box-shadow: none;
}
.main_view .form-control::placeholder{
    color: rgba(255, 255, 255, 0.8);
}
.main_view .form-label,
.main_view .form-check-label,
.main_view .form-check-label a{
    color: #FFF;
}
.block_info{
    border-radius: 30px;
    border: 1px solid #FFF;
    background: rgba(255, 255, 255, 0.20);
}
/* Upload pièce d'identité : miniatures */
.preview_docs{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 10px;
}
.preview_docs:not(:has(.preview_item)){
    margin-bottom: 0;
}
.preview_new{
    display: contents;
}
.preview_item{
    position: relative;
    width: 90px;
    height: 90px;
    border-radius: 12px;
    border: 1px solid #FFF;
    background: rgba(255, 255, 255, 0.20);
    overflow: hidden;
}
.preview_item img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.preview_pdf{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 4px;
    color: #FFF;
    text-align: center;
}
.preview_pdf .fas{
    font-size: 28px;
    margin-bottom: 4px;
}
.preview_pdf small{
    font-size: 10px;
    line-height: 1.1;
    word-break: break-all;
    overflow: hidden;
    max-height: 2.2em;
}
.preview_status{
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 2px 0;
    background: rgba(220, 53, 69, 0.85);
    color: #FFF;
    font-size: 11px;
    text-align: center;
}
.preview_remove{
    position: absolute;
    top: 4px;
    right: 4px;
    width: 22px;
    height: 22px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: #FFF;
    color: #F16870;
    font-size: 16px;
    line-height: 22px;
    font-weight: bold;
    cursor: pointer;
}
.btn_add_doc{
    border-radius: 30px;
    border: 1px dashed #FFF;
    background: rgba(255, 255, 255, 0.10);
    color: #FFF;
}
.btn_add_doc:hover,
.btn_add_doc:focus{
    background: rgba(255, 255, 255, 0.25);
    color: #FFF;
}

.main_view .form-select option{
    color: #000;
}

/* Phoenix utilise --phoenix-gutter-x (pas --bs-gutter-x) */
.container,
.container .row{
    --phoenix-gutter-x: 0;
}

/* Traits autour du créneau : même échelle que la découpe merci.png (700px / 1156px) */
/* Hauteur fixe en px entiers : en auto (~2.6px) les 2 traits s'arrondissent différemment */
.trait_merci{
    display: block;
    width: 60.55%;
    height: 3px;
    margin: 0 auto;
}
