:root {
    --form-primary-color: #e11f12cc;
    --form-primary-hover: #c5170d;
    --form-secondary-color: #f3f4f6;
    --form-accent-color: #f59e0b;
    --form-text-color: #1f2937;
    --form-light-text: #6b7280;
    --form-success-color: #28a745;
    --form-success-color: #10b981;
    --form-error-color: #ef4444;
    --form-border-radius: 8px;
    --form-box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --form-transition: all 0.3s ease;
}

/* ========================================
   PATCH MESSAGES D'ERREUR - aligné sur locationPlateau.css
   ======================================== */

/* --- État par défaut : masqué --- */
.error-message {
    display: none;
    color: #dc3545;
    font-size: 13px;
    margin-top: 8px;
    padding: 0;
    background: none;
    border: none;
}

/* --- Affiché via JS (classList.remove("d-none")) --- */
.error-message:not(.d-none) {
    display: block;
    color: var(--form-error-color);
    font-size: 13px;
    margin-top: 5px;
    padding: 8px 12px;
    background-color: rgba(239, 68, 68, 0.1);
    border-radius: 4px;
    border-left: 3px solid var(--form-error-color);
    font-weight: 500;
    clear: both;
}

/* --- Affiché via .show-error (compatibilité locationPlateau) --- */
.error-message.show-error {
    display: block !important;
    color: var(--form-error-color);
    font-size: 13px;
    margin-top: 5px;
    padding: 8px 12px;
    background-color: rgba(239, 68, 68, 0.1);
    border-radius: 4px;
    border-left: 3px solid var(--form-error-color);
    font-weight: 500;
    clear: both;
}

/* --- Cas spécifique file upload --- */
.file-upload .error-message:not(.d-none),
.file-upload .error-message.show-error {
    margin-top: 10px;
    width: 100%;
}
/* ========================================
   BARRE DE PROGRESSION - VERSION COMPLÈTE VERTE
   ======================================== */

.progress-container {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    position: relative;
}

/* La ligne grise de fond */
.progress-container::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    height: 4px;
    width: 100%;
    background-color: var(--form-secondary-color);
    z-index: 1;
    transition: background 0.5s ease;
}

/* La ligne verte qui avance */
.progress-bar {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    height: 4px;
    width: 0%;
    background-color: var(--form-success-color);
    z-index: 2;
    transition: width 0.5s ease;
}

/* Les cercles des étapes */
.step {
    width: 60px;
    height: 60px;
    background-color: var(--form-secondary-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 3;
    transition: all 0.4s ease;
    border: 2px solid var(--form-secondary-color);
    color: var(--form-light-text);
}

/* Pour colorer la ligne de fond en vert au fur et à mesure */
.progress-container.completed-1::before {
    background: linear-gradient(to right,
        var(--form-success-color) 0%,
        var(--form-success-color) 25%,
        var(--form-secondary-color) 25%,
        var(--form-secondary-color) 100%);
}

.progress-container.completed-2::before {
    background: linear-gradient(to right,
        var(--form-success-color) 0%,
        var(--form-success-color) 50%,
        var(--form-secondary-color) 50%,
        var(--form-secondary-color) 100%);
}

.progress-container.completed-3::before {
    background: linear-gradient(to right,
        var(--form-success-color) 0%,
        var(--form-success-color) 75%,
        var(--form-secondary-color) 75%,
        var(--form-secondary-color) 100%);
}

.progress-container.completed-4::before {
    background-color: var(--form-success-color);
}

/* Classes pour les cercles - version verte */
.step.completed {
    background-color: var(--form-success-color);
    border-color: var(--form-success-color);
    color: white;
}

.step.active {
    background-color: white;
    border-color: var(--form-primary-color);
    color: var(--form-primary-color);
}

/* Largeurs de la barre verte pour chaque étape */
.progress-bar.step-0 { width: 0%; }
.progress-bar.step-1 { width: 25%; }
.progress-bar.step-2 { width: 50%; }
.progress-bar.step-3 { width: 75%; }
.progress-bar.step-4 { width: 100%; }

.step-icon {
    font-size: 28px;
    margin-bottom: 5px;
    transition: all 0.3s ease;
}

.step-label {
    position: absolute;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    font-size: 14px;
    color: var(--form-light-text);
    text-align: center;
    max-width: 100px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.step.active .step-label {
    color: var(--form-primary-color);
    font-weight: 700;
}

.step.completed .step-label {
    color: var(--form-success-color);
    font-weight: 600;
}

.step.completed .step-icon {
    color: white;
}

/* ========================================
   ÉTAPES DU FORMULAIRE
   ======================================== */

.stand-form .form-step {
    display: none;
    animation: fadeIn 0.5s ease forwards;
}

.stand-form .form-step.active {
    display: block;
}

/* ========================================
   FORMULAIRES ET CHAMPS
   ======================================== */

.stand-form .two-columns {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    margin-bottom: 10px;
}

@media (min-width: 768px) {
    .stand-form .two-columns {
        grid-template-columns: 1fr 1fr;
    }
}

.required::after {
    content: "*";
    color: var(--form-error-color);
    margin-left: 4px;
}

/* ========================================
   BOUTONS
   ======================================== */

.stand-form .form-actions {
    display: flex !important;
    justify-content: space-between;
    margin-top: 30px;
    visibility: visible !important;
}

.stand-form #step1 .form-actions {
    justify-content: flex-end;
}

.stand-form .btn {
    padding: 14px 30px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--form-transition);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

@media (max-width: 480px) {
    .stand-form .form-actions {
        flex-wrap: wrap;
        gap: 12px;
    }
    .stand-form .btn {
        padding: 12px 18px;
        font-size: 13px;
        flex: 1 1 auto;
        text-align: center;
    }
}

.stand-form .btn-prev {
    background-color: var(--form-secondary-color);
    color: var(--form-text-color);
}

.stand-form .btn-prev:hover {
    background-color: #d1d5db;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.stand-form .btn-next {
    background-color: var(--form-primary-color);
    color: white;
}

.stand-form .btn-submit {
    background-color: var(--form-primary-color);
    color: white;
}

.stand-form .btn-next:hover {
    background-color: var(--form-primary-hover);
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(225, 31, 18, 0.3);
}

.stand-form .btn-submit:hover {
    background-color: var(--form-primary-hover);
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(225, 31, 18, 0.3);
}

.btn-submit.d-none {
    display: none !important;
}

.btn-submit:not(.d-none) {
    display: inline-block !important;
}

.stand-form .btn-prev.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

/* ========================================
   UPLOAD DE FICHIERS - DESIGN MODERNE ET PRO
   ======================================== */

.file-upload {
    border: 2px dashed #d1d5db;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    background-color: #fafafa;
    position: relative;
    overflow: hidden;
}

.file-upload:hover {
    border-color: var(--form-primary-color);
    background-color: #f8fafc;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.file-upload.dragover {
    border-color: var(--form-primary-color);
    background-color: #f0f9ff;
    box-shadow: 0 0 0 3px rgba(225, 31, 18, 0.1);
}

.file-upload.error {
    border-color: var(--form-error-color) !important;
    background-color: rgba(239, 68, 68, 0.05);
}

.file-upload.error:hover {
    border-color: var(--form-error-color) !important;
}

#file-upload-text {
    display: block;
}

