/* Typographie de la maquette (bibliothèque Figma : styles Figtree) */
@import url('https://fonts.googleapis.com/css2?family=Figtree:wght@400;600;700;800&display=swap');

body{
    background: #EBEBEB;
}

.blockOptincanal{
    display: none;
}

.main_view {
    background:
        url('../../../../images/game/bricoceram/jackpotanniversaire/bg.png'),
        #EBEBEB;
    background-repeat: repeat-y;
    background-size: 100%;

    -webkit-box-shadow: 1px 0px 38px 7px #c9c9c9;
    box-shadow: 1px 0px 38px 7px #c9c9c9;

    min-height: 100vh;
    color: #141479;
    overflow-x: hidden;
    padding-bottom: 40px;
    font-family: 'Figtree', sans-serif;
}

.container .row>*{
    padding-left: 0px;
    padding-right: 0px;
}

/* Carte blanche centrale */
.card_game {
    background: #FFF;
    border-radius: 28px;
    margin: 0 6%;
    padding: 15px 0 35px 0;
    box-shadow: 0px 4px 30px rgba(0, 0, 0, 0.06);
}

.card_game .row {
    margin-left: 0;
    margin-right: 0;
}

.txt_navy {
    color: #141479;
}

/* Formulaire */
.label_form {
    color: #141479;
    font-family: 'Figtree', sans-serif;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    margin-bottom: 5px;
    display: block;
    text-align: left;
}

input[type="text"], input[type="email"], input[type="tel"], .form-select {
    background-color: #F8ECF2 !important;
    border: none !important;
    border-radius: 12px !important;
    padding: 11px 14px;
    width: 100%;
    font-size: 14px;
    font-family: 'Figtree', sans-serif;
    color: #141479 !important;
}

::-webkit-input-placeholder {
    color: #B8AFD0 !important;
    text-transform: uppercase;
}
::placeholder {
    color: #B8AFD0 !important;
    text-transform: uppercase;
}

.txt_option {
    font-family: 'Figtree', sans-serif;
    color: #141479;
    font-size: 14px;
}

.iti {
    width: 100%;
}
.iti--separate-dial-code .iti__selected-flag {
    background-color: transparent;
    color: #141479;
}
.iti__country-list{
    border-radius: 10px;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.2);
}

.separator {
    border-top: 1px solid #E5E5EE;
    margin: 10px 8% 30px 8%;
}

.form-check-input {
    width: 20px !important;
    height: 20px !important;
    border: 1.5px solid #677355 !important;
    background-color: transparent !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    outline: none !important;
    cursor: pointer !important;
    position: relative !important;
    transition: all 0.2s ease !important;
    border-radius: 3px !important;
}

.form-check-input:checked {
    background-color: #E6347D !important;
    border-color: #E6347D !important;
}

.form-check-input:checked::after {
    content: "" !important;
    position: absolute !important;
    left: 5px !important;
    top: 1px !important;
    width: 5px !important;
    height: 10px !important;
    border: solid #fff !important;
    border-width: 0 2px 2px 0 !important;
    transform: rotate(45deg) !important;
}

.btn_img {
    cursor: pointer;
    transition: transform 0.15s ease;
}
.btn_img:active {
    transform: scale(0.96);
}

/* Machine à sous */
.machine {
    position: relative;
    width: 100%;
}

.machine .reel {
    position: absolute;
    top: 51.66%;
    height: 30.72%;
    overflow: hidden;
    background: #FFF;
}
.machine .reel1 { left: 13.00%; width: 19.78%; }
.machine .reel2 { left: 35.82%; width: 19.36%; }
.machine .reel3 { left: 58.51%; width: 19.92%; }

.machine .strip {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    will-change: transform;
}

.machine .strip img {
    display: block;
    width: 100%;
    height: var(--cell, 100px);
    object-fit: contain;
}

.machine.spinning .strip {
    filter: blur(1px);
}

/* Bloc lot gagné */
.block_lot {
    border: 2px dashed #0E8E98;
    border-radius: 24px;
    background: #FEFDED;
    margin: 0 8%;
    padding: 22px 18px;
}

.lot_label {
    color: #E6347D;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
}

.lot_title {
    color: #141479;
    font-weight: 900;
    font-size: 22px;
    line-height: 1.15;
    text-transform: uppercase;
}

.lot_description {
    color: #E6347D;
    font-size: 13px;
}

/* Splash : choix du territoire */
.map_dep {
    display: block;
    cursor: pointer;
    transition: transform 0.15s ease;
}
.map_dep img {
    width: 100%;
    height: auto;
}
.map_dep .map_on {
    display: none;
}
.map_dep.active .map_on {
    display: block;
}
.map_dep.active .map_off {
    display: none;
}
.map_dep:active {
    transform: scale(0.96);
}

/* Bouton LANCER désactivé après le premier clic */
.btn_img.btn_lance {
    opacity: 0.5;
    filter: grayscale(0.4);
    pointer-events: none;
    cursor: default;
}

/* Erreur de saisie affichée sous le champ (téléphone) */
.field_error {
    display: none;
    color: #E6347D;
    font-family: 'Figtree', sans-serif;
    font-weight: 600;
    font-size: 13px;
    margin-top: 6px;
    text-align: left;
}

input.is-invalid-field {
    box-shadow: 0 0 0 2px #E6347D !important;
}
