/* HawaiiGuide Booking Wallet — confirmations and day-of booking details. */

.hg-booking-wallet-slot {
  margin: 18px 0 0;
  scroll-margin-top: 112px;
}

.hg-bw-card {
  padding: 20px;
  color: #20352e;
  background: #fff;
  border: 1px solid #d8e4de;
  border-radius: 16px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}

.hg-bw-head {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  justify-content: space-between;
}

.hg-bw-head-copy {
  min-width: 0;
}

.hg-bw-kicker {
  margin: 0 0 2px;
  color: #0b7b4f;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.hg-bw-head h3 {
  margin: 0;
  color: #17352a;
  font-size: 22px;
  line-height: 1.2;
}

.hg-bw-sub {
  margin: 4px 0 0;
  color: #5d6f67;
  font-size: 14px;
  line-height: 1.45;
}

.hg-bw-primary,
.hg-bw-secondary,
.hg-bw-copy,
.hg-bw-text-btn {
  min-height: 40px;
  margin: 0;
  box-sizing: border-box;
  border-radius: 8px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  cursor: pointer;
}

.hg-bw-primary {
  padding: 9px 15px;
  color: #fff;
  background: #0b7b4f;
  border: 1px solid #0b7b4f;
  white-space: nowrap;
}

.hg-bw-primary:hover,
.hg-bw-primary:focus-visible {
  background: #086641;
}

.hg-bw-primary:disabled {
  opacity: 0.6;
  cursor: default;
}

.hg-bw-secondary,
.hg-bw-copy {
  padding: 8px 13px;
  color: #185e43;
  background: #fff;
  border: 1px solid #8ab9a4;
  white-space: nowrap;
}

.hg-bw-secondary:hover,
.hg-bw-copy:hover {
  background: #edf7f2;
}

.hg-bw-status {
  margin: 14px 0 0;
  padding: 9px 11px;
  color: #245e45;
  background: #edf8f2;
  border: 1px solid #c9e5d7;
  border-radius: 8px;
  font-size: 14px;
}

.hg-bw-form {
  margin-top: 18px;
  padding: 16px;
  background: #f7faf8;
  border: 1px solid #dbe7e1;
  border-radius: 12px;
}

.hg-bw-form h4 {
  margin: 0;
  color: #17352a;
  font-size: 18px;
}

.hg-bw-form-intro {
  margin: 4px 0 13px;
  color: #62736b;
  font-size: 13px;
  line-height: 1.45;
}

.hg-bw-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.hg-bw-field,
.hg-bw-flight-fields {
  min-width: 0;
}

.hg-bw-field-wide,
.hg-bw-flight-fields {
  grid-column: 1 / -1;
}

.hg-bw-label {
  display: block;
  margin: 0 0 5px;
  color: #344c42;
  font-size: 13px;
  font-weight: 800;
}

.hg-bw-card input[type="text"],
.hg-bw-card input[type="url"],
.hg-bw-card input[type="date"],
.hg-bw-card input[type="time"],
.hg-bw-card select,
.hg-bw-card textarea {
  width: 100%;
  height: auto;
  min-height: 42px;
  margin: 0;
  padding: 9px 10px;
  box-sizing: border-box;
  color: #20352e;
  background: #fff;
  border: 1px solid #bacac2;
  border-radius: 8px;
  box-shadow: none;
  font-family: inherit;
  font-size: 15px;
  line-height: 1.4;
}

.hg-bw-card textarea {
  min-height: 82px;
  resize: vertical;
}

.hg-bw-card input:focus,
.hg-bw-card select:focus,
.hg-bw-card textarea:focus,
.hg-bw-card button:focus-visible,
.hg-bw-card a:focus-visible {
  outline: 3px solid #f27a24;
  outline-offset: 2px;
}

.hg-bw-flight-fields {
  padding: 12px;
  background: #eef6f2;
  border: 1px solid #d2e5db;
  border-radius: 9px;
}

.hg-bw-flight-fields[hidden] {
  display: none;
}

.hg-bw-field-hint {
  margin: 7px 0 0;
  color: #5e7067;
  font-size: 12px;
  line-height: 1.45;
}

.hg-bw-form-status {
  min-height: 20px;
  margin: 9px 0 0;
  color: #9b2c2c;
  font-size: 13px;
  font-weight: 700;
}

.hg-bw-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 3px;
}

.hg-bw-suggestions {
  margin-top: 17px;
  padding: 13px;
  background: #fff9ed;
  border: 1px solid #ecd8ae;
  border-radius: 10px;
}

