:root {
    --primary-color: #3e54cc;
    --primary-darker: #3630d9;
    --text-dark: #151a23;
    --text-medium: #222222;
    --text-light: #878b91;
    --bg-page: #faf7f2;
    --bg-modal: #ffffff;
    --bg-card: #ffffff;
    --bg-input: #ffffff;
    --bg-hover-light: #f0f3f7; 
    --bg-participant-line: #f9f9fc; 
    --border-color: #e4e4e7; 
    --border-input: #b1c0cf; 
    --font-body: "IBM Plex Sans Condensed", Helvetica, Arial, sans-serif;
    --font-display: "Playfair Display", Helvetica, Arial, sans-serif;
    --shadow-subtle: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-dropdown: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-strong: 0 6px 18px rgba(0, 0, 0, 0.12);
    --border-radius-main: 6px;
    --border-radius-small: 4px;
    --success-color: #28a745; 
    --danger-color: #dc3545; 
}

body {
    margin: 0;
    font-family: var(--font-body);
    background-color: var(--bg-page);
    color: var(--text-dark);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.page-container {
    padding: 50px 20px;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}
h1 {
    font-family: var(--font-display);
    font-size: 42px;
    margin-bottom: 12px;
}
.page-container p {
    font-size: 17px;
    color: var(--text-medium);
    max-width: 550px;
    margin: 0 auto 28px auto;
    line-height: 1.6;
}

.cta-button {
    font-family: var(--font-body);
    background-color: var(--primary-color);
    color: var(--bg-modal);
    padding: 12px 26px;
    border: none;
    border-radius: var(--border-radius-main);
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease-in-out, transform 0.1s ease;
}
.cta-button:hover {
    background-color: var(--primary-darker);
    transform: translateY(-2px);
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(21, 26, 35, 0.7);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out, visibility 0s 0.3s linear;
    z-index: 1000;
}
.modal-overlay.active {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease-in-out;
}

.modal {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 560px; /* Un peu plus large pour la nouvelle page */
    height: 100%;
    background-color: var(--bg-modal);
    box-shadow: var(--shadow-dropdown);
    display: flex;
    flex-direction: column;
    transition: right 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 1001;
}
.modal.active {
    right: 0;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    border-bottom: 1px solid var(--border-color);
    flex-shrink: 0;
}
.modal-title {
    font-family: var(--font-body);
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
}
.close-modal-btn {
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    padding: 6px;
    line-height: 1;
    border-radius: 50%;
    transition: color 0.2s ease, background-color 0.2s ease;
}
.close-modal-btn svg { display: block; }
.close-modal-btn:hover {
    color: var(--text-dark);
    background-color: var(--bg-hover-light);
}

.modal-body {
    padding: 25px;
    overflow-y: auto;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
#multiStepQuoteForm {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.progress-indicator {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    padding: 0 5px;
}
.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: var(--text-light);
    font-size: 13px;
    font-weight: 500;
    position: relative;
    flex-shrink: 0;
}
.progress-step .step-circle {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--border-color);
    border: 2px solid var(--border-color);
    margin-bottom: 6px;
    transition: background-color 0.3s, border-color 0.3s;
}
.progress-step .step-label {
    transition: color 0.3s;
    font-size: 12px;
}
.progress-step.active .step-circle {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}
.progress-step.active .step-label {
    color: var(--primary-color);
    font-weight: 700;
}
.progress-step.completed .step-circle {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}
.progress-step.completed .step-label {
    color: var(--text-medium);
}
.progress-line {
    flex-grow: 1;
    height: 2px;
    background-color: var(--border-color);
    margin: 0 10px;
    position: relative;
    top: -11px;
}


