@charset "utf-8";
body {
  background-color: #000;
  color: #ccc;
  font-family: 'Noto Sans TC', sans-serif;
  letter-spacing: 1px;
}
.container {
  padding-top: 100px;
}
@media (max-width: 768px) {
  .container {
    padding-top: 50px;
  }
}
.wrap_booking h1 {
  color: #fff;
  text-align: center;
  letter-spacing: 3px;
  margin: 40px 0;
  font-weight: 300;
  border-bottom: 1px solid #333;
  padding-bottom: 20px;
}
.wrap_booking {
  max-width: 900px;
  margin: 0 auto;
  font-size: 15px;
}
.wrap_booking a {
  color: #d94f42;
}
.wrap_booking a:hover {
  color: #ff6d5f;
}
/* --- 須知區塊 --- */
.noties {
  background: #111;
  border: 1px solid #333;
  padding: 25px;
  margin-bottom: 30px;
  border-radius: 4px;
}
/* 地址欄優化：加入 Hover 效果 */
.address-link {
  display: block;
  text-decoration: none;
  color: inherit;
}
.address-link:hover .address-bar {
  background: rgba(191, 165, 125, 0.2);
  border-color: #d4b88e;
  color: #fff;
  transition: all 0.3s;
}
.address-bar {
  border: 1px solid #bfa57d;
  color: #bfa57d;
  padding: 10px;
  text-align: center;
  border-radius: 4px;
  margin-bottom: 20px;
  background: rgba(191, 165, 125, 0.1);
}
/* 預約流程步驟 */
.step-container {
  display: flex;
  justify-content: space-between;
  margin-bottom: 25px;
  text-align: center;
}
.step-item {
  flex: 1;
  position: relative;
}
.step-item:not(:last-child)::after {
  content: '→';
  position: absolute;
  right: -10px;
  top: 0;
  color: #555;
}
.step-title {
  color: #fff;
  font-weight: bold;
  display: block;
  margin-bottom: 5px;
}
.step-title .fas {
  font-size: 25px;
  margin-right: 5px;
}
.step-desc {
  font-size: 12px;
  color: #888;
}
/* 規則樣式 */
.rule-section h5 {
  color: #bfa57d;
  font-size: 16px;
  border-left: 3px solid #bfa57d;
  padding-left: 10px;
  margin-bottom: 15px;
  margin-top: 10px;
}
.rule-section b {
  color: #fff;
}
.rule-list {
  padding-left: 20px;
  font-size: 14px;
  line-height: 1.6;
  color: #959595;
}
.rule-list li {
  margin-bottom: 6px;
  list-style: disc;
}
.highlight {
  color: #fff;
  font-weight: bold;
}
.sub-text {
  font-size: 12px;
  color: #888;
  margin-top: -5px;
  display: block;
  margin-bottom: 5px;
}
/* 摺疊區塊 */
.details-box {
  background: #1a1a1a;
  padding: 15px;
  border-radius: 4px;
  margin-top: 15px;
}
summary {
  cursor: pointer;
  color: #bfa57d;
  font-weight: bold;
  outline: none;
}
summary:hover {
  color: #fff;
}
/* --- 表單樣式 --- */
.form_block {
  background: #111;
  border: 1px solid #333;
  padding: 25px;
  /* min-height: 250px;*/
  margin-bottom: 30px;
  border-radius: 4px;
  position: relative;
}
.form_title {
  color: #bfa57d;
  font-size: 20px;
  margin-bottom: 5px;
  font-weight: bold;
}
.form_desc {
  font-size: 13px;
  color: #777;
  margin-bottom: 20px;
  display: block;
}
.form-control {
  background-color: #222;
  border: 1px solid #444;
  color: #fff;
  border-radius: 2px;
}
.form-control:focus {
  background-color: #2a2a2a;
  border-color: #bfa57d;
  color: #fff;
  box-shadow: none;
}
input[type="date"] {
  cursor: pointer;
  position: relative;
}
input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(1);
  opacity: 0.6;
  cursor: pointer;
}
.btn-frontier {
  background-color: #bfa57d;
  color: #000;
  border: none;
  padding: 12px 40px;
  font-weight: bold;
  width: 100%;
  transition: all 0.3s;
}
.btn-frontier:hover {
  background-color: #a38b65;
  color: #fff;
}
.btn-frontier:disabled {
  background-color: #555;
  color: #888;
  cursor: not-allowed;
}
.booking-item {
  border: 1px solid #444;
  padding: 20px;
  margin-bottom: 20px;
  background: #1a1a1a;
  position: relative;
  border-radius: 4px;
  transition: border 0.3s, box-shadow 0.3s;
}
.booking-item.error-border {
  border: 2px solid #d9534f;
  box-shadow: 0 0 8px rgba(217, 83, 79, 0.4);
}
.booking-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  border-bottom: 1px solid #333;
  padding-bottom: 10px;
}
.item-title {
  color: #fff;
  font-weight: bold;
  font-size: 16px;
}
.btn-remove {
  background: transparent;
  border: 1px solid #d9534f;
  color: #d9534f;
  font-size: 12px;
  padding: 2px 10px;
  border-radius: 20px;
  cursor: pointer;
}
.btn-remove:hover {
  background: #d9534f;
  color: #fff;
}
.add-btn-wrapper {
  text-align: right;
  margin-bottom: 20px;
  margin-top: -6rem;
}
@media (max-width: 768px) {
  .add-btn-wrapper {
    margin-top: 0;
  }
}
.btn-add {
  background-color: #222;
  color: #bfa57d;
  border: 1px solid #bfa57d;
  border-radius: 50px;
  padding: 8px 20px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s;
  display: inline-block;
}
.btn-add:hover {
  background-color: #bfa57d;
  color: #000;
}
.btn-add:active {
  transform: scale(0.98);
}
.conflict-status {
  margin-top: 10px;
  padding: 10px;
  border-radius: 4px;
  font-weight: bold;
  text-align: center;
  display: none;
  font-size: 13px;
}
.status-checking {
  background: #444;
  color: #fff;
}
.status-available {
  background: #1a3c1a;
  color: #8f8;
  border: 1px solid #2e662e;
}
.status-conflict {
  background: #3c1a1a;
  color: #f88;
  border: 1px solid #662e2e;
}
.status-error {
  background: #554400;
  color: #ffdd00;
  border: 1px solid #886600;
}
.status-manual {
  background: #004085;
  color: #cce5ff;
  border: 1px solid #b8daff;
}
.duration-alert {
  color: #ff8888;
  font-size: 13px;
  margin-top: 5px;
  font-weight: bold;
  display: none;
}
.headcount-alert {
  display: none;
  margin-top: 5px;
  padding: 8px;
  border-radius: 4px;
  font-size: 13px;
}
.headcount-warn {
  background: #554400;
  color: #ffdd00;
  border: 1px solid #886600;
}
.headcount-error {
  background: #500;
  color: #ffcccc;
  border: 1px solid #800;
}
/* 間隔規則警告 */
#gap-warning {
  display: none;
  margin-top: 15px;
  padding: 15px;
  background: #554400;
  color: #ffdd00;
  border: 1px solid #886600;
  border-radius: 4px;
  font-weight: bold;
  text-align: center;
}
#success-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: 9999;
  text-align: center;
  padding-top: 20vh;
}
.success-box {
  border: 2px solid #bfa57d;
  padding: 40px;
  display: inline-block;
  background: #111;
  max-width: 90%;
}
.success-box p {
  color: #fff;
  margin-top: 30px;
}
/* RWD 優化：手機版預約流程置中 */
@media (max-width: 768px) {
  .step-container {
    flex-direction: column;
    text-align: center;
  }
  .step-item {
    margin-bottom: 15px;
  }
  .step-item:not(:last-child)::after {
    content: '↓';
    position: relative;
    right: auto;
    left: 0;
    top: 0;
    display: block;
    margin: 5px auto; /* 箭頭置中 */
    color: #555;
  }
  .mx48 {
    padding: 15px;
  }
}
/* --- 新增：動態價目表樣式 --- */
.price-display-box {
  display: none; /* 預設隱藏 */
  margin-top: 20px;
  background: #1a1a1a;
  border: 1px solid #444;
  border-radius: 4px;
  padding: 15px;
  animation: fadeIn 0.5s ease;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.price-header {
  color: #bfa57d;
  font-size: 16px;
  font-weight: bold;
  border-bottom: 1px solid #444;
  padding-bottom: 8px;
  margin-bottom: 10px;
}
.custom-table {
  width: 100%;
  font-size: 13px;
  color: #ccc;
  border-collapse: collapse;
  margin-bottom: 15px;
}
.custom-table th, .custom-table td {
  border: 1px solid #444;
  padding: 8px 5px;
  text-align: center;
}
.custom-table th {
  background: #333;
  color: #fff;
}
/* 價格樣式優化 */
.original-price {
  text-decoration: line-through;
  color: #888;
  font-size: 12px;
  margin-right: 5px;
  display: inline-block; /* 手機版換行控制 */
}
.price-red {
  color: #d9534f;
  font-weight: bold;
  font-size: 14px;
}
.price-blue {
  color: #5bc0de;
  font-weight: bold;
  font-size: 14px;
}
.pax-green {
  color: #5cb85c;
  font-weight: bold;
}
.table-responsive {
  overflow-x: auto;
}
/* --- 按鈕式選項樣式 (仿貓棚風格) --- */
/* 修改：讓樣式同時支援 radio 和 checkbox */
.option-group {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  margin-top: 10px;
}
.radio-card {
  flex: 1;
  min-width: 140px;
  position: relative;
  cursor: pointer;
  margin: 0;
  font-weight: normal;
}
/* 隱藏原生 Radio/Checkbox */
.radio-card input[type="radio"], .radio-card input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 15px;
  background: #222;
  border: 1px solid #444;
  border-radius: 4px;
  transition: all 0.2s;
  height: 100%;
  text-align: center;
}
.card-title {
  font-size: 16px;
  font-weight: bold;
  color: #fff;
  margin-bottom: 4px;
  display: block;
}
.card-desc {
  font-size: 12px;
  color: #888;
  line-height: 1.4;
}
/* 選中狀態 CSS (新增 checkbox 支援) */
.radio-card input[type="radio"]:checked + .card-content, .radio-card input[type="checkbox"]:checked + .card-content {
  border-color: #bfa57d;
  background: rgba(191, 165, 125, 0.15);
  box-shadow: 0 0 8px rgba(191, 165, 125, 0.3);
}
.radio-card input[type="radio"]:checked + .card-content .card-title, .radio-card input[type="checkbox"]:checked + .card-content .card-title {
  color: #bfa57d;
}
.radio-card:hover .card-content {
  border-color: #777;
}
/* --- 動態價目表樣式 --- */
.price-display-box {
  display: none;
  margin-top: 20px;
  background: #1a1a1a;
  border: 1px solid #444;
  border-radius: 4px;
  padding: 15px;
  animation: fadeIn 0.5s ease;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.price-header {
  color: #bfa57d;
  font-size: 16px;
  font-weight: bold;
  border-bottom: 1px solid #444;
  padding-bottom: 8px;
  margin-bottom: 10px;
}
.custom-table {
  width: 100%;
  font-size: 13px;
  color: #ccc;
  border-collapse: collapse;
  margin-bottom: 15px;
}
.custom-table th, .custom-table td {
  border: 1px solid #444;
  padding: 10px 5px;
  text-align: center;
  vertical-align: middle;
}
.custom-table th {
  background: #333;
  color: #fff;
  font-weight: normal;
}
.original-price {
  text-decoration: line-through;
  color: #888;
  font-size: 12px;
  margin-right: 5px;
  display: inline-block;
}
.price-red {
  color: #d9534f;
  font-weight: bold;
  font-size: 15px;
}
.price-blue {
  color: #5bc0de;
  font-weight: bold;
  font-size: 15px;
}
.pax-green {
  color: #5cb85c;
  font-weight: bold;
}
.table-responsive {
  overflow-x: auto;
}
/* --- 營業時間外提醒 (Overtime Warning) --- */
    .overtime-warning {
        display: none; 
        margin-top: 5px; 
        padding: 8px; 
        border-radius: 4px; 
        font-size: 13px;
        background: #554400; 
        color: #ffdd00; 
        border: 1px solid #886600;
        font-weight: bold;
    }
.clear {
  clear: both;
}