.hg-bw-suggestions h4 {
  margin: 0;
  color: #694819;
  font-size: 15px;
}

.hg-bw-suggestions > p {
  margin: 3px 0 10px;
  color: #7b6748;
  font-size: 13px;
  line-height: 1.4;
}

.hg-bw-suggestion-list {
  display: grid;
  gap: 8px;
}

.hg-bw-suggestion {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding-top: 8px;
  border-top: 1px solid #eadab9;
}

.hg-bw-suggestion strong,
.hg-bw-suggestion span {
  display: block;
}

.hg-bw-suggestion strong {
  color: #47371f;
  font-size: 14px;
}

.hg-bw-suggestion span {
  margin-top: 2px;
  color: #796c57;
  font-size: 12px;
}

.hg-bw-count {
  margin: 18px 0 9px;
  color: #617269;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hg-bw-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px;
}

.hg-bw-item {
  min-width: 0;
  padding: 14px;
  background: #fbfdfc;
  border: 1px solid #dce6e1;
  border-radius: 11px;
}

.hg-bw-item-head {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  justify-content: space-between;
}

.hg-bw-item-copy {
  min-width: 0;
}

.hg-bw-type {
  display: inline-block;
  margin-bottom: 4px;
  padding: 3px 7px;
  color: #1c6448;
  background: #e8f4ee;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1.2;
  text-transform: uppercase;
}

.hg-bw-item h4 {
  margin: 0;
  overflow-wrap: anywhere;
  color: #203b31;
  font-size: 16px;
  line-height: 1.3;
}

.hg-bw-meta,
.hg-bw-flight-route,
.hg-bw-detail,
.hg-bw-notes {
  margin: 5px 0 0;
  overflow-wrap: anywhere;
  color: #5d6d66;
  font-size: 13px;
  line-height: 1.45;
}

.hg-bw-flight-route {
  color: #254f3e;
  font-weight: 800;
}

.hg-bw-notes {
  padding-top: 8px;
  border-top: 1px dashed #d8e2dd;
}

.hg-bw-item-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 3px;
}

.hg-bw-text-btn {
  min-height: 32px;
  padding: 5px 7px;
  color: #24684c;
  background: transparent;
  border: 0;
}

.hg-bw-text-btn:hover {
  text-decoration: underline;
}

.hg-bw-remove {
  color: #9b3c3c;
}

.hg-bw-confirmation {
  display: flex;
  position: relative;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  padding: 9px 10px;
  background: #f0f5f2;
  border-radius: 8px;
}

.hg-bw-confirmation span,
.hg-bw-confirmation strong {
  display: block;
}

.hg-bw-confirmation span {
  color: #637169;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hg-bw-confirmation strong {
  margin-top: 1px;
  overflow-wrap: anywhere;
  color: #183c2e;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 14px;
}

.hg-bw-copy-status {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.hg-bw-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 10px;
}

.hg-bw-links a {
  color: #0b6d48;
  font-size: 13px;
  font-weight: 900;
}

.hg-bw-empty {
  margin-top: 17px;
  padding: 15px;
  color: #5f7168;
  background: #f7faf8;
  border: 1px dashed #bfcfc7;
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.5;
}

.hg-bw-safety {
  margin: 15px 0 0;
  color: #65746d;
  font-size: 12px;
  line-height: 1.5;
}

.hg-bw-safety i {
  margin-right: 5px;
  color: #3f6756;
}

@media (max-width: 680px) {
  .hg-bw-card {
    padding: 16px 14px;
  }

  .hg-bw-form-grid,
  .hg-bw-list {
    grid-template-columns: 1fr;
  }

  .hg-bw-head {
    align-items: stretch;
    flex-direction: column;
  }

  .hg-bw-add {
    align-self: flex-start;
  }

  .hg-bw-item-head {
    align-items: stretch;
    flex-direction: column;
  }

  .hg-bw-item-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 359px) {
  .hg-bw-add,
  .hg-bw-form-actions .hg-bw-primary,
  .hg-bw-form-actions .hg-bw-secondary {
    width: 100%;
    white-space: normal;
  }

  .hg-bw-suggestion,
  .hg-bw-confirmation {
    align-items: stretch;
    flex-direction: column;
  }

  .hg-bw-suggestion .hg-bw-secondary,
  .hg-bw-confirmation .hg-bw-copy {
    align-self: flex-start;
  }
}
