/* ==========================================
   CSS Core & Variables (Japanese Minimalist & Yilan Forest/Mist Tones)
   ========================================== */

:root {
  /* Color Palette - Forest & Mist Green theme for Yilan */
  --color-bg: #f6f8f6;
  --color-card-bg: rgba(255, 255, 255, 0.8);
  --color-primary: #224c36;       /* Deep Forest/Spring Green */
  --color-secondary: #5e9d7c;     /* Moss Sage Green */
  --color-accent-blue: #3b7a75;   /* Mist Teal */
  --color-sky-light: #eef5f1;     /* Soft Mint Light */
  --color-sky: #a2c1b6;           /* Calm Sage */
  --color-coral: #d48265;         /* Clay Coral */
  --color-coral-light: #faf0ec;   /* Light Clay */
  --color-sand: #d1b88a;          /* Bamboo Wood */
  --color-sand-light: #f7f5ef;    /* Light Wood */
  --color-dark: #2c3531;          /* Charcoal Forest */
  --color-muted: #6e7a74;         /* Muted Greenish-gray */
  --color-white: #ffffff;
  
  /* Warnings */
  --color-warning: #d48265;       /* Clay Alert */
  --color-danger: #c0392b;        /* Red Alert */
  
  /* Fonts */
  --font-sans: 'Noto Sans TC', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-display: 'Outfit', sans-serif;
  
  /* Layout */
  --max-width: 1200px;
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-subtle: 0 8px 30px rgba(34, 76, 54, 0.04);
  --shadow-hover: 0 15px 40px rgba(34, 76, 54, 0.1);
  --border-glass: 1px solid rgba(255, 255, 255, 0.5);
}

/* ==========================================
   Reset & Base Styles
   ========================================== */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-sans);
  background-color: var(--color-bg);
  color: var(--color-dark);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

.container {
  width: 92%;
  max-width: var(--max-width);
  margin: 0 auto;
}

.font-outfit {
  font-family: var(--font-display);
}

/* Decorative Background Blobs */
.bg-circle {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  z-index: -1;
  opacity: 0.35;
}

.bg-circle-1 {
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--color-sky) 0%, rgba(255,255,255,0) 70%);
}

.bg-circle-2 {
  top: 40%;
  left: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--color-sky-light) 0%, rgba(255,255,255,0) 75%);
}

.bg-circle-3 {
  bottom: -150px;
  right: -150px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--color-sand) 0%, rgba(255,255,255,0) 70%);
}

/* ==========================================
   Glassmorphism Styles
   ========================================== */

.glassmorphism {
  background: var(--color-card-bg);
  backdrop-filter: blur(16px) saturate(120%);
  -webkit-backdrop-filter: blur(16px) saturate(120%);
  border: var(--border-glass);
  box-shadow: var(--shadow-subtle);
}

/* ==========================================
   Header Style
   ========================================== */

header {
  padding: 4.5rem 0 3rem 0;
  position: relative;
}

.header-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.brand-tag {
  display: inline-block;
  background-color: var(--color-sky-light);
  color: var(--color-primary);
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: 0.05em;
  border: 1px solid rgba(34, 76, 54, 0.1);
}

.main-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1.25;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.subtitle {
  font-size: 1.05rem;
  color: var(--color-muted);
  font-weight: 300;
  margin-bottom: 24px;
}

.trip-meta-badge {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255, 255, 255, 0.75);
  padding: 8px 20px;
  border-radius: 40px;
  box-shadow: var(--shadow-subtle);
  border: var(--border-glass);
  backdrop-filter: blur(8px);
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-primary);
}

.meta-item i {
  font-size: 0.95rem;
  color: var(--color-primary);
  opacity: 0.8;
}

.meta-separator {
  width: 1px;
  height: 16px;
  background-color: rgba(34, 76, 54, 0.15);
}

/* ==========================================
   Dashboard Grid
   ========================================== */

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
  margin-bottom: 3rem;
}

