/* --- Section Tâches : sous-onglets --- */
.tasks-tabs {
  margin: 18px 0 22px;
  display: inline-flex;
  gap: 10px;
  padding: 4px;
  background: rgba(15, 23, 42, 0.04);
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.25);
}

.tasks-tab-button {
  border: none;
  background: transparent;
  color: #475569;
  padding: 10px 22px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tasks-tab-button:hover {
  color: #2563eb;
}

.tasks-tab-button.is-active {
  background: #2563eb;
  color: #fff;
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.25);
}

.tasks-tab-panel {
  display: none;
}

.tasks-tab-panel.is-active {
  display: block;
}

/* --- Expéditions --- */
.shipments-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  margin-bottom: 20px;
}

.shipments-card {
  background: #fff;
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(148, 163, 184, 0.18);
  display: flex;
  gap: 14px;
  align-items: center;
}

.shipments-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
}

.shipments-card__icon.total { background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%); }
.shipments-card__icon.today { background: linear-gradient(135deg, #059669 0%, #047857 100%); }
.shipments-card__icon.overdue { background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%); }
.shipments-card__icon.planning { background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%); }

.shipments-card h3 {
  font-size: 15px;
  color: #0f172a;
  margin: 0 0 4px;
}

.shipments-card p {
  font-size: 24px;
  font-weight: 700;
  margin: 0;
}

.shipments-card small {
  color: #64748b;
}

.shipments-toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08) 0%, rgba(59, 130, 246, 0.12) 100%);
  border-radius: 16px;
  padding: 16px 20px;
  border: 1px solid rgba(37, 99, 235, 0.22);
  margin-bottom: 18px;
}

.shipments-toolbar__info {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #1d4ed8;
  font-size: 14px;
}

.shipments-toolbar__info span {
  display: block;
  font-weight: 600;
  color: #1e3a8a;
}

.shipments-toolbar__info small {
  display: block;
  color: #3b82f6;
  font-size: 13px;
}

.shipments-quick-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.shipments-chip {
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: #fff;
  border-radius: 999px;
  padding: 8px 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #1f2937;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.shipments-chip:hover {
  border-color: #2563eb;
  color: #2563eb;
}

.shipments-chip.is-active {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.25);
}

.shipments-board {
  background: #fff;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
  overflow: hidden;
}

.shipments-table {
  width: 100%;
  border-collapse: collapse;
}

.shipments-table thead {
  background: linear-gradient(135deg, #e0f2fe 0%, #bfdbfe 100%);
  color: #1e3a8a;
}

.shipments-table th,
.shipments-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
  vertical-align: top;
}

.shipments-table tbody tr:hover {
  background: rgba(37, 99, 235, 0.05);
}

.shipments-empty-state {
  text-align: center;
  padding: 36px 16px;
  color: #64748b;
  font-size: 15px;
}

.shipments-empty-state.error {
  color: #b91c1c;
}

.shipments-order strong {
  display: block;
  color: #1f2937;
  font-size: 15px;
}

.shipments-order small {
  display: block;
  color: #64748b;
  color: #64748b;
}

.shipments-order__vin {
  color: #2563eb;
  margin-top: 6px;
}

.shipments-customer strong {
  display: block;
  color: #111827;
}

.shipments-customer small {
  display: block;
  color: #64748b;
  font-size: 13px;
}

.shipments-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 13px;
}

.shipments-badge--planning {
  background: rgba(251, 191, 36, 0.18);
  color: #92400e;
}

.shipments-badge--overdue {
  background: rgba(248, 113, 113, 0.2);
  color: #b91c1c;
}

.shipments-badge--today {
  background: rgba(52, 211, 153, 0.2);
  color: #047857;
}

.shipments-badge--scheduled {
  background: rgba(59, 130, 246, 0.18);
  color: #1d4ed8;
}

.shipments-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 13px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.15);
  color: #1d4ed8;
}

.shipments-status--alert {
  background: rgba(248, 113, 113, 0.18);
  color: #b91c1c;
}

.shipments-status--normal {
  background: rgba(59, 130, 246, 0.18);
  color: #1d4ed8;
}

