/* =========================================================
   PAGE /contactez-nous : formulaire de rappel, charte enerev
   Vert nuit #0B2B29 · Vert titres #0A5048 · Vert enerev #0D8A7E · Turquoise #63D3C2
   Vert d'eau #CFE6E1 · Vert pâle #F0F8F6 · Crème #F7F3EA · Sable #E4DED3
   Encre #1B1C1A · Gris ardoise #4A5350 · Gris doux #6D7370
   ========================================================= */

.cb-page {
    padding: 4rem 0 5rem;
    color: #4A5350;
    background: #F7F3EA;
    font-family: Aptos, 'Nunito', sans-serif;
}

.cb-page *,
.cb-page *::before,
.cb-page *::after {
    box-sizing: border-box;
}

.cb-container {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 2.5rem;
    align-items: start;
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* ---------- Réassurance ---------- */
.cb-reassure {
    padding: 2rem;
    color: #CFE6E1;
    background: #0B2B29;
    border-radius: 18px;
}

.cb-reassure h2 {
    margin: 0 0 1.4rem;
    color: #fff;
    font-size: 1.45rem;
    font-weight: 600;
    line-height: 1.25;
}

.cb-reassure ul {
    margin: 0;
    padding: 0 !important;
    list-style: none;
}

.cb-reassure li {
    display: flex;
    gap: 0.9rem;
    margin-bottom: 1.25rem;
}

.cb-reassure li:last-child {
    margin-bottom: 0;
}

.cb-reassure li i {
    display: flex;
    flex: 0 0 42px;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    color: #0B2B29;
    background: #63D3C2;
    border-radius: 12px;
}

.cb-reassure strong {
    display: block;
    color: #fff;
    line-height: 1.35;
}

.cb-reassure span {
    font-size: 0.95rem;
}

/* ---------- Carte du formulaire ---------- */
.cb-card {
    padding: 2rem;
    background: #fff;
    border: 1px solid #E4DED3;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(11, 43, 41, 0.07);
}

.cb-card h1 {
    margin: 0 0 0.4rem;
    color: #0A5048;
    font-size: clamp(1.6rem, 3vw, 2rem);
    font-weight: 600;
    line-height: 1.2;
}

.cb-sub {
    margin: 0 0 1.5rem;
    color: #4A5350;
}

.cb-field {
    min-width: 0;
    margin: 0 0 1.1rem;
    padding: 0;
    border: 0;
}

.cb-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 1rem;
}

.cb-field label,
.cb-field legend {
    display: block;
    width: auto;
    margin: 0 0 0.35rem;
    padding: 0;
    color: #0A5048;
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.4;
}

.cb-opt {
    color: #6D7370;
    font-weight: 400;
}

.cb-field input[type="text"],
.cb-field input[type="email"],
.cb-field textarea {
    display: block;
    width: 100%;
    padding: 0.8rem 1rem;
    color: #1B1C1A;
    background: #fff;
    border: 1px solid #CFE6E1;
    border-radius: 12px;
    font: inherit;
}

.cb-field textarea {
    resize: vertical;
}

.cb-field input:focus,
.cb-field textarea:focus {
    border-color: #0D8A7E;
    outline: 3px solid #63D3C2;
    outline-offset: 1px;
}

/* ---------- Boutons radio / cases en pastilles ---------- */
.cb-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.cb-pill {
    position: relative;
    margin: 0 !important;
    cursor: pointer;
}

.cb-pill input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.cb-pill span {
    display: inline-block;
    padding: 0.5rem 1rem;
    color: #0A5048;
    background: #fff;
    border: 1px solid #CFE6E1;
    border-radius: 999px;
    font-weight: 600;
    line-height: 1.4;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.cb-pill--chip span {
    border-radius: 12px;
}

.cb-pill:hover span {
    border-color: #0D8A7E;
}

.cb-pill input:checked + span {
    color: #fff;
    background: #0D8A7E;
    border-color: #0D8A7E;
}

.cb-pill input:focus-visible + span {
    outline: 3px solid #63D3C2;
    outline-offset: 2px;
}

/* ---------- Compteur, bouton, mentions ---------- */
#form_projet_counter {
    margin-top: 0.25rem;
    color: #6D7370;
    font-size: 0.8rem;
    text-align: right;
}

#form_save {
    margin-top: 1.5rem;
    text-align: center;
}

.cb-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 1rem 1.8rem;
    color: #fff;
    background: #0D8A7E;
    border: 1px solid #0D8A7E;
    border-radius: 12px;
    font: inherit;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.25s ease, color 0.25s ease;
}

.cb-submit:hover {
    color: #0D8A7E;
    background: #F7F3EA;
}

