/* FahamPesa Hotel workspace, aligned with the Android hospitality reference. */

.hotel-workspace {
  min-height: calc(100vh - 76px);
  margin: -30px;
  background: #f5f8fd;
  color: #17243a;
}

.hotel-brandbar {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 28px;
  background: linear-gradient(100deg, #0b63f5 0%, #0a52e7 72%, #094bd7 100%);
  color: #fff;
}

.hotel-brand-title {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
}

.hotel-brand-title > span:last-child,
.hotel-brand-title strong,
.hotel-brand-title small {
  display: block;
}

.hotel-brand-title strong {
  font-size: 1.28rem;
  line-height: 1.15;
  letter-spacing: -.02em;
}

.hotel-brand-title small {
  margin-top: 4px;
  color: rgba(255,255,255,.82);
  font-size: .84rem;
  font-weight: 600;
}

.hotel-brand-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 12px;
  background: rgba(255,255,255,.14);
}

.hotel-brand-icon .icon {
  width: 25px;
  height: 25px;
}

.hotel-branch-chip {
  max-width: 280px;
  overflow: hidden;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  color: rgba(255,255,255,.92);
  font-size: .8rem;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hotel-module-tabs {
  min-height: 66px;
  display: flex;
  align-items: stretch;
  gap: 4px;
  padding: 0 20px;
  overflow-x: auto;
  border-bottom: 1px solid #dfe7f2;
  background: #fff;
  scrollbar-width: none;
}

.hotel-module-tabs::-webkit-scrollbar {
  display: none;
}

.hotel-module-tabs button {
  position: relative;
  min-width: 102px;
  min-height: 66px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 0;
  background: transparent;
  color: #506077;
  font-size: .78rem;
  font-weight: 720;
  white-space: nowrap;
}

.hotel-module-tabs button .icon {
  width: 19px;
  height: 19px;
}

.hotel-module-tabs button::after {
  content: "";
  position: absolute;
  left: 17px;
  right: 17px;
  bottom: 0;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: transparent;
}

.hotel-module-tabs button:hover {
  color: #0b63f5;
  background: #f7faff;
}

.hotel-module-tabs button.active {
  color: #0b63f5;
}

.hotel-module-tabs button.active::after {
  background: #0b63f5;
}

.hotel-module-body {
  width: min(1500px, 100%);
  margin: 0 auto;
  padding: 24px;
}

.hotel-section-heading,
.hotel-view-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.hotel-section-heading h1,
.hotel-view-heading h1,
.hotel-panel h2,
.hotel-record-card h3 {
  margin: 0;
  color: #18263c;
}

.hotel-section-heading h1,
.hotel-view-heading h1 {
  font-size: 1.36rem;
  letter-spacing: -.025em;
}

.hotel-section-heading p,
.hotel-view-heading p,
.hotel-panel p,
.hotel-record-card p {
  margin: 3px 0 0;
  color: #75849a;
}

.hotel-section-heading p,
.hotel-view-heading p,
.hotel-panel p {
  font-size: .82rem;
}

.hotel-kpi-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.hotel-kpi-card,
.hotel-panel,
.hotel-record-card,
.hotel-housekeeping-card {
  border: 1px solid #dfe7f1;
  background: #fff;
  box-shadow: 0 5px 18px rgba(34, 64, 105, .045);
}

.hotel-kpi-card {
  min-height: 118px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 17px;
  border-radius: 16px;
}

.hotel-kpi-card > div {
  min-width: 0;
}

.hotel-kpi-card > div > span,
.hotel-kpi-card strong,
.hotel-kpi-card small {
  display: block;
}

.hotel-kpi-card > div > span {
  color: #41516a;
  font-size: .84rem;
  font-weight: 700;
}

.hotel-kpi-card strong {
  margin-top: 2px;
  color: #17243a;
  font-size: 1.62rem;
  line-height: 1.05;
}

.hotel-kpi-card small {
  margin-top: 6px;
  color: #7d8a9d;
  font-size: .72rem;
}

.hotel-kpi-icon {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
}

.hotel-kpi-icon .icon {
  width: 21px;
  height: 21px;
}

.hotel-kpi-icon.tone-blue {
  background: #e7f1ff;
  color: #1769e8;
}

.hotel-kpi-icon.tone-green {
  background: #e4f7ef;
  color: #159768;
}

.hotel-kpi-icon.tone-red {
  background: #fdebed;
  color: #d6465a;
}

.hotel-kpi-icon.tone-purple {
  background: #eee9ff;
  color: #6b49dc;
}

.hotel-overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: 14px;
  margin-top: 14px;
}

.hotel-panel {
  min-width: 0;
  border-radius: 17px;
  padding: 18px;
}

.hotel-panel header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.hotel-panel h2 {
  font-size: 1rem;
}

.hotel-occupancy-total {
  display: block;
  margin-top: 18px;
  color: #26374f;
  font-size: 1.03rem;
}