/* Cards Base */
.card {
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(34, 76, 54, 0.06);
  padding-bottom: 14px;
}

.icon-wrapper {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.alert-icon {
  background-color: var(--color-coral-light);
  color: var(--color-coral);
}

.gear-icon {
  background-color: var(--color-sky-light);
  color: var(--color-secondary);
}

.transport-icon {
  background-color: #f7f5ef;
  color: var(--color-sand);
}

.card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-primary);
}

.card-subtitle {
  font-size: 0.75rem;
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: var(--font-display);
  margin-top: -2px;
}

.card-body {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

/* Weather Alert Metrics */
.weather-metrics {
  display: flex;
  justify-content: space-between;
  margin-bottom: 16px;
  background: rgba(255, 255, 255, 0.4);
  padding: 12px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.metric-item {
  display: flex;
  flex-direction: column;
  flex: 1;
  text-align: center;
}

.metric-label {
  font-size: 0.8rem;
  color: var(--color-muted);
  margin-bottom: 2px;
}

.metric-value {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--color-primary);
}

.metric-divider {
  width: 1px;
  background-color: rgba(34, 76, 54, 0.08);
  margin: 4px 0;
}

.text-orange {
  color: var(--color-coral);
}

.text-red {
  color: var(--color-danger);
}

.badge {
  font-size: 0.7rem;
  padding: 2px 8px;
  border-radius: 20px;
  font-weight: 600;
  vertical-align: middle;
  margin-left: 4px;
}

.badge-red {
  background-color: rgba(192, 57, 43, 0.1);
  color: var(--color-danger);
  border: 1px solid rgba(192, 57, 43, 0.2);
}

.badge-orange {
  background-color: rgba(212, 130, 101, 0.1);
  color: var(--color-coral);
  border: 1px solid rgba(212, 130, 101, 0.2);
}

.badge-blue {
  background-color: rgba(59, 122, 117, 0.08);
  color: var(--color-accent-blue);
  border: 1px solid rgba(59, 122, 117, 0.15);
}

.badge-sunset {
  background-color: var(--color-coral-light);
  color: var(--color-coral);
  border: 1px solid rgba(212, 130, 101, 0.3);
}

.badge-gray {
  background-color: rgba(110, 122, 116, 0.1);
  color: var(--color-muted);
  border: 1px solid rgba(110, 122, 116, 0.2);
}

.alert-message {
  font-size: 0.88rem;
  background-color: var(--color-coral-light);
  border-left: 4px solid var(--color-coral);
  padding: 12px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  color: var(--color-dark);
  margin-bottom: 20px;
  line-height: 1.5;
}

/* Sunscreen Timer */
.timer-section {
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 14px;
  border-radius: var(--radius-md);
  margin-top: auto;
}

.timer-title-area {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.timer-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-primary);
}

.timer-label i {
  margin-right: 4px;
}

#timer-display {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 0.02em;
}

.progress-bar-container {
  height: 6px;
  background-color: rgba(34, 76, 54, 0.08);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 12px;
}

.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--color-sky) 0%, var(--color-coral) 100%);
  border-radius: 10px;
  transition: width 1s linear;
}

.timer-controls {
  display: flex;
  gap: 8px;
}