.shipments-status i {
  font-size: 8px;
}

.shipments-tracking {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 14px;
}

.shipments-tracking.has-tracking span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #1f2937;
}

.shipments-tracking.has-tracking small {
  color: #64748b;
}

.shipments-tracking.missing {
  color: #b91c1c;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.shipments-amount strong {
  color: #111827;
}

.shipments-amount small {
  display: block;
  color: #6b7280;
}

.shipments-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.shipments-actions .btn-primary {
  min-width: 0;
  padding: 8px 16px;
}

.shipments-actions .btn-tertiary {
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.25);
  color: #1d4ed8;
  min-width: 0;
  padding: 8px 12px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.shipments-actions .btn-tertiary:hover {
  background: rgba(59, 130, 246, 0.25);
}

.shipment-row.is-overdue {
  border-left: 3px solid #ef4444;
}

.shipment-row.is-today {
  border-left: 3px solid #10b981;
}

.shipment-row.is-planning {
  border-left: 3px solid #f59e0b;
}

@media (max-width: 960px) {
  .shipments-summary {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }

  .shipments-table th,
  .shipments-table td {
    padding: 12px;
  }
}

@media (max-width: 720px) {
  .tasks-tab-button {
    padding: 8px 16px;
    font-size: 13px;
  }

  .shipments-toolbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .shipments-quick-filters {
    width: 100%;
  }

  .shipments-actions {
    flex-direction: column;
    align-items: stretch;
  }
}
/* Styles pour le formulaire SAV Car Parts France */
:root {
    --primary-color: #E60000;
    --primary-hover: #C00000;
    --primary-light: #ffebeb;
    --success-color: #0C6B48;
    --text-color: #222222;
    --text-light: #717171;
    --light-gray: #f7f7f7;
    --border-color: #e1e1e1;
    --shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
    --shadow-light: 0 2px 8px rgba(0, 0, 0, 0.04);
    --secondary-color: #3498db;
    --warning-color: #f39c12;
    --faq-background: #ffffff;
    --faq-border: #efefef;
    --faq-text: #484848;
    --faq-hover: #f8f8f8;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --transition: all 0.2s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Circular', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.5;
    color: var(--text-color);
    background-color: #ffffff;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Disposition générale */
.container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 24px 40px;
    box-sizing: border-box;
    background-color: #ffffff;
}

/* Section d'introduction */
.intro-section {
    display: block; /* Changement de flex à block pour éliminer les espaces flex */
    margin-bottom: 10px;
    padding: 20px 30px 0px; /* Suppression complète du padding inférieur */
    background: linear-gradient(to right, #ffffff, #f9f9f9);
    border-radius: 10px;
    box-shadow: var(--shadow);
    width: 100%;
    box-sizing: border-box;
}

.intro-content {
    flex: 1;
    padding-right: 30px;
}

.intro-section h2 {
    font-size: 28px;
    margin-bottom: 10px; /* Réduction de la marge entre le titre et le paragraphe */
    color: var(--primary-color);
    font-weight: 700;
    letter-spacing: -0.3px;
    line-height: 1.2;
}

/* Style supprimé car la structure a changé */

.intro-highlight {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0; /* Suppression complète de la marge inférieure */
    line-height: 1.4;
    padding-left: 10px;
    border-left: 2px solid var(--primary-color);
}

.intro-features {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 30px;
}

/* Les styles feature-item ont été supprimés à la demande de l'utilisateur */

.intro-text {
    width: 100%;
    min-width: 300px;
    padding-right: 0; /* Suppression du padding droit puisque la colonne de droite a été supprimée */
}

.intro-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Les styles de l'illustration ont été supprimés à la demande de l'utilisateur */

.intro-image img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow);
    transition: var(--transition);
    transform: perspective(1000px) rotateY(-5deg);
}

.intro-image img:hover {
    transform: perspective(1000px) rotateY(0deg);
}

.intro-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: var(--primary-color);
    color: white;
    padding: 10px 16px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
    box-shadow: var(--shadow);
    transform: rotate(5deg);
}