.hotel-progress {
  height: 7px;
  margin: 17px 0 18px;
  overflow: hidden;
  border-radius: 999px;
  background: #e8eef6;
}

.hotel-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #0b63f5;
  transition: width .2s ease;
}

.hotel-legend {
  display: grid;
  gap: 10px;
}

.hotel-legend > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: #596981;
  font-size: .84rem;
}

.hotel-legend > div > span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.hotel-legend i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.hotel-legend i.occupied {
  background: #1769e8;
}

.hotel-legend i.available {
  background: #1ba66f;
}

.hotel-legend i.unavailable {
  background: #d98b18;
}

.hotel-activity-list,
.hotel-inhouse-list {
  display: grid;
  gap: 2px;
  margin-top: 10px;
}

.hotel-activity-row,
.hotel-guest-row {
  min-width: 0;
  display: grid;
  align-items: center;
  gap: 11px;
  padding: 11px 4px;
  border-bottom: 1px solid #edf1f6;
}

.hotel-activity-row {
  grid-template-columns: auto minmax(0, 1fr) auto;
}

.hotel-guest-row {
  grid-template-columns: auto minmax(0, 1fr) auto;
}

.hotel-activity-row:last-child,
.hotel-guest-row:last-child {
  border-bottom: 0;
}

.hotel-activity-row strong,
.hotel-activity-row small,
.hotel-guest-row strong,
.hotel-guest-row small {
  display: block;
  min-width: 0;
}

.hotel-activity-row strong,
.hotel-guest-row strong {
  overflow: hidden;
  color: #27374f;
  font-size: .82rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hotel-activity-row small,
.hotel-guest-row small {
  margin-top: 2px;
  overflow: hidden;
  color: #8490a1;
  font-size: .72rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hotel-activity-row > span:last-child,
.hotel-guest-row > span:last-child {
  color: #78879a;
  font-size: .72rem;
  white-space: nowrap;
}

.hotel-activity-icon,
.hotel-room-icon {
  display: grid;
  place-items: center;
  color: #0b63f5;
  background: #eaf3ff;
}

.hotel-activity-icon {
  width: 37px;
  height: 37px;
  border-radius: 50%;
}

.hotel-room-icon {
  width: 38px;
  height: 38px;
  border-radius: 11px;
}

.hotel-activity-icon .icon,
.hotel-room-icon .icon {
  width: 18px;
  height: 18px;
}

.hotel-avatar {
  width: 37px;
  height: 37px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #eaf3ff;
  color: #0b63f5;
  font-size: .74rem;
  font-weight: 800;
}

.hotel-actions-panel {
  grid-row: span 2;
}

.hotel-quick-actions {
  display: grid;
  gap: 9px;
  margin-top: 10px;
}

.hotel-action-button {
  min-height: 68px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 11px 13px;
  border: 1px solid #dce9fa;
  border-radius: 12px;
  background: #eef5ff;
  color: #263a56;
  text-align: left;
}

.hotel-action-button:hover {
  border-color: #bfd8fb;
  background: #e7f1ff;
}

.hotel-action-button > span:first-child {
  color: #0b63f5;
}

.hotel-action-button > span:first-child .icon {
  width: 20px;
  height: 20px;
}

.hotel-action-button strong,
.hotel-action-button small {
  display: block;
}

.hotel-action-button strong {
  font-size: .82rem;
}

.hotel-action-button small {
  margin-top: 4px;
  color: #75869e;
  font-size: .7rem;
}

.hotel-action-arrow {
  width: 16px;
  height: 16px;
  color: #7d91ad;
}

.hotel-list-view {
  min-width: 0;
}

.hotel-card-grid,
.hotel-housekeeping-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(245px, 1fr));
  gap: 13px;
}

.hotel-record-card {
  min-width: 0;
  display: grid;
  gap: 13px;
  border-radius: 15px;
  padding: 15px;
}

.hotel-record-card h3 {
  font-size: .96rem;
}

.hotel-record-card p {
  font-size: .76rem;
}