.btn {
  font-family: var(--font-sans);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 8px 16px;
  transition: var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.btn-sm {
  padding: 6px 12px;
  font-size: 0.8rem;
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.btn-primary:hover {
  background-color: #173525;
  box-shadow: 0 4px 10px rgba(34, 76, 54, 0.2);
}

.btn-secondary {
  background-color: rgba(34, 76, 54, 0.05);
  color: var(--color-primary);
  border: 1px solid rgba(34, 76, 54, 0.1);
}

.btn-secondary:hover {
  background-color: rgba(34, 76, 54, 0.1);
}

/* Gear Checklist Styling */
.checklist-intro {
  font-size: 0.85rem;
  color: var(--color-muted);
  margin-bottom: 14px;
}

.checkbox-container {
  display: flex;
  align-items: center;
  position: relative;
  padding-left: 32px;
  cursor: pointer;
  font-size: 0.92rem;
  user-select: none;
  min-height: 22px;
  color: var(--color-dark);
  transition: var(--transition-smooth);
}

.checkbox-container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 20px;
  width: 20px;
  background-color: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(34, 76, 54, 0.2);
  border-radius: 6px;
  transition: var(--transition-smooth);
}

.checkbox-container:hover input ~ .checkmark {
  border-color: var(--color-primary);
  background-color: rgba(255, 255, 255, 1);
}

.checkbox-container input:checked ~ .checkmark {
  background-color: var(--color-secondary);
  border-color: var(--color-secondary);
}

.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

.checkbox-container input:checked ~ .checkmark:after {
  display: block;
}

.checkbox-container .checkmark:after {
  left: 7px;
  top: 3px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.checkbox-container input:checked ~ .gear-text {
  text-decoration: line-through;
  color: var(--color-muted);
}

.gear-text {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  transition: var(--transition-smooth);
}

.tag {
  font-size: 0.72rem;
  padding: 1px 6px;
  border-radius: 4px;
  font-weight: 500;
}

.tag-blue {
  background-color: var(--color-sky-light);
  color: var(--color-accent-blue);
}

.tag-sand {
  background-color: var(--color-sand-light);
  color: #a48144;
}

.tag-sunset {
  background-color: var(--color-coral-light);
  color: var(--color-coral);
}

.tag-gray {
  background-color: #f2f4f3;
  color: var(--color-muted);
}

.checklist-categories {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 20px;
}

.gear-category {
  background: rgba(255, 255, 255, 0.4);
  padding: 12px 14px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.gear-category-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid rgba(34, 76, 54, 0.05);
  padding-bottom: 4px;
}

.gear-category-items {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.text-blue {
  color: var(--color-accent-blue);
}

/* Checklist Progress */
.checklist-progress-container {
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 12px 14px;
  border-radius: var(--radius-md);
  margin-top: auto;
}

.checklist-progress-text {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 6px;
}

.progress-bar-container-sm {
  height: 4px;
  background-color: rgba(34, 76, 54, 0.08);
  border-radius: 10px;
  overflow: hidden;
}

.progress-bar-sm {
  height: 100%;
  background-color: var(--color-secondary);
  border-radius: 10px;
  transition: width 0.3s ease;
}

/* Logistics & Transportation */
.logistics-details {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 16px;
}

.detail-block {
  background: rgba(255, 255, 255, 0.4);
  padding: 12px 14px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.detail-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.detail-desc {
  font-size: 0.85rem;
  color: var(--color-dark);
  line-height: 1.5;
}

.sub-alert-text {
  font-size: 0.78rem;
  color: var(--color-muted);
  font-style: italic;
}

.highlight-info {
  display: inline-block;
  background-color: var(--color-coral-light);
  border-left: 3px solid var(--color-coral);
  padding: 2px 8px;
  border-radius: 0 4px 4px 0;
  color: #bf6654;
  font-weight: 600;
  margin: 4px 0;
}

.parking-section {
  margin-top: auto;
}

.parking-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-muted);
  display: block;
  margin-bottom: 8px;
}

.parking-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.btn-parking {
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: var(--color-white);
  border: 1px solid rgba(34, 76, 54, 0.12);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: var(--radius-md);
  color: var(--color-primary);
  transition: var(--transition-smooth);
}

.btn-parking i {
  font-size: 1.1rem;
  transition: var(--transition-smooth);
}

.btn-parking-a i {
  color: var(--color-secondary);
}

.btn-parking-b i {
  color: var(--color-sky);
}

.btn-parking:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(34, 76, 54, 0.08);
  border-color: rgba(34, 76, 54, 0.2);
}

.btn-parking:hover i {
  transform: scale(1.15);
}

.btn-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.btn-tag {
  font-size: 0.65rem;
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.btn-title {
  font-size: 0.85rem;
  font-weight: 700;
  margin-top: -2px;
}

.parking-error-handling {
  margin-top: 12px;
  background-color: var(--color-coral-light);
  border-left: 3px solid var(--color-coral);
  padding: 10px 12px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.parking-error-title {
  font-size: 0.82rem;
  color: var(--color-coral);
  font-weight: 700;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.parking-error-text {
  font-size: 0.78rem;
  color: var(--color-dark);
  line-height: 1.45;
}

/* ==========================================
   Section Divider
   ========================================== */

.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 3.5rem 0 2rem 0;
}

.section-divider .line {
  height: 1px;
  flex-grow: 1;
  background-color: rgba(34, 76, 54, 0.12);
}

.divider-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.divider-title i {
  font-size: 1.25rem;
}

/* ==========================================
   Timeline Tabs (Minimalist Filter)
   ========================================== */

.timeline-quick-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.tab-btn {
  font-family: var(--font-sans);
  background-color: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(34, 76, 54, 0.08);
  padding: 8px 18px;
  border-radius: 30px;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-muted);
  transition: var(--transition-smooth);
}

.tab-btn:hover {
  background-color: rgba(255, 255, 255, 0.9);
  color: var(--color-primary);
}

.tab-btn.active {
  background-color: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
  box-shadow: 0 4px 12px rgba(34, 76, 54, 0.15);
}

/* ==========================================
   Vertical Timeline Styles
   ========================================== */

.timeline-wrapper {
  position: relative;
  max-width: 800px;
  margin: 0 auto 5rem auto;
  padding: 10px 0;
}

.timeline-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 28px;
  width: 2px;
  background: linear-gradient(180deg, var(--color-sky) 0%, var(--color-sand) 50%, var(--color-coral) 100%);
  border-radius: 4px;
}

.timeline-item {
  position: relative;
  margin-bottom: 32px;
  opacity: 1;
  transition: var(--transition-smooth);
}

.timeline-item.hidden {
  display: none;
}

.timeline-dot-wrapper {
  position: absolute;
  left: 0;
  top: 14px;
  display: flex;
  align-items: center;
  z-index: 2;
}

.timeline-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: var(--color-white);
  border: 3px solid var(--color-sky);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.8);
  transition: var(--transition-smooth);
  margin-left: 22px;
}

