/* Devis Confirmation Modal - Dedicated CSS */
.devis-confirmation-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 2001;
  pointer-events: auto;
}

.devis-confirmation-modal.open {
  display: flex;
}

.devis-confirmation-dialog {
  background: #fff;
  border-radius: 16px;
  width: 100%;
  max-width: 500px;
  box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  position: relative;
  padding: 2rem;
  text-align: center;
  animation: devisConfirmFadeIn 0.3s ease;
  pointer-events: auto;
}

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

.devis-confirm-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #9ca3af;
  transition: color 0.2s;
  pointer-events: auto;
  z-index: 10;
}

.devis-confirm-close:hover {
  color: #374151;
}

.devis-confirmation-icon {
  margin: 0 auto 1rem;
  width: 64px;
  height: 64px;
  background: #f0fdf4;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.devis-confirmation-icon svg {
  width: 32px;
  height: 32px;
  color: #10b981;
}

.devis-confirmation-dialog h3 {
  color: #10b981;
  margin: 0 0 0.5rem 0;
  font-size: 1.25rem;
}

.devis-confirmation-message {
  color: #4b5563;
  line-height: 1.6;
  margin: 0 0 1.5rem 0;
}

.devis-confirmation-actions {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
}

.devis-confirm-ok {
  background: linear-gradient(135deg, #d97706 0%, #f59e0b 100%);
  color: white;
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  pointer-events: auto;
  transition: all 0.2s ease;
}

.devis-confirm-ok:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
}

@media (max-width: 768px) {
  .devis-confirmation-dialog {
    margin: 1rem;
    padding: 1.5rem;
  }
}