.hotel-record-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.hotel-status {
  max-width: 145px;
  overflow: hidden;
  padding: 5px 8px;
  border-radius: 999px;
  background: #edf2f7;
  color: #5f6d80;
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .02em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hotel-status.status-available {
  background: #e7f7ef;
  color: #16845b;
}

.hotel-status.status-occupied,
.hotel-status.status-checked-in {
  background: #e8f1ff;
  color: #1765d5;
}

.hotel-status.status-reserved {
  background: #eee9ff;
  color: #6743c8;
}

.hotel-status.status-out-of-service,
.hotel-status.status-cancelled,
.hotel-status.status-no-show {
  background: #fff0e5;
  color: #b46214;
}

.hotel-status.status-checked-out {
  background: #edf2f7;
  color: #66758a;
}

.hotel-price {
  color: #1c2b42;
  font-size: .95rem;
}

.hotel-price small {
  color: #7b899b;
  font-size: .7rem;
  font-weight: 600;
}

.hotel-card-button,
.hotel-primary-button,
.hotel-secondary-button,
.hotel-link-button {
  min-height: 39px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border-radius: 10px;
  padding: 8px 12px;
  font-size: .76rem;
  font-weight: 760;
}

.hotel-card-button,
.hotel-secondary-button {
  border: 1px solid #d8e2ee;
  background: #fff;
  color: #33445c;
}

.hotel-card-button:hover,
.hotel-secondary-button:hover {
  border-color: #bfcddd;
  background: #f9fbfd;
}

.hotel-primary-button {
  border: 1px solid #0b63f5;
  background: #0b63f5;
  color: #fff;
}

.hotel-primary-button:hover {
  border-color: #0955d9;
  background: #0955d9;
}

.hotel-primary-button .icon,
.hotel-secondary-button .icon {
  width: 17px;
  height: 17px;
}

.hotel-link-button {
  border: 0;
  background: transparent;
  color: #49617f;
}

.hotel-link-button.danger {
  color: #bd3d4f;
}

.hotel-record-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hotel-muted-action {
  color: #8591a2;
  font-size: .74rem;
}

.hotel-stay-dates {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 8px;
  align-items: center;
  color: #5f6f85;
  font-size: .7rem;
}

.hotel-stay-dates span {
  min-width: 0;
  padding: 8px;
  border-radius: 9px;
  background: #f6f8fb;
  text-align: center;
}

.hotel-stay-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.hotel-stay-summary span {
  display: grid;
  gap: 3px;
  padding: 9px;
  border-radius: 10px;
  background: #f6f8fb;
  color: #8190a4;
  font-size: .66rem;
}

.hotel-stay-summary strong {
  color: #33445e;
  font-size: .73rem;
}

.hotel-housekeeping-card {
  min-width: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  border-radius: 15px;
  padding: 15px;
}

.hotel-housekeeping-card strong,
.hotel-housekeeping-card small {
  display: block;
}

.hotel-housekeeping-card strong {
  color: #27374f;
  font-size: .86rem;
}

.hotel-housekeeping-card small {
  margin-top: 2px;
  color: #8490a1;
  font-size: .72rem;
}

.hotel-empty-state {
  min-height: 180px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  padding: 28px;
  color: #75869e;
  text-align: center;
}

.hotel-empty-state > span {
  color: #0b63f5;
}

.hotel-empty-state .icon {
  width: 34px;
  height: 34px;
}

.hotel-empty-state p {
  margin: 0;
  font-size: .8rem;
}

@media (min-width: 1100px) {
  .hotel-guests-panel {
    grid-column: 1;
  }

  .hotel-actions-panel {
    grid-column: 2;
    grid-row: 2 / span 2;
  }
}

@media (max-width: 1260px) {
  .hotel-kpi-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .hotel-workspace {
    margin: -22px;
  }

  .hotel-module-body {
    padding: 18px;
  }

  .hotel-overview-grid {
    grid-template-columns: 1fr;
  }

  .hotel-actions-panel {
    grid-row: auto;
  }
}

@media (max-width: 720px) {
  .hotel-workspace {
    margin: -16px;
    min-height: 100vh;
  }

  .hotel-brandbar {
    min-height: 76px;
    padding: 14px 16px;
  }

  .hotel-branch-chip {
    display: none;
  }

  .hotel-module-tabs {
    min-height: 61px;
    padding: 0 8px;
  }

  .hotel-module-tabs button {
    min-width: 84px;
    min-height: 61px;
    font-size: .7rem;
  }

  .hotel-module-body {
    padding: 14px;
  }

  .hotel-section-heading,
  .hotel-view-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .hotel-kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .hotel-kpi-card {
    min-height: 104px;
    padding: 13px;
  }

  .hotel-kpi-icon {
    width: 38px;
    height: 38px;
  }

  .hotel-kpi-card strong {
    font-size: 1.35rem;
  }

  .hotel-panel {
    padding: 14px;
  }

  .hotel-card-grid,
  .hotel-housekeeping-grid {
    grid-template-columns: 1fr;
  }

  .hotel-housekeeping-card {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .hotel-housekeeping-card .hotel-status {
    grid-column: 1 / -1;
    justify-self: start;
  }
}

@media (max-width: 430px) {
  .hotel-kpi-grid {
    grid-template-columns: 1fr;
  }

  .hotel-kpi-card {
    min-height: 90px;
  }

  .hotel-stay-dates,
  .hotel-stay-summary {
    grid-template-columns: 1fr;
  }
}


/* Hotel Android reference pages and dialogs */
.hotel-checkin-page,
.hotel-rooms-page {
  min-height: 620px;
}

.hotel-checkin-review-card {
  overflow: hidden;
  border: 1px solid #dce5ef;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 5px 18px rgba(34, 64, 105, .04);
}

.hotel-checkin-review-header {
  min-height: 92px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 19px 22px;
  border-bottom: 1px solid #e7edf5;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

.hotel-review-heading-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 14px;
  background: #e9f3ff;
  color: #0b63f5;
}

.hotel-review-heading-icon .icon {
  width: 24px;
  height: 24px;
}

.hotel-checkin-review-header h1,
.hotel-checkin-review-header p {
  margin: 0;
}

.hotel-checkin-review-header h1 {
  color: #1e2d45;
  font-size: 1.25rem;
  letter-spacing: -.02em;
}

.hotel-checkin-review-header p {
  margin-top: 4px;
  color: #74839a;
  font-size: .8rem;
}

.hotel-checkin-review-body {
  min-height: 390px;
  padding: 28px 34px 30px;
  background: #fff;
}

.hotel-checkin-empty {
  min-height: 220px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  text-align: center;
}

.hotel-checkin-empty-icon {
  width: 92px;
  height: 92px;
  display: grid;
  place-items: center;
  border-radius: 24px;
  background: #eaf3ff;
  color: #0966ef;
}

.hotel-checkin-empty-icon .icon {
  width: 45px;
  height: 45px;
}

.hotel-checkin-empty h2 {
  margin: 8px 0 0;
  color: #1e2e47;
  font-size: 1.15rem;
}

.hotel-checkin-empty p {
  margin: 0;
  color: #718198;
  font-size: .8rem;
}

.hotel-checkin-about {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 18px;
  padding: 16px 18px;
  border: 1px solid #dce9fa;
  border-radius: 14px;
  background: #eef5ff;
  color: #24415f;
}

.hotel-checkin-about > span {
  color: #0b63f5;
}

.hotel-checkin-about .icon {
  width: 22px;
  height: 22px;
}

.hotel-checkin-about strong,
.hotel-checkin-about p {
  display: block;
  margin: 0;
}

.hotel-checkin-about strong {
  font-size: .82rem;
}

.hotel-checkin-about p {
  margin-top: 3px;
  color: #71839b;
  font-size: .72rem;
}

.hotel-review-request-list {
  display: grid;
  gap: 11px;
}

.hotel-review-request-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 13px;
  padding: 15px;
  border: 1px solid #e0e8f1;
  border-radius: 14px;
  background: #fbfdff;
}

.hotel-guest-avatar {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e7f1ff;
  color: #0b63f5;
  font-size: .72rem;
  font-weight: 800;
}

.hotel-review-request-copy {
  min-width: 0;
}

.hotel-review-request-copy strong,
.hotel-review-request-copy small {
  display: block;
}

.hotel-review-request-copy strong {
  color: #263850;
  font-size: .84rem;
}

.hotel-review-request-copy small {
  margin-top: 3px;
  overflow: hidden;
  color: #7a899c;
  font-size: .7rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hotel-review-request-actions {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.hotel-arrivals-section {
  margin-top: 18px;
}

.hotel-room-reference-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(285px, 1fr));
  gap: 14px;
  padding-bottom: 84px;
}

.hotel-room-reference-card {
  min-height: 170px;
  display: grid;
  gap: 12px;
  padding: 17px;
  border: 1px solid #dbe5ef;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 5px 18px rgba(34, 64, 105, .04);
}

.hotel-room-reference-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
}

