.falselogics-support-page {
  max-width: 900px;
}

.falselogics-support-intro {
  background: #fff;
  border: 1px solid #ccd0d4;
  border-radius: 8px;
  padding: 20px;
  margin-top: 16px;
}

.falselogics-support-email {
  margin: 12px 0 16px;
}

.falselogics-support-email a {
  text-decoration: none;
}

.falselogics-support-launcher-wrap {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 9999;
}

.falselogics-support-launcher {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  padding: 10px 14px;
  background: #2271b1;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
}

.falselogics-support-launcher .dashicons {
  font-size: 18px;
  width: 18px;
  height: 18px;
}

.falselogics-support-launcher:hover,
.falselogics-support-launcher:focus {
  background: #135e96;
  color: #fff;
}

.falselogics-support-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
}

.falselogics-support-modal.is-open {
  display: block;
}

.falselogics-support-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.falselogics-support-modal__dialog {
  position: relative;
  width: min(680px, calc(100% - 28px));
  max-height: calc(100vh - 40px);
  overflow: auto;
  margin: 20px auto;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.24);
}

.falselogics-support-modal__header,
.falselogics-support-modal__footer {
  padding: 14px 16px;
  border-bottom: 1px solid #ececec;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.falselogics-support-modal__footer {
  border-top: 1px solid #ececec;
  border-bottom: 0;
}

.falselogics-support-modal__body {
  padding: 16px;
}

.falselogics-support-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.falselogics-support-modal__body label {
  display: block;
  margin: 10px 0 6px;
  font-weight: 600;
}

.falselogics-support-modal__body input,
.falselogics-support-modal__body textarea {
  width: 100%;
}

.falselogics-support-modal__body textarea {
  resize: vertical;
}

.falselogics-support-modal__close {
  border: 0;
  background: transparent;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.falselogics-support-modal__status {
  margin-top: 12px;
  font-weight: 600;
}

.falselogics-support-modal__status.is-error {
  color: #b32d2e;
}

.falselogics-support-modal__status.is-success {
  color: #008a20;
}

#falselogics-support-submit.is-busy {
  opacity: 0.7;
  pointer-events: none;
}

body.falselogics-support-no-scroll {
  overflow: hidden;
}

@media (max-width: 782px) {
  .falselogics-support-modal__dialog {
    width: calc(100% - 16px);
    margin: 8px auto;
    max-height: calc(100vh - 16px);
  }

  .falselogics-support-grid {
    grid-template-columns: 1fr;
  }

  .falselogics-support-launcher-wrap {
    right: 12px;
    bottom: 12px;
  }

  .falselogics-support-launcher {
    padding: 10px 12px;
  }
}