.timeline-content {
  margin-left: 64px;
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: var(--transition-smooth);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.timeline-content:hover {
  transform: translateX(4px);
  border-color: rgba(34, 76, 54, 0.15);
  box-shadow: var(--shadow-hover);
}

/* Active step */
.timeline-item.active-step .timeline-dot {
  background-color: var(--color-coral);
  border-color: var(--color-white);
  box-shadow: 0 0 0 4px var(--color-coral-light), 0 0 12px var(--color-coral);
  transform: scale(1.2);
}

.timeline-item.active-step .timeline-content {
  border-color: var(--color-coral);
  background: var(--color-white);
  box-shadow: 0 10px 30px rgba(212, 130, 101, 0.08);
}

.timeline-header-area {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(34, 76, 54, 0.05);
  padding-bottom: 8px;
}

.time-label {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--color-primary);
  background: var(--color-sky-light);
  padding: 2px 10px;
  border-radius: 6px;
}

.timeline-item.active-step .time-label {
  background: var(--color-coral-light);
  color: var(--color-coral);
}

.timeline-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-right: auto;
  margin-left: 12px;
}

.timeline-body-area {
  font-size: 0.92rem;
  color: var(--color-dark);
}

.timeline-text {
  margin-bottom: 8px;
}

.timeline-list {
  margin-left: 20px;
  margin-bottom: 12px;
  font-size: 0.88rem;
  color: var(--color-muted);
}

.timeline-list li {
  margin-bottom: 4px;
}

.timeline-tips {
  margin-top: 14px;
}

