/* [TFH-006-H:TFH_RESERVATIONS_HOTEL:CSS-START] */
.tfh-hotel-screen {
  width: 100vw;
  height: 100dvh;
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  overflow: hidden;
  color: var(--tfh-ink-900);
  background:
    radial-gradient(circle at 88% 0%, rgba(47,127,196,0.13), transparent 30%),
    linear-gradient(135deg, #e9f0f6, #f8fafc 48%, #e9f1f7);
}

.tfh-module-header {
  min-width: 0;
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 22px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  color: #fff;
  background:
    radial-gradient(circle at 14% 0%, rgba(47,127,196,0.24), transparent 27%),
    linear-gradient(112deg, #06172c, #0d3156 64%, #09203c);
  box-shadow: 0 8px 26px rgba(5,22,43,0.2);
}

.tfh-module-heading {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 14px;
}

.tfh-module-heading > div {
  min-width: 0;
}

.tfh-module-heading span {
  color: var(--tfh-gold-300);
  font-size: 0.64rem;
  font-weight: 850;
  letter-spacing: 0.16em;
}

.tfh-module-heading h1 {
  overflow: hidden;
  margin: 3px 0 2px;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  line-height: 1.08;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.tfh-module-heading p {
  overflow: hidden;
  margin: 0;
  color: rgba(255,255,255,0.58);
  font-size: 0.74rem;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.tfh-module-back {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 12px;
  color: #fff;
  background: rgba(255,255,255,0.06);
  cursor: pointer;
}

.tfh-module-back:hover {
  background: rgba(255,255,255,0.12);
}

.tfh-module-back svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tfh-module-header-actions,
.tfh-module-footer-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
}

.tfh-record-badge {
  padding: 8px 11px;
  border: 1px solid rgba(216,181,110,0.28);
  border-radius: 999px;
  color: var(--tfh-gold-300);
  background: rgba(216,181,110,0.08);
  font-size: 0.65rem;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.tfh-primary-button,
.tfh-secondary-button {
  min-height: 42px;
  padding: 0 16px;
  border-radius: 11px;
  font-weight: 800;
  cursor: pointer;
}

.tfh-primary-button {
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  background: linear-gradient(135deg, var(--tfh-blue-600), var(--tfh-navy-800));
  box-shadow: 0 9px 18px rgba(8,27,49,0.16);
}

.tfh-primary-button:hover {
  filter: brightness(1.06);
}

.tfh-secondary-button {
  border: 1px solid rgba(17,49,84,0.14);
  color: #33465c;
  background: #fff;
}

.tfh-module-header .tfh-secondary-button {
  color: #fff;
  border-color: rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.06);
}

.tfh-hotel-body {
  min-height: 0;
  overflow-y: auto;
  padding: 20px clamp(16px, 2.6vw, 34px) 28px;
  scrollbar-width: thin;
}

.tfh-hotel-form {
  width: min(1280px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 16px;
}

.tfh-form-section {
  padding: 18px;
  border: 1px solid rgba(17,49,84,0.11);
  border-radius: 17px;
  background: rgba(255,255,255,0.96);
  box-shadow:
    0 11px 28px rgba(8,27,49,0.07),
    inset 0 1px 0 rgba(255,255,255,0.9);
}

.tfh-form-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 15px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--tfh-line);
}

.tfh-form-section-head span {
  color: var(--tfh-blue-600);
  font-size: 0.62rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.tfh-form-section-head h2 {
  margin: 3px 0 0;
  font-size: 1.12rem;
  letter-spacing: -0.02em;
}

.tfh-field-grid {
  display: grid;
  gap: 14px;
}

.tfh-field-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tfh-field-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tfh-form-field {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 7px;
}

.tfh-form-field > span {
  color: #31455c;
  font-size: 0.76rem;
  font-weight: 800;
}

.tfh-form-field > span b {
  color: var(--tfh-danger);
}

.tfh-form-field input,
.tfh-form-field textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(17,49,84,0.15);
  border-radius: 11px;
  outline: 0;
  color: var(--tfh-ink-900);
  background: #f9fbfd;
  transition:
    border-color 150ms ease,
    box-shadow 150ms ease,
    background 150ms ease;
}

.tfh-form-field input {
  height: 45px;
  padding: 0 12px;
}

.tfh-form-field textarea {
  min-height: 112px;
  resize: vertical;
  padding: 11px 12px;
  line-height: 1.5;
}

.tfh-form-field input:focus,
.tfh-form-field textarea:focus {
  border-color: rgba(47,127,196,0.7);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(47,127,196,0.10);
}

.tfh-field-help {
  color: #768596;
  font-size: 0.67rem;
  line-height: 1.4;
}

.tfh-combo-row {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.tfh-clairvoyance {
  min-width: 0;
  position: relative;
}

.tfh-clairvoyance > input {
  width: 100%;
}

.tfh-mode-button {
  min-width: 92px;
  height: 45px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 6px;
  padding: 0 10px;
  border: 1px solid rgba(29,95,159,0.17);
  border-radius: 11px;
  color: var(--tfh-blue-600);
  background: var(--tfh-blue-100);
  cursor: pointer;
}

.tfh-mode-button span {
  min-width: 28px;
  padding: 4px 5px;
  border-radius: 7px;
  color: #fff;
  background: var(--tfh-blue-600);
  font-size: 0.57rem;
  font-weight: 900;
}

.tfh-mode-button strong {
  font-size: 0.68rem;
}

.tfh-mode-button.is-static {
  color: var(--tfh-gold-600);
  border-color: rgba(185,135,50,0.18);
  background: rgba(185,135,50,0.09);
}

.tfh-mode-button.is-static span {
  background: var(--tfh-gold-500);
}

.tfh-suggestion-list {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 5px);
  z-index: 75;
  max-height: 280px;
  overflow-y: auto;
  padding: 6px;
  border: 1px solid rgba(17,49,84,0.16);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 18px 38px rgba(5,22,43,0.2);
}

.tfh-suggestion-item {
  width: 100%;
  display: grid;
  gap: 3px;
  padding: 10px 11px;
  border: 0;
  border-radius: 9px;
  color: var(--tfh-ink-900);
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.tfh-suggestion-item:hover,
.tfh-suggestion-item:focus {
  outline: 0;
  background: var(--tfh-blue-100);
}

.tfh-suggestion-item strong {
  font-size: 0.77rem;
}

.tfh-suggestion-item span,
.tfh-suggestion-empty {
  color: #738294;
  font-size: 0.65rem;
}

.tfh-suggestion-empty {
  padding: 13px;
  text-align: center;
}

.tfh-verbal-switch {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.tfh-verbal-switch input,
.tfh-billing-tile input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.tfh-switch-track {
  width: 42px;
  height: 24px;
  flex: 0 0 42px;
  position: relative;
  border-radius: 999px;
  background: #c8d0d9;
  transition: background 160ms ease;
}

.tfh-switch-track::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  left: 3px;
  top: 3px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.22);
  transition: transform 160ms ease;
}

.tfh-verbal-switch input:checked + .tfh-switch-track {
  background: var(--tfh-gold-500);
}

.tfh-verbal-switch input:checked + .tfh-switch-track::after {
  transform: translateX(18px);
}

.tfh-verbal-switch > span:last-child {
  display: grid;
}

.tfh-verbal-switch strong {
  font-size: 0.72rem;
}

.tfh-verbal-switch small {
  color: #778596;
  font-size: 0.61rem;
}

.tfh-billing-tile {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid rgba(17,49,84,0.13);
  border-radius: 13px;
  background: #f8fafc;
  cursor: pointer;
}

.tfh-billing-icon {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #748396;
  background: #e6ebf0;
}

.tfh-billing-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tfh-billing-tile > span:last-child {
  display: grid;
}

.tfh-billing-tile strong {
  font-size: 0.77rem;
}

.tfh-billing-tile small {
  color: #778596;
  font-size: 0.62rem;
}

.tfh-billing-tile.is-checked {
  border-color: rgba(24,121,78,0.26);
  background: rgba(24,121,78,0.06);
}

.tfh-billing-tile.is-checked .tfh-billing-icon {
  color: #fff;
  background: var(--tfh-success);
}

.tfh-module-footer {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 22px;
  border-top: 1px solid rgba(17,49,84,0.12);
  background: rgba(255,255,255,0.96);
  box-shadow: 0 -8px 24px rgba(8,27,49,0.07);
}

.tfh-module-message {
  min-width: 0;
  overflow: hidden;
  color: #607086;
  font-size: 0.76rem;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.tfh-module-message.is-error {
  color: var(--tfh-danger);
}

.tfh-module-message.is-success {
  color: var(--tfh-success);
  font-weight: 750;
}

.tfh-module-loading {
  position: absolute;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 13px;
  color: #fff;
  background: rgba(4,16,31,0.66);
  backdrop-filter: blur(5px);
}

.tfh-large-spinner {
  width: 42px;
  height: 42px;
  border: 3px solid rgba(255,255,255,0.32);
  border-top-color: #fff;
  border-radius: 50%;
  animation: tfh-spin 700ms linear infinite;
}

@media (max-width: 900px) {
  .tfh-field-grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tfh-billing-tile {
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  .tfh-module-header {
    align-items: flex-start;
    padding: 10px 12px;
  }

  .tfh-module-header-actions .tfh-secondary-button,
  .tfh-record-badge {
    display: none;
  }

  .tfh-module-header-actions .tfh-primary-button {
    min-width: 68px;
    padding: 0 10px;
    font-size: 0.68rem;
  }

  .tfh-hotel-body {
    padding: 12px 10px 20px;
  }

  .tfh-form-section {
    padding: 14px;
    border-radius: 14px;
  }

  .tfh-form-section-head {
    flex-direction: column;
  }

  .tfh-field-grid-2,
  .tfh-field-grid-3 {
    grid-template-columns: 1fr;
  }

  .tfh-billing-tile {
    grid-column: auto;
  }

  .tfh-module-footer {
    padding: 9px 10px;
  }

  .tfh-module-message {
    display: none;
  }

  .tfh-module-footer-actions {
    width: 100%;
  }

  .tfh-module-footer-actions button {
    flex: 1;
  }
}

@media (max-width: 430px) {
  .tfh-module-heading p,
  .tfh-module-heading span {
    display: none;
  }

  .tfh-module-heading h1 {
    font-size: 1rem;
  }

  .tfh-combo-row {
    grid-template-columns: 1fr;
  }

  .tfh-mode-button {
    width: 100%;
  }
}
/* [TFH-006-H:TFH_RESERVATIONS_HOTEL:CSS-END] */
/* [TFH-006-H:TFH_RESERVATIONS_HOTEL:V005-CSS-START] */
#tfhHotelDetailedDescription {
  font-size: 1rem;
  line-height: 1.62;
}

.tfh-result-dialog-layer {
  position: absolute;
  inset: 0;
  z-index: 95;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(4, 16, 31, 0.63);
  backdrop-filter: blur(7px);
}

.tfh-result-dialog {
  width: min(440px, 100%);
  position: relative;
  display: grid;
  justify-items: center;
  padding: 34px 30px 28px;
  border: 1px solid rgba(255,255,255,0.72);
  border-radius: 22px;
  color: var(--tfh-ink-900);
  background:
    radial-gradient(circle at 50% 0%, rgba(24,121,78,0.10), transparent 34%),
    linear-gradient(145deg, #ffffff, #f5f8fa);
  box-shadow: 0 30px 85px rgba(3,13,27,0.38);
  text-align: center;
  animation: tfh-result-dialog-in 190ms ease-out;
}

.tfh-result-dialog-layer.is-error .tfh-result-dialog {
  background:
    radial-gradient(circle at 50% 0%, rgba(180,35,24,0.10), transparent 34%),
    linear-gradient(145deg, #ffffff, #faf5f4);
}

@keyframes tfh-result-dialog-in {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
  }
}

.tfh-result-dialog-close {
  position: absolute;
  top: 11px;
  right: 12px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 9px;
  color: #68788b;
  background: rgba(17,49,84,0.05);
  font-size: 1.25rem;
  cursor: pointer;
}

.tfh-result-dialog-close:hover {
  color: var(--tfh-navy-900);
  background: rgba(17,49,84,0.10);
}

.tfh-result-dialog-icon {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  margin-bottom: 17px;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(145deg, #1b8b59, #126440);
  box-shadow:
    0 15px 28px rgba(24,121,78,0.22),
    inset 0 1px 0 rgba(255,255,255,0.26);
}

.tfh-result-dialog-layer.is-error .tfh-result-dialog-icon {
  background: linear-gradient(145deg, #c43d32, #92231b);
  box-shadow:
    0 15px 28px rgba(180,35,24,0.22),
    inset 0 1px 0 rgba(255,255,255,0.22);
}

.tfh-result-dialog-icon svg {
  width: 36px;
  height: 36px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tfh-result-error-icon {
  display: none;
}

.tfh-result-dialog-layer.is-error .tfh-result-success-icon {
  display: none;
}

.tfh-result-dialog-layer.is-error .tfh-result-error-icon {
  display: block;
}

.tfh-result-dialog-kicker {
  color: var(--tfh-success);
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.tfh-result-dialog-layer.is-error .tfh-result-dialog-kicker {
  color: var(--tfh-danger);
}

.tfh-result-dialog h2 {
  margin: 7px 0 8px;
  font-size: 1.55rem;
  letter-spacing: -0.035em;
}

.tfh-result-dialog p {
  max-width: 360px;
  margin: 0;
  color: var(--tfh-ink-600);
  font-size: 0.84rem;
  line-height: 1.55;
}

.tfh-result-dialog-reference {
  min-height: 20px;
  margin-top: 12px;
  color: var(--tfh-blue-600);
  font-size: 0.79rem;
}

.tfh-result-dialog-button {
  min-width: 145px;
  margin-top: 18px;
}

@media (max-width: 480px) {
  .tfh-result-dialog {
    padding: 30px 20px 24px;
    border-radius: 18px;
  }

  .tfh-result-dialog-icon {
    width: 62px;
    height: 62px;
  }
}
/* [TFH-006-H:TFH_RESERVATIONS_HOTEL:V005-CSS-END] */
/* [TFH-006-H:TFH_RESERVATIONS_HOTEL:V006-CSS-START] */
.tfh-billing-tile {
  position: relative;
  overflow: hidden;
}

.tfh-billing-tile input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  opacity: 0;
  pointer-events: none;
  clip-path: inset(50%);
}

.tfh-suggestion-list.is-dropup {
  top: auto;
  bottom: calc(100% + 5px);
}

.tfh-suggestion-list {
  max-height: min(280px, calc(100dvh - 120px));
}
/* [TFH-006-H:TFH_RESERVATIONS_HOTEL:V006-CSS-END] */
/* [TFH-006-H:TFH_RESERVATIONS_HOTEL:V013-CSS-START] */
#tfhHotelVerbalControl.is-hidden {
  display: none !important;
}
/* [TFH-006-H:TFH_RESERVATIONS_HOTEL:V013-CSS-END] */