.form-step {
    display: none;
    animation: fadeIn 0.4s ease-out;
    flex-grow: 1;
}
.form-step.active {
    display: flex;
    flex-direction: column;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.step-header {
    margin-bottom: 20px;
}
.step-title {
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
    text-align: left;
}
.step-subtitle {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 20px;
    text-align: left;
}


.step-header-with-summary {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}
.step-header-with-summary .step-title {
    margin-bottom: 0;
}
.price-summary {
    text-align: right;
    font-size: 14px;
    color: var(--text-medium);
    flex-shrink: 0;
    padding-left: 15px;
}
.price-summary .summary-label {
    display: block;
    color: var(--text-light);
    font-size: 13px;
    margin-bottom: 2px;
}
.price-summary .summary-total {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
}
.price-summary .summary-details {
    display: block;
    font-size: 12px;
    color: var(--text-light);
    margin-top: 2px;
    font-style: italic;
}

.selected-formations-wrapper {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}
.selected-formation-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-main);
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: box-shadow 0.2s ease;
}
.selected-formation-card:hover {
    box-shadow: var(--shadow-subtle);
}
.formation-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}
.formation-card-header h4 {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
    line-height: 1.3;
}
.remove-formation-btn {
    background: none;
    border: none;
    color: var(--text-light);
    padding: 2px;
    cursor: pointer;
    line-height: 1;
    border-radius: 50%;
    transition: color 0.2s, background-color 0.2s;
}
.remove-formation-btn svg { display: block; }
.remove-formation-btn:hover {
    color: var(--primary-color);
    background-color: var(--bg-hover-light);
}
.formation-card-body p.description {
    font-size: 14px;
    color: var(--text-medium);
    margin: 0 0 10px 0;
    line-height: 1.5;
}

.session-dropdown-container {
    position: relative;
    margin-top: 8px;
}
.session-dropdown-toggle {
    width: 100%;
    background-color: var(--bg-input);
    border: 1px solid var(--border-input);
    border-radius: var(--border-radius-small);
    padding: 9px 12px;
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--text-dark);
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.session-dropdown-toggle:hover, .session-dropdown-toggle.open {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(62, 84, 204, 0.15);
}
.session-dropdown-toggle .toggle-text {
    flex-grow: 1;
}
.session-dropdown-toggle .dropdown-arrow {
    width: 14px;
    height: 14px;
    stroke: var(--text-light);
    transition: transform 0.2s ease;
}
.session-dropdown-toggle.open .dropdown-arrow {
    transform: rotate(180deg);
}

.session-dropdown-list {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background-color: var(--bg-modal);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-main);
    box-shadow: var(--shadow-dropdown);
    z-index: 20;
    max-height: 200px;
    overflow-y: auto;
    padding: 8px;
    display: none;
}
.session-dropdown-list.open {
    display: block;
}

.session-checkbox-item {
    display: flex;
    align-items: center;
    margin-bottom: 4px;
    padding: 8px;
    border-radius: var(--border-radius-small);
    transition: background-color 0.15s ease;
    cursor: pointer;
}
.session-checkbox-item:last-child {
    margin-bottom: 0;
}
.session-checkbox-item:hover {
    background-color: var(--bg-hover-light);
}
.session-checkbox-item input[type="checkbox"] {
    margin-right: 10px;
    cursor: pointer;
    width: 16px;
    height: 16px;
    accent-color: var(--primary-color);
}
.session-checkbox-item label {
    font-size: 14px;
    color: var(--text-dark);
    cursor: pointer;
    flex-grow: 1;
}
.no-sessions-message {
    font-size: 13px;
    color: var(--text-light);
    padding: 10px 8px;
    text-align: center;
}
div#customProfessionGroup {
    grid-column: 1 / -1;
}

.intra-formation-info {
    font-size: 13px;
    color: var(--primary-color);
    padding: 10px 8px;
    text-align: center;
    background-color: rgba(62, 84, 204, 0.05);
    border-radius: var(--border-radius-small);
    margin: 8px 0;
    font-style: italic;
}


.formation-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px;
}
.formation-card-footer .price {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary-color);
}
.formation-card-footer a.formation-link {
    font-size: 13px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}
.formation-card-footer a.formation-link:hover {
    text-decoration: underline;
}

