.fidn-km {
  --fidn-ink: #1c1c1c;
  --fidn-muted: #8a8a8a;
  --fidn-line: #e6e6e6;
  --fidn-field: #ececec;
  --fidn-bg: #fff;
  --fidn-soft: #f5f5f5;
  box-sizing: border-box;
  max-width: 40rem;
  margin: 0;
  padding: 1.75rem 1.85rem 1.5rem;
  color: var(--fidn-ink);
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.45;
  background: var(--fidn-bg);
  border: 1px solid #efefef;
  border-radius: 3px;
}

.fidn-km *,
.fidn-km *::before,
.fidn-km *::after {
  box-sizing: border-box;
}

.fidn-km-form {
  margin: 0;
}

.fidn-km-hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.fidn-km-trips {
  margin: 0 0 1.35rem;
  padding: 0;
  border: 0;
}

.fidn-km-trips legend {
  margin: 0 0 0.85rem;
  padding: 0;
  color: var(--fidn-ink);
  font-family: "Roboto Slab", Georgia, "Times New Roman", serif;
  font-size: 22px;
  font-weight: 400;
  line-height: 1.3;
}

.fidn-km-choice {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0 0 0.72rem;
  font-size: 1.02rem;
  cursor: pointer;
}

.fidn-km-choice input {
  width: 1.15rem;
  height: 1.15rem;
  margin: 0;
  accent-color: #111;
}

.fidn-km-choice:has(input:checked) span {
  font-weight: 650;
}

.fidn-km-field {
  margin: 0 0 1.15rem;
}

.fidn-km-field label {
  display: block;
  margin: 0 0 0.45rem;
  font-size: 0.98rem;
  font-weight: 500;
}

.fidn-km-field label span {
  font-weight: 400;
  color: #444;
}

.fidn-km input[type="text"],
.fidn-km input[type="email"],
.fidn-km input[type="tel"],
.fidn-km textarea {
  display: block;
  width: 100%;
  margin: 0;
  color: var(--fidn-ink);
  font: inherit;
  background: #fff;
  border: 1px solid var(--fidn-field);
  box-shadow: none;
}

.fidn-km input[type="text"],
.fidn-km input[type="email"],
.fidn-km input[type="tel"] {
  height: 3rem;
  padding: 0 1.1rem;
  border-radius: 3px;
}

.fidn-km textarea {
  min-height: 7.25rem;
  padding: 0.9rem 1.1rem;
  border-radius: 3px;
  resize: vertical;
}

.fidn-km input::placeholder,
.fidn-km textarea::placeholder {
  color: #b5b5b5;
}

.fidn-km input:focus,
.fidn-km textarea:focus {
  outline: 2px solid rgba(0, 0, 0, 0.12);
  outline-offset: 1px;
}

.fidn-km-actions {
  margin: 0.35rem 0 0;
}

.fidn-km-actions button {
  position: relative;
  display: inline-block;
  width: auto;
  height: auto;
  margin: 0;
  padding: 0.3em 1em;
  color: #fff;
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.7;
  cursor: pointer;
  background: #81d742;
  border: 2px solid #81d742;
  border-radius: 3px;
  transition: padding 0.2s ease;
}

.fidn-km-actions button::after {
  content: ">";
  position: absolute;
  top: 50%;
  right: 0.75em;
  opacity: 0;
  transform: translate(0.35em, -54%);
  transition: opacity 0.2s ease, transform 0.2s ease;
  font-weight: 400;
  line-height: 1;
  pointer-events: none;
}

.fidn-km-actions button:hover,
.fidn-km-actions button:focus-visible {
  padding: 0.3em 2em 0.3em 0.7em;
  color: #fff;
  background: #81d742;
  border-color: #81d742;
}

.fidn-km-actions button:hover::after,
.fidn-km-actions button:focus-visible::after {
  opacity: 1;
  transform: translate(0, -54%);
}

.fidn-km-status {
  margin: 0 0 1rem;
  font-size: 0.98rem;
}

.fidn-km-status.is-ok {
  padding: 0.9rem 1rem;
  color: var(--fidn-ink);
  font-weight: 400;
  background: #e8f8dd;
  border: 1px solid #81d742;
  border-radius: 3px;
}

.fidn-km-status.is-err {
  color: #8b1e1e;
}
