/* Form Overlay */
.form-overlay {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(3px);
  justify-content: center;
  align-items: center;
}

/* Form Popup */
.form-popup {
  background: white;
  border-radius: 12px;
  padding: 30px;
  /* width: 100%; */
  max-width: 400px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  animation: slideIn 0.3s ease-out;
}

/* Form Container */
.form-container h2 {
  margin-bottom: 20px;
  color: #333;
  text-align: center;
}

.form-container label {
  display: block;
  margin-bottom: 6px;
  color: #555;
  font-size: 14px;
}

.form-container input {
  width: 100%;
  padding: 10px 14px;
  margin-bottom: 16px;
  border: 1px solid #ccc;
  border-radius: 8px;
  transition: border 0.3s;
}

.form-container input:focus {
  border-color: #007bff;
  outline: none;
}

/* Action Buttons */
.form-actions {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 20px;
}

.btn {
  padding: 10px;
  width: 100%;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.acf-button {
  background-color: var(--primary-color) !important;
  color: white;
  cursor: pointer;
}

.acf-button:hover {
  opacity: 80%;
}

.cancel {
  background-color: #dc3545;
  color: white;
}

.cancel:hover {
  background-color: #c82333;
}

.acf-field[data-name="product_link"] {
  display: none;
}

/* Animation */
@keyframes slideIn {
  from {
    transform: translateY(-20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