.hotel-room-reference-head h3,
.hotel-room-reference-head p {
  margin: 0;
}

.hotel-room-reference-head h3 {
  color: #1f3049;
  font-size: .97rem;
}

.hotel-room-reference-head p {
  margin-top: 3px;
  color: #7d8b9e;
  font-size: .75rem;
}

.hotel-room-reference-rate {
  display: block;
  color: #0a65df;
  font-size: 1.07rem;
  letter-spacing: -.01em;
}

.hotel-room-reference-caption {
  margin-top: -9px;
  color: #8996a7;
  font-size: .68rem;
}

.hotel-room-reference-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: auto;
}

.hotel-status i {
  width: 7px;
  height: 7px;
  display: inline-block;
  margin-right: 5px;
  border-radius: 50%;
  background: currentColor;
}

.hotel-add-room-fab {
  position: sticky;
  left: 100%;
  bottom: 20px;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 18px;
  padding: 10px 17px;
  border: 1px solid #d8e2ef;
  border-radius: 14px;
  background: #fff;
  color: #194e90;
  box-shadow: 0 10px 28px rgba(37, 73, 113, .15);
  font-size: .82rem;
  font-weight: 760;
}

.hotel-add-room-fab span {
  color: #0b63f5;
  font-size: 1.15rem;
  line-height: 1;
}

.hotel-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(25, 41, 63, .34);
  backdrop-filter: blur(2px);
}

.hotel-modal {
  width: min(760px, 96vw);
  max-height: min(88vh, 900px);
  overflow: hidden;
  border: 1px solid #dce5ef;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 28px 80px rgba(19, 38, 65, .24);
}