#file-selected {
    display: none;
}

.file-upload #file-upload-text p,
.file-upload #file-selected p {
    margin: 10px 0;
    color: #374151;
    font-weight: 500;
}

.file-upload #file-upload-text small,
.file-upload #file-selected small {
    color: #6b7280;
    font-size: 0.875rem;
}

.file-upload #file-upload-text i {
    font-size: 24px;
    color: var(--form-primary-color);
    margin-bottom: 10px;
}

.file-upload #file-selected i {
    font-size: 24px;
    color: var(--form-success-color);
    margin-bottom: 10px;
}

.file-upload input[type="file"] {
    display: none;
}

.file-upload {
    cursor: pointer;
}

.resume-file-upload {
    border: 2px dashed #d1d5db;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    background-color: #fafafa;
    position: relative;
    overflow: hidden;
}

.resume-file-upload:hover {
    border-color: var(--form-primary-color);
    background-color: #f8fafc;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.resume-file-upload.dragover {
    border-color: var(--form-primary-color);
    background-color: #f0f9ff;
    box-shadow: 0 0 0 3px rgba(225, 31, 18, 0.1);
}

.resume-file-upload.error {
    border-color: var(--form-error-color) !important;
    background-color: rgba(239, 68, 68, 0.05);
}

.resume-file-upload.error:hover {
    border-color: var(--form-error-color) !important;
}

.resume-file-upload #file-upload-text {
    display: block;
}

.resume-file-upload #file-selected {
    display: none;
}

.resume-file-upload #file-upload-text p,
.resume-file-upload #file-selected p {
    margin: 10px 0;
    color: #374151;
    font-weight: 500;
}

.resume-file-upload #file-upload-text small,
.resume-file-upload #file-selected small {
    color: #6b7280;
    font-size: 0.875rem;
}

/* ========================================
   CHECKBOXES
   ======================================== */

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 10px;
}

.checkbox-group input[type="checkbox"] {
    margin-top: 5px;
}

.checkbox-group-modern {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

.checkbox-option {
    position: relative;
    display: inline-block;
    cursor: pointer;
    padding: 8px 12px;
    margin-bottom: 8px;
    width: 100%;
    transition: all 0.2s ease;
}

.checkbox-option:hover {
    background-color: #f8f9fa;
}

.checkbox-input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    width: 100%;
    font-size: 14px;
    color: #333;
}

.checkbox-custom {
    position: relative;
    display: inline-block;
    width: 18px;
    height: 18px;
    min-width: 18px;
    border: 2px solid #6c757d;
    border-radius: 3px;
    margin-right: 10px;
    transition: all 0.2s ease;
    background-color: white;
}

.checkbox-input:checked+.checkbox-label .checkbox-custom {
    background-color: #dc3545;
    border-color: #dc3545;
}

.checkbox-input:checked+.checkbox-label .checkbox-custom::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background-color: white;
    border-radius: 1px;
}

.checkbox-input:focus+.checkbox-label .checkbox-custom {
    box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.25);
}

.checkbox-option:hover .checkbox-custom {
    border-color: #dc3545;
}

.checkbox-option:hover .checkbox-text {
    color: #dc3545;
}

.checkbox-input:checked+.checkbox-label .checkbox-text {
    font-weight: 500;
    color: #333;
}

.checkbox-text {
    flex: 1;
    transition: color 0.2s ease;
}

.form-label.required::after {
    content: " *";
    color: #dc3545;
}

.col-md-6 {
    padding-left: 8px;
    padding-right: 8px;
}

@media (max-width: 768px) {
    .col-md-6 {
        padding-left: 6px;
        padding-right: 6px;
    }
    .checkbox-option {
        padding: 6px 8px;
    }
    .checkbox-label {
        font-size: 13px;
    }
    .checkbox-custom {
        width: 16px;
        height: 16px;
        min-width: 16px;
        margin-right: 8px;
    }
}

.checkbox-option:hover {
    border-color: #dc3545;
}

.checkbox-option:hover .checkbox-text {
    color: #dc3545;
}

.checkbox-option input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkbox-label {
    display: flex;
    align-items: center;
    padding: 5px;
    cursor: pointer;
    width: 100%;
}

.checkbox-custom {
    width: 18px;
    height: 18px;
    border: 2px solid #6c757d;
    border-radius: 0;
    margin-right: 10px;
    position: relative;
    flex-shrink: 0;
    transition: all 0.3s ease;
    background-color: white;
}

.checkbox-option input[type="checkbox"]:checked+.checkbox-label .checkbox-custom {
    background-color: #dc3545;
    border-color: #dc3545;
}

.checkbox-option input[type="checkbox"]:checked+.checkbox-label .checkbox-custom::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 1px;
    width: 6px;
    height: 12px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-text {
    font-size: 14px;
    color: #333;
    margin-left: 8px;
    flex: 1;
}

.checkbox-option input[type="checkbox"]:checked+.checkbox-label {
    background-color: #dc3545;
    color: white;
}

.checkbox-option input[type="checkbox"]:checked+.checkbox-label .checkbox-text {
    color: white;
}

.checkbox-option input[type="checkbox"]:checked+.checkbox-label .checkbox-custom {
    background-color: white;
    border-color: #dc3545;
}

.checkbox-option input[type="checkbox"]:checked+.checkbox-label .checkbox-custom::after {
    border: solid #dc3545;
}

@media (max-width: 768px) {
    .checkbox-option {
        width: 100%;
        margin-bottom: 10px;
    }
    .row .col-md-6 {
        width: 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* ========================================
   UTILITY CLASSES
   ======================================== */

.hidden {
    display: none !important;
}

#organisme-section.hidden {
    display: none !important;
}

/* ========================================
   MODERN CHECKBOXES AND RADIO BUTTONS
   ======================================== */

.checkbox-group-modern {
    display: flex;
    gap: 20px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.checkbox-option {
    position: relative;
    flex: 1;
    min-width: 200px;
}

.checkbox-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 15px 20px;
    border: 2px solid #ddd;
    border-radius: var(--form-border-radius);
    transition: var(--form-transition);
    background-color: white;
    font-weight: 500;
    height: 100%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.checkbox-option input[type="radio"]:checked+.checkbox-label {
    border-color: var(--form-primary-color);
    background-color: rgba(225, 31, 18, 0.05);
    box-shadow: 0 0 0 3px rgba(225, 31, 18, 0.1);
}

.checkbox-custom {
    display: inline-block;
    width: 22px;
    height: 22px;
    border: 2px solid #ddd;
    border-radius: 50%;
    margin-right: 12px;
    position: relative;
    transition: var(--form-transition);
    flex-shrink: 0;
}

.checkbox-option input[type="radio"]:checked+.checkbox-label .checkbox-custom::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    background-color: var(--form-primary-color);
    border-radius: 50%;
}

.checkbox-text {
    color: var(--form-text-color);
    font-size: 16px;
}

.checkbox-option input[type="radio"]:checked+.checkbox-label .checkbox-text {
    color: var(--form-primary-color);
}

.checkbox-label:hover {
    border-color: var(--form-primary-color);
    background-color: rgba(225, 31, 18, 0.03);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .checkbox-group-modern {
        flex-direction: column;
        gap: 10px;
    }
    .checkbox-option {
        min-width: 100%;
    }
}

/* Form section enhancements */

.form-section {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: var(--form-border-radius);
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s ease;
}

.form-section:hover {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08);
}

