@charset "utf-8";
/* Hotel List Specific Styles */

:root {
  --category-a-color: #28a745;
  --category-b-color: #007bff;
  --category-c-color: #ffc107;
  --category-d-color: #fd7e14;
  --category-e-color: #dc3545;
  --category-f-color: #6f42c1;
  --category-g-color: #20c997;

  --hotel-table-border: #d6dde6;
  --hotel-table-head: #0d6efd;
  --hotel-table-head-sub: #eaf3ff;
  --hotel-table-row-odd: #ffffff;
  --hotel-table-row-even: #f7fbff;
  --hotel-table-row-hover: #e9f4ff;
  --hotel-table-sticky-shadow: rgba(15, 23, 42, 0.08);
}

/* Header Styles */
.hotel-header {
  margin: 1.5rem 0;
  text-align: center;
}

.hotel-header h1 {
  position: relative;
  padding: 1.5rem 1rem;
  border: 2px solid #007bff;
  border-radius: 8px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  box-shadow: 0 3px 12px rgba(0, 123, 255, 0.15);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.main-title {
  font-size: clamp(1.3rem, 3.5vw, 1.9rem);
  font-weight: 700;
  color: #212529;
}

.sub-title {
  font-size: clamp(1.1rem, 2.8vw, 1.4rem);
  font-weight: 600;
  color: #007bff;
}

.sports-list {
  font-size: clamp(0.85rem, 2.2vw, 1.05rem);
  color: #6c757d;
  font-weight: 500;
  padding: 0.6rem 0.8rem;
  background: rgba(0, 123, 255, 0.1);
  border-radius: 15px;
  border: 1px solid rgba(0, 123, 255, 0.2);
}

/* Important Notice */
.important-notice-top {
  background: #e3f2fd;
  border: 2px solid #2196f3;
  border-radius: 6px;
  padding: 1.2rem;
  margin: 1.5rem 0;
  text-align: center;
  font-weight: 600;
  font-size: 0.95rem;
}

.important-notice-top i {
  color: #2196f3;
  margin-right: 0.5rem;
  font-size: 1.1rem;
}

/* Hotel Table */
.hotel-table-container {
  margin: 2rem 0;
}

.scroll-notice {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.75rem;
  padding: 0.45rem 0.8rem;
  background: #eef6ff;
  border: 1px solid #cfe3ff;
  border-radius: 999px;
  color: #0b5ed7;
  font-size: 0.9rem;
  font-weight: 600;
}

.scroll-notice i {
  color: #0b5ed7;
}

.table-wrapper {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  position: relative;
  background: #fff;
  border: 1px solid var(--hotel-table-border);
  border-radius: 14px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
}

.hotel-table {
  width: 100%;
  min-width: 980px;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
  background: #fff;
  font-size: 0.95rem;
}

.hotel-table col.col-category { width: 100px; }
.hotel-table col.col-city { width: 110px; }
.hotel-table col.col-hotel { width: 220px; }
.hotel-table col.col-room { width: 220px; }
.hotel-table col.col-meal { width: 140px; }
.hotel-table col.col-fee { width: 170px; }
.hotel-table col.col-note { width: 164px; }

.hotel-table th,
.hotel-table td {
  padding: 0.95rem 0.5rem;
  border-right: 1px solid var(--hotel-table-border);
  border-bottom: 1px solid var(--hotel-table-border);
  vertical-align: middle;
  word-break: break-word;
  line-height: 1.5;
  background-clip: padding-box;
}

.hotel-table th:last-child,
.hotel-table td:last-child {
  border-right: none;
}

.hotel-table thead th {
  position: sticky;
  top: 0;
  z-index: 20;
  text-align: center;
  color: #fff;
  background: var(--hotel-table-head);
  font-weight: 700;
  white-space: normal;
  word-break: keep-all;
}

.hotel-table thead tr:nth-child(2) th,
.hotel-table thead tr:nth-child(3) th {
  background: #2c7df0;
}

.hotel-table tbody td {
  background: var(--hotel-table-row-odd);
}

.hotel-table tbody tr:nth-child(even) td {
  background: var(--hotel-table-row-even);
}

.hotel-table tbody tr:hover td {
  background: var(--hotel-table-row-hover);
}

.hotel-table tbody tr:last-child td:first-child {
  border-bottom-left-radius: 14px;
}

.hotel-table tbody tr:last-child td:last-child {
  border-bottom-right-radius: 14px;
}

.category-cell,
.city-cell,
.hotel-cell {
  font-weight: 600;
}

.category-cell {
  text-align: center;
  color: #155724;
}

.fee-cell {
  text-align: center;
  font-weight: 700;
  color: #0b8f3a;
  word-break: break-word;
  white-space: normal;
  line-height: 1.5;
}

.note-cell {
  color: #495057;
}

.room-cell,
.meal-cell,
.note-cell {
  font-size: 0.8rem;
}

/* Sticky columns */
.sticky-col {
  position: sticky;
  z-index: 12;
  background-clip: padding-box;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  backface-visibility: hidden;
}

.hotel-table thead .sticky-col {
  z-index: 30;
}

.sticky-col-1 {
  left: 0;
}

.sticky-col-2 {
  left: 100px;
}

.sticky-col-3 {
  left: 210px;
}

.hotel-table th.sticky-col,
.hotel-table td.sticky-col {
  box-shadow: inset -1px 0 0 var(--hotel-table-border);
}

.hotel-table tbody tr:nth-child(odd) .sticky-col {
  background: var(--hotel-table-row-odd);
}

.hotel-table tbody tr:nth-child(even) .sticky-col {
  background: var(--hotel-table-row-even);
}

.hotel-table tbody tr:hover .sticky-col {
  background: var(--hotel-table-row-hover);
}

/* Additional Info */
.additional-info {
  margin: 2rem 0;
  padding: 1.5rem;
  background: #f8f9fa;
  border-radius: 8px;
  border: 1px solid #dee2e6;
}

.additional-info > p {
  text-align: center;
  font-size: 1rem;
  margin-bottom: 1.5rem;
  padding: 0.8rem;
  background: #fff3cd;
  border: 1px solid #ffc107;
  border-radius: 6px;
  font-weight: 500;
}

/* Room Type Notes */
.room-type-notes h3 {
  color: #495057;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #007bff;
  font-size: 1.1rem;
}

.room-type-notes h3 i {
  color: #007bff;
  margin-right: 0.5rem;
}

.notes-list {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.4rem 0.8rem;
  margin: 0;
  font-size: 0.9rem;
}

.notes-list dt {
  font-weight: 600;
  color: #007bff;
  margin: 0;
}

.notes-list dd {
  margin: 0;
  line-height: 1.5;
  font-weight: 400;
}

/* Footer */
.hotel-footer {
  background: #f8f9fa;
  border-top: 1px solid #dee2e6;
  padding: 1.5rem 0 0.75rem 0;
  margin-top: 2rem;
}

.footer-nav {
  text-align: center;
  margin-bottom: 1.5rem;
}

.btn-back {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.8rem 1.6rem;
  background: #007bff;
  color: white;
  text-decoration: none;
  border-radius: 25px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  box-shadow: 0 3px 12px rgba(0, 123, 255, 0.3);
}

.btn-back:hover {
  background: #0056b3;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0, 123, 255, 0.4);
  color: white;
  text-decoration: none;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: #6c757d;
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #007bff;
}

.copyright {
  text-align: center;
  color: #6c757d;
  font-size: 0.8rem;
  padding-top: 0.75rem;
  border-top: 1px solid #dee2e6;
}

/* =========================
   Responsive
========================= */

@media (max-width: 991px) {
  .hotel-table {
    min-width: 920px;
    font-size: 0.88rem;
  }

  .hotel-table th,
  .hotel-table td {
    padding: 0.85rem 0.3rem;
  }
}

@media (max-width: 767px) {
  .hotel-header h1 {
    padding: 1.2rem 0.8rem;
  }

  .table-wrapper {
    -webkit-overflow-scrolling: auto;
  }

  .hotel-table {
    min-width: 720px;
    font-size: 0.76rem;
  }

  .hotel-table th,
  .hotel-table td {
    padding: 0.62rem 0.3rem;
  }

  .hotel-table col.col-category { width: 74px; }
  .hotel-table col.col-city { width: 76px; }
  .hotel-table col.col-hotel { width: 210px; }
  .hotel-table col.col-room { width: 130px; }
  .hotel-table col.col-meal { width: 82px; }
  .hotel-table col.col-fee { width: 120px; }
  .hotel-table col.col-note { width: 100px; }

  .sticky-col-2 { left: 74px; }
  .sticky-col-3 { left: 150px; }

  .hotel-table .hotel-cell {
    font-size: 0.76rem;
    line-height: 1.5;
  }

  .hotel-table .fee-cell {
    font-size: 0.76rem;
    line-height: 1.5;
    font-weight: 700;
  }

  .hotel-table .room-cell,
  .hotel-table .meal-cell,
  .hotel-table .note-cell {
    font-size: 0.67rem;
    line-height: 1.5;
  }

  .hotel-table .category-cell,
  .hotel-table .city-cell {
    font-size: 0.69rem;
    line-height: 1.5;
  }

  .hotel-table thead th {
    font-size: 0.68rem;
    line-height: 1.5;
  }

  .notes-list {
    grid-template-columns: 1fr;
    gap: 0.5rem;
    font-size: 0.85rem;
  }

  .footer-links {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }
}

@media (max-width: 575px) {
  .scroll-notice {
    display: flex;
    width: 100%;
    justify-content: center;
    border-radius: 10px;
    font-size: 0.82rem;
  }

  .table-wrapper {
    border-radius: 10px;
  }

  .hotel-table {
    min-width: 560px;
    font-size: 0.65rem;
  }

  .hotel-table th,
  .hotel-table td {
    padding: 0.48rem 0.1rem;
  }

  .hotel-table col.col-category { width: 48px; }
  .hotel-table col.col-city { width: 48px; }
  .hotel-table col.col-hotel { width: 142px; }
  .hotel-table col.col-room { width: 105px; }
  .hotel-table col.col-meal { width: 60px; }
  .hotel-table col.col-fee { width: 100px; }
  .hotel-table col.col-note { width: 80px; }

  .sticky-col-2 { left: 48px; }
  .sticky-col-3 { left: 96px; }

  .hotel-table .category-cell,
  .hotel-table .city-cell,
  .hotel-table .hotel-cell,
  .hotel-table thead th {
    padding-left: 0.08rem;
    padding-right: 0.08rem;
  }

  .hotel-table .room-cell,
  .hotel-table .meal-cell,
  .hotel-table .fee-cell,
  .hotel-table .note-cell {
    padding-left: 0.06rem;
    padding-right: 0.06rem;
  }

  .hotel-table .room-cell,
  .hotel-table .meal-cell {
    padding-left: 0.04rem;
    padding-right: 0.04rem;
  }

  .hotel-table .hotel-cell {
    font-size: 0.65rem;
    line-height: 1.5;
  }

  .hotel-table .fee-cell {
    font-size: 0.65rem;
    line-height: 1.5;
    font-weight: 700;
  }

  .hotel-table .room-cell,
  .hotel-table .meal-cell,
  .hotel-table .note-cell {
    font-size: 0.56rem;
    line-height: 1.5;
  }

  .hotel-table .category-cell,
  .hotel-table .city-cell {
    font-size: 0.58rem;
    line-height: 1.5;
  }

  .hotel-table thead th {
    font-size: 0.57rem;
    line-height: 1.5;
  }

  .additional-info {
    padding: 1.2rem;
  }

  .additional-info > p {
    font-size: 0.9rem;
    padding: 0.7rem;
  }
}

@media (max-width: 480px) {
  .hotel-table {
    min-width: 520px;
    font-size: 0.62rem;
  }

  .hotel-table th,
  .hotel-table td {
    padding: 0.44rem 0.06rem;
  }

  .hotel-table col.col-category { width: 50px; }
  .hotel-table col.col-city { width: 40px; }
  .hotel-table col.col-hotel { width: 106px; }
  .hotel-table col.col-room { width: 96px; }
  .hotel-table col.col-meal { width: 56px; }
  .hotel-table col.col-fee { width: 96px; }
  .hotel-table col.col-note { width: 52px; }

  .sticky-col-2 { left: 50px; }
  .sticky-col-3 { left: 90px; }

  .hotel-table .category-cell,
  .hotel-table .city-cell,
  .hotel-table .hotel-cell,
  .hotel-table .room-cell,
  .hotel-table .meal-cell,
  .hotel-table .fee-cell,
  .hotel-table .note-cell,
  .hotel-table thead th {
    padding-left: 0.05rem;
    padding-right: 0.05rem;
  }

  .hotel-table .room-cell,
  .hotel-table .meal-cell {
    padding-left: 0.02rem;
    padding-right: 0.02rem;
  }

  .hotel-table .hotel-cell {
    font-size: 0.62rem;
    line-height: 1.5;
  }

  .hotel-table .fee-cell {
    font-size: 0.62rem;
    line-height: 1.5;
    font-weight: 700;
  }

  .hotel-table .room-cell,
  .hotel-table .meal-cell,
  .hotel-table .note-cell {
    font-size: 0.53rem;
    line-height: 1.5;
  }

  .hotel-table .category-cell,
  .hotel-table .city-cell {
    font-size: 0.54rem;
    line-height: 1.5;
  }

  .hotel-table thead th {
    font-size: 0.53rem;
    line-height: 1.5;
  }
}

@media print {
  .hotel-table {
    min-width: auto;
    table-layout: auto;
    font-size: 0.72rem;
  }

  .hotel-table th,
  .hotel-table td {
    padding: 0.35rem 0.25rem;
    border: 1px solid #000 !important;
    box-shadow: none !important;
  }

  .scroll-notice,
  .btn-back {
    display: none;
  }

  .hotel-header h1 {
    border-color: #000;
    background: none;
    box-shadow: none;
  }

  .sticky-col,
  .hotel-table thead th {
    position: static !important;
    transform: none !important;
  }

  .hotel-table thead th {
    color: #000;
    background: #f0f0f0 !important;
  }

  .fee-cell {
    color: #000 !important;
  }
}

@media (prefers-contrast: high) {
  .hotel-table thead th {
    background: #000 !important;
    color: #fff !important;
  }

  .table-wrapper,
  .hotel-table th,
  .hotel-table td {
    border-color: #000 !important;
  }

  .fee-cell {
    color: #000 !important;
    font-weight: 700;
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn-back:hover {
    transform: none;
  }

  * {
    transition: none !important;
  }
}

.fee-note {
  font-size: 85%;
  font-weight: normal !important;
}

.hotel-title{
	text-align: center;
	color: #FFFFFF;
	background-color: #007bff;
	padding: 10px;
	margin-top: 2rem;
}