/* Contact Confirmation Modal Styles */

.contact-confirmation-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  backdrop-filter: blur(4px);
}

.contact-confirmation-modal.is-active {
  opacity: 1;
  visibility: visible;
}

.contact-confirmation-modal__content {
  background: var(--zf-bg, #ffffff);
  border-radius: 16px;
  padding: 48px 40px;
  max-width: 500px;
  width: 90%;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.contact-confirmation-modal.is-active .contact-confirmation-modal__content {
  transform: scale(1);
}

.contact-confirmation-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: transparent;
  border: none;
  font-size: 28px;
  color: var(--zf-text-secondary, #666);
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.contact-confirmation-modal__close:hover {
  background-color: var(--zf-surface, #f5f5f5);
  color: var(--zf-text-primary, #000);
}

.contact-confirmation-modal__icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #ffffff;
  font-size: 40px;
}

.contact-confirmation-modal__title {
  font-size: 28px;
  font-weight: 700;
  color: var(--zf-text-primary, #000);
  margin-bottom: 16px;
  text-align: center;
}

.contact-confirmation-modal__message {
  font-size: 16px;
  line-height: 1.6;
  color: var(--zf-text-secondary, #666);
  text-align: center;
  margin-bottom: 32px;
}

.contact-confirmation-modal__actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.contact-confirmation-modal__button {
  padding: 12px 32px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  text-decoration: none;
  display: inline-block;
}

.contact-confirmation-modal__button--primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #ffffff;
}

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

.contact-confirmation-modal__button--secondary {
  background: var(--zf-surface, #f5f5f5);
  color: var(--zf-text-primary, #000);
}

.contact-confirmation-modal__button--secondary:hover {
  background: var(--zf-border, #e0e0e0);
}

/* Dark mode adjustments */
[data-theme="dark"] .contact-confirmation-modal__content {
  background: var(--zf-bg, #1a1a1a);
}

[data-theme="dark"] .contact-confirmation-modal__close:hover {
  background-color: var(--zf-surface, #2a2a2a);
}

[data-theme="dark"] .contact-confirmation-modal__button--secondary {
  background: var(--zf-surface, #2a2a2a);
  color: var(--zf-text-primary, #ffffff);
}

[data-theme="dark"] .contact-confirmation-modal__button--secondary:hover {
  background: var(--zf-border, #3a3a3a);
}

/* Animation for success checkmark */
@keyframes checkmark-draw {
  0% {
    stroke-dashoffset: 100;
  }
  100% {
    stroke-dashoffset: 0;
  }
}

.contact-confirmation-modal__icon svg {
  width: 40px;
  height: 40px;
}

.contact-confirmation-modal__icon svg path {
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  animation: checkmark-draw 0.6s ease-in-out 0.2s forwards;
}

/* Responsive adjustments */
@media (max-width: 576px) {
  .contact-confirmation-modal__content {
    padding: 32px 24px;
  }

  .contact-confirmation-modal__title {
    font-size: 24px;
  }

  .contact-confirmation-modal__icon {
    width: 64px;
    height: 64px;
    font-size: 32px;
  }

  .contact-confirmation-modal__actions {
    flex-direction: column;
  }

  .contact-confirmation-modal__button {
    width: 100%;
  }
}