.hotel-add-room-modal {
  width: min(700px, 96vw);
}

.hotel-reserve-modal {
  width: min(790px, 96vw);
}

.hotel-modal-header {
  min-height: 88px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 13px;
  padding: 18px 20px;
  border-bottom: 1px solid #e6edf5;
  background: #fff;
}

.hotel-modal-title-icon {
  width: 45px;
  height: 45px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #eaf3ff;
  color: #0b63f5;
}

.hotel-modal-title-icon .icon {
  width: 23px;
  height: 23px;
}

.hotel-modal-header h2,
.hotel-modal-header p {
  margin: 0;
}

.hotel-modal-header h2 {
  color: #1e2e47;
  font-size: 1.15rem;
  letter-spacing: -.02em;
}

.hotel-modal-header p {
  margin-top: 3px;
  color: #7a899c;
  font-size: .76rem;
}

.hotel-modal-close {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #66758a;
  font-size: 1.4rem;
  line-height: 1;
}

.hotel-modal-close:hover {
  background: #f2f6fa;
}

.hotel-modal form {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  max-height: calc(min(88vh, 900px) - 88px);
}

.hotel-modal-body {
  overflow-y: auto;
  padding: 22px 22px 18px;
  background: #fff;
}

.hotel-form-field {
  display: grid;
  gap: 7px;
  margin-bottom: 16px;
  color: #31415b;
  font-size: .76rem;
  font-weight: 700;
}

.hotel-input-shell {
  min-height: 50px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 0 13px;
  border: 1px solid #d9e3ef;
  border-radius: 12px;
  background: #fff;
  color: #0b63f5;
}

.hotel-input-shell:focus-within {
  border-color: #9ec5f7;
  box-shadow: 0 0 0 3px rgba(11, 99, 245, .08);
}

.hotel-input-shell .icon {
  width: 18px;
  height: 18px;
}

.hotel-input-shell b {
  min-width: 18px;
  text-align: center;
  color: #0b63f5;
  font-size: 1.04rem;
}

.hotel-input-shell input,
.hotel-input-shell select {
  width: 100%;
  min-width: 0;
  height: 46px;
  border: 0;
  outline: 0;
  background: transparent;
  color: #26364d;
  font-size: .82rem;
}

.hotel-input-shell input::placeholder {
  color: #9aa7b6;
}

.hotel-input-shell input[readonly] {
  color: #465970;
}

.hotel-input-shell em {
  color: #5875a1;
  font-size: .68rem;
  font-style: normal;
  font-weight: 760;
}

.hotel-field-note {
  margin-top: -2px;
  color: #8996a8;
  font-size: .66rem;
  font-weight: 500;
}

.hotel-modal-section-title {
  margin: 4px 0 12px;
  color: #263850;
  font-size: .83rem;
  font-weight: 800;
}

.hotel-modal-two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.hotel-room-change-field {
  display: grid;
  gap: 6px;
  margin: 12px 0 18px;
  color: #52627a;
  font-size: .7rem;
  font-weight: 700;
}

.hotel-room-change-field select {
  min-height: 44px;
  width: 100%;
  border: 1px solid #dce5ef;
  border-radius: 11px;
  padding: 0 11px;
  background: #fff;
  color: #2d4059;
}

.hotel-reserve-room-summary {
  min-height: 78px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 13px 14px;
  border: 1px solid #dce5ef;
  border-radius: 14px;
  background: #fbfdff;
}

.hotel-reserve-room-summary strong,
.hotel-reserve-room-summary small,
.hotel-reserve-room-summary b {
  display: block;
}

.hotel-reserve-room-summary strong {
  color: #26374f;
  font-size: .84rem;
}

.hotel-reserve-room-summary small {
  margin-top: 2px;
  color: #7d8b9e;
  font-size: .69rem;
}

.hotel-reserve-room-summary b {
  margin-top: 3px;
  color: #0b63f5;
  font-size: .73rem;
}

.hotel-reserve-total-box {
  min-height: 64px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  margin: 3px 0 16px;
  padding: 12px 14px;
  border: 1px solid #dce9fa;
  border-radius: 13px;
  background: #eef5ff;
}

.hotel-reserve-total-icon {
  color: #0b63f5;
}

.hotel-reserve-total-icon .icon {
  width: 20px;
  height: 20px;
}

.hotel-reserve-total-box strong,
.hotel-reserve-total-box small {
  display: block;
}

.hotel-reserve-total-box strong {
  color: #40516a;
  font-size: .74rem;
}

.hotel-reserve-total-box small {
  margin-top: 2px;
  color: #7387a2;
  font-size: .68rem;
}

.hotel-reserve-total-box > b {
  color: #26374f;
  font-size: .88rem;
}

.hotel-modal-footer {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 10px;
  padding: 13px 18px 16px;
  border-top: 1px solid #e7edf5;
  background: #fff;
}

