/* ===== BARRE DU HAUT ===== */
        .barre-haut {
            background: white;
            border-bottom: 1px solid #e5e7eb;
            padding: 12px 24px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            position: sticky;
            top: 0;
            z-index: 100;
        }

        .barre-haut-gauche {
            display: flex;
            align-items: center;
            gap: 16px;
        }

        .marque-logo {
            font-size: 24px;
            font-weight: 700;
            color: #5b21b6;
            letter-spacing: -0.5px;
        }

        .barre-haut-titre {
            font-size: 16px;
            font-weight: 500;
            color: #6b7280;
        }

        .barre-haut-droite {
            display: flex;
            align-items: center;
            gap: 8px;
            cursor: pointer;
        }

        .avatar-utilisateur {
            width: 32px;
            height: 32px;
            border-radius: 50%;
            background: #5b21b6;
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 13px;
            font-weight: 600;
        }

        .nom-utilisateur {
            font-size: 14px;
            font-weight: 500;
            color: #374151;
        }

        .fleche-deroulante {
            color: #9ca3af;
            font-size: 12px;
        }

        /* ===== STRUCTURE PRINCIPALE ===== */
        .structure-principale {
            display: flex;
            min-height: calc(100vh - 57px);
        }

        /* ===== MENU LATERAL ===== */
        .menu-lateral {
            width: 64px;
            background: white;
            border-right: 1px solid #e5e7eb;
            display: flex;
            flex-direction: column;
            align-items: center;
            padding: 16px 0;
            gap: 8px;
        }

        .element-menu {
            width: 48px;
            height: 48px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 12px;
            cursor: pointer;
            transition: all 0.2s;
            color: #6b7280;
        }

        .element-menu:hover {
            background: #f3f4f6;
            color: #5b21b6;
        }

        .element-menu.selectionne {
            background: #5b21b6;
            color: white;
        }

        .element-menu svg {
            width: 24px;
            height: 24px;
        }

        /* ===== CONTENU CENTRAL ===== */
        .contenu-central {
            flex: 1;
            padding: 24px 32px;
            max-width: calc(100% - 64px);
        }

        /* ===== FIL ARIANE ===== */
        .fil-ariane {
            display: flex;
            align-items: center;
            gap: 8px;
            margin-bottom: 24px;
            font-size: 14px;
            color: #6b7280;
        }

        .fil-ariane a {
            color: #6b7280;
            text-decoration: none;
            transition: color 0.2s;
        }

        .fil-ariane a:hover {
            color: #5b21b6;
        }

        .fil-actuel {
            color: #5b21b6;
            font-weight: 600;
        }

        .separateur-fil {
            color: #d1d5db;
        }

        /* ===== BLOC SECTION ===== */
        .bloc-section {
            background: white;
            border-radius: 16px;
            padding: 24px;
            margin-bottom: 24px;
            box-shadow: 0 1px 3px rgba(0,0,0,0.05);
        }

        .entete-bloc {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            margin-bottom: 20px;
        }

        .titre-entete {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .icone-entete {
            width: 40px;
            height: 40px;
            background: #f3e8ff;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #5b21b6;
        }

        .icone-entete svg {
            width: 24px;
            height: 24px;
        }

        .titre-principal {
            font-size: 18px;
            font-weight: 700;
            color: #1a1a2e;
            margin-bottom: 4px;
        }

        .sous-titre-principal {
            font-size: 13px;
            color: #6b7280;
            line-height: 1.5;
        }

        .date-mise-a-jour {
            font-size: 12px;
            color: #9ca3af;
        }

        /* ===== CARTES STATUT ===== */
        .grille-cartes-statut {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 20px;
            margin-bottom: 16px;
        }

        .carte-statut {
            border-radius: 12px;
            padding: 24px;
            text-align: center;
            border: 2px solid transparent;
            transition: all 0.3s;
            cursor: pointer;
            position: relative;
        }

        .carte-statut.etat-actif {
            border-color: #22c55e;
            background: #f0fdf4;
        }

        .carte-statut.etat-perdu {
            border-color: #f59e0b;
            background: #fffbeb;
        }

        .carte-statut.etat-decede {
            border-color: #ef4444;
            background: #fef2f2;
        }

        .carte-statut:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0,0,0,0.08);
        }

        .pictogramme-statut {
            width: 64px;
            height: 64px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 16px;
        }

        .carte-statut.etat-actif .pictogramme-statut {
            background: #22c55e;
            color: white;
        }

        .carte-statut.etat-perdu .pictogramme-statut {
            background: #f59e0b;
            color: white;
        }

        .carte-statut.etat-decede .pictogramme-statut {
            background: #ef4444;
            color: white;
        }

        .pictogramme-statut svg {
            width: 32px;
            height: 32px;
        }

        .intitule-statut {
            font-size: 15px;
            font-weight: 600;
            margin-bottom: 8px;
        }

        .carte-statut.etat-actif .intitule-statut {
            color: #15803d;
        }

        .carte-statut.etat-perdu .intitule-statut {
            color: #b45309;
        }

        .carte-statut.etat-decede .intitule-statut {
            color: #b91c1c;
        }

        .description-statut {
            font-size: 12px;
            color: #6b7280;
            margin-bottom: 16px;
            line-height: 1.4;
        }

        .pastille-statut {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 6px 14px;
            border-radius: 20px;
            font-size: 12px;
            font-weight: 600;
        }

        .carte-statut.etat-actif .pastille-statut {
            background: #22c55e;
            color: white;
        }

        .carte-statut.etat-perdu .pastille-statut {
            background: white;
            color: #f59e0b;
            border: 1px solid #f59e0b;
        }

        .carte-statut.etat-decede .pastille-statut {
            background: white;
            color: #ef4444;
            border: 1px solid #ef4444;
        }

        .coche-validation {
            position: absolute;
            top: 12px;
            right: 12px;
            width: 24px;
            height: 24px;
            background: #22c55e;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
        }

        .coche-validation svg {
            width: 14px;
            height: 14px;
        }

        /* ===== NOTE INFO ===== */
        .note-information {
            font-size: 12px;
            color: #9ca3af;
            margin-bottom: 20px;
            font-style: italic;
        }

        /* ===== ACTIONS FORMULAIRE ===== */
        .actions-formulaire {
            display: flex;
            justify-content: flex-end;
            gap: 12px;
        }

        .bouton-action {
            padding: 10px 20px;
            border-radius: 8px;
            font-size: 14px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s;
            border: none;
            display: inline-flex;
            align-items: center;
            gap: 6px;
        }

        .bouton-contour {
            background: white;
            color: #5b21b6;
            border: 1px solid #5b21b6;
        }

        .bouton-contour:hover {
            background: #f5f3ff;
        }

        .bouton-principal {
            background: #5b21b6;
            color: white;
        }

        .bouton-principal:hover {
            background: #4c1d95;
        }

        .bouton-danger-contour {
            background: white;
            color: #ef4444;
            border: 1px solid #ef4444;
        }

        .bouton-danger-contour:hover {
            background: #fef2f2;
        }

        /* ===== SECTION TRANSFERT ===== */
        .grille-transfert {
            display: grid;
            grid-template-columns: 1fr 1.5fr;
            gap: 32px;
        }

        .colonne-info-transfert {
            display: flex;
            flex-direction: column;
            gap: 16px;
        }

        .titre-info-transfert {
            font-size: 16px;
            font-weight: 700;
            color: #1a1a2e;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .texte-info-transfert {
            font-size: 13px;
            color: #6b7280;
            line-height: 1.6;
        }

        .encadre-information {
            background: #eff6ff;
            border-radius: 8px;
            padding: 12px 16px;
            display: flex;
            gap: 12px;
            align-items: flex-start;
        }

        .icone-encadre {
            width: 20px;
            height: 20px;
            color: #3b82f6;
            flex-shrink: 0;
            margin-top: 2px;
        }

        .texte-encadre {
            font-size: 13px;
            color: #1e40af;
            line-height: 1.5;
        }

        .texte-avertissement {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 13px;
            color: #ef4444;
            font-weight: 500;
        }

        .texte-avertissement svg {
            width: 18px;
            height: 18px;
            color: #ef4444;
        }

        /* ===== FORMULAIRE ===== */
        .groupe-champ {
            margin-bottom: 16px;
        }

        .etiquette-champ {
            display: block;
            font-size: 13px;
            font-weight: 600;
            color: #374151;
            margin-bottom: 6px;
        }

        .etiquette-champ .obligatoire {
            color: #ef4444;
        }

        .champ-saisie {
            width: 100%;
            padding: 10px 14px;
            border: 1px solid #d1d5db;
            border-radius: 8px;
            font-size: 14px;
            color: #374151;
            transition: all 0.2s;
            font-family: 'Inter', sans-serif;
        }

        .champ-saisie:focus {
            outline: none;
            border-color: #5b21b6;
            box-shadow: 0 0 0 3px rgba(91, 33, 182, 0.1);
        }

        .champ-saisie::placeholder {
            color: #9ca3af;
        }

        .champ-saisie:disabled {
            background: #f3f4f6;
            color: #6b7280;
            cursor: not-allowed;
        }

        .indice-champ {
            font-size: 11px;
            color: #9ca3af;
            margin-top: 4px;
        }

        .ligne-champs {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 16px;
        }

        .champ-texte-long {
            resize: vertical;
            min-height: 80px;
        }

        .badge-irreversible {
            display: inline-flex;
            align-items: center;
            padding: 4px 10px;
            background: #fff7ed;
            color: #c2410c;
            border: 1px solid #fed7aa;
            border-radius: 6px;
            font-size: 11px;
            font-weight: 600;
            float: right;
        }

        /* ===== ACTIONS BAS ===== */
        .actions-bas-page {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-top: 24px;
            padding-top: 24px;
            border-top: 1px solid #e5e7eb;
        }

        .lien-retour {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 10px 18px;
            background: white;
            border: 1px solid #d1d5db;
            border-radius: 8px;
            font-size: 14px;
            font-weight: 500;
            color: #374151;
            cursor: pointer;
            transition: all 0.2s;
            text-decoration: none;
        }

        .lien-retour:hover {
            background: #f9fafb;
            border-color: #9ca3af;
        }

        .lien-partage {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 10px 18px;
            background: #5b21b6;
            border: none;
            border-radius: 8px;
            font-size: 14px;
            font-weight: 600;
            color: white;
            cursor: pointer;
            transition: all 0.2s;
            text-decoration: none;
        }

        .lien-partage:hover {
            background: #4c1d95;
        }

        /* ===== PIED DE PAGE ===== */
        .pied-page {
            text-align: center;
            font-size: 12px;
            color: #9ca3af;
            padding: 16px;
        }

        /* ===== RESPONSIVE ===== */
        @media (max-width: 1024px) {
            .grille-cartes-statut {
                grid-template-columns: 1fr;
            }

            .grille-transfert {
                grid-template-columns: 1fr;
            }

            .ligne-champs {
                grid-template-columns: 1fr;
            }
        }

        @media (max-width: 768px) {
            .menu-lateral {
                width: 100%;
                flex-direction: row;
                justify-content: center;
                padding: 8px 0;
                position: fixed;
                bottom: 0;
                left: 0;
                z-index: 100;
                border-right: none;
                border-top: 1px solid #e5e7eb;
            }

            .structure-principale {
                flex-direction: column;
                padding-bottom: 64px;
            }

            .contenu-central {
                max-width: 100%;
                padding: 16px;
            }

            .barre-haut {
                padding: 12px 16px;
            }

            .barre-haut-titre {
                display: none;
            }

            .bloc-section {
                padding: 16px;
            }

            .entete-bloc {
                flex-direction: column;
                gap: 8px;
            }

            .actions-formulaire {
                flex-direction: column;
            }

            .bouton-action {
                width: 100%;
                justify-content: center;
            }

            .actions-bas-page {
                flex-direction: column;
                gap: 12px;
            }

            .lien-retour, .lien-partage {
                width: 100%;
                justify-content: center;
            }
        }

        @media (max-width: 480px) {
            .carte-statut {
                padding: 16px;
            }

            .pictogramme-statut {
                width: 48px;
                height: 48px;
            }

            .pictogramme-statut svg {
                width: 24px;
                height: 24px;
            }

            .titre-principal {
                font-size: 16px;
            }
        }
        /* ========== PAGE CONFIRMATION TRANSFERT ========== */
