/* cf7-custom.css */

/* Container for toast messages */
#cf7-toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  /* spacing between toasts */
}

/* Individual toast style */
.cf7-toast {
  min-width: 300px;
  padding: 14px 20px;
  border-radius: 8px;
  color: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  gap: 12px;
  opacity: 0;
  transform: translateX(100%);
  animation: cf7-slide-in 0.45s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Icons for toast types */
.cf7-toast::before {
  font-size: 18px;
  font-weight: 600;
}

.cf7-toast.success {
  background-color: #2e7d32;
  /* deep green */
}

.cf7-toast.success::before {
  content: "\2713";
  /* checkmark */
}

.cf7-toast.error {
  background-color: #c62828;
  /* deep red */
}

.cf7-toast.error::before {
  content: "\2717";
  /* cross */
}

@keyframes cf7-slide-in {
  from {
    transform: translateX(100%);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Hide default CF7 response output */
.wpcf7-response-output {
  display: none !important;
}

/* Select field */
.contact-form-custom select,
.contact-form-custom .wpcf7-form-control.wpcf7-select {
  width: 100%;
  border: none;
  border-bottom: 1px solid var(--divider-light);
  border-radius: 0;
  background: transparent;
  padding: 8px 0;
  outline: none;
  box-shadow: none;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

/* Focus state */
.contact-form-custom select,
.contact-form-custom select:focus,
.contact-form-custom .wpcf7-select:focus {
  border: none !important;
  border-bottom: 1px solid var(--divider-light) !important;
  outline: none !important;
  box-shadow: none !important;
}