.intro-cta {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.cta-button {
    font-size: 16px;
    padding: 12px 20px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(230, 0, 0, 0.2);
}

.cta-note {
    font-size: 14px;
    color: var(--text-light);
    margin: 5px 0 0;
}

/* Structure principale avec formulaire et FAQ côte à côte */
.main-content {
    display: flex;
    gap: 40px;
    margin-bottom: 60px;
}

/* Styles pour le panneau FAQ */
.faq-panel {
    width: 100%;
    background-color: var(--faq-background);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-light);
    margin: 30px 0;
    position: relative;
    overflow-y: auto;
    transition: var(--transition);
}

/* Styles de bascule supprimés car la FAQ est toujours visible */

.faq-header {
    padding: 15px;
    border-bottom: 1px solid var(--faq-border);
    background-color: #fff;
    position: sticky;
    top: 0;
    z-index: 10;
}

.faq-header h3 {
    margin: 0 0 5px 0;
    color: var(--primary-color);
    font-size: 18px;
}

.faq-subtitle {
    color: var(--faq-text);
    font-size: 14px;
    font-weight: 500;
}

.faq-content {
    padding: 0;
    transition: all 0.3s ease;
}

.faq-item {
    border-bottom: 1px solid var(--faq-border);
    overflow: hidden;
}

.faq-question {
    padding: 15px;
    cursor: pointer;
    font-weight: 500;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.2s ease;
}

.faq-question:hover {
    background-color: var(--faq-hover);
}

.faq-question i {
    transition: transform 0.3s ease;
}

.faq-question.active i {
    transform: rotate(90deg);
}

.faq-answer {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background-color: #fff;
}

.faq-answer.active {
    padding: 15px;
    max-height: 500px;
}

/* Styles du bouton faq-toggle supprimés car la FAQ est toujours visible */

header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 40px;
    width: 100%;
    box-sizing: border-box;
    padding: 24px 30px;
    flex-wrap: wrap;
    gap: 30px;
    background-color: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-color);
}

.header-logo {
    display: flex;
    align-items: center;
}

.header-title {
    display: flex;
    flex-direction: column;
}

.header-subtitle {
    margin: 8px 0 0;
    color: var(--text-light);
    font-size: 18px;
    font-weight: 400;
}

.logo {
    max-height: 100px;
    width: auto;
    object-fit: contain;
}

h1 {
    font-size: 32px;
    font-weight: 800;
    margin: 0;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

h2 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
}

.form-container {
    background-color: #fff;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow);
    padding: 36px;
    margin-bottom: 40px;
    flex: 1;
    width: 100%;
    box-sizing: border-box;
    min-width: 0; /* Permet au conteneur de rétrécir si nécessaire */
    border: 1px solid var(--border-color);
}

/* Styles pour les infobulles */
.tooltip-container {
    position: relative;
    display: inline-block;
    margin-left: 8px;
    vertical-align: middle;
}

.tooltip-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    background-color: #f0f0f0; /* Couleur plus neutre */
    color: var(--text-color); /* Couleur de texte standard */
    border: 1px solid #ddd; /* Bordure subtile */
    border-radius: 50%;
    font-size: 12px;
    cursor: help; /* Conserver le curseur d'aide */
    font-style: italic; /* Style italique pour indiquer qu'il s'agit d'information */
}

/* Effet de survol plus subtil */
.tooltip-icon:hover {
    background-color: #e8e8e8;
    /* Pas de transformation pour éviter l'apparence de bouton */
}

.tooltip-content {
    visibility: hidden;
    position: absolute;
    z-index: 100;
    width: 280px;
    background-color: #fff;
    color: #333;
    text-align: left;
    border-radius: 6px;
    padding: 12px 15px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.2);
    bottom: 125%;
    left: 50%;
    margin-left: -140px;
    opacity: 0;
    transition: opacity 0.3s, transform 0.3s;
    transform: translateY(10px);
    font-size: 14px;
    line-height: 1.4;
    border-left: 4px solid var(--primary-color);
}

