.fsm-fab {
  position: fixed;
  z-index: 999999;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(0,0,0,0.18);
  background: #111;
  color: #fff;
  font-weight: 600;
  font-size: 14px;
}

.fsm-fab .dashicons {
  font-size: 18px;
  width: 18px;
  height: 18px;
}

.fsm-modal {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: none;
}

.fsm-modal.is-open {
  display: block;
}

.fsm-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
}

.fsm-dialog {
  position: relative;
  width: min(92vw, 460px);
  margin: 10vh auto 0;
  background: #fff;
  border-radius: 16px;
  padding: 18px 18px 16px;
  box-shadow: 0 18px 50px rgba(0,0,0,0.35);
}

.fsm-close {
  position: absolute;
  top: 10px;
  right: 12px;
  border: 0;
  background: transparent;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.fsm-title {
  margin: 0 28px 8px 0;
  font-size: 20px;
}

.fsm-desc {
  margin: 0 0 14px 0;
  color: #444;
}

.fsm-field {
  margin: 10px 0;
}

.fsm-field label {
  display: block;
  font-size: 12px;
  color: #555;
  margin-bottom: 6px;
}

.fsm-field input {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid #ddd;
  border-radius: 10px;
  outline: none;
}

.fsm-field input:focus {
  border-color: #111;
}

.fsm-submit {
  width: 100%;
  margin-top: 10px;
  padding: 12px 14px;
  border: 0;
  border-radius: 12px;
  background: #111;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.fsm-msg {
  margin-top: 10px;
  font-size: 13px;
}

.fsm-msg.is-ok { color: #1a7f37; }
.fsm-msg.is-err { color: #b42318; }

/* Honeypot hidden */
.fsm-hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}