.hotel-modal-cancel,
.hotel-modal-save {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border-radius: 11px;
  padding: 9px 13px;
  font-size: .79rem;
  font-weight: 780;
}

.hotel-modal-cancel {
  border: 1px solid #d8e2ee;
  background: #fff;
  color: #285c9d;
}

.hotel-modal-save {
  border: 1px solid #0b63f5;
  background: #0b63f5;
  color: #fff;
}

.hotel-modal-save .icon {
  width: 17px;
  height: 17px;
}

.hotel-modal-save:disabled {
  cursor: not-allowed;
  border-color: #dfe6ee;
  background: #e7edf3;
  color: #a3adba;
}

@media (max-width: 820px) {
  .hotel-modal-backdrop {
    padding: 12px;
  }

  .hotel-modal,
  .hotel-reserve-modal {
    width: min(720px, 100%);
    max-height: 94vh;
  }

  .hotel-modal form {
    max-height: calc(94vh - 88px);
  }

  .hotel-checkin-review-body {
    padding: 22px;
  }
}

@media (max-width: 620px) {
  .hotel-modal-backdrop {
    align-items: end;
    padding: 0;
  }

  .hotel-modal,
  .hotel-reserve-modal {
    width: 100%;
    max-height: 96vh;
    border-radius: 20px 20px 0 0;
  }

  .hotel-modal form {
    max-height: calc(96vh - 88px);
  }

  .hotel-modal-body {
    padding: 18px 15px 14px;
  }

  .hotel-modal-two-column {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .hotel-modal-footer {
    padding: 12px 14px calc(12px + env(safe-area-inset-bottom));
  }

  .hotel-checkin-review-header {
    padding: 16px;
  }

  .hotel-checkin-review-body {
    padding: 18px 15px;
  }

  .hotel-review-request-card {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .hotel-review-request-actions {
    grid-column: 1 / -1;
    justify-content: stretch;
  }

  .hotel-review-request-actions button {
    flex: 1;
  }

  .hotel-room-reference-grid {
    grid-template-columns: 1fr;
  }
}


/* Premium guest workspace */
.hotel-guests-page {
  min-width: 0;
}

.hotel-guests-heading {
  align-items: center;
}

.hotel-guest-list {
  display: grid;
  gap: 16px;
}

.hotel-guest-detail-card {
  overflow: hidden;
  border: 1px solid #dfe7f1;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 7px 24px rgba(34, 64, 105, .055);
}

.hotel-guest-card-main {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr);
  gap: 0;
  min-height: 166px;
}

.hotel-guest-identity {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px;
  border-right: 1px solid #e7edf5;
}

.hotel-guest-large-avatar {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 18px;
  background: #eaf3ff;
  color: #0b63f5;
  font-size: 1rem;
  font-weight: 850;
  letter-spacing: .02em;
}

.hotel-guest-identity-copy {
  min-width: 0;
  flex: 1;
}

.hotel-guest-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.hotel-guest-title-row h3,
.hotel-guest-title-row p {
  margin: 0;
}

.hotel-guest-title-row h3 {
  color: #18263c;
  font-size: 1.28rem;
  letter-spacing: -.025em;
}

.hotel-guest-title-row p {
  margin-top: 5px;
  color: #77869b;
  font-size: .78rem;
}

.hotel-guest-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-top: 18px;
}

.hotel-guest-meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #50627b;
  font-size: .76rem;
}

.hotel-guest-meta .icon {
  width: 16px;
  height: 16px;
  color: #0b63f5;
}

.hotel-guest-room {
  min-width: 0;
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  padding: 22px;
  background: #fbfdff;
}

.hotel-guest-room-image {
  width: 118px;
  height: 92px;
  overflow: hidden;
  display: grid;
  place-items: center;
  border: 1px solid #e1e8f1;
  border-radius: 14px;
  background: #eef5ff;
}

.hotel-guest-room-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.hotel-guest-room-placeholder {
  color: #0b63f5;
}

.hotel-guest-room-placeholder .icon {
  width: 34px;
  height: 34px;
}

.hotel-guest-room-copy {
  min-width: 0;
}

.hotel-guest-room-copy > span,
.hotel-guest-room-copy strong,
.hotel-guest-room-copy p,
.hotel-guest-room-copy small {
  display: block;
}