.tooltip-content::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -8px;
    border-width: 8px;
    border-style: solid;
    border-color: #fff transparent transparent transparent;
}

.tooltip-container:hover .tooltip-content {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.tooltip-title {
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--primary-color);
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
}

.tooltip-content ul {
    margin: 5px 0 5px 15px;
    padding: 0;
}

.tooltip-content ul li {
    margin-bottom: 3px;
}

.tooltip-content p {
    margin: 5px 0;
}

/* Barre de progression */
.progress-bar {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    position: relative;
    padding: 10px 0;
    max-width: 800px;
    margin: 0 auto 30px;
}

.progress-bar::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: #e0e0e0;
    z-index: 1;
    transition: width 0.5s ease;
}

.progress-bar::after {
    content: '';
    position: absolute;
    top: 15px;
    left: 0;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--success-color));
    z-index: 2;
    transition: width 0.5s ease-in-out;
}

/* Barre de progression colorée qui avance */
.progress-bar::after {
    content: '';
    position: absolute;
    top: 15px;
    left: 0;
    height: 4px;
    background: linear-gradient(to right, var(--success-color), var(--primary-color));
    z-index: 0;
    border-radius: 2px;
    transition: width 0.5s ease;
}

.step {
    display: flex;
    flex-direction: column;
    text-align: center;
    position: relative;
    z-index: 1;
    transition: var(--transition);
    width: 20%;
    transition: all 0.3s ease;
}

.step-number {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--light-gray);
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.step.active .step-number {
    background-color: var(--primary-color);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 0 0 4px rgba(230, 0, 0, 0.2);
    background-color: var(--primary-color);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 3px 8px rgba(230,0,0,0.3);
}

.step.completed .step-number {
    background-color: var(--success-color);
    color: white;
    box-shadow: 0 0 0 4px rgba(12, 107, 72, 0.2);
    background-color: var(--success-color);
    color: white;
    box-shadow: 0 3px 8px rgba(12,107,72,0.3);
}

.step.active .step-text {
    color: var(--primary-color);
    font-weight: 600;
}

.step.completed .step-text {
    color: var(--success-color);
    font-weight: 600;
}

.step-text {
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-align: center;
    max-width: 90%;
}

.step-time {
    font-size: 11px;
    color: #666;
    margin-top: 3px;
    font-style: italic;
    text-align: center;
}

/* Étapes du formulaire */
.form-step {
    display: none;
}

.form-step.active {
    display: block;
    animation: fadeIn 0.5s;
}

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

/* Groupes de formulaire */
.form-group {
    margin-bottom: 28px;
    position: relative;
}

label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    font-size: 15px;
    color: var(--text-color);
}

/* Les styles des spans dans feature-item ont été supprimés à la demande de l'utilisateur */

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="date"],
select,
textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 16px;
    transition: all 0.2s ease;
    box-sizing: border-box;
    appearance: none;
    background-color: #fff;
    color: var(--text-color);
    box-shadow: var(--shadow-light);
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus,
input[type="date"]:focus,
select:focus,
textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 2px rgba(230, 0, 0, 0.1);
}

/* Animation de validation */
.field-valid {
    border-color: var(--success-color) !important;
    background-color: rgba(12, 107, 72, 0.05);
    padding-right: 40px !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cpath fill='none' d='M0 0h24v24H0z'/%3E%3Cpath fill='%230c6b48' d='M10 15.172l9.192-9.193 1.415 1.414L10 18l-6.364-6.364 1.414-1.414z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: calc(100% - 10px) center;
    animation: validPulse 0.5s ease-in-out;
}

@keyframes validPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

input::placeholder {
    color: #aaa;
    font-style: italic;
}

/* Styles spécifiques pour les sélecteurs (compatibilité Safari) */
select {
    cursor: pointer;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="6" viewBox="0 0 12 6"><path fill="%23333" d="M0 0h12L6 6z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 10px center;
    padding-right: 30px; /* Espace pour l'icône */
}

/* Les anciens styles tooltip ont été supprimés pour éviter les doublons avec le nouveau système d'infobulles */