.confirmation-transfert-container {
  max-width: 680px;
  margin: 0 auto;
  padding: 40px 20px;
  text-align: center;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Étapes */
.etapes-transfert {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.etape {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.etape-cercle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
}

.etape-terminee .etape-cercle {
  background: #4f46e5;
  color: white;
}

.etape-active .etape-cercle {
  background: #4f46e5;
  color: white;
}

.etape-label {
  font-size: 12px;
  font-weight: 600;
  color: #6b7280;
}

.etape-terminee .etape-label,
.etape-active .etape-label {
  color: #4f46e5;
}

.etape-ligne {
  width: 80px;
  height: 2px;
  background: #e5e7eb;
  margin: 0 12px;
  position: relative;
  top: -12px;
}

.etape-terminee + .etape-ligne,
.etape-ligne + .etape-terminee {
  background: #4f46e5;
}

/* Icône succès */
.confirmation-icon {
  width: 80px;
  height: 80px;
  background: #4f46e5;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  box-shadow: 0 8px 32px rgba(79, 70, 229, 0.3);
}

/* Titre */
.confirmation-titre {
  font-size: 28px;
  font-weight: 800;
  color: #111827;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.confirmation-sous-titre {
  font-size: 15px;
  color: #6b7280;
  margin-bottom: 32px;
  line-height: 1.6;
}

/* Carte animal */
.carte-animal-confirmation {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
  text-align: left;
}

.animal-photo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  flex-shrink: 0;
}

.animal-details {
  flex: 1;
}

.animal-nom {
  font-size: 22px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 4px;
}

.animal-race {
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 6px;
}

.animal-code {
  font-size: 14px;
  font-weight: 600;
  color: #4f46e5;
  font-family: 'Courier New', monospace;
  margin-bottom: 8px;
}

.animal-statut {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #059669;
  font-weight: 500;
}

.pastille-verte {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  display: inline-block;
}

/* Prochaines étapes */
.prochaines-etapes {
  background: #eff6ff;
  border-radius: 12px;
  padding: 20px 24px;
  margin-bottom: 20px;
  text-align: left;
}

.etapes-titre {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  color: #4f46e5;
  margin-bottom: 16px;
}

.etapes-liste {
  margin: 0;
  padding-left: 28px;
  color: #374151;
  font-size: 14px;
  line-height: 2;
}

.etapes-liste li::marker {
  color: #4f46e5;
  font-weight: 700;
}

.nom-animal-etape {
  font-weight: 600;
  color: #4f46e5;
}

/* Alerte email */
.alerte-email {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: 10px;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #059669;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 28px;
}

/* Boutons */
.confirmation-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-principal {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: #4f46e5;
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.25);
}

