/* Reset et variables */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #d52143;
    --primary-dark: #b91c38;
    --primary-light: #e84d6f;
    --secondary-color: #d52143;
    --text-dark: #1f2937;
    --text-medium: #6b7280;
    --text-light: #9ca3af;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --error-color: #ef4444;
    --success-color: #d52143;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-dark);
    background: var(--bg-light);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header */
.header {
    background: #000000;
    box-shadow: var(--shadow-sm);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-logo {
    height: 35px;
    display: block;
}

/* Mobile : logo encore plus petit */
@media (max-width: 768px) {
    .header-logo {
        height: 28px;
    }
}

.header-phone {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: #FFFFFF;
    transition: all 0.3s ease;
}

.header-phone:hover {
    opacity: 0.8;
}

.phone-icon {
    background: #d52143;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.phone-icon svg {
    width: 22px;
    height: 22px;
    color: #000000;
}

.phone-text {
    display: flex;
    flex-direction: column;
}

.phone-label {
    font-size: 0.75rem;
    color: #9CA3AF;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.phone-number {
    font-size: 1.125rem;
    font-weight: 700;
    color: #FFFFFF;
    letter-spacing: 0.5px;
}

/* Mobile : masquer le texte */
@media (max-width: 768px) {
    .phone-text {
        display: none;
    }
    
    .phone-icon {
        width: 44px;
        height: 44px;
    }
    
    .phone-icon svg {
        width: 20px;
        height: 20px;
    }
}

/* Progress Bar */
.progress-container {
    background: var(--bg-white);
    padding: 1rem 0;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 82px;
    z-index: 99;
}

/* Mobile : ajuster top selon hauteur header mobile */
@media (max-width: 768px) {
    .progress-container {
        top: 76px;
    }
}

/* Progress Steps */
.progress-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 700px;
    margin: 0 auto;
    padding: 0 1rem;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.step-circle {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 3px solid #e5e7eb;
    background: white;
    color: #9ca3af;
}

.step-label {
    margin-top: 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: #9ca3af;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.progress-line {
    flex: 1;
    height: 3px;
    background: #e5e7eb;
    margin: 0 0.5rem;
    transition: all 0.3s ease;
    align-self: center;
}

/* État INACTIVE (par défaut) */
.progress-step {
    /* Déjà défini ci-dessus */
}

/* État ACTIVE (étape en cours) */
.progress-step.active .step-circle {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    box-shadow: 0 0 0 4px rgba(213, 33, 67, 0.2);
}

.progress-step.active .step-label {
    color: var(--primary-color);
}

/* État COMPLETED (étape validée) */
.progress-step.completed .step-circle {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    color: white;
}

.progress-step.completed .step-label {
    color: var(--secondary-color);
}

.progress-line.completed {
    background: var(--secondary-color);
}

@media (max-width: 768px) {
    .progress-steps {
        padding: 0 0.5rem;
    }
    
    .step-circle {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .step-label {
        font-size: 0.7rem;
    }
    
    .progress-line {
        margin: 0 0.25rem;
    }
}

/* Main Container */
.main-container {
    flex: 1;
    padding: 2rem 0;
}

.simulator-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 3rem;
    max-width: 900px;
    margin: 0 auto;
    min-height: 600px;
}

/* Steps */
.step {
    display: none;
    animation: fadeIn 0.4s ease-in-out;
}

.step.active {
    display: block;
}

.step .form-group {
    margin-bottom: 2rem;
}

.step #step2 .form-group,
.step #step3 .form-group {
    max-width: 100%;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.step-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.step-subtitle {
    color: var(--text-medium);
    font-size: 1rem;
    margin-bottom: 2rem;
}

/* Form Groups */
.form-group {
    margin-bottom: 1.5rem;
    width: 100%;
}

label {
    display: block;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.label-required::after {
    content: ' *';
    color: var(--error-color);
}

/* Card Options */
.card-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.card-options.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.option-card {
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    background: var(--bg-white);
}

.option-card:hover {
    border-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.option-card.selected {
    border-color: var(--primary-color);
    background: rgba(213, 33, 67, 0.1);
}

.option-card.small {
    padding: 1rem;
}

.option-card .icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 45px;
}

.option-card .icon.small {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
    height: 40px;
}

.svg-icon {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* Force le rouge All Stores #d52143 */
    filter: brightness(0) saturate(100%) invert(14%) sepia(85%) saturate(6858%) hue-rotate(342deg) brightness(92%) contrast(102%);
    transition: all 0.3s ease;
}

.option-card.selected .svg-icon {
    /* Rouge All Stores plus vif quand sélectionné */
    filter: brightness(0) saturate(100%) invert(14%) sepia(85%) saturate(6858%) hue-rotate(342deg) brightness(95%) contrast(102%);
}

.option-text {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.9rem;
}

/* Grille à 2 colonnes */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

/* Grille à 4 colonnes (desktop) */
.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

/* Garde 2 colonnes même sur mobile */
@media (max-width: 768px) {
    .grid-2 {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .option-card.small {
        padding: 0.75rem;
    }
    
    .option-text {
        font-size: 0.8rem;
    }
}

/* Inputs */
.text-input,
.select-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 1rem;
    transition: var(--transition);
    background: var(--bg-white);
}

.text-input:focus,
.select-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(213, 33, 67, 0.2);
}

.text-input::placeholder {
    color: var(--text-light);
}

.input-help {
    display: block;
    margin-top: 0.25rem;
    color: var(--text-medium);
    font-size: 0.8rem;
}

/* Radio Options */
.radio-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.radio-option {
    display: flex;
    align-items: center;
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
}

.radio-option:hover {
    border-color: var(--primary-light);
    background: rgba(37, 99, 235, 0.02);
}

.radio-option input[type="radio"] {
    display: none;
}

.radio-option input[type="radio"]:checked + .radio-custom {
    border-color: var(--primary-color);
    background: var(--primary-color);
}

.radio-option input[type="radio"]:checked + .radio-custom::after {
    opacity: 1;
}

.radio-option input[type="radio"]:checked ~ .radio-text {
    color: var(--primary-color);
    font-weight: 600;
}

.radio-custom {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-color);
    border-radius: 50%;
    margin-right: 0.75rem;
    position: relative;
    transition: var(--transition);
}