/* Styles pour la barre de progression des téléchargements */
.upload-progress-container {
    height: 10px;
    background-color: #f0f0f0;
    border-radius: 5px;
    margin-top: 10px;
    position: relative;
    overflow: hidden;
}

.upload-progress-bar {
    height: 100%;
    background: linear-gradient(to right, var(--secondary-color), var(--success-color));
    width: 0;
    border-radius: 5px;
    transition: width 0.3s ease;
}

.upload-progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #333;
    font-size: 10px;
    font-weight: bold;
}

/* Styles pour les messages d'erreur */
.error-message {
    color: var(--primary-color);
    font-size: 12px;
    margin-top: 5px;
    display: block;
}

/* Notification d'erreur moderne */
.error-notification {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #fff;
    border-left: 4px solid var(--primary-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    padding: 16px 20px;
    border-radius: 4px;
    z-index: 1000;
    display: flex;
    align-items: center;
    max-width: 90%;
    width: auto;
    min-width: 300px;
    animation: slideDown 0.3s ease-out forwards;
    opacity: 0;
}

.error-notification.show {
    opacity: 1;
}

.error-notification.hide {
    animation: slideUp 0.3s ease-out forwards;
}

.error-notification-icon {
    color: var(--primary-color);
    margin-right: 12px;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.error-notification-content {
    flex: 1;
}

.error-notification-title {
    font-weight: 600;
    margin-bottom: 4px;
    font-size: 16px;
    color: #333;
}

.error-notification-message {
    font-size: 14px;
    color: #666;
}

.error-notification-close {
    color: #999;
    cursor: pointer;
    font-size: 18px;
    margin-left: 12px;
    transition: color 0.2s;
}

.error-notification-close:hover {
    color: #666;
}

/* Animations pour les notifications */
@keyframes slideDown {
    0% {
        transform: translate(-50%, -20px);
        opacity: 0;
    }
    100% {
        transform: translate(-50%, 0);
        opacity: 1;
    }
}

@keyframes slideUp {
    0% {
        transform: translate(-50%, 0);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -20px);
        opacity: 0;
    }
}

/* Surlignage des champs en erreur */
.field-error {
    border: 1px solid var(--primary-color) !important;
    background-color: rgba(220, 53, 69, 0.05);
}

.field-error-message {
    color: var(--primary-color);
    font-size: 12px;
    margin-top: 5px;
    display: block;
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Styles pour les inputs de type file (compatibilité Safari) */
input[type="file"] {
    padding: 10px 0;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: none;
    background: transparent;
    width: 100%;
}

.radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 5px;
}

.radio-option {
    display: flex;
    align-items: center;
}

.radio-option input[type="radio"] {
    margin-right: 5px;
    -webkit-appearance: radio; /* Spécifique pour Safari */
    -moz-appearance: radio;
    appearance: radio;
}

/* Style pour les boutons radio personnalisés */
.custom-radio {
    position: relative;
    display: flex;
    align-items: center;
    margin-right: 15px;
    cursor: pointer;
    padding: 5px 0; /* Ajouter du padding vertical pour agrandir la zone cliquable */
    min-height: 30px; /* Hauteur minimale pour garantir une zone cliquable suffisante */
}

/* Cacher le bouton radio natif */
.custom-radio input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

/* Créer un bouton radio personnalisé */
.custom-radio .radio-checkmark {
    position: relative;
    height: 20px;
    width: 20px;
    background-color: #fff;
    border: 2px solid var(--border-color);
    border-radius: 50%;
    margin-right: 10px;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

/* Style quand la souris passe sur le bouton */
.custom-radio:hover input ~ .radio-checkmark {
    border-color: var(--primary-color);
}

/* Style quand le bouton est sélectionné */
.custom-radio input:checked ~ .radio-checkmark {
    border-color: var(--primary-color);
}

/* Créer l'indicateur de sélection (cercle) */
.custom-radio .radio-checkmark:after {
    content: '';
    position: absolute;
    display: none;
    top: 4px;
    left: 4px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--primary-color);
    transition: all 0.2s ease;
}

/* Afficher l'indicateur quand le bouton est sélectionné */
.custom-radio input:checked ~ .radio-checkmark:after {
    display: block;
}

/* Style pour le label */
.custom-radio label {
    cursor: pointer;
    font-size: 14px;
    user-select: none;
}

/* Styles pour les cases à cocher personnalisées - compatible avec tous les navigateurs */
.custom-checkbox-container {
    margin-bottom: 15px;
}

.custom-checkbox {
    position: relative;
    display: flex;
    align-items: flex-start;
}

/* Cacher la case à cocher native */
.custom-checkbox input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

/* Créer une case à cocher personnalisée */
.custom-checkbox .checkmark {
    position: relative;
    top: 3px;
    left: 0;
    min-width: 18px;
    height: 18px;
    background-color: #fff;
    border: 1px solid var(--border-color);
    border-radius: 3px;
    margin-right: 10px;
    flex-shrink: 0;
}

/* Style quand la souris passe sur la case */
.custom-checkbox:hover input ~ .checkmark {
    border-color: var(--primary-color);
}

/* Style quand la case est cochée */
.custom-checkbox input:checked ~ .checkmark {
    background-color: #fff;
    border-color: var(--primary-color);
}

/* Créer le symbole de coche */
.custom-checkbox .checkmark:after {
    content: '';
    position: absolute;
    display: none;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid var(--primary-color);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Afficher la coche quand la case est cochée */
.custom-checkbox input:checked ~ .checkmark:after {
    display: block;
}

/* Style pour le label */
.custom-checkbox label {
    cursor: pointer;
    font-size: 14px;
    line-height: 1.4;
    margin-top: 0;
    user-select: none;
}

/* Boutons */
.buttons {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 30px;
    flex-wrap: wrap;
}

button, .btn {
    padding: 12px 20px;
    min-height: 44px;
    min-width: 140px;
    background-color: var(--primary-color);
    color: #fff;
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.2px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: var(--shadow-light);
    text-align: center;
}

.next-btn, .submit-btn {
    background-color: var(--primary-color);
    color: #fff;
}

button:hover, .btn:hover {
    background-color: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow);
}

.prev-btn {
    background: #fff;
    color: var(--text-color);
    border: 1px solid var(--border-color);
}

.prev-btn:hover {
    background-color: #fafafa;
    border-color: var(--border-color);
}

/* Boutons: états d'accessibilité et de désactivation */
button:focus-visible,
.btn:focus-visible {
    outline: 3px solid rgba(230, 0, 0, 0.35);
    outline-offset: 2px;
}

button:disabled,
.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

/* Titres et descriptions des étapes */
.form-step > h2 {
    font-size: 22px;
    font-weight: 700;
    color: #1f2937; /* slate-800 */
    margin-bottom: 12px;
    letter-spacing: -0.2px;
}

.step-description {
    margin-top: -4px;
    margin-bottom: 18px;
    color: #6b7280; /* slate-500 */
    font-size: 14px;
}

/* Message de succès */
#success-message {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
}