/* Form input enhancements */

.form-input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #d1d5db;
    border-radius: var(--form-border-radius);
    font-size: 16px;
    transition: var(--form-transition);
    background-color: #fff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.form-input:focus {
    outline: none;
    border-color: var(--form-primary-color);
    box-shadow: 0 0 0 3px rgba(225, 31, 18, 0.2);
    background-color: #fff;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--form-text-color);
    font-size: 15px;
}

.required::after {
    content: "*";
    color: var(--form-error-color);
    margin-left: 4px;
}

.form-input.error {
    border-color: var(--form-error-color) !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2) !important;
}

.form-input.error:focus {
    border-color: var(--form-error-color) !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.3) !important;
}

.form-input.is-invalid {
    border-color: var(--form-error-color);
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2);
}

.form-input.is-invalid:focus {
    border-color: var(--form-error-color);
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.3);
}

/* ========================================
   RÉCAPITULATIF
   ======================================== */

.review-summary {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: var(--form-border-radius);
    padding: 20px;
    margin-bottom: 30px;
}

.review-summary h3 {
    color: var(--form-primary-color);
    margin-bottom: 20px;
    font-size: 20px;
    border-bottom: 2px solid var(--form-primary-color);
    padding-bottom: 10px;
}

.review-section {
    background: white;
    border-radius: var(--form-border-radius);
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-left: 4px solid var(--form-primary-color);
    transition: all 0.3s ease;
}

.review-section:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.review-section-red {
    border: 2px solid #dc3545 !important;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    background-color: #fff5f5 !important;
    box-shadow: 0 4px 6px rgba(220, 53, 69, 0.1) !important;
    position: relative;
    overflow: hidden;
}

.review-section-red::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #dc3545, #ff6b6b, #dc3545);
    animation: gradientShift 3s ease-in-out infinite;
}