#addFormationSection {
    margin-top: 15px;
    position: relative;
    display: flex;
}
.add-formation-btn {
    width: 100%;
    justify-content: center;
}
.available-formations-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background-color: var(--bg-modal);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-main);
    box-shadow: var(--shadow-dropdown);
    z-index: 10;
    max-height: 220px;
    overflow-y: auto;
    padding: 6px 0;
}
.available-formation-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 15px;
    cursor: pointer;
    transition: background-color 0.15s ease;
}
.available-formation-item:hover {
    background-color: var(--bg-hover-light);
}
.available-formation-item .name {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
}
.available-formation-item .price {
    font-size: 13px;
    color: var(--text-light);
    font-weight: 500;
}
.empty-selection-message, .no-more-formations-message {
    text-align: center;
    color: var(--text-light);
    font-size: 14px;
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: var(--border-radius-main);
    border: 1px dashed var(--border-color);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0 18px; /* Espace horizontal entre colonnes */
}
@media (min-width: 500px) { /* Sur ÃƒÆ’Ã‚Â©crans plus larges, 2 colonnes */
    .form-grid { grid-template-columns: 1fr 1fr; }
}
.form-grid .full-width { /* Pour les champs qui prennent toute la largeur */
    grid-column: 1 / -1;
}

.form-group { margin-bottom: 18px; }
.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-medium);
    margin-bottom: 6px;
    gap: 8px;
    display: flex;
}
.form-group-description {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 8px;
    margin-top: 2px;
}
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="number"],
.form-group textarea,
.form-group select.form-select-styled {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--border-input);
    border-radius: var(--border-radius-small);
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--text-dark);
    background-color: var(--bg-input);
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-group input::placeholder, .form-group textarea::placeholder {
    color: var(--text-light);
    opacity: 0.9;
}
.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="tel"]:focus,
.form-group input[type="number"]:focus,
.form-group textarea:focus,
.form-group select.form-select-styled:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(62, 84, 204, 0.15);
}
.form-group textarea {
    resize: vertical;
    min-height: 80px;
}
.form-group select.form-select-styled {
    appearance: none;
    background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23878b91%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpolyline%20points%3D%226%209%2012%2015%2018%209%22%3E%3C/polyline%3E%3C/svg%3E');
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 14px;
    padding-right: 35px;
}
/* Style pour le champ d'upload personnalisÃƒÆ’Ã‚Â© */
.custom-file-upload {
    position: relative;
    display: inline-block; /* ou block si prend toute la largeur */
    width: 100%;
}
.form-control-file-hidden { /* Cache l'input original */
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    z-index: -1;
}
.file-upload-label {
    display: flex; /* Pour aligner icÃƒÆ’Ã‚Â´ne et texte */
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    background-color: var(--bg-input);
    border: 1px solid var(--border-input);
    border-radius: var(--border-radius-small);
    color: var(--text-medium);
    cursor: pointer;
    transition: background-color 0.2s, border-color 0.2s;
    font-size: 14px;
}
.file-upload-label:hover {
    background-color: var(--bg-hover-light);
    border-color: var(--primary-color);
}
.file-upload-label svg {
    margin-right: 8px;
    stroke-width: 2;
}
.file-name-display {
    display: block;
    font-size: 13px;
    color: var(--text-light);
    margin-top: 6px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}