.btn-principal:hover {
  background: #4338ca;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(79, 70, 229, 0.35);
}

.btn-secondaire {
  display: inline-flex;
  align-items: center;
  padding: 14px 28px;
  background: white;
  color: #4f46e5;
  border: 1.5px solid #4f46e5;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-secondaire:hover {
  background: #eef2ff;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 640px) {
  .confirmation-transfert-container {
    padding: 24px 16px;
  }
  
  .etape-ligne {
    width: 40px;
  }
  
  .confirmation-titre {
    font-size: 22px;
  }
  
  .carte-animal-confirmation {
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }
  
  .animal-photo {
    width: 64px;
    height: 64px;
    font-size: 32px;
  }
  
  .confirmation-actions {
    flex-direction: column;
  }
  
  .btn-principal,
  .btn-secondaire {
    width: 100%;
    justify-content: center;
  }
  
  .prochaines-etapes {
    padding: 16px;
  }
  
  .etapes-liste {
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .etapes-transfert {
    gap: 8px;
  }
  
  .etape-ligne {
    width: 24px;
  }
  
  .etape-label {
    font-size: 10px;
  }
  
  .confirmation-icon {
    width: 64px;
    height: 64px;
  }
  
  .confirmation-titre {
    font-size: 20px;
  }
}

/* ========== ÉTAPES VERSION 2 - STYLE IMAGE ========== */
.etapes-transfert-v2 {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  margin-bottom: 48px;
  padding: 0 20px;
}

.etape-v2 {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.etape-cercle-v2 {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
}

/* Étape terminée - cercle violet avec check */
.etape-complete .etape-cercle-v2 {
  background: #4f46e5;
  color: white;
  border: 2px solid #4f46e5;
}

/* Étape courante - cercle violet avec numéro */
.etape-courante .etape-cercle-v2 {
  background: #4f46e5;
  color: white;
  border: 2px solid #4f46e5;
}

.etape-cercle-numero {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Labels */
.etape-label-v2 {
  font-size: 13px;
  font-weight: 500;
  color: #6b7280;
  white-space: nowrap;
}

.etape-complete .etape-label-v2 {
  color: #4f46e5;
  font-weight: 600;
}

.label-courant {
  color: #4f46e5;
  font-weight: 700;
}

/* Lignes entre étapes */
.etape-ligne-v2 {
  width: 120px;
  height: 2px;
  background: #e5e7eb;
  margin-top: 20px;
  flex-shrink: 0;
}

.ligne-complete {
  background: #4f46e5;
}

/* ========== CENTRAGE GLOBAL ========== */
.confirmation-transfert-container {
  max-width: 680px;
  margin: 0 auto;
  padding: 40px 20px;
  text-align: center;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Icône succès centrée */
.confirmation-icon {
  width: 80px;
  height: 80px;
  background: #4f46e5;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

/* Titre centré */
.confirmation-titre {
  font-size: 28px;
  font-weight: 800;
  color: #111827;
  margin-bottom: 12px;
  text-align: center;
}

.confirmation-sous-titre {
  font-size: 15px;
  color: #6b7280;
  margin-bottom: 32px;
  text-align: center;
  line-height: 1.6;
}

/* Carte animal centrée */
.carte-animal-confirmation {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 0 auto 24px;
  text-align: left;
  max-width: 480px;
  width: 100%;
}

/* Prochaines étapes centrée */
.prochaines-etapes {
  background: #eff6ff;
  border-radius: 12px;
  padding: 20px 24px;
  margin: 0 auto 20px;
  text-align: left;
  max-width: 480px;
  width: 100%;
}

/* Alerte email centrée */
.alerte-email {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: 10px;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #059669;
  font-size: 14px;
  font-weight: 500;
  margin: 0 auto 28px;
  max-width: 480px;
  width: 100%;
}

/* Boutons centrés */
.confirmation-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 640px) {
  .etapes-transfert-v2 {
    padding: 0 10px;
  }
  
  .etape-ligne-v2 {
    width: 60px;
  }
  
  .etape-label-v2 {
    font-size: 11px;
  }
  
  .etape-cercle-v2 {
    width: 36px;
    height: 36px;
  }
  
  .confirmation-titre {
    font-size: 22px;
  }
  
  .carte-animal-confirmation,
  .prochaines-etapes,
  .alerte-email {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .etape-ligne-v2 {
    width: 40px;
  }
  
  .etape-label-v2 {
    font-size: 10px;
  }
  
  .confirmation-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .btn-principal,
  .btn-secondaire {
    width: 100%;
    max-width: 280px;
  }
}
/* ════════════════════════════════════════
   PAGE ATTESTE CONFIRMATION - Styles
════════════════════════════════════════ */

#pg-attente-confirmation {
  background: #f5f7fa;
  min-height: 100vh;
  padding: 24px;
}

.attente-container {
  max-width: 800px;
  margin: 0 auto;
}

/* Stepper */
.stepper-v2 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 48px;
  padding: 0 20px;
}

.step-v2 {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.step-circle-v2 {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
}

.step-done .step-circle-v2 {
  background: #fff;
  border: 2px solid #4c3ce9;
  color: #4c3ce9;
}

.step-active .step-circle-v2 {
  background: #4c3ce9;
  color: #fff;
  box-shadow: 0 4px 12px rgba(76, 60, 233, 0.3);
}

.step-pending .step-circle-v2 {
  background: #fff;
  border: 2px solid #d1d5db;
  color: #9ca3af;
}

.step-label-v2 {
  font-size: 12px;
  font-weight: 500;
  color: #6b7280;
  text-align: center;
  white-space: nowrap;
}

.label-active {
  color: #4c3ce9;
  font-weight: 600;
}

.step-line-v2 {
  width: 60px;
  height: 2px;
  background: #e5e7eb;
  margin: 0 12px;
  margin-top: -28px;
}

.line-done {
  background: #4c3ce9;
}

/* Hero */
.hero-v2 {
  text-align: center;
  margin-bottom: 40px;
}

.hero-icon-v2 {
  width: 80px;
  height: 80px;
  background: #4c3ce9;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  position: relative;
}

.hero-icon-v2::before,
.hero-icon-v2::after {
  content: '🐾';
  position: absolute;
  font-size: 18px;
  opacity: 0.3;
}

.hero-icon-v2::before {
  top: -6px;
  left: -10px;
}

.hero-icon-v2::after {
  bottom: -6px;
  right: -10px;
}

.hero-title-v2 {
  font-size: 28px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 12px;
}

.hero-subtitle-v2 {
  font-size: 15px;
  color: #6b7280;
  line-height: 1.6;
}

/* Cards */
.card-v2 {
  background: #fff;
  border-radius: 16px;
  border: 1px solid #e8ecf1;
  padding: 24px;
  margin-bottom: 20px;
}

.card-header-v2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.card-icon-v2 {
  width: 28px;
  height: 28px;
  background: #eef2ff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4c3ce9;
  font-size: 14px;
  font-weight: 600;
}

.card-title-v2 {
  font-size: 15px;
  font-weight: 600;
  color: #1a1a2e;
}

/* Recap */
.recap-grid-v2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.recap-item-v2 {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.recap-label-v2 {
  font-size: 12px;
  font-weight: 500;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.recap-value-v2 {
  font-size: 15px;
  font-weight: 600;
  color: #1a1a2e;
}

.recap-value-v2.highlight {
  color: #4c3ce9;
}

/* Steps list */
.steps-list-v2 {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.step-item-v2 {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.step-num-v2 {
  width: 28px;
  height: 28px;
  min-width: 28px;
  border-radius: 50%;
  background: #eef2ff;
  color: #4c3ce9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
}

.step-item-v2 h4 {
  font-size: 14px;
  font-weight: 600;
  color: #1a1a2e;
  margin-bottom: 4px;
}

.step-item-v2 p {
  font-size: 13px;
  color: #6b7280;
}

/* Alert */
.alert-v2 {
  background: #fffbeb;
  border: 1px solid #fcd34d;
  border-radius: 12px;
  padding: 16px 20px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 32px;
}

.alert-icon-v2 {
  width: 24px;
  height: 24px;
  min-width: 24px;
  background: #f59e0b;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.alert-text-v2 {
  font-size: 14px;
  color: #92400e;
  line-height: 1.6;
}

.alert-text-v2 strong {
  color: #78350f;
}

/* Buttons */
.buttons-v2 {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-v2 {
  padding: 12px 28px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
}

.btn-outline-v2 {
  background: #fff;
  color: #374151;
  border: 1px solid #d1d5db;
}

.btn-outline-v2:hover {
  background: #f9fafb;
}

.btn-primary-v2 {
  background: #4c3ce9;
  color: #fff;
  box-shadow: 0 4px 12px rgba(76, 60, 233, 0.25);
}

.btn-primary-v2:hover {
  background: #3d2fd1;
  transform: translateY(-1px);
}

/* Responsive */
@media (max-width: 768px) {
  .recap-grid-v2 {
    grid-template-columns: 1fr;
  }
  
  .buttons-v2 {
    flex-direction: column;
  }
  
  .btn-v2 {
    width: 100%;
    justify-content: center;
  }
  
  .step-line-v2 {
    width: 30px;
  }
}
/* ════════════════════════════════════════════════════════ */
/* NOTIFICATIONS - CSS COMPLET ET CORRIGÉ */
/* ════════════════════════════════════════════════════════ */

/* ===== CONTENEUR ===== */
.notif-container {
    position: relative;
    display: inline-block;
}

/* ===== CLOCHE ===== */
.notif-bell {
    position: relative;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: #6b7280;
    font-size: 20px;
    transition: all 0.2s;
}

.notif-bell:hover {
    background: #f3f4f6;
    color: #4c3ce9;
}

/* ===== BADGE (pastille rouge) ===== */
.notif-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 20px;
    height: 20px;
    background: #ef4444;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.notif-badge.visible {
    display: flex;
}

/* ===== DROPDOWN ===== */
.notif-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    left: auto;
    width: 400px;
    max-height: 500px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    border: 1px solid #e8ecf1;
    z-index: 99999;
    overflow: hidden;
}

/* Flèche au-dessus */
.notif-dropdown::before {
    content: '';
    position: absolute;
    top: -8px;
    right: 16px;
    width: 16px;
    height: 16px;
    background: #fff;
    border-left: 1px solid #e8ecf1;
    border-top: 1px solid #e8ecf1;
    transform: rotate(45deg);
    z-index: 1;
}

/* ===== HEADER ===== */
.notif-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    border-bottom: 1px solid #e8ecf1;
    background: #f9fafb;
    border-radius: 16px 16px 0 0;
    position: relative;
    z-index: 2;
}

.notif-header h4 {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    color: #1a1a2e;
}

.notif-header button {
    background: none;
    border: none;
    color: #4c3ce9;
    font-size: 13px;
    cursor: pointer;
    font-weight: 500;
}

.notif-header button:hover {
    text-decoration: underline;
}

/* ===== LISTE ===== */
.notif-list {
    max-height: 420px;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 0;
}

/* ===== ITEM ===== */
.notif-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 20px;
    border-bottom: 1px solid #f3f4f6;
    cursor: pointer;
    transition: background 0.2s;
    text-decoration: none;
    color: inherit;
    width: 100%;
    box-sizing: border-box;
}

.notif-item:hover {
    background: #f9fafb;
}

.notif-item.unread {
    background: #eef2ff;
    border-left: 3px solid #4c3ce9;
}

/* ===== ICÔNE ===== */
.notif-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 50%;
    background: #fef3c7;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.notif-icon.transfert {
    background: #dbeafe;
    color: #4c3ce9;
}

/* ===== CONTENU (TEXTE COMPLET) ===== */
.notif-content {
    flex: 1;
    min-width: 0;
    overflow: visible;
}

.notif-content h5 {
    margin: 0 0 6px;
    font-size: 14px;
    font-weight: 600;
    color: #1a1a2e;
    line-height: 1.4;
    white-space: normal;
    word-wrap: break-word;
}

.notif-content p {
    margin: 0 0 6px;
    font-size: 13px;
    color: #6b7280;
    line-height: 1.5;
    white-space: normal;
    word-wrap: break-word;
}

.notif-time {
    font-size: 12px;
    color: #9ca3af;
}

/* ===== VIDE ===== */
.notif-empty {
    text-align: center;
    padding: 40px 20px;
    color: #9ca3af;
}

/* ===== ANIMATION ===== */
.notif-bounce {
    animation: bounce 0.5s ease;
}

@keyframes bounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .notif-dropdown {
        width: calc(100vw - 32px);
        right: -50px;
    }
    
    .notif-dropdown::before {
        right: 66px;
    }
}

@media (max-width: 480px) {
    .notif-dropdown {
        width: calc(100vw - 20px);
        right: -80px;
    }
    
    .notif-dropdown::before {
        right: 96px;
    }
}