.success-message {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.success-content {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.tracking-info {
    margin: 20px 0;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 6px;
    border-left: 4px solid #E60000;
}

.tracking-info a {
    color: #E60000;
    font-weight: 600;
    text-decoration: none;
}

.tracking-info a:hover {
    text-decoration: underline;
}

.button-group {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.btn-secondary {
    background-color: #f8f9fa;
    color: #333;
    border: 1px solid #ddd;
}

.btn-secondary:hover {
    background-color: #e9ecef;
}

.success-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--success-color);
    color: white;
    font-size: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
}

/* Utilitaires */
.hidden {
    display: none !important;
    visibility: hidden !important;
}

/* Récapitulatif */
#recap {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 5px;
    margin-bottom: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.recap-section {
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.recap-section:hover {
    background-color: #f0f0f0;
    padding: 5px;
    border-radius: 4px;
}

.recap-section h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 18px;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 8px;
    display: flex;
    align-items: center;
}

.recap-section h3::before {
    content: '\f058'; /* FontAwesome check icon */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-right: 8px;
    color: var(--primary-color);
}

.recap-item {
    display: flex;
    margin-bottom: 8px;
    padding: 5px 0;
    border-bottom: 1px dashed #e0e0e0;
}

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

.recap-label {
    font-weight: 600;
    width: 40%;
    padding-right: 10px;
    color: #444;
}

.recap-value {
    width: 60%;
    font-weight: 500;
}

.recap-value.highlight {
    color: var(--primary-color);
    font-weight: 700;
}

/* Section d'introduction */
.intro-section {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    margin-bottom: 40px;
    align-items: center;
    padding: 25px;
    background: linear-gradient(to right, var(--primary-light), #fff2f2);
    border-radius: var(--radius-md);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-light);
}

.edit-recap-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
    justify-content: center;
}

