body {
    font-family: 'Poppins', sans-serif !important;
    margin: 0;
    overflow-x: clip !important;
    width: 100vw !important;
    min-height: 100vh;
    font-weight: 400;
    color: #000;
}

.max-row {
    max-width: 1200px;
}

.ppf-agences-banner-form-title {
    color: #fbba05;
    font-size: 32px;
    font-weight: 500;
    min-height: 45px;
}

.ppf-agences-banner-form-subtitle {
    font-size: 32px;
    margin-top: -12px;
}

@media (max-width: 768px) {
    .ppf-agences-banner-form-title,
    .ppf-agences-banner-form-subtitle {
        font-size: 24px;
        line-height: 1;
        margin-bottom: 16px;
        text-align: center;
    }
}

/* Styles du formulaire */
.red-start {
    color: red;
}

.ppf-agences-banner-form {
    position: relative;
    overflow-x: clip;
    overflow-y: visible;
    padding: 20px 50px;
    border-radius: 80px;
    background: white;
    box-shadow: 8px 8px 20px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .ppf-agences-banner-form {
        padding: 20px;
        border-radius: 40px;
    }
}

.form-pages-container {
    display: flex;
    transition: transform 0.4s ease;
    width: 200%;
}

.form-page {
    width: 50%;
    flex-shrink: 0;
    display: flex;
    flex-wrap: wrap;
    transition: opacity 0.2s ease;
}

/* ----- INPUTS / SELECT ----- */
.ppf-form-label {
    margin-bottom: 8px;
    font-weight: 500;
    color: #000;
    font-size: 14px;
}

.ppf-form-control,
.ppf-form-select {
    width: 100%;
    padding: 4px 12px;
    font-size: 16px;
    border: 2px solid #ffba05;
    border-radius: 20px;
    color: #000;
    background: white;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.2s, box-shadow 0.2s;
    height: 40px;
}

.ppf-form-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url('/assets/img/carret.png');
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 24px;
    padding-right: 40px;
}

.ppf-form-control:focus,
.ppf-form-select:focus {
    border-color: #ffba05;
    box-shadow: 0 0 0 2px rgba(255, 186, 5, 0.2);
}

@media (max-width: 768px) {
    .ppf-form-select {
        font-size: 16px;
    }
}

/* Ligne jaune sous chaque option, sauf la dernière */
.ppf-form-select option:not(:last-child) {
    border-bottom: 1px solid #ffba05;
}

.form-el {
    min-height: 77px;
}

@media (max-width: 768px) {
    .form-el {
        min-height: 0px;
    }
}

/* ----- RADIOS / CHECKBOXES ----- */
.ppf-form-check-inline {
    display: flex;
    align-items: center;
    width: 50%;
    margin-bottom: 8px;
    box-sizing: border-box;
}

.ppf-form-check-input {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border: 2px solid #ffba05;
    border-radius: 4px; /* carré */
    background: white;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    position: relative;
    margin-right: 8px;
    box-sizing: border-box;
    transition: all 0.2s;
}

.ppf-form-check-input::after {
    content: "✓";
    position: absolute;
    top: 0;
    left: 2px;
    font-size: 16px;
    font-weight: 700;
    color: white;
    opacity: 0;
    transition: opacity 0.2s;
}

.ppf-form-check-input:checked {
    background: #ffba05;
}

.ppf-form-check-input:checked::after {
    opacity: 1;
}

.ppf-form-check-label {
    cursor: pointer;
    user-select: none;
}

.devis-label,
.consent-label {
    font-size: 12px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

/* BOUTON */
.btn-submit {
    font-size: 18px;
    width: 70%;
    padding: 10px;
    background: white;
    border: 2px solid #ffba05;
    border-radius: 40px;
    outline: 2px solid #ffba05;
    outline-offset: 5px;
    color: #ffba05;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s ease;
}

.btn-submit:hover {
    background: #ffba05;
    color: white;
}

@media (max-width: 768px) {
    .btn-submit {
        font-size: 18px;
        padding: 8px;
    }
}

/* NAVIGATION */
.page-navigation {
    position: absolute;
    top: 0;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    padding: 0px 30px 0px 10px;
    z-index: 100;
    cursor: pointer;
}

@media (max-width: 768px) {
    .page-navigation {
        top: 10px;
        padding: 10px;
    }
}

.page-suivante {
    right: 0;
}

.page-precedente {
    left: 0;
}

.page-navigation img {
    height: 36px;
    width: auto;
}

.page-precedente.hidden,
.page-suivante.hidden {
    display: none;
}

/* CUSTOM SELECT */
.custom-select-wrapper {
    position: relative;
    width: 100%;
    z-index: 20;
}

.custom-select {
    position: relative;
    width: 100%;
}

.custom-select-trigger {
    width: 100%;
    padding: 4px 4px 4px 12px;
    font-size: 20px;
    border: 2px solid #ffba05;
    border-radius: 20px;
    background: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.custom-select-trigger:hover {
    box-shadow: 0 0 0 2px rgba(255, 186, 5, 0.2);
}

.custom-select-arrow {
    width: 28px;
    height: 28px;
    transition: transform 0.3s;
}

.custom-select.open .custom-select-arrow {
    transform: rotate(90deg);
}

.custom-options {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: white;
    border: 2px solid #ffba05;
    border-radius: 20px;
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    scrollbar-width: thin;
    scrollbar-color: #ffba05 rgba(255, 186, 5, 0.1);
}

.custom-options::-webkit-scrollbar {
    width: 8px;
}

.custom-options::-webkit-scrollbar-track {
    background: rgba(255, 186, 5, 0.1);
    border-radius: 20px;
}

.custom-options::-webkit-scrollbar-thumb {
    background: #ffba05;
    border-radius: 20px;
}

.custom-options::-webkit-scrollbar-thumb:hover {
    background: #e5a604;
}

.custom-select.open .custom-options {
    display: block;
}

.custom-option {
    padding: 10px 12px;
    cursor: pointer;
    font-size: 20px;
    border-bottom: 1px solid #ffba05;
    transition: background 0.2s;
}

.custom-option:last-child {
    border-bottom: none;
}

.custom-option:hover {
    background: rgba(255, 186, 5, 0.1);
}

.custom-option.selected {
    background: rgba(255, 186, 5, 0.2);
    font-weight: 500;
}

@media (max-width: 768px) {
    .custom-select-trigger,
    .custom-option {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .ville,
    .code-postal {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
    }
}

.page-hidden {
    height: 50px !important;
}

