﻿
/* ==========================================================================
   1. SECTION PRINCIPALE
   ========================================================================== */
p {
    margin-bottom:0;
}
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}


input[type=number] {
    -moz-appearance: textfield;
    appearance: textfield;
}

#creationAlerteEmail{
    width: 100%;
    background: url(/content/images/AlerteEmail/2026/desktop-1980-texte.jpg) center center / cover no-repeat;
    padding: 30px 0 70px;
}

    #creationAlerteEmail.validation {
        width: 100%;
        background: url(/content/images/AlerteEmail/2026/desktop-validation.jpg) center center / cover no-repeat;
        padding: 30px 0 70px;
    }
    @media screen and (max-width: 1200px) {
        #creationAlerteEmail {
            background-color: #8cd2eb;
            background-image: url(/content/images/AlerteEmail/2026/tablet-1200.jpg);
            background-position: center bottom;
            background-size: contain;
            background-repeat: no-repeat;
            padding: 30px 30px 210px;
        }
    }

    @media screen and (max-width: 768px) {
        #creationAlerteEmail {
            background-image: url(/content/images/AlerteEmail/2026/mobile-1980.jpg);
            padding: 30px 30px 275px;
        }
    }

    #creationAlerteEmail h1.title_home {
        color: var(--Couleurs-blue-blue-500, #0A2E52);
        font-family: "Open Sans";
        font-size: 35px;
        font-style: normal;
        font-weight: 700;
        line-height: normal;
        text-transform: uppercase;
        text-align: center;
        margin-bottom: 5px;
    }

    #creationAlerteEmail .text-sub-title {
        color: var(--Couleurs-blue-blue-500, #0A2E52);
        font-family: "Open Sans";
        font-size: 15px;
        font-style: normal;
        font-weight: 400;
        line-height: 21px;
        text-align: center;
        margin-bottom: 0;
    }

    #creationAlerteEmail ::placeholder {
        font-family: "Open Sans";
        font-size: 15px;
        font-style: normal;
        font-weight: 700;
        line-height: 18px;
    }

    #citySelect-selectized::placeholder, .input-price::placeholder {
        color: #B6C1D2;
    }

    .email__alerte .form-group input::placeholder {
        color: #0F4881 !important;
    }
    /* ==========================================================================
   2. FORMULAIRE — Structure
   ========================================================================== */
    #formCreateAlerteEmail {
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .content-model {
        display: flex;
        flex-direction: column;
        gap: 30px;
        background: transparent !important;
        width: 671px;
        max-width: 100%;
        margin: auto;
    }

    .block__form-content {
        display: flex;
        padding: 50px;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 50px;
        border-radius: 20px 20px 0 0;
        background: #FFF;
    }

    @media screen and (max-width: 1200px) {
        .block__form-content {
            padding-bottom: 30px;
        }
    }

    @media screen and (max-width: 768px) {
        .block__form-content {
            padding: 20px;
            padding-bottom: 30px;
        }
    }

    .block__form-footer {
        display: flex;
        padding: 20px 50px 20px;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        background: var(--Couleurs-blue-blue-200, #E3E8F0);
    }

    .block__form-validtion {
        background: var(--Couleurs-blue-blue-200, #E3E8F0);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        display: flex;
        border-radius: 0 0 20px 20px;
        gap: 25px;
        padding-bottom: 30px;
    }

    @media screen and (max-width: 768px) {
        .block__form-footer {
            border-radius: 0 0 20px 20px;
            padding: 0 30px 30px;
        }
        .modification .block__form-email {
            border-radius: 0 0 20px 20px;
        }
        .block__form-email {
            padding: 30px 30px 20px!important;
        }

        .block__form-validtion {
            background: transparent;
            margin-top: 35px;
        }
    }

    .tab {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        width: 100%;
    }

    .titre_tab {
        color: var(--Couleurs-blue-blue-500, #0A2E52);
        font-family: "Open Sans";
        font-size: 15px;
        font-style: normal;
        font-weight: 400;
        line-height: 130%;
        letter-spacing: 3px;
        text-transform: uppercase;
        display: block;
        width: 100%;
        text-align: center;
    }

    .section_etape {
        color: var(--Couleurs-blue-blue-500, #0A2E52);
        font-family: "Open Sans";
        font-size: 15px;
        font-style: normal;
        font-weight: 400;
        line-height: 22.5px;
        text-align: center;
    }

    #data {
        display: none;
    }

    #createalert2 {
        margin: auto;
    }
#creationAlerteEmail.modification #createalert2 {
    margin: 25px auto auto;
}
    /* ==========================================================================
   3. FORMULAIRE — Champs texte & email
   ========================================================================== */

    #citySearch,
    .email__alerte .form-group {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

        .email__alerte .form-group input {
            display: flex;
            padding: 20px;
            align-items: center;
            flex: 1 0 0;
            border-radius: 70px;
            border: 1px solid var(--Couleurs-blue-blue-200, #E3E8F0);
            background: var(--Couleurs-gray-grey-100, #FFF);
            width: 100%;
            gap: 15px;
            height: auto;
            color: #0F4881;
            margin: 0;
        }

            .email__alerte .form-group input, .email__alerte .form-group input::placeholder {
                text-align: center;
                font-family: "Open Sans";
                font-size: 15px;
                font-style: normal;
                font-weight: 700;
                line-height: 18px;
            }

                .email__alerte .form-group input::placeholder {
                    color: #B6C1D2;
                }

    .acceptation__contions {
        display: flex;
        flex-direction: column;
        gap: 10px;
        font-size: 10px;
    }

        .acceptation__contions a {
            text-decoration-line: underline;
            text-decoration-style: solid;
            text-decoration-skip-ink: none;
            text-decoration-thickness: auto;
            text-underline-offset: auto;
            text-underline-position: from-font;
        }

    .block__form-email {
        display: flex;
        padding: 30px 50px 0;
        background: var(--Couleurs-blue-blue-200, #E3E8F0);
    }

    @media screen and (max-width: 1200px) {
        .acceptation__contions {
            display: flex;
            flex-direction: column;
            gap: 20px;
            margin-top: 0;
        }

        .block__form-email {
            background: #E3E8F0;
            padding-bottom: 30px;
        }
    }
    /* ==========================================================================
   4. FORMULAIRE — Prix
   ========================================================================== */
    .price-inputs {
        display: flex;
        justify-content: center;
        gap: 20px;
        width: 100%;
    }

    .input-price {
        display: flex;
        width: 220px;
        padding: 20px 0;
        justify-content: space-between;
        align-items: center;
        border-radius: 70px;
        border: 1px solid var(--Couleurs-blue-blue-200, #E3E8F0);
        text-align: center;
    }

    @media screen and (max-width: 768px) {
        .input-price {
            width: initial;
            max-width: 35vw;
        }
    }
    /* ==========================================================================
   5. FORMULAIRE — Bouton de validation
   ========================================================================== */

    #validAlert, .btn__navigation {
        display: flex;
        padding: 10px 30px;
        justify-content: center;
        align-items: center;
        gap: 5px;
        border-radius: 30px;
        border: 1px solid var(--human-bleu-human-0-f-4881, #0F4881);
        background: var(--Couleurs-blue-blue-400, #0F4881);
        color: var(--Human-Blanc, #FFF);
        font-family: "Open Sans";
        font-size: 17px;
        font-style: normal;
        font-weight: 700;
        line-height: normal;
        text-transform: uppercase;
        text-align: center;
        margin: auto;
        width: max-content;
        transition: all 0.3s ease-in-out
    }

    #validAlert {
        margin-top: 10px;
    }

        #validAlert:hover, .btn__navigation:hover {
            background: #101f3d;
            color: #fff
        }
    /* ==========================================================================
   6. CHECKBOX - types de bien
   ========================================================================== */

    .radio-tile-group {
        display: flex;
        justify-content: center;
        align-items: center;
        align-self: stretch;
        gap: 24px;
    }

    @media screen and (max-width: 1200px) {
        .radio-tile-group {
            flex-wrap: wrap;
        }
    }


    .input-container {
        position: relative;
    }

    .check-button {
        position: absolute;
        opacity: 0;
        height: 100%;
        width: 100%;
        display: block;
        cursor: pointer;
        z-index: 1;
    }

    .check-tile {
        display: flex;
        width: 95px;
        height: 95px;
        padding: 20px 0;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 5px;
        flex-shrink: 0;
        border-radius: 20px;
        border: 1px solid var(--Couleurs-blue-blue-400, #0F4881);
        background: var(--Couleurs-gray-grey-100, #FFF);
        opacity: 0.5;
        transition: opacity 0.15s ease-in-out;
        cursor: pointer;
    }

        .check-tile label {
            color: var(--Couleurs-blue-blue-400, #0F4881);
            font-family: "Open Sans Condensed";
            font-size: 14px;
            font-style: normal;
            font-weight: 700;
            line-height: normal;
            text-align: center;
        }

    .nb-piece__alerte .radio-tile-group .check-tile {
        width: 70px;
        height: 70px;
        border-radius: 20px;
    }

    @media screen and (max-width: 768px) {
        .nb-piece__alerte .radio-tile-group {
            flex-wrap: wrap;
            justify-content: center;
            gap: 10px;
        }

            .nb-piece__alerte .radio-tile-group .check-tile {
                width: 45px;
                height: 45px;
                border-radius: 10px;
            }

            .nb-piece__alerte .radio-tile-group .check-tile-label {
                font-size: 21px;
            }
    }

    .nb-piece__alerte .check-tile label {
        font-family: "Open Sans Condensed";
        font-size: 30px;
        font-style: normal;
        font-weight: 700;
        line-height: normal;
        text-align: center;
    }

    .check-button:checked + .check-tile, .input-container:hover .check-tile {
        opacity: 1;
    }
    /* ==========================================================================
   7. CHECKBOX CONSENTEMENT
   ========================================================================== */

    .acceptConf_container {
        display: flex;
        gap: 10px;
        padding: 0;
        margin: 0;
        min-height: auto;
    }

    .form-check .form-check-input,
    .option input {
        display: flex;
        width: 13px;
        height: 13px;
        border-radius: 0;
        border: none;
        margin: 0;
    }

    .form-check .form-check-input {
        margin-top: 2px;
    }

    .form-check-input:focus {
        box-shadow: none;
    }

    .form-check-input:checked {
        background-color: transparent;
    }

    .form-check-label {
        width: 100%;
    }

    input[type=checkbox]:checked::after,
    .option input[type=checkbox]:checked::after {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background: #0f4881;
        border: 1px solid #fff;
    }

    .acceptConf_container input[type=checkbox]:checked::after,
    .option input[type=checkbox]:checked::after {
        left: 0;
        top: 0;
        width: 12px;
        height: 13px;
        position: relative;
    }
    /* ==========================================================================
   8. SELECTIZE — Champ de recherche ville
   ========================================================================== */

    .selectize-input {
        display: flex;
        padding: 20px;
        align-items: center;
        flex: 1 0 0;
        border-radius: 70px;
        border: 1px solid var(--Couleurs-blue-blue-200, #E3E8F0);
        background: var(--Couleurs-gray-grey-100, #FFF);
        width: 100%;
        gap: 15px;
    }

    .selectize-control {
        position: relative;
    }

        .selectize-control::after {
            content: "";
            position: absolute;
            right: 15px;
            top: 50%;
            transform: translateY(-50%);
            width: 25px;
            height: 25px;
            background-image: url('/content/images/AlerteEmail/2026/loupe.svg');
            background-repeat: no-repeat;
            background-size: contain;
            pointer-events: none;
            z-index: 1;
        }

    .selectize-input.dropdown-active {
        border-radius: 70px;
    }

    #citySelect-selectized {
        color: var(--Couleurs-blue-blue-400, #0F4881);
        font-family: "Open Sans";
        font-size: 14px;
        font-style: normal;
        font-weight: 700;
        line-height: 15px !important;
        margin: 0 !important;
        min-width: 235px;
    }

    .selectize-dropdown-content .option {
        font-size: 14px;
        border-radius: 30px;
        padding: 10px 30px;
    }

    .selectize-dropdown [data-selectable] .highlight {
        background: transparent;
    }


    .selectize-control.plugin-remove_button [data-value] .remove {
        color: var(--Couleurs-blue-blue-400, #0F4881);
        padding: 0;
        border-radius: 100%;
        border: 1px solid #0F4881 !important;
        width: 15px;
        height: 15px;
        aspect-ratio: 1/1;
        font-weight: 700;
        line-height: 15px;
        font-size: 15px;
        display: flex;
        align-items: center;
        align-content: center;
        justify-content: center;
        left: 0;
        right: 0;
        top: 0px;
        z-index: 19;
    }

        .selectize-control.plugin-remove_button [data-value] .remove:hover {
            background: transparent;
        }

    .remove::after {
        content: "" !important;
    }

div.selectize-input.items.required.not-full.has-options.has-items .item {
    display: block;
    width: max-content;
    max-width: 132px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    flex-shrink: 0;
    padding-left: 21px;
    padding-right: 0 !important;
    margin: 0 !important;
    color: var(--Couleurs-blue-blue-400, #0F4881);
    font-family: "Open Sans";
    font-size: 14px;
    font-weight: 700;
    line-height: 15px;
    top: 0;
}

    div.selectize-input.items.required.not-full.has-options.has-items .remove::before {
        left: 1px;
        top: 12px;
    }

    div.selectize-input.items.required.not-full.has-options.has-items.remove::after {
        content: "";
    }

    .nom-close {
        border-radius: 100%;
        border: 1px solid rgb(15, 72, 129);
        font-size: 10px;
        line-height: 10px;
        width: 15px;
        height: 15px;
        display: flex;
        justify-content: center;
        align-items: center;
        padding-right: 1px;
    }

    .ville {
        display: none;
    }
    /* ==========================================================================
   9. QUARTIERS — Dropdown checkbox
   ========================================================================== */

    #quartiersVille .checkbox-quartiers {
        border-radius: 15px;
        position: relative;
        display: flex;
        flex-direction: column;
    }

    #quartiersVille .options {
        column-count: 2;
        background: var(--Couleurs-blue-blue-200, #E3E8F0);
        border-radius: 15px;
        position: absolute;
        top: 0;
        z-index: 4;
        width: 571px;
        max-width: 100%;
        column-gap: 16px;
    }

@media screen and (max-width: 768px) {
    #quartiersVille .options {
        column-count: 1;
    }
}

#quartiersVille .options:has(.option label), #quartiersVille .options:has(.option input[type="checkbox"]) {
    background: var(--Couleurs-blue-blue-100, #F4F7FC);
    padding: 20px;
}

    #quartiersVille .option {
        display: flex;
        align-items: baseline;
    }

.field-location#quartiersVille .checkbox-quartiers .checkbox .option label {
    color: var(--texte-272727, #272727) !important;
    font-family: "Open Sans";
    font-size: 14px;
    font-style: normal;
    font-weight: 400 !important;
    line-height: normal;
    padding: 5px;
    display: flex;
    align-items: center;
    gap: 10px;
}
    /* ==========================================================================
   10. CHECKBOX CUSTOM (quartiers)
   ========================================================================== */

    .checkbox .option input[type="radio"],
    .checkbox .option input[type="checkbox"] {
        position: absolute;
        opacity: 0;
        pointer-events: none;
        margin: 0;
        width: 0;
        height: 0;
    }

    .checkbox .option label {
        position: relative;
        padding-left: 32px;
        cursor: pointer;
        display: inline-block;
        vertical-align: middle;
        line-height: 24px;
        user-select: none;
    }

        .checkbox .option label::before,
        .checkbox .option label::after {
            content: "";
            position: absolute;
            transition: all 0.2s ease;
            box-sizing: border-box;
        }
        /* Carré extérieur */
        .checkbox .option label::before {
            width: 13px;
            height: 13px;
            border-radius: 4px;
            border: 1px solid #0F4881;
            background-color: transparent;
            display: flex;
            flex-shrink: 0;
            position: relative;
       
        }
        /* Carré intérieur (état coché) */
        .checkbox .option label::after {
            top: 50%;
            left: 8px;
            width: 7px;
            height: 7px;
            border-radius: 2px;
            background-color: transparent;
            transform: translate(0, -50%);
        }

    .checkbox .option input:checked ~ label::before {
        border-color: #0F4881;
    }

    .checkbox .option input:checked ~ label::after {
        background-color: #0F4881;
    }


    #alert-success-message {
        display: flex;
        width: 700px;
        flex-direction: column;
        align-items: center;
        border-radius: 20px;
        background: #FFF;
        max-width: 100%;
        display: flex;
        padding: 50px;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
    }

        #alert-success-message .alert-sucess__text {
            color: var(--human-bleu-human-0-f-4881, #0F4881);
            text-align: center;
            font-family: "Open Sans";
            font-size: 16px;
            font-style: normal;
            font-weight: 700;
            line-height: normal;
        }

        #alert-success-message p {
            margin: 0
        }