.edit-btn {
    background-color: #f0f0f0;
    color: #444;
    border: 1px solid #ddd;
    padding: 8px 15px;
    font-size: 14px;
    transition: all 0.2s ease;
}

.edit-btn:hover {
    background-color: #e0f0f0;
    color: var(--primary-color);
}

.edit-btn i {
    margin-right: 5px;
}

/* Upload section */
.upload-item {
    background-color: var(--light-gray);
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 15px;
}

.upload-item h3 {
    font-size: 16px;
    margin-bottom: 10px;
}

.file-requirements {
    font-size: 12px;
    color: #666;
    margin-top: 5px;
}

/* Responsive */
@media (max-width: 1200px) {
    .container {
        padding: 15px;
    }
}

@media (max-width: 992px) {
    .main-content {
        gap: 15px;
    }
    
    .faq-panel {
        width: 280px;
    }
    
    .form-container {
        padding: 25px 20px;
    }
}

@media (max-width: 768px) {
    /* Afficher le bouton d'accès au formulaire sur mobile */
    .mobile-form-button {
        display: block;
    }
    /* Styles pour les notifications d'erreur sur mobile */
    .error-notification {
        min-width: 250px;
        max-width: 95%;
        padding: 12px 15px;
    }
    
    .error-notification-title {
        font-size: 14px;
    }
    
    .error-notification-message {
        font-size: 13px;
    }
    
    .error-notification-icon {
        font-size: 18px;
        margin-right: 10px;
    }
    
    .container {
        padding: 10px;
    }
    
    .main-content {
        flex-direction: column;
    }
    
    .faq-panel {
        width: 100%;
        margin: 20px 0;
        position: static;
        /* FAQ visible par défaut après déplacement */
        max-height: none;
        overflow: visible;
        transition: max-height 0.3s ease;
        border: 1px solid var(--border-color);
        border-radius: var(--radius-md);
        background-color: var(--faq-background);
    }
    
    /* Styles pour la FAQ sur mobile - toujours visible */
    @media (max-width: 768px) {
        .faq-panel {
            width: 100%;
            margin: 20px 0;
            border-radius: var(--radius-md);
            overflow: visible;
        }
    }
    
    .form-container {
        padding: 20px 15px;
    }
    
    .progress-bar {
        overflow-x: auto;
        padding-bottom: 10px;
        justify-content: flex-start; /* Aligne les étapes à gauche pour éviter les problèmes d'espacement */
        width: 100%;
        -webkit-overflow-scrolling: touch; /* Améliore le défilement sur iOS */
        scrollbar-width: none; /* Cache la barre de défilement sur Firefox */
    }
    
    /* Cache la barre de défilement sur Chrome et Safari */
    .progress-bar::-webkit-scrollbar {
        display: none;
    }
    
    .step {
        min-width: 80px; /* Augmentation de la largeur minimale pour éviter le chevauchement */
        margin: 0 5px; /* Ajout d'une marge horizontale pour améliorer l'espacement */
    }
    
    /* Styles spécifiques pour le texte des étapes sur mobile */
    .step-text {
        font-size: 11px; /* Réduction de la taille de police sur mobile */
        white-space: nowrap; /* Évite le retour à la ligne du texte */
        overflow: hidden; /* Cache le texte qui déborde */
        text-overflow: ellipsis; /* Ajoute des points de suspension si le texte est trop long */
        max-width: 100%; /* Assure que le texte ne dépasse pas la largeur de l'étape */
    }
    
    .step-time {
        font-size: 10px; /* Réduction de la taille de police pour le temps */
    }
    
    .buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .btn {
        width: 100%;
    }
    
    .recap-item {
        flex-direction: column;
    }
    
    .recap-label, .recap-value {
        width: 100%;
    }
    
    .intro-section {
        flex-direction: column;
    }
    
    .intro-image {
        max-width: 100%;
        margin-top: 20px;
    }
    
    .intro-content {
        padding-right: 0;
    }
    
    .intro-features {
        flex-direction: column;
        gap: 10px;
    }
    
    .footer-section {
        flex: 0 0 100%;
        padding: 0 15px 15px;
        margin-bottom: 15px;
    }
    
    .site-footer {
        padding: 30px 0 20px;
        margin-top: 40px;
    }
    
    .footer-content {
        padding: 0 15px;
        gap: 15px;
    }
    
    .footer-section h3 {
        margin-bottom: 15px;
        padding-bottom: 6px;
    }
    
    header {
        flex-direction: column;
        text-align: center;
        padding: 15px;
    }
    
    .header-logo {
        justify-content: center;
        margin-bottom: 15px;
    }
    
    .header-title {
        align-items: center;
    }
    
    .logo {
        max-height: 80px;
    }
}