.hotel-guest-room-copy > span {
  color: #8190a3;
  font-size: .68rem;
  font-weight: 760;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.hotel-guest-room-copy strong {
  margin-top: 4px;
  color: #0b63f5;
  font-size: 1.05rem;
}

.hotel-guest-room-copy p {
  margin: 4px 0 0;
  color: #4c5e76;
  font-size: .78rem;
}

.hotel-guest-room-copy small {
  margin-top: 5px;
  color: #8794a5;
  font-size: .7rem;
}

.hotel-guest-financials {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  gap: 0;
  align-items: center;
  padding: 16px 22px;
  border-top: 1px solid #e8edf4;
  border-bottom: 1px solid #e8edf4;
  background: #fbfdff;
}

.hotel-guest-financials > div {
  min-width: 0;
  padding: 2px 22px;
  border-right: 1px solid #e2e9f2;
}

.hotel-guest-financials > div:first-child {
  padding-left: 0;
}

.hotel-guest-financials > div:nth-child(3) {
  border-right: 0;
}

.hotel-guest-financials span,
.hotel-guest-financials strong {
  display: block;
}

.hotel-guest-financials > div > span {
  color: #7a899c;
  font-size: .72rem;
}

.hotel-guest-financials strong {
  margin-top: 5px;
  color: #1e2e46;
  font-size: 1.02rem;
}

.hotel-guest-financials strong.is-paid {
  color: #199b66;
}

.hotel-guest-financials strong.is-balance {
  color: #d88a18;
}

.hotel-payment-state {
  justify-self: end;
  margin-left: 20px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: .65rem;
  font-weight: 850;
  letter-spacing: .04em;
}

.hotel-payment-state.unpaid {
  background: #fff1df;
  color: #b96813;
}

.hotel-payment-state.paid {
  background: #e8f7ef;
  color: #16845b;
}

.hotel-guest-stay-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  padding: 16px 22px 6px;
}

.hotel-guest-stay-strip > div {
  min-width: 0;
  padding: 10px 12px;
  border-radius: 11px;
  background: #f6f8fb;
}

.hotel-guest-stay-strip span,
.hotel-guest-stay-strip strong {
  display: block;
}

.hotel-guest-stay-strip span {
  color: #8491a3;
  font-size: .66rem;
}

.hotel-guest-stay-strip strong {
  margin-top: 4px;
  overflow: hidden;
  color: #33445d;
  font-size: .76rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hotel-guest-actions {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
  padding: 12px 22px 20px;
}

.hotel-guest-main-action {
  min-width: 134px;
}

@media (max-width: 980px) {
  .hotel-guest-card-main {
    grid-template-columns: 1fr;
  }

  .hotel-guest-identity {
    border-right: 0;
    border-bottom: 1px solid #e7edf5;
  }

  .hotel-guest-financials {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hotel-payment-state {
    grid-column: 1 / -1;
    justify-self: start;
    margin: 12px 0 0;
  }
}

@media (max-width: 720px) {
  .hotel-guest-identity {
    align-items: flex-start;
    padding: 18px;
  }

  .hotel-guest-large-avatar {
    width: 52px;
    height: 52px;
    border-radius: 15px;
  }

  .hotel-guest-title-row {
    flex-direction: column;
    gap: 9px;
  }

  .hotel-guest-room {
    grid-template-columns: 94px minmax(0, 1fr);
    padding: 16px 18px;
  }

  .hotel-guest-room-image {
    width: 94px;
    height: 76px;
  }

  .hotel-guest-financials {
    grid-template-columns: 1fr;
    padding: 8px 18px;
  }

  .hotel-guest-financials > div,
  .hotel-guest-financials > div:first-child {
    padding: 11px 0;
    border-right: 0;
    border-bottom: 1px solid #e7edf5;
  }

  .hotel-guest-financials > div:nth-child(3) {
    border-bottom: 0;
  }

  .hotel-guest-stay-strip {
    grid-template-columns: 1fr 1fr;
    padding: 14px 18px 4px;
  }

  .hotel-guest-actions {
    padding: 12px 18px 18px;
  }

  .hotel-guest-main-action {
    flex: 1 1 170px;
  }
}

@media (max-width: 430px) {
  .hotel-guest-identity {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 12px;
  }

  .hotel-guest-room {
    grid-template-columns: 1fr;
  }

  .hotel-guest-room-image {
    width: 100%;
    height: 132px;
  }

  .hotel-guest-stay-strip {
    grid-template-columns: 1fr;
  }
}


/* Hotel operations completion, reservation to housekeeping verified end to end */
.hotel-folio-charges {
  display: grid;
  gap: 6px;
  padding: 12px 22px 2px;
}

.hotel-folio-charges > span {
  min-width: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  padding: 9px 11px;
  border-radius: 10px;
  background: #f8fafc;
  color: #64748b;
  font-size: .7rem;
}

.hotel-folio-charges b {
  color: #0b63f5;
  font-size: .65rem;
  letter-spacing: .03em;
  text-transform: uppercase;
}

.hotel-folio-charges strong {
  color: #263850;
  white-space: nowrap;
}

.hotel-operation-modal {
  width: min(560px, 94vw);
  border-radius: 24px;
}

.hotel-operation-header {
  min-height: 88px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 22px 24px 18px;
  border-bottom: 1px solid #edf1f6;
  background: #fff;
}

.hotel-operation-header h2,
.hotel-operation-header p {
  margin: 0;
}

.hotel-operation-header h2 {
  color: #26364d;
  font-size: 1.16rem;
  letter-spacing: -.02em;
}

.hotel-operation-header p {
  margin-top: 5px;
  color: #7b899c;
  font-size: .76rem;
}

.hotel-operation-body {
  display: grid;
  gap: 18px;
  padding: 22px 24px 18px;
  background: #fff;
}

.hotel-operation-segments {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.hotel-operation-segments label {
  position: relative;
  cursor: pointer;
}

.hotel-operation-segments input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.hotel-operation-segments span {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: #f7f9fc;
  color: #64748b;
  font-size: .76rem;
  font-weight: 720;
  transition: .15s ease;
}

.hotel-operation-segments input:checked + span {
  border-color: #d8f0df;
  background: #edf9f1;
  color: #23a565;
}

.hotel-payment-methods input:checked + span {
  border-color: #d9e8fd;
  background: #eef5ff;
  color: #0b63f5;
}

.hotel-operation-field {
  display: grid;
  gap: 8px;
  color: #53647a;
  font-size: .76rem;
  font-weight: 720;
}

.hotel-operation-field > span small {
  color: #9aa6b5;
  font-weight: 560;
}

.hotel-operation-field input,
.hotel-operation-field textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid #dfe6ef;
  border-radius: 12px;
  outline: 0;
  background: #fff;
  color: #26364d;
  font: inherit;
  font-weight: 560;
}

.hotel-operation-field input {
  height: 48px;
  padding: 0 13px;
}

.hotel-operation-field textarea {
  resize: vertical;
  min-height: 82px;
  padding: 12px 13px;
}

.hotel-operation-field input:focus,
.hotel-operation-field textarea:focus,
.hotel-operation-money:focus-within {
  border-color: #9ec5f7;
  box-shadow: 0 0 0 3px rgba(11, 99, 245, .07);
}

.hotel-operation-two {
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: 12px;
}

.hotel-operation-money {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  overflow: hidden;
  border: 1px solid #dfe6ef;
  border-radius: 12px;
  background: #fff;
}

.hotel-operation-money b {
  padding-left: 13px;
  color: #0b63f5;
  font-size: .68rem;
}

.hotel-operation-money input {
  border: 0;
  box-shadow: none !important;
}

.hotel-operation-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding: 14px 24px 22px;
  border-top: 1px solid #edf1f6;
  background: #fff;
}

.hotel-operation-footer .hotel-modal-cancel,
.hotel-operation-footer .hotel-modal-save {
  min-width: 112px;
}

.hotel-housekeeping-page {
  min-width: 0;
}

.hotel-housekeeping-page .hotel-housekeeping-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 14px;
}

