/* assets/css/goa-deactivation.css */

/* Modal Overlay */
.goa-modal {
  display: flex !important;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
  overflow: auto; /* Enable scrolling if needed */
  animation: fadeIn 0.3s ease; /* Smooth fade-in */
}

/* Modal Content */
.goa-modal-content {
  background: #ffffff;
  padding: 30px;
  border-radius: 12px;
  width: 450px;
  max-width: 90%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; /* Match WP admin font */
  position: relative;
  animation: slideUp 0.3s ease; /* Smooth entrance */
}

/* Close Button */
.goa-modal-content .goa-close {
  position: absolute;
  top: 15px;
  right: 15px;
  color: #aaa;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.2s ease;
}

.goa-modal-content .goa-close:hover,
.goa-modal-content .goa-close:focus {
  color: #333;
}

/* Header */
.goa-modal-content h2 {
  margin: 0 0 20px;
  font-size: 24px;
  color: #23282d; /* WP admin heading color */
  text-align: center;
  border-bottom: 1px solid #e5e5e5;
  padding-bottom: 15px;
}

/* Paragraph */
.goa-modal-content p {
  margin: 0 0 20px;
  color: #555;
  font-size: 14px;
  text-align: center;
}

/* Form Labels */
.goa-modal-content label {
  display: flex;
  align-items: center;
  margin: 12px 0;
  font-size: 14px;
  color: #333;
  cursor: pointer;
  transition: background 0.2s ease;
  padding: 8px;
  border-radius: 4px;
}

.goa-modal-content label:hover {
  background: #f8f8f8;
}

.goa-modal-content input[type="radio"] {
  margin-right: 10px;
  accent-color: #007cba; /* WP blue for radio buttons */
}

/* Textarea */
.goa-modal-content textarea {
  width: 100%;
  height: 100px;
  margin-top: 15px;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  resize: vertical;
  transition: border-color 0.2s ease;
}

.goa-modal-content textarea:focus {
  border-color: #007cba;
  outline: none;
}

/* Buttons Container */
.goa-modal-buttons {
  margin-top: 25px;
  text-align: right;
}

/* Buttons */
.goa-modal-buttons button {
  padding: 10px 20px;
  font-size: 14px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.1s ease;
  margin-left: 10px;
}

.goa-modal-buttons #goa-submit-feedback {
  background: #007cba; /* WP primary button color */
  color: #fff;
}

.goa-modal-buttons #goa-submit-feedback:hover {
  background: #006ba1;
  transform: translateY(-1px);
}

.goa-modal-buttons #goa-skip-feedback {
  background: #f1f1f1;
  color: #333;
}

.goa-modal-buttons #goa-skip-feedback:hover {
  background: #e0e0e0;
  transform: translateY(-1px);
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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