/* Styles pour les très petits écrans mobiles */
@media (max-width: 480px) {
    h1 {
        font-size: 20px;
    }
    
    h2 {
        font-size: 18px;
    }
    
    .form-group {
        margin-bottom: 15px;
    }
    
    .form-container {
        padding: 15px 12px;
    }
    
    .step-title {
        font-size: 16px;
    }
    
    /* Ajustement des champs du formulaire */
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="date"],
    textarea,
    select {
        padding: 10px;
        font-size: 14px;
    }
    
    /* Ajustement des boutons */
    .btn {
        padding: 10px 15px;
        font-size: 14px;
    }
    
    /* Ajustement des tooltips */
    .tooltip-content {
        width: 250px;
        left: -125px;
    }
    
    /* Ajustement des notifications d'erreur */
    .error-notification {
        min-width: 200px;
        padding: 10px 12px;
    }
}

/* Styles pour le bouton d'accès au formulaire sur mobile */
.mobile-form-button {
    display: none; /* Caché par défaut, affiché uniquement sur mobile */
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    animation: pulse 2s infinite;
}

.mobile-form-button button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    padding: 10px 15px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(230, 0, 0, 0.3);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.mobile-form-button button:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(230, 0, 0, 0.4);
}

.mobile-form-button button i {
    font-size: 16px;
}

/* Animation de pulsation pour le bouton mobile */
@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 4px 12px rgba(230, 0, 0, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 16px rgba(230, 0, 0, 0.5);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 4px 12px rgba(230, 0, 0, 0.3);
    }
}

/* Styles pour le pied de page */
.site-footer {
    background-color: #f8f8f8;
    padding: 50px 0 40px;
    margin-top: 60px;
    border-top: 1px solid var(--border-color);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.03);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
    padding: 0 40px 20px;
    box-sizing: border-box;
}

.footer-section {
    flex: 1;
    min-width: 250px;
    margin-bottom: 20px;
    padding: 0 20px;
}

.footer-section h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: 600;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.footer-section p {
    color: var(--text-color);
    margin-bottom: 15px;
    font-size: 14px;
    line-height: 1.5;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin-top: 15px;
}

.footer-section ul li {
    margin-bottom: 12px;
    padding-left: 5px;
}

.footer-section ul li a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

/* Styles pour les icônes de contact */
.contact-info li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.contact-info li i {
    color: var(--primary-color);
    width: 20px;
    text-align: center;
    font-size: 16px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: #fff;
    border-radius: 50%;
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.social-links a:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.footer-bottom {
    width: 100%;
    margin: 0 auto;
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    font-size: 13px;
    color: #777;
    box-sizing: border-box;
}