#participantsSection {
    margin-top: 10px;
    padding-top: 15px;
    border-top: 1px dashed var(--border-color);
}
.participants-section-label {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}
.participants-info-text {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 15px;
    background-color: var(--bg-hover-light);
    padding: 8px 12px;
    border-radius: var(--border-radius-small);
    border-left: 3px solid var(--primary-color);
}
#participantLinesContainer {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 15px;
}
.participant-line {
    background-color: var(--bg-participant-line);
    padding: 15px;
    border-radius: var(--border-radius-main);
    border: 1px solid var(--border-color);
}
.participant-line-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}
.participant-line-header .participant-number {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-color);
}
.remove-participant-btn {
    background: none;
    border: 1px solid var(--danger-color);
    color: var(--danger-color);
    padding: 4px 8px;
    border-radius: var(--border-radius-small);
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: background-color 0.2s, color 0.2s;
}
.remove-participant-btn svg {
    stroke-width: 2.5;
}
.remove-participant-btn:hover {
    background-color: var(--danger-color);
    color: white;
}
.participant-fields {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
}
.participant-fields .form-group {
    margin-bottom: 0;
}
.add-participant-btn {
    font-family: var(--font-body);
    padding: 8px 15px;
    border-radius: var(--border-radius-small);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: transparent;
    color: var(--primary-color);
    border: 1px dashed var(--primary-color);
}
.add-participant-btn:hover {
    background-color: rgba(62, 84, 204, 0.05);
    border-style: solid;
}


.radio-group-modern {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.radio-group-modern label {
    display: inline-flex;
    align-items: center;
    background-color: var(--bg-input);
    border: 1px solid var(--border-input);
    border-radius: var(--border-radius-small);
    padding: 9px 14px;
    cursor: pointer;
    transition: border-color 0.2s, background-color 0.2s;
    font-size: 14px;
    color: var(--text-medium);
    flex-grow: 1; 
    justify-content: center;
}
.radio-group-modern label:hover {
    border-color: var(--primary-color);
}
.radio-group-modern input[type="radio"] { display: none; }
.radio-group-modern input[type="radio"] + span {
    position: relative;
    padding-left: 26px;
    display: flex;
    align-items: center;
}
.radio-group-modern input[type="radio"] + span::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    border: 2px solid var(--border-input);
    border-radius: 50%;
    transition: border-color 0.2s;
    box-sizing: border-box;
}
.radio-group-modern input[type="radio"] + span::after {
    content: '';
    position: absolute;
    left: 4px;
    top: 50%;
    transform: translateY(-50%) scale(0);
    width: 8px;
    height: 8px;
    background-color: var(--primary-color);
    border-radius: 50%;
    transition: transform 0.2s ease;
}
.radio-group-modern input[type="radio"]:checked + span::before {
    border-color: var(--primary-color);
}
.radio-group-modern input[type="radio"]:checked + span::after {
    transform: translateY(-50%) scale(1);
}
.radio-group-modern label:has(input:checked) {
    border-color: var(--primary-color);
    background-color: var(--bg-hover-light);
}

.optional-info-section {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px dashed var(--border-color);
}
.optional-info-section h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 6px;
}
.optional-info-section .section-description {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.5;
}
.checkbox-group-compact {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.checkbox-group-compact label {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: var(--text-medium);
    background-color: var(--bg-input);
    border: 1px solid var(--border-input);
    border-radius: var(--border-radius-small);
    padding: 8px 12px;
    cursor: pointer;
    transition: border-color 0.2s, background-color 0.2s;
}
.checkbox-group-compact label:hover {
    border-color: var(--primary-color);
}
.checkbox-group-compact input[type="checkbox"] {
    margin-right: 8px;
    accent-color: var(--primary-color);
}
.checkbox-group-compact label:has(input:checked) {
    border-color: var(--primary-color);
    background-color: var(--bg-hover-light);
}


.form-navigation {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.secondary-btn, .submit-btn {
    font-family: var(--font-body);
    padding: 10px 20px;
    border-radius: var(--border-radius-main);
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.1s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid transparent;
}
.secondary-btn {
    background-color: var(--bg-input);
    color: var(--text-dark);
    border-color: var(--border-input);
}
.secondary-btn:hover {
    border-color: var(--text-medium);
    background-color: var(--bg-hover-light);
    transform: translateY(-1px);
}
.submit-btn {
    background-color: var(--primary-color);
    color: var(--bg-modal);
    border-color: var(--primary-color);
}
.submit-btn:hover {
    background-color: var(--primary-darker);
    border-color: var(--primary-darker);
    transform: translateY(-1px);
}
.submit-btn svg, .secondary-btn svg { stroke-width: 2.5; }

.resume-quote-trigger {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background-color: var(--bg-modal);
    color: var(--primary-color);
    padding: 0;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    border: 1px solid var(--border-color);
    cursor: pointer;
    box-shadow: var(--shadow-strong);
    display: flex;
    align-items: center;
    z-index: 999;
    transition: transform 0.2s ease-out, opacity 0.3s ease, box-shadow 0.2s ease;
    opacity: 0;
    transform: translateY(10px) scale(0.95);
}
.resume-quote-trigger.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}
.resume-quote-trigger:hover {
    box-shadow: 0 8px 22px rgba(0,0,0,0.15);
    transform: translateY(-2px) scale(1.02) !important;
}
.resume-quote-trigger .icon-container {
    /* background-color: var(--primary-color); */
    color: var(--bg-modal);
    padding: 12px;
    border-radius: 8px 0 0 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border-right: 1px solid #f0f0f0;
}

.resume-quote-trigger .icon-container i {
    font-size: 20px;
    color: var(--primary-color);
}

.resume-quote-trigger .text-label {
    padding: 12px 18px 12px 15px;
    color: var(--text-dark);
}
.counter-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: var(--success-color);
    color: white;
    font-size: 11px;
    font-weight: 700;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--bg-modal);
}