.cb-submit:disabled {
    opacity: 0.7;
    cursor: wait;
}

.cb-fine {
    margin: 0.9rem 0 0;
    color: #6D7370;
    font-size: 0.8rem;
}

.cb-fine a {
    color: #0D8A7E;
    text-decoration: underline;
}

/* ---------- Messages d'erreur ---------- */
.cb-error,
.cb-card ul {
    margin: 0.3rem 0 0;
    padding: 0 !important;
    color: #B3261E;
    font-size: 0.85rem;
    font-weight: 600;
    list-style: none;
}

.cb-error[hidden] {
    display: none;
}

/* ---------- Mobile : la réassurance passe au-dessus du formulaire ---------- */
@media (max-width: 900px) {
    .cb-page {
        padding: 2.5rem 0 3.5rem;
    }

    .cb-container {
        grid-template-columns: minmax(0, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .cb-row {
        grid-template-columns: minmax(0, 1fr);
    }

    .cb-card,
    .cb-reassure {
        padding: 1.4rem 1.1rem;
    }
}

/* Bouton d'envoi : même style que les boutons « Demander mon étude » du site (carte vert foncé, tuile « e ») */
.cb-submit,
.cb-submit:hover {
    gap: 0.95rem;
    padding: 0.8rem 1.2rem 0.8rem 0.8rem;
    color: #fff;
    background: #0A5048;
    border: 2px solid #0A5048;
    border-radius: 16px;
    box-shadow: 0 12px 28px rgba(11, 43, 41, 0.25);
    cursor: pointer;
    font-size: 1.08rem;
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.cb-submit::before {
    content: "";
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    background: #fff url("../images/cta-e-nuit-sur-blanc.png") center / cover no-repeat;
    border-radius: 50%;
}

.cb-submit::after {
    content: "→";
    color: #63D3C2;
    font-size: 1.1rem;
    transition: transform 0.2s ease;
}

.cb-submit:hover {
    background: #0B6157;
    box-shadow: 0 16px 34px rgba(11, 43, 41, 0.35);
    transform: translateY(-2px);
}

.cb-submit:hover::after {
    transform: translateX(4px);
}

.cb-submit:focus-visible {
    outline: 3px solid rgba(99, 211, 194, 0.55);
    outline-offset: 3px;
}


/* Liseret turquoise du bouton d'envoi : visible au survol et au clic */
.cb-submit:hover {
    border-color: #63D3C2;
}

.cb-submit:active {
    border-color: #63D3C2;
}

/* Coordonnées sous le formulaire */
.cb-coords {
    margin-top: 1.5rem;
    padding: 1.4rem 1.6rem;
    background: #fff;
    border: 1px solid #E4DED3;
    border-radius: 16px;
}

.cb-coords h2 {
    margin: 0 0 0.9rem;
    color: #0A5048;
    font-size: 1.15rem;
}

.cb-coords ul {
    display: grid;
    gap: 0.9rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.cb-coords li {
    display: flex;
    gap: 0.8rem;
    align-items: flex-start;
    color: #4A5350;
    font-size: 0.95rem;
    line-height: 1.5;
}

.cb-coords li i {
    flex: 0 0 1.2rem;
    margin-top: 0.2rem;
    color: #0D8A7E;
    text-align: center;
}

.cb-coords a {
    color: #0D8A7E;
    font-weight: 600;
}

/* =========================================================
   MOBILE : encart « Ce qui se passe après » en bandeau défilant,
   formulaire visible dès l'arrivée, bouton d'envoi toujours accessible
   ========================================================= */

/* Volet « Préciser mon projet » : toujours ouvert et sans titre sur ordinateur */
.cb-more > summary {
    display: none;
}

/* Tablette : les 3 étapes côte à côte */
@media (min-width: 701px) and (max-width: 900px) {
    .cb-reassure ul {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1rem;
    }

    .cb-reassure li {
        flex-direction: column;
        margin-bottom: 0;
    }
}

.cb-dots {
    display: none;
}

@media (max-width: 700px) {
    .cb-page {
        padding: 0.6rem 0 1.5rem;
    }

    .cb-container {
        gap: 0.6rem;
        padding: 0 0.6rem;
    }

    /* --- Bandeau défilant --- */
    .cb-reassure {
        position: relative;
        padding: 0.55rem 0 0.35rem;
        border-radius: 14px;
    }

    .cb-reassure h2 {
        position: absolute;
        width: 1px;
        height: 1px;
        margin: -1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        white-space: nowrap;
    }

    .cb-reassure ul {
        display: flex;
        gap: 0;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior-x: contain;
    }

    .cb-reassure ul::-webkit-scrollbar {
        display: none;
    }

    .cb-reassure li {
        flex: 0 0 100%;
        align-items: center;
        gap: 0.7rem;
        margin: 0;
        padding: 0 0.9rem;
        scroll-snap-align: center;
    }

    .cb-reassure li i {
        flex: 0 0 38px;
        width: 38px;
        height: 38px;
        border-radius: 11px;
    }

    .cb-reassure strong {
        text-align: left;
        font-size: 0.95rem;
        line-height: 1.25;
    }

    .cb-reassure li span {
        display: block;
        margin-top: 0.1rem;
        text-align: left;
        font-size: 0.82rem;
        line-height: 1.3;
    }

    .cb-dots {
        display: flex;
        justify-content: center;
        gap: 6px;
        margin-top: 0.4rem;
    }

    .cb-dots button {
        width: 7px;
        height: 7px;
        padding: 0;
        background: rgba(207, 230, 225, 0.35);
        border: 0;
        border-radius: 50%;
        cursor: pointer;
        transition: background 0.2s ease, width 0.2s ease;
    }

    .cb-dots button[aria-current="true"] {
        width: 18px;
        background: #63D3C2;
        border-radius: 4px;
    }

    /* --- Formulaire compact --- */
    .cb-card {
        padding: 0.85rem 0.85rem 0.9rem;
        border-radius: 14px;
    }

    .cb-card h1 {
        margin-bottom: 0.15rem;
        font-size: 1.3rem;
    }

    .cb-sub {
        margin-bottom: 0.7rem;
        font-size: 0.88rem;
    }

    .cb-field {
        margin-bottom: 0.7rem;
    }

    .cb-field label,
    .cb-field legend {
        margin-bottom: 0.2rem;
        font-size: 0.82rem;
    }

    /* 16 px minimum : évite le zoom automatique d'iOS dans les champs */
    .cb-field input[type="text"],
    .cb-field input[type="email"],
    .cb-field input[type="tel"],
    .cb-field textarea {
        min-height: 44px;
        padding: 0.55rem 0.75rem;
        border-radius: 10px;
        font-size: 16px;
    }

    .cb-field textarea {
        min-height: 5.5rem;
    }

    /* Deux colonnes conservées sur mobile (prénom/nom, téléphone/code postal) */
    .cb-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0 0.6rem;
    }

    .cb-row--tel {
        grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
    }

    .cb-pills {
        gap: 0.4rem;
    }

    .cb-pill span {
        display: inline-flex;
        align-items: center;
        min-height: 40px;
        padding: 0.3rem 0.85rem;
        font-size: 0.92rem;
    }

    .cb-pill--chip span {
        border-radius: 10px;
    }

    /* Volet des champs facultatifs, replié par défaut sur mobile */
    .cb-more > summary {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        min-height: 44px;
        margin: 0 0 0.6rem;
        padding: 0.3rem 0.8rem;
        color: #0A5048;
        background: #F0F8F6;
        border: 1px dashed #63D3C2;
        border-radius: 10px;
        font-size: 0.9rem;
        font-weight: 700;
        cursor: pointer;
        list-style: none;
    }

    .cb-more > summary::-webkit-details-marker {
        display: none;
    }

    .cb-more[open] > summary i::before {
        content: "\f056";
    }

    /* Bouton d'envoi : reste collé en bas de l'écran tant que le formulaire est affiché */
    #form_save {
        position: sticky;
        bottom: 0;
        z-index: 5;
        margin: 0.4rem -0.85rem -0.2rem;
        padding: 0.5rem 0.85rem calc(0.5rem + env(safe-area-inset-bottom, 0px));
        background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff 28%);
    }

    .cb-submit,
    .cb-submit:hover {
        gap: 0.7rem;
        padding: 0.4rem 1rem 0.4rem 0.45rem;
        border-radius: 14px;
        font-size: 1rem;
    }

    .cb-submit::before {
        flex-basis: 38px;
        width: 38px;
        height: 38px;
    }

    .cb-fine {
        margin-top: 0.4rem;
        font-size: 0.75rem;
    }

    .cb-coords {
        margin-top: 0;
        padding: 1rem 1.1rem;
    }
}

@media (max-width: 480px) {
    .cb-sub {
        display: none;
    }
}

@media (max-width: 340px) {
    .cb-pill span {
        padding: 0.3rem 0.65rem;
        font-size: 0.86rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cb-reassure ul {
        scroll-behavior: auto;
    }
}
/* Très petits écrans (320 à 360 px) : bandeau réduit à une ligne de titre, formulaire plus serré */
@media (max-width: 360px) {
    .cb-reassure li span {
        display: none;
    }

    .cb-reassure strong {
        font-size: 0.88rem;
    }

    .cb-card h1 {
        font-size: 1.15rem;
    }

    .cb-field {
        margin-bottom: 0.55rem;
    }

    .cb-submit,
    .cb-submit:hover {
        gap: 0.5rem;
        padding-right: 0.8rem;
        font-size: 0.9rem;
        white-space: nowrap;
    }

    .cb-submit::before {
        flex-basis: 34px;
        width: 34px;
        height: 34px;
    }
}


/* =========================================================
   FORMULAIRE EN ÉTAPES (14/10/2026)
   Sans JavaScript (pas de classe .cb-js) toutes les étapes restent visibles.
   ========================================================= */

/* ---------- Barre d'étapes ---------- */
.cb-progress {
    display: flex;
    gap: 0.35rem;
    margin: 0 0 1.6rem;
    padding: 0 !important;
    list-style: none;
}

.cb-progress[hidden] {
    display: none;
}

.cb-card .cb-progress li {
    flex: 1 1 0;
    min-width: 0;
    padding-top: 0.55rem;
    color: #6D7370;
    border-top: 4px solid #E4DED3;
    font-size: 0.78rem;
    font-weight: 700;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: border-color 0.25s ease, color 0.25s ease;
}

.cb-card .cb-progress li.is-done {
    color: #0D8A7E;
    border-top-color: #63D3C2;
}

.cb-card .cb-progress li.is-current {
    color: #0A5048;
    border-top-color: #0D8A7E;
}

/* ---------- Étapes ---------- */
.cb-step {
    min-width: 0;
    margin: 0 0 2rem;
    padding: 0;
    border: 0;
}

.cb-js .cb-step {
    display: none;
    margin: 0;
}

.cb-js .cb-step--active {
    display: block;
    animation: cbFade 0.25s ease;
}

@keyframes cbFade {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
    .cb-js .cb-step--active { animation: none; }
}

.cb-step-title {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.6rem;
    width: 100%;
    margin: 0 0 1.1rem;
    padding: 0;
    color: #0A5048;
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.3;
}

.cb-step-title:focus {
    outline: none;
}

.cb-step-title .cb-opt {
    font-size: 0.9rem;
}

.cb-step-title [hidden] {
    display: none;
}

.cb-step-num {
    display: inline-flex;
    flex: 0 0 30px;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    color: #0B2B29;
    background: #63D3C2;
    border-radius: 50%;
    font-size: 0.95rem;
}

.cb-js .cb-step-num {
    display: none;
}

.cb-step-intro {
    margin: -0.4rem 0 1.1rem;
    font-size: 0.95rem;
}

.cb-help {
    margin: 0.35rem 0 0;
    color: #6D7370;
    font-size: 0.8rem;
}

/* ---------- Navigation entre étapes ---------- */
.cb-nav {
    display: none;
}

.cb-js .cb-nav {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.cb-js .cb-nav--last {
    margin-top: 0.75rem;
}

.cb-next,
.cb-prev {
    padding: 0.8rem 1.4rem;
    border-radius: 12px;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.cb-next {
    margin-left: auto;
    color: #fff;
    background: #0D8A7E;
    border: 1px solid #0D8A7E;
}

.cb-next::after {
    content: " →";
}

.cb-next:hover {
    background: #0A5048;
    border-color: #0A5048;
}

.cb-prev {
    color: #0A5048;
    background: transparent;
    border: 1px solid #CFE6E1;
}

.cb-prev::before {
    content: "← ";
}

.cb-prev:hover {
    border-color: #0D8A7E;
}

.cb-next:focus-visible,
.cb-prev:focus-visible,
.cb-mini:focus-visible {
    outline: 3px solid #63D3C2;
    outline-offset: 2px;
}

/* ---------- Étape 1 : cartes Particulier / Professionnel ---------- */
.cb-profile {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
    margin-bottom: 1.1rem;
}

.cb-profile-card {
    position: relative;
    margin: 0 !important;
    cursor: pointer;
}

.cb-profile-card input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.cb-profile-card > span {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    height: 100%;
    padding: 1.1rem 1rem;
    background: #fff;
    border: 2px solid #CFE6E1;
    border-radius: 14px;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.cb-profile-card i {
    color: #0D8A7E;
    font-size: 1.5rem;
}

.cb-profile-card strong {
    color: #0A5048;
    font-size: 1.05rem;
}

.cb-profile-card small {
    color: #6D7370;
    font-size: 0.82rem;
    line-height: 1.4;
}

.cb-profile-card:hover > span {
    border-color: #0D8A7E;
}

.cb-profile-card input:checked + span {
    background: #F0F8F6;
    border-color: #0D8A7E;
    box-shadow: inset 0 0 0 1px #0D8A7E;
}

.cb-profile-card input:focus-visible + span {
    outline: 3px solid #63D3C2;
    outline-offset: 2px;
}

.cb-pro-only[hidden],
.cb-pill[hidden] {
    display: none;
}

/* ---------- Listes de suggestions (adresse, entreprise) ---------- */
.cb-combo {
    position: relative;
}

.cb-card ul.cb-suggest {
    position: absolute;
    z-index: 1001;
    top: calc(100% - 0.6rem);
    left: 0;
    right: 0;
    max-height: 290px;
    margin: 0;
    padding: 0.3rem 0 !important;
    overflow-y: auto;
    color: #1B1C1A;
    background: #fff;
    border: 1px solid #CFE6E1;
    border-radius: 12px;
    box-shadow: 0 12px 28px rgba(11, 43, 41, 0.15);
    font-weight: 400;
    font-size: 0.95rem;
}

.cb-card ul.cb-suggest[hidden] {
    display: none;
}

.cb-suggest li {
    display: flex;
    flex-direction: column;
    padding: 0.55rem 1rem;
    cursor: pointer;
}

.cb-suggest li small {
    color: #6D7370;
    font-size: 0.8rem;
}

.cb-suggest li:hover,
.cb-suggest li[aria-selected="true"] {
    background: #F0F8F6;
}

/* ---------- Étape 3 : carte de la toiture ---------- */
.cb-roof {
    margin: 0.4rem 0 0;
}

.cb-roof[hidden] {
    display: none;
}

.cb-roof-intro {
    margin: 0 0 0.6rem;
    color: #0A5048;
    font-size: 0.92rem;
}

.cb-roof-intro strong {
    font-weight: 700;
}

.cb-map {
    width: 100%;
    height: 340px;
    background: #CFE6E1;
    border: 1px solid #CFE6E1;
    border-radius: 12px;
    overflow: hidden;
}

.cb-map.cb-map--drawing {
    cursor: crosshair;
}

.cb-roof-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem 1rem;
    margin-top: 0.6rem;
}

.cb-roof-status {
    flex: 1 1 220px;
    margin: 0;
    color: #0A5048;
    font-size: 0.88rem;
    font-weight: 600;
}

.cb-roof-actions {
    display: flex;
    gap: 0.5rem;
}

.cb-mini {
    padding: 0.45rem 0.9rem;
    color: #fff;
    background: #0D8A7E;
    border: 1px solid #0D8A7E;
    border-radius: 10px;
    font: inherit;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
}

.cb-mini:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.cb-mini--ghost {
    color: #0A5048;
    background: #fff;
    border-color: #CFE6E1;
}

.cb-mini[hidden] {
    display: none;
}

/* ---------- Étape 4 : PDL, facture, autorisation ---------- */
.cb-details {
    margin-top: 0.4rem;
    font-size: 0.85rem;
}

.cb-details summary {
    color: #0D8A7E;
    font-weight: 600;
    cursor: pointer;
}

.cb-details p {
    margin: 0.4rem 0 0;
    padding: 0.7rem 0.9rem;
    background: #F0F8F6;
    border-radius: 10px;
}

.cb-file-input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.cb-field label.cb-file {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin: 0;
    padding: 0.9rem 1rem;
    color: #0A5048;
    background: #F0F8F6;
    border: 1px dashed #0D8A7E;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
}

.cb-file i {
    color: #0D8A7E;
    font-size: 1.3rem;
}

.cb-file-name {
    min-width: 0;
    overflow-wrap: anywhere;
}

.cb-field:focus-within > .cb-file {
    outline: 3px solid #63D3C2;
    outline-offset: 1px;
}

.cb-consent {
    display: flex;
    gap: 0.7rem;
    align-items: flex-start;
}

.cb-consent input {
    flex: 0 0 auto;
    width: 1.15rem;
    height: 1.15rem;
    margin-top: 0.15rem;
    accent-color: #0D8A7E;
}

.cb-field.cb-consent label {
    margin: 0;
    color: #4A5350;
    font-size: 0.84rem;
    font-weight: 400;
}

@media (max-width: 480px) {
    .cb-profile {
        grid-template-columns: minmax(0, 1fr);
    }

    .cb-card .cb-progress li {
        font-size: 0;
    }

    .cb-card .cb-progress li.is-current {
        font-size: 0.78rem;
    }

    .cb-map {
        height: 280px;
    }
}