.hotel-housekeeping-task {
  min-height: 166px;
  display: grid;
  grid-template-columns: 1fr;
  align-content: space-between;
  gap: 18px;
  padding: 18px;
  border-radius: 16px;
  background: #fff;
}

.hotel-housekeeping-copy {
  display: grid;
  gap: 5px;
}

.hotel-housekeeping-copy strong {
  color: #1f3049;
  font-size: 1rem;
}

.hotel-housekeeping-copy small {
  color: #8491a3;
  font-size: .72rem;
}

.hotel-housekeeping-copy .hotel-status {
  justify-self: start;
  margin-top: 5px;
}

.hotel-status.status-needs-cleaning {
  background: #fff1df;
  color: #b96813;
}

.hotel-status.status-cleaning {
  background: #eee9ff;
  color: #6743c8;
}

.hotel-housekeeping-actions {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
}

.hotel-housekeeping-clean-button {
  min-height: 39px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid #2fbf71;
  border-radius: 999px;
  padding: 8px 16px;
  background: #35c874;
  color: #fff;
  font-size: .76rem;
  font-weight: 780;
}

.hotel-housekeeping-clean-button .icon {
  width: 16px;
  height: 16px;
}

.hotel-clean-ready {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #1f9b61;
  font-size: .76rem;
  font-weight: 780;
}

.hotel-clean-ready .icon {
  width: 16px;
  height: 16px;
}

@media (max-width: 720px) {
  .hotel-folio-charges {
    padding: 10px 18px 0;
  }

  .hotel-folio-charges > span {
    grid-template-columns: 1fr auto;
  }

  .hotel-folio-charges b {
    grid-column: 1 / -1;
  }

  .hotel-operation-modal {
    width: 100%;
    border-radius: 22px 22px 0 0;
  }

  .hotel-operation-header {
    padding: 18px 16px 14px;
  }

  .hotel-operation-body {
    padding: 18px 16px 14px;
  }

  .hotel-operation-footer {
    padding: 12px 16px calc(14px + env(safe-area-inset-bottom));
  }

  .hotel-operation-two {
    grid-template-columns: 1fr;
  }

  .hotel-operation-segments {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hotel-operation-segments span {
    width: 100%;
  }

  .hotel-housekeeping-page .hotel-housekeeping-grid {
    grid-template-columns: 1fr;
  }
}
