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

.success-icon {
  width: 100px;
  height: 100px;
  margin: 0 auto 30px;
  background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: scaleIn 0.5s ease-out 0.2s both;
}

@keyframes scaleIn {
  from {
    transform: scale(0);
  }
  to {
    transform: scale(1);
  }
}

.success-icon svg {
  width: 60px;
  height: 60px;
  stroke: white;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  animation: checkmark 0.8s ease-out 0.4s both;
}

@keyframes checkmark {
  0% {
    stroke-dasharray: 0 100;
  }
  100% {
    stroke-dasharray: 100 100;
  }
}

h1 {
  color: #2d3748;
  font-size: 32px;
  margin-bottom: 15px;
  font-weight: 700;
}

.payment-details {
  background: #f7fafc;
  border-radius: 12px;
  padding: 25px;
  margin: 30px 0;
  border: 2px solid #e2e8f0;
}


/* Image container */
.image-wrapper {
  width: 100%;
  max-width: 500px;
  display: flex;
  justify-content: center;
  margin-top: 3rem;
}

/* Image responsive */
.responsive-img {
  width: 100%;
  height: auto;
  max-height: 300px;
  object-fit: contain;
}

/* 📱 Mobile */
@media (max-width: 576px) {
  .responsive-img {
    max-height: 220px;
  }
}

/* 📲 Tablette */
@media (max-width: 992px) {
  .responsive-img {
    max-height: 260px;
  }
}

.detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #e2e8f0;
}

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

.detail-label {
  color: #718096;
  font-size: 14px;
  font-weight: 500;
}

.detail-value {
  color: #2d3748;
  font-size: 16px;
  font-weight: 600;
}

.btn-primary{
  background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);;
  color: white;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(102, 126, 234, 0.4);
}


.info-box p {
  color: #4a5568;
  font-size: 14px;
  line-height: 1.6;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@media (max-width: 600px) {
  .container {
    padding: 30px 20px;
  }

  h1 {
    font-size: 24px;
  }

}
.title{
  text-align: center;
  color: white;
}

.payment-details {
  width: 100%;
}

/* Ligne desktop */
.detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid #e5e7eb;
}

/* Label */
.detail-label {
  font-weight: 600;
  color: #374151;
  white-space: nowrap;
}

/* Valeur */
.detail-value {
  text-align: right;
  color: #1f2937;
  max-width: 65%;
}

/* Statut */
.status-success {
  color: #38a169;
  font-weight: 600;
}

/* 📱 MOBILE : chaque span sur sa ligne */
@media (max-width: 576px) {
  .detail-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .detail-label {
    margin-bottom: 0.25rem;
  }

  .detail-value {
    text-align: left;
    max-width: 100%;
  }
}

.btn-search{
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  gap: 20px;
}