.tip-tag {
  display: inline-block;
  font-size: 0.8rem;
  padding: 8px 12px;
  border-radius: var(--radius-md);
  background-color: #f2f4f3;
  color: var(--color-muted);
  line-height: 1.4;
  width: 100%;
}

.text-blue-tag {
  background-color: var(--color-sky-light);
  color: var(--color-accent-blue);
}

.text-orange-tag {
  background-color: var(--color-coral-light);
  color: var(--color-coral);
  font-weight: 600;
}

.text-sunset-tag {
  background-color: var(--color-sand-light);
  color: #a48144;
}

/* ==========================================
   Table & Room Layout Styles (New for Yilan)
   ========================================== */

.table-responsive {
  width: 100%;
  overflow-x: auto;
  margin-bottom: 1rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(34, 76, 54, 0.1);
  background: rgba(255, 255, 255, 0.5);
}

table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.88rem;
}

th, td {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(34, 76, 54, 0.08);
}

th {
  background-color: var(--color-sky-light);
  color: var(--color-primary);
  font-weight: 700;
}

tr:last-child td {
  border-bottom: none;
}

.badge-recommend {
  background-color: var(--color-primary);
  color: var(--color-white);
  font-size: 0.68rem;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 4px;
}

.copy-section {
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(34, 76, 54, 0.1);
  padding: 16px;
  border-radius: var(--radius-md);
  margin-top: 12px;
}

.copy-textarea {
  width: 100%;
  height: 100px;
  padding: 10px;
  font-size: 0.85rem;
  border: 1px solid rgba(34, 76, 54, 0.15);
  border-radius: var(--radius-sm);
  background-color: var(--color-sand-light);
  color: var(--color-dark);
  font-family: inherit;
  resize: none;
  margin-bottom: 10px;
}

.copy-btn-container {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
}

.copy-success-tip {
  font-size: 0.8rem;
  color: var(--color-secondary);
  font-weight: 600;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.copy-success-tip.show {
  opacity: 1;
}

.room-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.room-card {
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(34, 76, 54, 0.08);
  padding: 12px;
  border-radius: var(--radius-md);
  text-align: center;
}

.room-number {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 4px;
}

.room-detail {
  font-size: 0.8rem;
  color: var(--color-muted);
}

.room-guest {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-top: 4px;
}

/* ==========================================
   Footer Section
   ========================================== */

footer {
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 3rem 0;
  text-align: center;
  position: relative;
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.footer-trip-title {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  opacity: 0.95;
}

.footer-design-credit {
  font-size: 0.82rem;
  opacity: 0.7;
}

.footer-date {
  font-size: 0.75rem;
  opacity: 0.5;
  margin-top: 8px;
}

/* ==========================================
   Responsive Media Queries (Mobile Optimization)
   ========================================== */

@media (max-width: 768px) {
  header {
    padding: 3rem 0 2rem 0;
  }
  
  .main-title {
    font-size: 1.8rem;
  }
  
  .subtitle {
    font-size: 0.9rem;
    margin-bottom: 18px;
  }
  
  .trip-meta-badge {
    flex-direction: column;
    gap: 6px;
    padding: 10px 18px;
    border-radius: var(--radius-md);
  }
  
  .meta-separator {
    display: none;
  }
  
  .dashboard-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 2.5rem;
  }
  
  .card {
    padding: 20px;
  }
  
  .timeline-line {
    left: 20px;
  }
  
  .timeline-dot {
    margin-left: 14px;
    width: 12px;
    height: 12px;
  }
  
  .timeline-content {
    margin-left: 44px;
    padding: 16px;
  }
  
  .timeline-header-area {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  
  .timeline-title {
    margin-left: 0;
    margin-top: 4px;
    font-size: 1.05rem;
  }
  
  .timeline-badge {
    align-self: flex-start;
  }
  
  .parking-buttons {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  
  .room-grid {
    grid-template-columns: 1fr 1fr;
  }
}
