/* Enjoy Widget – minimal standalone styles */

/* Trigger button – bottom-right of page */
.enjoy-trigger-wrap {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 9999;
}

.enjoy-trigger-btn {
  appearance: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 999px;
  padding: 0.55rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.92);
  font-family: inherit;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.22);
  transition: transform 140ms ease, box-shadow 140ms ease, border-color 140ms ease;
}

.enjoy-trigger-btn:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.32);
}

.enjoy-trigger-btn:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.18), 0 14px 28px rgba(0, 0, 0, 0.32);
}

.enjoy-popup-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999999;
}

.enjoy-popup {
  background: #111;
  border-radius: 12px;
  padding: 22px 18px;
  width: 92%;
  max-width: 380px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
  color: #fff;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  position: relative;
}

.enjoy-popup-title {
  font-size: 18px;
  margin: 0 0 8px;
}

.enjoy-popup-text {
  font-size: 14px;
  margin: 0 0 12px;
  opacity: 0.92;
  line-height: 1.35;
}

.enjoy-popup-close {
  position: absolute;
  top: 10px;
  right: 12px;
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.75);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  padding: 6px 8px;
}

.enjoy-popup-close:hover,
.enjoy-popup-close:focus {
  color: #fff;
  outline: none;
}

.enjoy-popup-input,
.enjoy-popup-textarea {
  width: 100%;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  padding: 10px 10px;
  font-family: inherit;
  font-size: 14px;
  box-sizing: border-box;
}

.enjoy-popup-input {
  margin-bottom: 10px;
}

.enjoy-popup-textarea {
  min-height: 110px;
  resize: vertical;
  margin-bottom: 14px;
}

.enjoy-popup-input:focus,
.enjoy-popup-textarea:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.55);
}

.enjoy-popup-input.enjoy-popup-input-error {
  border-color: rgba(220, 80, 80, 0.85);
}

.enjoy-popup-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.enjoy-popup-send {
  appearance: none;
  border: 0;
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  background: #3b82f6;
  color: #fff;
}

.enjoy-popup-send:hover {
  background: #2563eb;
}

.enjoy-popup-send:disabled {
  opacity: 0.7;
  cursor: default;
}