.radio-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    opacity: 0;
    transition: var(--transition);
}

.radio-text {
    flex: 1;
    color: var(--text-dark);
}

/* Buttons */
.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: var(--text-medium);
    color: white;
}

.btn-secondary:hover {
    background: var(--text-dark);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--border-color);
    color: var(--text-dark);
}

.btn-outline:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-success {
    background: var(--success-color);
    color: white;
}

.btn-success:hover {
    background: #059669;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-add {
    width: 100%;
    margin-bottom: 2rem;
}

.btn-icon {
    font-size: 1.5rem;
    line-height: 1;
}

.button-group {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.button-group .btn {
    flex: 1;
}

/* Menuiserie Block */
.menuiserie-block {
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    margin-bottom: 1rem;
    transition: var(--transition);
}

.menuiserie-block.collapsed .menuiserie-content {
    display: none;
}

.menuiserie-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    margin-bottom: 1rem;
}

.menuiserie-title {
    font-weight: 600;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

.btn-icon-only {
    width: 32px;
    height: 32px;
    padding: 0;
    border: none;
    background: transparent;
    color: var(--text-medium);
    cursor: pointer;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-icon-only:hover {
    background: var(--bg-light);
    color: var(--text-dark);
}

.btn-icon-only.delete:hover {
    background: rgba(239, 68, 68, 0.1);
    color: var(--error-color);
}

.menuiserie-content {
    animation: fadeIn 0.3s ease-in-out;
}

/* Color Picker */
.color-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 0.75rem;
}

.color-option {
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 0.75rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

.color-option:hover {
    border-color: var(--primary-light);
}

.color-option.selected {
    border-color: var(--primary-color);
    background: rgba(213, 33, 67, 0.1);
}

.color-swatch {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin: 0 auto 0.5rem;
    border: 2px solid var(--border-color);
}

.color-name {
    font-size: 0.8rem;
    color: var(--text-dark);
    font-weight: 500;
}

/* Result Section */
.result-header {
    text-align: center;
    margin-bottom: 2rem;
}

.success-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.price-card {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

.price-label {
    font-size: 1rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.price-range {
    font-size: 2.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.price-separator {
    font-size: 1.5rem;
    font-weight: 400;
}

.price-note {
    background: rgba(255, 255, 255, 0.2);
    padding: 1rem;
    border-radius: var(--radius-md);
    margin-top: 1rem;
}

.price-note small {
    font-size: 0.875rem;
    line-height: 1.5;
}

/* Summary Card */
.summary-card {
    background: var(--bg-light);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.summary-card h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

.summary-item:last-child {
    border-bottom: none;
}

.summary-label {
    color: var(--text-medium);
    font-weight: 500;
}

.summary-value {
    color: var(--text-dark);
    font-weight: 600;
}

/* CTA Section */
.cta-section {
    text-align: center;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: var(--radius-md);
    margin-bottom: 2rem;
}

.cta-section h3 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.cta-section p {
    color: var(--text-medium);
    margin-bottom: 1.5rem;
}

/* Appointment Form */
.appointment-form {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    margin-bottom: 2rem;
    animation: fadeIn 0.3s ease-in-out;
}

/* Footer */
.footer {
    background: #000000;
    color: white;
    text-align: center;
    padding: 2rem 0;
    margin-top: auto;
}

.footer p {
    font-size: 0.875rem;
    opacity: 0.8;
}

/* Responsive */
@media (max-width: 768px) {
    .simulator-card {
        padding: 1.5rem;
    }

    .step-title {
        font-size: 1.5rem;
    }

    .card-options {
        grid-template-columns: 1fr;
    }
    
    /* Exception : grid-2 reste en 2 colonnes sur mobile */
    .card-options.grid-2 {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.75rem;
    }
    
    /* Exception : grid-4 passe à 2 colonnes sur mobile */
    .card-options.grid-4 {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.75rem;
    }

    .card-options.grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .button-group {
        flex-direction: column;
    }

    .price-range {
        font-size: 1.75rem;
        flex-direction: column;
        gap: 0.5rem;
    }

    .progress-container {
        top: 70px;
    }
}

@media (max-width: 480px) {
    .logo h1 {
        font-size: 1.5rem;
    }

    .step-title {
        font-size: 1.25rem;
    }

    .option-card {
        padding: 1rem;
    }

    .card-options.grid-3 {
        grid-template-columns: 1fr;
    }

    .price-range {
        font-size: 1.5rem;
    }
}

/* Loading & Error States */
.loading {
    text-align: center;
    padding: 2rem;
    color: var(--text-medium);
}

.error-message {
    background: rgba(239, 68, 68, 0.1);
    color: var(--error-color);
    padding: 1rem;
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    border-left: 4px solid var(--error-color);
}

.success-message {
    background: rgba(213, 33, 67, 0.1);
    color: var(--success-color);
    padding: 1rem;
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    border-left: 4px solid var(--success-color);
}

/* Input avec icône */
.input-with-icon {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 1rem;
    width: 20px;
    height: 20px;
    pointer-events: none;
    z-index: 1;
    /* Jaune OXXO #d52143 */
    filter: invert(75%) sepia(77%) saturate(592%) hue-rotate(358deg) brightness(103%) contrast(98%);
}

.text-input.with-icon {
    padding-left: 3rem;
}

/* Contact row - 2 colonnes sur desktop */
.contact-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

/* Mobile : 1 colonne */
@media (max-width: 768px) {
    .contact-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* Forcer pleine largeur du téléphone sur TOUS les écrans */
.iti {
    width: 100% !important;
    display: block !important;
}

.iti__tel-input {
    width: 100% !important;
}

/* Étape 4 - Titre estimation */
.price-label-main {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.3;
    margin-bottom: 2rem;
    margin-top: 0;
    text-align: center;
}

@media (max-width: 768px) {
    .price-label-main {
        font-size: 1.25rem;
        margin-bottom: 1.5rem;
    }
}

/* Carte sélectionnée */
.card-option.selected {
    border-color: var(--primary-color);
    background-color: rgba(213, 33, 67, 0.1);
}


/* Bouton pleine largeur */
.btn-full-width {
    width: 100%;
    display: block;
}

/* Fix calendrier - empêcher débordement */
input[type="date"] {
    max-width: 100%;
    box-sizing: border-box;
}

.form-group input[type="date"],
.form-group .select-input {
    width: 100%;
    max-width: 100%;
}

/* Styles spécifiques pour All Stores */

/* Preview du produit avec image et description */
.product-preview {
    margin: 1.5rem 0;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: var(--radius-md);
    border: 2px solid var(--border-color);
}

.product-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.product-description {
    color: var(--text-medium);
    font-size: 0.95rem;
    line-height: 1.6;
    text-align: center;
    margin: 0;
}

/* Grille de couleurs */
.color-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
    gap: 1rem;
}

.color-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
}

.color-option:hover {
    border-color: var(--primary-light);
    transform: translateY(-2px);
}

.color-option.selected {
    border-color: var(--primary-color);
    background: rgba(213, 33, 67, 0.1);
    box-shadow: 0 0 0 3px rgba(213, 33, 67, 0.2);
}

.color-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.color-option span {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
}

/* Groupe de dimensions */
.dimensions-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

@media (max-width: 768px) {
    .dimensions-group {
        grid-template-columns: 1fr;
    }
}

/* Ajuster les ombres pour la couleur All Stores */
.step-circle.active {
    box-shadow: 0 0 0 4px rgba(213, 33, 67, 0.2);
}

.text-input:focus,
.select-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(213, 33, 67, 0.2);
}

.option-card.selected {
    border-color: var(--primary-color);
    background: rgba(213, 33, 67, 0.1);
}

/* Styles pour les cartes de stores */
.store-summary-item {
    background: var(--bg-light);
    padding: 1rem;
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
}

.store-summary-header {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

/* Icônes avec couleur */
.input-icon {
    fill: var(--primary-color);
}

.input-with-icon {
    position: relative;
}

.input-with-icon .input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    fill: var(--text-medium);
    pointer-events: none;
}

.input-with-icon .text-input {
    padding-left: 3rem;
}

/* Ajustements pour mobile */
@media (max-width: 768px) {
    .color-grid {
        grid-template-columns: repeat(auto-fill, minmax(75px, 1fr));
        gap: 0.75rem;
    }
    
    .color-circle {
        width: 35px;
        height: 35px;
    }
    
    .color-option {
        padding: 0.5rem;
    }
    
    .color-option span {
        font-size: 0.75rem;
    }
}

/* Styles pour le récapitulatif de projet */
.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid #e5e7eb;
}

.summary-row:last-child {
    border-bottom: none;
}

.summary-label {
    color: #6b7280;
    font-size: 0.95rem;
    font-weight: 500;
}

.summary-value {
    color: #1f2937;
    font-size: 0.95rem;
    font-weight: 600;
    text-align: right;
}

@media (max-width: 768px) {
    .summary-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .summary-value {
        text-align: left;
    }
}

/* Icônes des champs input en rouge */
.svg-icon-input {
    filter: brightness(0) saturate(100%) invert(18%) sepia(91%) saturate(4487%) hue-rotate(339deg) brightness(97%) contrast(86%);
}

/* Compteur de téléphone */
.phone-counter {
    font-size: 0.875rem;
    color: #6b7280;
    margin-top: 0.5rem;
    text-align: right;
    transition: all 0.3s ease;
}

/* Messages d'erreur et succès du téléphone */
.phone-error,
.phone-success {
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Messages d'erreur inline pour les champs */
.field-error {
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* intl-tel-input customization */
.iti {
    width: 100%;
}

.iti__flag-container {
    background: var(--bg-white);
}

.iti__selected-flag {
    padding: 0.75rem 1rem;
    background: var(--bg-white);
    border-right: 2px solid var(--border-color);
}

.iti__input {
    width: 100%;
    padding: 0.75rem 1rem;
    padding-left: 3.5rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-family: 'Montserrat', sans-serif;
    transition: var(--transition);
}

.iti__input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(213, 33, 67, 0.2);
}

.iti__input.is-invalid {
    border-color: var(--error-color);
}

.iti__country-list {
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.iti__country {
    padding: 0.5rem 1rem;
    font-family: 'Montserrat', sans-serif;
}

.iti__country:hover,
.iti__country.iti__highlight {
    background-color: var(--bg-light);
}

.iti__country-name,
.iti__dial-code {
    color: var(--text-dark);
    font-size: 0.95rem;
}

/* Radio group styles */
.radio-group {
    display: flex;
    gap: 2rem;
    margin-top: 0.75rem;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-weight: 400;
    color: var(--text-dark);
}

.radio-input {
    width: 1.25rem;
    height: 1.25rem;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.radio-label:hover {
    color: var(--primary-color);
}

/* RDV details visibility */
#rdvDetailsGroup {
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Styling pour input date - bloquer les dates invalides */
input[type="date"] {
    accent-color: var(--primary-color);
}

/* Dates passées et vendredis grisés */
input[type="date"]::-webkit-calendar-picker-indicator {
    cursor: pointer;
    filter: brightness(1);
}

input[type="date"]:disabled,
input[type="date"][aria-disabled="true"] {
    background-color: #f3f4f6;
    color: #9ca3af;
    cursor: not-allowed;
}

/* Messages d'erreur en temps réel */
.field-error {
    font-size: 0.85rem;
    color: #d52143;
    margin: 0.5rem 0 0;
    padding: 0;
    display: none;
}
