@import url('corner-fabs.css');
@import url('muveup-dialog.css');

/* IT-Support / Fehler-melden-Widget: Modal (FAB-Styles in corner-fabs.css). */

.muveup-support-overlay {
  position: fixed;
  inset: 0;
  z-index: 2147483001;
  background: rgba(20, 12, 35, 0.55);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  font-family: 'Montserrat', Arial, sans-serif;
}

.muveup-support-overlay.is-open {
  display: flex;
}

.muveup-support-dialog {
  width: 100%;
  max-width: 460px;
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
  color: #333;
  box-sizing: border-box;
}

.muveup-support-dialog h2 {
  margin: 0 0 6px;
  font-size: 22px;
  color: #8a4af3;
  font-weight: 700;
}

.muveup-support-dialog .muveup-support-sub {
  margin: 0 0 18px;
  font-size: 14px;
  color: #777;
  line-height: 1.5;
}

.muveup-support-field {
  margin-bottom: 16px;
}

.muveup-support-field label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #555;
  margin-bottom: 6px;
}

.muveup-support-field select,
.muveup-support-field input[type="email"],
.muveup-support-field textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 11px 12px;
  border: 1px solid #d9d4e4;
  border-radius: 10px;
  font-family: inherit;
  font-size: 15px;
  color: #333;
  background: #fcfbff;
}

.muveup-support-field textarea {
  min-height: 110px;
  resize: vertical;
}

.muveup-support-field select:focus,
.muveup-support-field input[type="email"]:focus,
.muveup-support-field textarea:focus {
  outline: none;
  border-color: #8a4af3;
  box-shadow: 0 0 0 3px rgba(138, 74, 243, 0.15);
}

/* Honeypot: für Menschen unsichtbar. */
.muveup-support-hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.muveup-support-hint {
  font-size: 12px;
  color: #999;
  margin: -6px 0 16px;
  line-height: 1.5;
}

.muveup-support-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: nowrap;
  margin-top: 8px;
}

.muveup-support-actions .muveup-dialog-btn {
  width: auto;
  max-width: none;
  flex: 0 0 auto;
  box-shadow: none;
  transform: none;
}

.muveup-support-feedback {
  font-size: 14px;
  line-height: 1.5;
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 10px;
  display: none;
}

.muveup-support-feedback.is-error {
  display: block;
  background: #fdecec;
  color: #b3261e;
}

.muveup-support-feedback.is-success {
  display: block;
  background: #e8f6ec;
  color: #1e7a3d;
}