@keyframes gradientShift {
    0%,
    100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.review-section h4 {
    color: #e11f12cc;
    margin: 0 0 15px 0;
    font-size: 18px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.review-section h4 i {
    font-size: 20px;
}

.stand-form .review-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* La spécificité de ".stand-form .review-grid" (2 classes) l'emporte sur les
   règles ".review-grid" seules définies ailleurs (y compris dans leurs propres
   media queries) : la bascule mobile doit donc être répétée ici pour s'appliquer
   réellement sur le récapitulatif des formulaires stand/délégué/participant/
   student-program (tous utilisent .stand-form). */
@media (max-width: 767.98px) {
    .stand-form .review-grid {
        grid-template-columns: 1fr;
    }
}

.review-item {
    display: flex;
    flex-direction: column;
    margin-bottom: 12px;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.2s ease;
}

.review-item:hover {
    background-color: #f9fafb;
    border-radius: 4px;
}

.review-item:last-child {
    border-bottom: none;
}

.review-label {
    font-weight: 600;
    color: var(--form-primary-color);
    font-size: 14px;
    margin-bottom: 4px;
    text-transform: none; /* ← annule tout héritage uppercase */
}


.review-value {
    color: var(--form-text-color);
    font-size: 15px;
    line-height: 1.4;
}

.review-biography {
    background: #f8f9fa;
    padding: 15px;
    border-radius: var(--form-border-radius);
    border-left: 3px solid var(--form-accent-color);
    margin-top: 10px;
}

.review-file-preview {
    background: #f8f9fa;
    border: 2px dashed #e9ecef;
    border-radius: var(--form-border-radius);
    padding: 15px;
    text-align: center;
    margin-top: 10px;
    transition: var(--form-transition);
    position: relative;
}

.review-file-preview:hover {
    border-color: var(--form-primary-color);
    background-color: #f9f9f9;
}

.file-info {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: var(--form-border-radius);
    margin-top: 10px;
}

.file-icon {
    font-size: 24px;
    color: var(--form-primary-color);
}

.file-details h5 {
    margin: 0 0 4px 0;
    color: var(--form-text-color);
    font-weight: 600;
}

.file-details p {
    margin: 0;
    color: var(--form-light-text);
    font-size: 12px;
}

.file-actions {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    justify-content: center;
}

.file-action-btn {
    padding: 6px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: white;
    color: var(--form-text-color);
    cursor: pointer;
    font-size: 12px;
    transition: var(--form-transition);
    display: flex;
    align-items: center;
    gap: 4px;
}

.file-action-btn:hover {
    background: var(--form-primary-color);
    color: white;
    border-color: var(--form-primary-color);
}

.file-action-btn.edit {
    color: #1f2937;
}

.file-action-btn.edit:hover {
    background: #f59e0b;
    border-color: #f59e0b;
    color: white;
}

.file-action-btn.delete {
    color: #ef4444;
}

.file-action-btn.delete:hover {
    background: #ef4444;
    border-color: #ef4444;
    color: white;
}

.file-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.file-preview-item {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: var(--form-border-radius);
    padding: 15px;
    text-align: center;
    transition: var(--form-transition);
}

.file-preview-item:hover {
    border-color: var(--form-primary-color);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.file-preview-icon {
    font-size: 36px;
    color: var(--form-primary-color);
    margin-bottom: 10px;
}

.file-preview-name {
    font-weight: 600;
    color: var(--form-text-color);
    margin-bottom: 5px;
    font-size: 14px;
}

.file-preview-size {
    font-size: 12px;
    color: var(--form-light-text);
    margin-bottom: 10px;
}

.review-file-preview {
    background: #ffffff;
    border: 2px dashed #e2e8f0;
    border-radius: var(--form-border-radius);
    padding: 15px;
    margin-top: 15px;
    margin-bottom: 15px;
    transition: var(--form-transition);
    position: relative;
    overflow: hidden;
}

.review-file-preview:hover {
    border-color: var(--form-primary-color);
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.review-file-preview .file-icon {
    font-size: 40px;
    color: var(--form-primary-color);
    margin-bottom: 12px;
    display: block;
}

.review-file-preview .file-name {
    font-weight: 600;
    color: var(--form-text-color);
    margin: 10px 0;
    word-break: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
    text-align: center;
}

.review-file-preview .file-size {
    font-size: 0.85rem;
    color: var(--form-light-text);
    margin-bottom: 10px;
}

.review-file-preview .file-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
}

.review-file-preview .file-action-btn {
    padding: 6px 12px;
    border-radius: var(--form-border-radius);
    border: none;
    cursor: pointer;
    font-size: 0.85rem;
    transition: var(--form-transition);
}

.review-file-preview .view-btn {
    background-color: var(--form-primary-color);
    color: white;
}

.review-file-preview .view-btn:hover {
    background-color: var(--form-primary-hover);
}

.review-file-preview .download-btn {
    background-color: #e2e8f0;
    color: var(--form-text-color);
}

.review-file-preview .download-btn:hover {
    background-color: #cbd5e0;
}

.file-info {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    border-radius: var(--form-border-radius);
    margin-top: 12px;
    border: 1px solid #e2e8f0;
    transition: var(--form-transition);
    flex-wrap: wrap;
}

.file-info:hover {
    border-color: var(--form-primary-color);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
}

.file-icon {
    font-size: 28px;
    color: var(--form-primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(225, 31, 18, 0.1);
    border-radius: calc(var(--form-border-radius) - 2px);
    transition: var(--form-transition);
    flex-shrink: 0;
}

.file-icon:hover {
    background: rgba(225, 31, 18, 0.2);
    transform: scale(1.05);
}

.file-details {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.file-details h5 {
    margin: 0 0 4px 0;
    color: var(--form-text-color);
    font-weight: 600;
    font-size: 14px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 576px) {
    .file-details h5 {
        white-space: normal;
        word-break: break-word;
        text-overflow: clip;
    }
}

.file-details p {
    margin: 0;
    color: var(--form-light-text);
    font-size: 11px;
    line-height: 1.3;
}

.file-actions {
    align-self: center;
    margin-left: auto;
    flex-shrink: 0;
}

/* ========================================
   ANIMATIONS
   ======================================== */

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shake {
    0%,
    100% {
        transform: translateX(0);
    }
    10%,
    30%,
    50%,
    70%,
    90% {
        transform: translateX(-5px);
    }
    20%,
    40%,
    60%,
    80% {
        transform: translateX(5px);
    }
}

@keyframes highlight {
    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(220, 53, 69, 0);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(220, 53, 69, 0.3);
    }
}

.shake-animation {
    animation: shake 0.5s ease-in-out;
}

.highlight-error {
    animation: highlight 1s ease;
}

.review-biography {
    background: #f8f9fa;
    padding: 20px;
    border-radius: var(--form-border-radius);
    border-left: 4px solid var(--form-accent-color);
    margin-top: 10px;
    max-height: 300px;
    overflow-y: auto;
    position: relative;
}

.review-biography .review-value {
    color: var(--form-text-color);
    font-size: 15px;
    line-height: 1.6;
    word-wrap: break-word;
    word-break: break-word;
    white-space: pre-wrap;
    text-align: justify;
    max-width: 100%;
    overflow-wrap: break-word;
}

.review-biography::-webkit-scrollbar {
    width: 6px;
}

.review-biography::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.review-biography::-webkit-scrollbar-thumb {
    background: var(--form-primary-color);
    border-radius: 3px;
}

.review-biography::-webkit-scrollbar-thumb:hover {
    background: var(--form-primary-hover);
}

.review-biography::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 20px;
    background: linear-gradient(transparent, #f8f9fa);
    pointer-events: none;
}

.review-section .review-biography:first-of-type {
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    border-left: 4px solid #0ea5e9;
}

.review-section .review-biography:first-of-type .review-value {
    color: #0369a1;
    font-weight: 500;
}

@media (max-width: 768px) {
    .review-biography {
        padding: 15px;
        max-height: 250px;
    }
    .review-biography .review-value {
        font-size: 14px;
        line-height: 1.5;
    }
}

.review-biography .review-value {
    animation: fadeInText 0.5s ease-in-out;
}

@keyframes fadeInText {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.review-section {
    margin-bottom: 25px;
}

.review-section:last-child {
    margin-bottom: 0;
}

.review-item .review-value[style*="color: #27ae60"] {
    background: linear-gradient(135deg, #d1fae5, #a7f3d0);
    padding: 8px 12px;
    border-radius: 6px;
    border: 1px solid #10b981;
    display: inline-block;
    font-weight: 600;
    box-shadow: 0 2px 4px rgba(16, 185, 129, 0.1);
}

.review-file-preview {
    background: #ffffff;
    border: 2px dashed #e2e8f0;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    margin-top: 15px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.review-file-preview::before {
    content: "\f1c5";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    display: block;
    font-size: 32px;
    color: var(--form-primary-color);
    margin-bottom: 12px;
}

.file-info {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 16px;
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    border-radius: 10px;
    margin-top: 15px;
    border: 1px solid #e2e8f0;
}

.review-file-preview::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient( 90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
    transition: left 0.5s ease;
}

.review-file-preview:hover {
    border-color: var(--form-primary-color);
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.review-file-preview:hover::before {
    left: 100%;
}

.file-icon {
    font-size: 32px;
    color: var(--form-primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(225, 31, 18, 0.1);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.file-icon:hover {
    background: rgba(225, 31, 18, 0.2);
    transform: scale(1.05);
}

.file-details h5 {
    margin: 0 0 4px 0;
    color: var(--form-text-color);
    font-weight: 600;
    font-size: 16px;
}

.file-details p {
    margin: 0;
    color: var(--form-light-text);
    font-size: 12px;
}

.review-section {
    animation: slideInUp 0.6s ease-out;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.review-section:nth-child(1) {
    animation-delay: 0.1s;
}

.review-section:nth-child(2) {
    animation-delay: 0.2s;
}

.review-section:nth-child(3) {
    animation-delay: 0.3s;
}

.review-section:nth-child(4) {
    animation-delay: 0.4s;
}

.review-section:nth-child(5) {
    animation-delay: 0.5s;
}

.review-section:nth-child(6) {
    animation-delay: 0.6s;
}

.review-summary {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
}

.review-summary h3 {
    color: #e11f12cc;
    margin-bottom: 20px;
    font-size: 20px;
    border-bottom: 2px solid #e11f12cc;
    padding-bottom: 10px;
}

.review-section {
    background: white;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #e11f12cc;
}

.review-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.review-item {
    display: flex;
    flex-direction: column;
    margin-bottom: 12px;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

.review-item:last-child {
    border-bottom: none;
}

.review-label {
    font-weight: 600;
    color: #e11f12cc;
    font-size: 14px;
    margin-bottom: 4px;
}

.review-value {
    color: #1f2937;
    font-size: 15px;
    line-height: 1.4;
    background: none;
}

.review-biography {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    border-left: 3px solid #f59e0b;
    margin-top: 10px;
}

.review-file-preview {
    background: #f8f9fa;
    border: 2px dashed #e9ecef;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    margin-top: 10px;
    transition: var(--form-transition);
}

.review-file-preview:hover {
    border-color: #e11f12cc;
    background-color: #f9f9f9;
}

.file-info {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-top: 10px;
}

.file-icon {
    font-size: 24px;
    color: #e11f12cc;
}

.file-details h5 {
    margin: 0 0 4px 0;
    color: #1f2937;
    font-weight: 600;
}

.file-details p {
    margin: 0;
    color: #6b7280;
    font-size: 12px;
}

.declaration-section {
    background-color: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
}

.declaration-section h2 {
    color: #e11f12cc;
    margin-bottom: 15px;
}

.review-section-axes {
    margin-top: 25px;
}

.stand-form .axes-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 10px;
}

.stand-form .axis-item {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 12px 16px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.axis-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, #4caf50, #2196f3);
}

.axis-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: #4caf50;
}

.axis-item .axis-label {
    font-weight: 600;
    color: #2d3748;
    font-size: 14px;
    margin: 0;
}

.file-preview-container {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: #f8fafc;
    border-radius: 8px;
    margin-top: 8px;
    border: 1px solid #e2e8f0;
}

.file-preview-icon {
    font-size: 24px;
    color: #e11f12cc;
}

.file-preview-info {
    flex: 1;
}

.file-preview-name {
    font-weight: 500;
    color: #1f2937;
    margin-bottom: 4px;
}

.file-preview-size {
    font-size: 12px;
    color: #6b7280;
}

.file-preview-actions {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}

.file-preview-btn {
    padding: 6px 10px;
    border-radius: 6px;
    border: 1px solid;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.2s ease;
}

.file-preview-view-btn {
    background-color: #e11f12cc;
    color: white;
    border-color: #e11f12cc;
}

.file-preview-view-btn:hover {
    background-color: #e11f12cc;
    border-color: #e11f12cc;
}

.file-preview-download-btn {
    background-color: white;
    color: #1f2937;
    border-color: #cbd5e0;
}

.file-preview-download-btn:hover {
    background-color: #e2e8f0;
}

.file-preview-edit-btn {
    background-color: #3498db;
    color: white;
    border-color: #3498db;
}

.file-preview-edit-btn:hover {
    background-color: #2980b9;
    border-color: #2980b9;
}

.edit-section-btn {
    background: linear-gradient(135deg, #e11f12cc, #c5170d);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 8px 15px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 4px 6px rgba(225, 31, 18, 0.15);
    position: relative;
    overflow: hidden;
    margin-left: auto;
    align-self: center;
}

.edit-section-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient( 90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.edit-section-btn:hover {
    background: linear-gradient(135deg, #f59e0b, #f59e0b);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(245, 158, 11, 0.3);
}

.edit-section-btn:hover::before {
    left: 100%;
}

.edit-section-btn i {
    font-size: 11px;
}

.edit-section-btn:active {
    transform: translateY(0);
}

.review-file-preview {
    background: #ffffff;
    border: 2px dashed #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    margin-top: 15px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.review-file-preview:hover {
    border-color: #e11f12cc;
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.review-file-preview .file-icon {
    font-size: 40px;
    color: #e11f12cc;
    margin-bottom: 12px;
    display: block;
}

.review-file-preview .file-name {
    font-weight: 600;
    color: #1f2937;
    margin: 10px 0;
    word-break: break-word;
}

.review-file-preview .file-size {
    font-size: 0.85rem;
    color: #6b7280;
    margin-bottom: 10px;
}

.review-file-preview .file-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
}

.review-file-preview .file-action-btn {
    padding: 6px 12px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.2s ease;
}

.review-file-preview .view-btn {
    background-color: #e11f12cc;
    color: white;
}

.review-file-preview .view-btn:hover {
    background-color: #e11f12cc;
}

.review-file-preview .download-btn {
    background-color: #e2e8f0;
    color: #1f2937;
}

.review-file-preview .download-btn:hover {
    background-color: #cbd5e0;
}

.file-info {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 16px;
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    border-radius: 10px;
    margin-top: 15px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.file-info:hover {
    border-color: #e11f12cc;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
}

.file-icon {
    font-size: 32px;
    color: #e11f12cc;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(225, 31, 18, 0.1);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.file-icon:hover {
    background: rgba(225, 31, 18, 0.2);
    transform: scale(1.05);
}

.file-details h5 {
    margin: 0 0 4px 0;
    color: #1f2937;
    font-weight: 600;
    font-size: 16px;
}

.file-details p {
    margin: 0;
    color: #6b7280;
    font-size: 12px;
}

.review-files-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 20px;
}

.review-files-grid.col-12 {
    grid-template-columns: 1fr;
}

.review-file-item {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.review-file-item:hover {
    border-color: #e11f12cc;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.review-file-item .review-label {
    font-weight: 600;
    color: #e11f12cc;
    margin-bottom: 8px;
    font-size: 14px;
}

.review-file-item .review-value {
    color: #1f2937;
    font-size: 14px;
    word-break: break-word;
}

@media (max-width: 768px) {
    .review-file-item {
        padding: 12px;
        margin-bottom: 12px;
    }
    .review-file-item .review-label {
        font-size: 13px;
    }
    .review-file-item .review-value {
        font-size: 13px;
    }
}

@media (max-width: 576px) {
    .review-file-preview {
        padding: 12px;
    }
    .review-file-preview .file-name {
        font-size: 12px;
        margin: 6px 0;
    }
    .review-file-preview .file-size {
        font-size: 0.75rem;
    }
    .file-details h5 {
        font-size: 12px;
    }
    .file-details p {
        font-size: 10px;
    }
}

.axis-badge {
    display: inline-block;
    background: linear-gradient(135deg, #dc3545, #bd2130);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    margin: 4px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(220, 53, 69, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.mode-badge {
    display: inline-block;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    margin: 4px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(16, 185, 129, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.file-preview-badge {
    display: inline-block;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 500;
    margin: 2px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(59, 130, 246, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    word-break: break-word;
    hyphens: auto;
}

.axis-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(220, 53, 69, 0.4);
    background: linear-gradient(135deg, #bd2130, #a91e2c);
}

.axes-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 10px;
}

@media (min-width: 992px) {
    .axes-container.even-count:not(.single-axis) {
        grid-template-columns: repeat(2, 1fr);
    }
    .axes-container.odd-count,
    .axes-container.single-axis {
        grid-template-columns: 1fr;
    }
}

.axes-container.single-axis {
    grid-template-columns: 1fr !important;
}

@media (max-width: 991px) {
    .axes-container {
        grid-template-columns: 1fr;
    }
}

.communication-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 15px;
}

.communication-item {
    display: flex;
    flex-direction: column;
    background: none;
    margin-bottom: 15px;
}

.communication-label {
    font-weight: 600;
    color: #e11f12cc;
    font-size: 14px;
    margin-bottom: 4px;
}

.communication-value {
    color: #1f2937;
    font-size: 15px;
    line-height: 1.4;
    background: none;
}

.review-section>.communication-item:first-of-type {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e2e8f0;
}

#review-axes-reflexion {
    min-height: 40px;
    padding: 10px 0;
    display: flex;
    align-items: flex-start;
    background: none !important;
}

#review-axes-reflexion .axes-container {
    width: 100%;
    background: none;
}

@media (max-width: 768px) {
    .communication-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

.review-section h4 i.fa-file-alt {
    color: #e11f12cc;
}

.review-section h4 i.fa-user-graduate {
    color: #f59e0b;
}

#review-resumes-container {
    max-height: none;
    overflow: visible;
}

.review-file-preview {
    max-width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.review-file-preview .file-details {
    width: 100%;
    overflow: hidden;
}

.review-file-preview {
    background: #ffffff;
    border: 2px dashed #e2e8f0;
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    margin-top: 10px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.review-file-preview .file-icon {
    font-size: 32px;
    color: #e11f12cc;
    margin-bottom: 8px;
    display: block;
}

.review-file-preview .file-name {
    font-weight: 600;
    color: #1f2937;
    margin: 8px 0;
    word-break: break-word;
    overflow-wrap: break-word;
    font-size: 14px;
    display: block;
}

.review-file-preview .file-size {
    font-size: 0.85rem;
    color: #6b7280;
    margin-bottom: 10px;
}

.file-actions {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    justify-content: center;
}

.file-action-btn {
    padding: 6px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: white;
    color: #495057;
    cursor: pointer;
    font-size: 12px;
    transition: var(--form-transition);
    display: flex;
    align-items: center;
    gap: 4px;
    text-decoration: none;
}

.file-action-btn:hover {
    background: var(--form-primary-color);
    color: white;
    border-color: var(--form-primary-color);
    text-decoration: none;
}

.file-action-btn.view {
    background: #e11f12cc;
    color: white;
    border-color: #e11f12cc;
}

.file-action-btn.view:hover {
    background: #c5170d;
    border-color: #c5170d;
}

.confirmation-only {
}

.stand-card {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 16px;
    padding: 14px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.2);
    cursor: pointer;
    background: rgba(255, 255, 255, 0.15);
}

.stand-card:hover {
    border-color: rgba(225, 31, 18, 0.3);
    box-shadow: 0 10px 25px rgba(225, 31, 18, 0.15);
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.25);
}

.stand-card.selected {
    border-color: var(--form-primary-color);
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.2);
    transform: translateY(-2px);
}

.stand-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e2e8f0;
}

.stand-card-title {
    font-weight: 600;
    color: var(--form-text-color);
    font-size: 16px;
    margin: 0;
    flex: 1;
}

.stand-card-price {
    font-weight: 700;
    color: var(--form-primary-color);
    font-size: 16px;
    margin: 0;
    text-align: right;
}

.stand-card-header {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e2e8f0;
}

.stand-card-checkbox-container {
    position: absolute;
    left: 15px;
    top: 15px;
}

.stand-card-title-container {
    width: 100%;
    text-align: center;
    margin-top: 15px;
    margin-bottom: 15px;
    padding: 12px 20px;
    background: linear-gradient(135deg, #f0f0f0, #e0e0e0);
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.stand-card-checkbox {
    margin-right: 12px;
    margin-top: 6px;
    width: 22px;
    height: 22px;
    cursor: pointer;
    flex-shrink: 0;
    accent-color: var(--form-primary-color);
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.25);
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.stand-card-title {
    font-weight: 700;
    color: #000000;
    font-size: 12px;
    margin: 0;
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stand-card-price {
    font-weight: 800;
    color: var(--form-primary-color);
    font-size: 18px;
    margin: 10px 0;
    text-align: center;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 10px 15px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.stand-card-info {
    color: var(--form-light-text);
    font-size: 13px;
    margin-bottom: 15px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.quantity-control {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.quantity-btn {
    width: 45px;
    height: 45px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 22px;
    font-weight: bold;
    transition: all 0.3s ease;
    color: var(--form-text-color);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.quantity-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, var(--form-primary-color), #c5170d);
    color: white;
    border-color: rgba(225, 31, 18, 0.5);
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(225, 31, 18, 0.4);
}

.quantity-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: rgba(229, 231, 235, 0.25);
    border-color: rgba(209, 213, 219, 0.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.quantity-display {
    font-size: 20px;
    font-weight: 800;
    min-width: 45px;
    text-align: center;
    color: var(--form-primary-color);
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: 25px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.max-quantity {
    font-size: 14px;
    color: #ef4444;
    font-weight: 700;
    margin-top: 12px;
    text-align: center;
    padding: 8px 15px;
    background: rgba(254, 242, 242, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 25px;
    display: inline-block;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid rgba(254, 242, 242, 0.5);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.site-header {
    font-size: 20px;
    font-weight: 700;
    color: var(--form-primary-color);
    margin: 25px 0 15px 0;
    text-transform: uppercase;
    padding: 12px 15px;
    border-bottom: 2px solid var(--form-primary-color);
    background: rgba(225, 31, 18, 0.05);
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    letter-spacing: 1px;
}

.stand-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 15px;
}

.stand-card.glassmorphism {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.2);
    cursor: default;
}

.stands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 15px;
}

.stand-card.glassmorphism:hover {
    border-color: rgba(225, 31, 18, 0.3);
    box-shadow: 0 10px 25px rgba(225, 31, 18, 0.15);
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.25);
}

.stand-card.glassmorphism .stand-info {
    text-align: center;
}

.stand-card.glassmorphism .stand-site {
    margin-bottom: 8px;
    font-size: 10px;
    color: #6b7280;
    line-height: 1.2;
    font-weight: 500;
    display: block;
    text-align: center;
    margin-top: 4px;
    padding-top: 4px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.stand-card.glassmorphism .stand-title {
    font-weight: 700;
    color: #000000;
    font-size: 12px;
    margin: 0 0 8px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
}

.stand-card.glassmorphism .stand-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.stand-card.glassmorphism .stand-quantity,
.stand-card.glassmorphism .stand-price {
    font-weight: 600;
    color: var(--form-text-color);
    font-size: 12px;
}

.stand-card.glassmorphism .stand-price {
    color: var(--form-primary-color);
}

.stand-card.glassmorphism .stand-total {
    font-weight: 800;
    color: var(--form-primary-color);
    font-size: 14px;
    margin-top: 8px;
    padding: 8px;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/*.form-container {
    background: linear-gradient(135deg, #ffffff 0%, #f9fafb 100%);
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    width: 100%;
    max-width: 800px;
    padding: 50px;
    margin: 20px auto;
    position: relative;
    overflow: hidden;
    border: 1px solid #e2e8f0;
}*/

.form-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient( 90deg, var(--form-primary-color), var(--form-accent-color));
    z-index: 1;
}

/*.form-title {
    text-align: center;
    margin-bottom: 30px;
    margin-top: 25px;
    color: var(--form-primary-color);
    font-size: 26px;
    border-bottom: none;
    padding-bottom: 15px;
    font-weight: 700;
    position: relative;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-weight: 700;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    position: relative;
}*/

.form-title::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient( 90deg, var(--form-primary-color), var(--form-accent-color));
    border-radius: 2px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group.full-width {
    width: 100%;
}

.form-check {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
}

.form-check:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(225, 31, 18, 0.3);
}

.form-check-input {
    width: 20px;
    height: 20px;
    margin-right: 12px;
    accent-color: var(--form-primary-color);
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.form-check-label {
    color: var(--form-text-color);
    font-weight: 500;
    font-size: 15px;
    margin: 0;
}

.type-personne-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 15px;
}

.type-personne-option {
    padding: 20px;
    text-align: center;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.2);
    background: rgba(255, 255, 255, 0.15);
    overflow: hidden;
}

.type-personne-option:hover {
    border-color: rgba(225, 31, 18, 0.5);
    box-shadow: 0 12px 30px rgba(225, 31, 18, 0.3);
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.25);
}

.type-personne-option.selected {
    border-color: var(--form-primary-color);
    box-shadow: 0 12px 30px rgba(225, 31, 18, 0.3);
    transform: translateY(-3px);
}

.type-personne-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.type-personne-option .option-label {
    display: block;
    font-weight: 600;
    color: var(--form-text-color);
    font-size: 16px;
}

.type-personne-option::after {
    content: '✓';
    position: absolute;
    top: 8px;
    right: 8px;
    width: 20px;
    height: 20px;
    background: var(--form-primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.type-personne-option.selected::after {
    opacity: 1;
}

.form-input {
    width: 100%;
    padding: 16px 20px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s ease;
    background-color: #ffffff;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.form-input:focus {
    outline: none;
    border-color: var(--form-primary-color);
    box-shadow: 0 0 0 3px rgba(225, 31, 18, 0.2), inset 0 1px 2px rgba(0, 0, 0, 0.05);
    background-color: #fff;
}

.input-icon {
    position: relative;
}

.input-icon i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    color: var(--form-primary-color);
}

.input-icon input,
.input-icon select {
    padding-left: 45px !important;
}

.input-icon input:focus,
.input-icon select:focus {
    padding-left: 45px !important;
}

.form-label {
    display: block;
    margin-bottom: 12px;
    font-weight: 700;
    color: var(--form-text-color);
    font-size: 16px;
    position: relative;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    letter-spacing: -0.1px;
}

.review-section h4 {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.edit-section-btn {
    background: linear-gradient(135deg, var(--form-primary-color), #c5170d);
color: white;
border: none;
border-radius: 8px;
padding: 8px 15px;
font-size: 14px;
font-weight: 600;
cursor: pointer;
transition: all 0.3s ease;
display: inline-flex;
align-items: center;
gap: 5px;
box-shadow: 0 4px 6px rgba(225, 31, 18, 0.15);
position: relative;
overflow: hidden;
margin-left: auto;
align-self: center;
}
.edit-section-btn::before {
content: "";
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: linear-gradient( 90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
transition: left 0.5s ease;
}
.edit-section-btn:hover {
background: linear-gradient(135deg, #f59e0b, var(--form-accent-color));
transform: translateY(-2px);
box-shadow: 0 4px 8px rgba(245, 158, 11, 0.3);
}
.edit-section-btn:hover::before {
left: 100%;
}
.edit-section-btn i {
font-size: 11px;
}
.review-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 15px;
}
#step4 .review-section:first-of-type .review-grid {
grid-template-columns: 1fr 1fr;
}
@media (max-width: 768px) {
#step4 .review-section:first-of-type .review-grid {
grid-template-columns: 1fr;
}
}
#step4 .declaration-section {
background: linear-gradient(135deg, #fff3cd, #f8f9fa);
border: 2px solid #ffeaa7;
border-radius: var(--form-border-radius);
padding: 25px;
margin-top: 20px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
position: relative;
overflow: hidden;
}
#step4 .declaration-section::before {
content: "";
position: absolute;
top: 0;
left: 0;
width: 5px;
height: 100%;
background: linear-gradient(to bottom, var(--form-primary-color), #f59e0b);
}
#step4 .declaration-section h4 {
color: var(--form-primary-color);
margin-bottom: 15px;
display: flex;
align-items: center;
gap: 10px;
}
#step4 .declaration-section h4 i {
font-size: 24px;
}
#step4 .form-check {
display: flex;
align-items: flex-start;
gap: 10px;
margin-top: 10px;
}
#step4 .form-check-input {
margin-top: 4px;
}
.review-item {
margin-bottom: 10px;
}
.review-label {
font-weight: bold;
color: #495057;
margin-bottom: 5px;
font-size: 14px;
}
.review-value {
padding: 8px 12px;
background-color: #f8f9fa;
border: 1px solid #e9ecef;
border-radius: 4px;
font-size: 14px;
word-break: break-word;
}
.review-section {
border: 1px solid #dee2e6;
border-radius: 8px;
padding: 20px;
margin-bottom: 20px;
background-color: #fff;
}
.edit-section-btn {
background: #007bff;
color: white;
border: none;
padding: 5px 10px;
border-radius: 4px;
font-size: 12px;
cursor: pointer;
transition: background 0.3s;
}
.edit-section-btn:hover {
background: #0056b3;
}
.edit-section-btn:active {
transform: translateY(0);
}
.review-stands-container {
margin-top: 15px;
}
.stands-list {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
gap: 15px;
margin-top: 10px;
}
.stands-list .stand-card {
margin-bottom: 0;
}
.no-stands {
grid-column: 1 / -1;
text-align: center;
padding: 20px;
color: #6b7280;
font-style: italic;
}
.type-personne-options .type-card.selected::before {
content: "✓";
position: absolute;
top: 10px;
right: 10px;
background: var(--form-primary-color);
color: white;
width: 24px;
height: 24px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-size: 12px;
font-weight: bold;
z-index: 2;
}
.stand-card-dimension {
    font-size: 1.25rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.stand-card-dimension i {
    font-size: 1.3rem;
}

.selection-unique-message {
    font-size: 0.95rem;
    font-weight: 600;
    color: #2e7d32;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ========================================
   STYLES POUR LES STANDS SÉLECTIONNÉS DANS LE RÉCAPITULATIF
   ======================================== */

.review-stands-container {
    margin-top: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--form-border-radius);
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.review-label {
    font-weight: 600;
    color: var(--form-primary-color);
    font-size: 14px;
    margin-bottom: 12px;
    text-transform: none;        /* ← corrigé */
    letter-spacing: normal;
}

#review-stands {
    min-height: 60px;
    transition: all 0.3s ease;
}

.stands-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.no-selection {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px 20px;
    color: var(--form-light-text);
    font-style: italic;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--form-border-radius);
    border: 2px dashed rgba(255, 255, 255, 0.1);
}

.no-selection i {
    font-size: 48px;
    color: rgba(255, 255, 255, 0.2);
    margin-bottom: 15px;
    display: block;
}

.no-selection p {
    font-size: 16px;
    margin: 0;
    font-weight: 500;
}

/* Style pour les stands sélectionnés */
.stand-summary-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    animation: slideInUp 0.5s ease-out;
}

.stand-summary-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--form-accent-color), var(--form-primary-color));
}

.stand-summary-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(225, 31, 18, 0.15);
    border-color: rgba(225, 31, 18, 0.3);
    background: rgba(255, 255, 255, 0.15);
}

.stand-summary-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.alert-replissage {
    background-color: #ffe6e6;
    border-left: 5px solid #ff0000;
    padding: 12px 16px;
    border-radius: 6px;
    margin-top: 10px;
}

.alert-replissage p {
    margin: 0;
    color: #d80000;
    font-weight: 600;
    font-size: 15px;
    animation: vibrateText 0.4s ease-in-out infinite alternate;
}


.stand-summary-info h6 {
    margin: 0 0 8px 0;
    font-size: 12px;
    font-weight: 700;
    color: var(--form-primary-color);
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stand-summary-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: rgba(255, 255, 255, 0.08);
    padding: 15px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stand-summary-details span {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 0;
    font-size: 13px;
    color: var(--form-text-color);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.stand-summary-details span:last-child {
    border-bottom: none;
}

.stand-summary-details span strong {
    font-weight: 600;
    color: var(--form-primary-color);
    margin-right: 5px;
}

.stand-summary-details span:last-of-type {
    font-weight: 800;
    font-size: 15px;
    color: var(--form-primary-color);
    background: rgba(225, 31, 18, 0.1);
    padding: 8px 12px;
    border-radius: 6px;
    margin-top: 4px;
    border: 1px solid rgba(225, 31, 18, 0.2);
}

/* Style pour le prix total */
/* .stand-summary-details span:last-of-type::before {
    content: "";
    margin-right: 5px;
} */

/* Animation pour l'apparition des stands */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Style pour le badge de quantité */
.stand-quantity-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, var(--form-primary-color), var(--form-primary-hover));
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    box-shadow: 0 3px 6px rgba(225, 31, 18, 0.3);
    z-index: 1;
}

/* Style pour les stands vides */
#review-stands:empty {
    display: none;
}

#review-stands:not(:empty) + .no-selection {
    display: none;
}

/* Responsive design */
@media (max-width: 768px) {
    .review-stands-container {
        padding: 15px;
    }

    .stands-list {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .stand-summary-item {
        padding: 15px;
    }

    .stand-summary-info h6 {
        font-size: 15px;
    }

    .stand-summary-details {
        padding: 12px;
    }

    .stand-summary-details span {
        font-size: 12px;
    }

    .stand-summary-details span:last-of-type {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .review-label {
        font-size: 13px;
    }

    .no-selection {
        padding: 30px 15px;
    }

    .no-selection i {
        font-size: 36px;
    }

    .no-selection p {
        font-size: 14px;
    }
}

/* Effet de brillance au survol */
.stand-summary-item::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    transition: left 0.7s ease;
}

.stand-summary-item:hover::after {
    left: 100%;
}

/* Style pour la section "Choix de stands" */
.review-section h4 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}

.review-section h4 .edit-section-btn {
    background: linear-gradient(135deg, var(--form-primary-color), var(--form-primary-hover));
    color: white;
    border: none;
    border-radius: 6px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.review-section h4 .edit-section-btn:hover {
    background: linear-gradient(135deg, var(--form-accent-color), #f59e0b);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(245, 158, 11, 0.3);
}

/* Indicateur visuel quand des stands sont sélectionnés */
.review-stands-container.has-selection {
    background: linear-gradient(135deg, rgba(225, 31, 18, 0.05), rgba(245, 158, 11, 0.05));
    border-color: rgba(225, 31, 18, 0.2);
}

/* Style pour les stands sans prix */
.stand-summary-details span[style*="color: #e74c3c"] {
    background: rgba(231, 76, 60, 0.1);
    padding: 4px 8px;
    border-radius: 4px;
    margin: 2px 0;
}

.stand-summary-details span strong {
    font-weight: 600;
    color: var(--form-primary-color);
    margin-right: 5px;
}

/* Style spécifique pour les prix non spécifiés */
.stand-summary-details span:has(> strong:contains("Prix unitaire")) {
    position: relative;
}

.stand-summary-details span:has(> strong:contains("Prix unitaire"))::after {
    content: "ℹ️";
    margin-left: 5px;
    font-size: 12px;
    opacity: 0.7;
}

/* Quand le prix est "Non spécifié" */
.stand-summary-details span:contains("Non spécifié") {
    color: #e74c3c;
    font-style: italic;
}

.stand-card.max-reached {
    border: 2px solid #ff6b6b;
    background-color: #fff5f5;
}

.stand-card.max-reached .stand-card-title::after {
    content: " (Maximum atteint)";
    color: #ff6b6b;
    font-size: 0.9em;
}

/* ========================================
   COLLER CES RÈGLES À LA FIN DE stand.css
   ======================================== */

/* Par défaut : caché via d-none (Bootstrap), pas via display:none CSS */
.error-message {
    display: block;        /* on laisse block, c'est d-none qui masque */
    color: var(--form-error-color, #ef4444);
    font-size: 13px;
    margin-top: 5px;
    padding: 8px 12px;
    background-color: rgba(239, 68, 68, 0.1);
    border-radius: 4px;
    border-left: 3px solid var(--form-error-color, #ef4444);
    font-weight: 500;
    clear: both;
}

/* Quand d-none est retiré par le JS → visible avec style */
.error-message.d-none {
    display: none !important;
}

/* ========================================
   SÉLECTEUR DE NUMÉRO DE STAND (étape 2)
   ======================================== */
.stand-picker-container {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px dashed #e0e0e0;
}

.stand-picker-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
    gap: 8px;
}

.stand-picker-card {
    padding: 8px 6px;
    border-radius: 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid #e5e5e5;
    background: #ffffff;
    font-size: 12px;
}

.stand-picker-card.available:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.stand-picker-card.selected {
    background: linear-gradient(135deg, #0d6efd, #20c997);
    color: #fff;
    border-color: #20c997;
}

.stand-picker-number {
    font-weight: 600;
}

.stand-picker-container .quota-box {
    background: #f8f9fa;
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 13px;
}

.stand-picker-container .quota-bar {
    height: 6px;
    background: #dee2e6;
    border-radius: 10px;
    overflow: hidden;
}

.stand-picker-container .quota-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #0d6efd, #20c997);
    transition: width 0.3s ease;
}

.stand-picker-text-sm {
    font-size: 13px;
}

/* Paliers de largeur pour la barre de progression (CSP: pas de style inline) */
.quota-fill-0 { width: 0%; }
.quota-fill-10 { width: 10%; }
.quota-fill-20 { width: 20%; }
.quota-fill-30 { width: 30%; }
.quota-fill-40 { width: 40%; }
.quota-fill-50 { width: 50%; }
.quota-fill-60 { width: 60%; }
.quota-fill-70 { width: 70%; }
.quota-fill-80 { width: 80%; }
.quota-fill-90 { width: 90%; }
.quota-fill-100 { width: 100%; }
