/* Live hotel review lobby, adapted to sit inside PatoChat. */

.hotel-band {
  background: #07111f;
  color: #e8eef7;
  padding: 4.5rem 0 4rem;
}

.hotel-wrap {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .hotel-wrap { padding: 0 1.5rem; }
}

.hotel-kicker {
  margin: 0 0 0.75rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #2dd4bf;
}

.hotel-page-title {
  margin: 0;
  max-width: 18ch;
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: #fff;
}

.hotel-page-lead {
  max-width: 42rem;
  margin: 1rem 0 0;
  font-size: 1.05rem;
  line-height: 1.6;
  color: #cbd5e1;
}

.hotel-crumb {
  display: flex;
  gap: 0.45rem;
  margin-bottom: 1.75rem;
  font-size: 0.875rem;
  color: #94a3b8;
}

.hotel-crumb a {
  color: #cbd5e1;
  text-decoration: none;
}

.hotel-crumb a:hover { color: #fff; }

.hotel-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  margin-bottom: 1.25rem;
}

.hotel-head-main {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.hotel-icon {
  display: grid;
  width: 2.25rem;
  height: 2.25rem;
  flex: none;
  place-items: center;
  border-radius: 1rem;
  background: rgba(20, 184, 166, 0.15);
  color: #5eead4;
}

.hotel-head h2 {
  margin: 0;
  font-size: clamp(1.5rem, 2vw, 1.875rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
}

.hotel-sub {
  margin: 0.35rem 0 0;
  color: #94a3b8;
  font-size: 0.95rem;
}

.hotel-live {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  align-self: center;
  border-radius: 999px;
  border: 1px solid rgba(16, 185, 129, 0.28);
  background: rgba(16, 185, 129, 0.12);
  padding: 0.4rem 0.85rem;
  color: #6ee7b7;
  font-size: 0.82rem;
  font-weight: 700;
}

.hotel-live i {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.18);
}

.hotel-grid {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 640px) {
  .hotel-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1280px) {
  .hotel-grid { grid-template-columns: 1fr 1fr 1fr; }
}

.hotel-card {
  border-radius: 1.4rem;
  background: #0c1a2e;
  padding: 1rem;
  outline: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 24px -18px rgba(15, 23, 42, 0.35);
  transition: transform 0.3s ease, box-shadow 0.3s ease, outline-color 0.3s ease;
}

.hotel-card:hover {
  transform: translateY(-4px);
  outline-color: rgba(13, 148, 136, 0.4);
  box-shadow: 0 18px 36px -20px rgba(13, 148, 136, 0.45);
}

.hotel-card-row {
  display: flex;
  gap: 0.75rem;
}

.hotel-photo {
  position: relative;
  width: 58px;
  height: 58px;
  flex: none;
  margin-top: 2px;
  overflow: hidden;
  border: 0;
  border-radius: 16px;
  padding: 0;
  background: #132033;
  cursor: pointer;
}

.hotel-photo img {
  display: block;
  width: 58px;
  height: 58px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.hotel-card:hover .hotel-photo img { transform: scale(1.08); }

.hotel-dot {
  position: absolute;
  bottom: 2px;
  left: 2px;
  width: 14px;
  height: 14px;
  border: 2.5px solid #0c1a2e;
  border-radius: 50%;
  background: #10b981;
}

.hotel-body { min-width: 0; flex: 1; }

.hotel-open {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.hotel-title-row {
  display: flex;
  min-width: 0;
  align-items: baseline;
  gap: 0.4rem;
}

.hotel-code {
  flex: none;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #94a3b8;
}

.hotel-name {
  overflow: hidden;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hotel-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.15rem 0.55rem;
  margin-top: 2px;
  font-size: 13px;
}

.hotel-place { color: #94a3b8; }

.hotel-status {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
  color: #2dd4bf;
}

.hotel-status svg { flex: none; }

.hotel-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.65rem;
}

.hotel-start,
.hotel-watch {
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.1s ease;
}

.hotel-start:active,
.hotel-watch:active { transform: scale(0.97); }

.hotel-start {
  border: 0;
  background: #0f766e;
  padding: 6px 18px;
  color: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.18);
}

.hotel-start:hover { background: #115e59; }

.hotel-watch {
  border: 0;
  background: transparent;
  padding: 6px 14px;
  color: #f1f5f9;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
}

.hotel-watch:hover { background: rgba(255, 255, 255, 0.06); }

.hotel-watch[aria-pressed="true"] {
  background: rgba(45, 212, 191, 0.12);
  color: #5eead4;
  box-shadow: inset 0 0 0 1px rgba(45, 212, 191, 0.45);
}

.hotel-note {
  margin: 1rem 0 0;
  font-size: 12px;
  line-height: 1.5;
  color: #64748b;
}

.typing-dots {
  display: inline-flex;
  gap: 3px;
  align-items: center;
}

.typing-dots span {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #2dd4bf;
  animation: hotel-blink 1.2s infinite;
}

.typing-dots span:nth-child(2) { animation-delay: 0.15s; }
.typing-dots span:nth-child(3) { animation-delay: 0.3s; }

@keyframes hotel-blink {
  0%, 80%, 100% { opacity: 0.25; }
  40% { opacity: 1; }
}

.hotel-guide {
  display: grid;
  gap: 1rem;
  margin-top: 2.5rem;
}

@media (min-width: 800px) {
  .hotel-guide { grid-template-columns: 1.2fr 1fr; }
}

.hotel-guide article {
  border-radius: 1.25rem;
  background: #0c1a2e;
  padding: 1.25rem 1.35rem;
  outline: 1px solid rgba(255, 255, 255, 0.08);
}

.hotel-guide h2 {
  margin: 0 0 0.6rem;
  font-size: 1.15rem;
  color: #fff;
}

.hotel-guide p,
.hotel-guide li {
  color: #cbd5e1;
  font-size: 0.95rem;
  line-height: 1.55;
}

.hotel-guide ul {
  margin: 0;
  padding-left: 1.1rem;
}

.hotel-dialog {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: end center;
  padding: 1rem;
}

@media (min-width: 640px) {
  .hotel-dialog { place-items: center; }
}

.hotel-dialog[hidden] { display: none; }

.hotel-dialog-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.72);
}

.hotel-dialog-panel {
  position: relative;
  width: min(100%, 34rem);
  max-height: min(92vh, 44rem);
  overflow: auto;
  border-radius: 1.4rem;
  background: #0c1a2e;
  color: #e8eef7;
  padding: 1.25rem 1.25rem 1.1rem;
  outline: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.hotel-dialog-top {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.hotel-dialog-top img {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  object-fit: cover;
}

.hotel-dialog-top h3 {
  margin: 0;
  font-size: 1.15rem;
  color: #fff;
}

.hotel-dialog-top p {
  margin: 0.15rem 0 0;
  color: #94a3b8;
  font-size: 0.85rem;
}

.hotel-dialog-close {
  margin-left: auto;
  align-self: flex-start;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #e2e8f0;
  width: 2rem;
  height: 2rem;
  cursor: pointer;
}

.hotel-ratings {
  display: grid;
  gap: 0.65rem;
  margin: 1.1rem 0;
}

.hotel-rating-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.9rem;
}

.hotel-stars { display: flex; gap: 0.2rem; }

.hotel-stars button {
  border: 0;
  background: none;
  color: #334155;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  padding: 0 0.05rem;
}

.hotel-stars button[aria-pressed="true"],
.hotel-stars button.is-on { color: #2dd4bf; }

.hotel-dialog label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.85rem;
  font-weight: 600;
}

.hotel-dialog textarea {
  width: 100%;
  min-height: 7rem;
  resize: vertical;
  border-radius: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #07111f;
  color: #f8fafc;
  padding: 0.75rem 0.85rem;
  font: inherit;
}

.hotel-dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  margin-top: 0.9rem;
}

.hotel-error {
  min-height: 1.1rem;
  margin: 0.4rem 0 0;
  color: #fb7185;
  font-size: 0.8rem;
}

.hotel-toast {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 90;
  border-radius: 999px;
  background: #0f766e;
  color: #fff;
  padding: 0.7rem 1rem;
  font-size: 0.875rem;
  font-weight: 700;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}