body.modal-open { overflow: hidden; }

@media (max-width: 500px) {
    .modal { max-width: 100%; border-radius: 0; }
    .modal-header, .modal-body { padding: 18px; }
    .progress-indicator { margin-bottom: 25px; }
    .progress-step .step-label { display: none; }
    .progress-line { top: -8px; }
    .step-title { font-size: 17px; margin-bottom: 18px; }
    .form-navigation { flex-direction: column-reverse; gap: 10px; }
    .form-navigation button { width: 100%; justify-content: center; }
    .form-grid { grid-template-columns: 1fr; }
    .radio-group-modern { flex-direction: column; align-items: stretch; }
    .radio-group-modern label { width: 100%; box-sizing: border-box; justify-content: center; }
    .checkbox-group-compact { flex-direction: column; align-items: stretch; }
    .checkbox-group-compact label { width: 100%; box-sizing: border-box; justify-content: flex-start; }


    .resume-quote-trigger .text-label { display: none; }
    .resume-quote-trigger .icon-container { border-radius: 50%; }
    .resume-quote-trigger { bottom: 20px; right: 20px; }
    .step-header-with-summary { flex-direction: column; align-items: flex-start; gap: 8px; }
    .price-summary { text-align: left; width: 100%; padding-top: 5px; border-top: 1px dashed var(--border-color); }
    .participant-fields { grid-template-columns: 1fr; }
}

/* Styles pour les sections de la premiÃƒÆ’Ã‚Â¨re page */
.form-section-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-main);
    padding: 20px;
    margin-bottom: 20px;
    transition: box-shadow 0.2s ease;
}

.form-section-card:hover {
    box-shadow: var(--shadow-subtle);
}

.section-card-header {
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.section-title {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
    line-height: 1.3;
}
#participantLinesContainer > div > div.participant-fields > div:nth-child(4) {
    grid-column: 1 / -1;
}

/* Messages d'information */
.info-message {
    background-color: #e3f2fd;
    border: 1px solid #90caf9;
    border-radius: 6px;
    padding: 12px 16px;
    color: #0d47a1;
    font-size: 14px;
    line-height: 1.5;
}

.info-message strong {
    color: #1565c0;
}

/* État désactivé pour la checkbox */
.checkbox-container input[type="checkbox"]:disabled + .checkmark {
    background-color: #f5f5f5;
    border-color: #ddd;
    cursor: not-allowed;
}

.checkbox-container input[type="checkbox"]:disabled ~ .checkbox-label {
    color: #9e9e9e;
    cursor: not-allowed;
}