/* === Dashboard Page === */

* { box-sizing: border-box; }

body {
  background: linear-gradient(135deg, #F5D56E 0%, #F1BB36 100%);
  margin: 0;
  font-family: 'Red Hat Display', sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

#logoheader {
  height: 100px;
}

/* --- Header Bar --- */

.header-bar {
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 0 25px;
  background-color: #f8f8f6;
  z-index: 100;
  position: fixed;
  top: 0;
  box-shadow: 0 1px 12px rgba(0,0,0,0.06);
}

.booking-logo {
  border: 2px solid rgba(0,0,0,0.8);
  padding: 10px;
}

.contact-us {
  flex-shrink: 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 16px 0;
  gap: 16px;
}

.contact-icon {
  height: 28px;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.contact-icon:hover {
  opacity: 1;
}

.contact-info {
  position: relative;
  display: inline-block;
}

.contact-info .hover-text {
  display: none;
  position: absolute;
  top: 38px;
  left: 0;
  width: 200px;
  font-size: 14px;
  color: rgba(0,0,0,0.8);
}

.mail {
  left: -60px !important;
}

.contact-info:hover .hover-text {
  display: inline;
}

/* --- Help pill: label/icon toggle --- */

.nav-pill__icon {
  display: none;
}

/* --- Nav Pills (Buchungen, Preise, Logout) --- */

.nav-pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  font-family: 'Red Hat Display', sans-serif;
  text-decoration: none;
  color: #333;
  background: #f0f0ee;
  border: 1px solid #e0e0dc;
  cursor: pointer;
  transition: all 0.2s ease;
}

.nav-pill:hover {
  background: #e8e8e4;
  color: #1a1a1a;
}

.nav-pill--accent {
  background: #1a1a1a;
  color: #fff;
  border-color: #1a1a1a;
}

.nav-pill--accent:hover {
  background: #333;
  color: #fff;
}

.nav-pill--active {
  background: #F1BB36;
  color: #1a1a1a;
  border-color: #F1BB36;
}

.nav-pill--muted {
  background: transparent;
  color: #888;
  border-color: transparent;
}

.nav-pill--muted:hover {
  color: #333;
  background: #f0f0ee;
}

.nav-pill--logout {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  background: transparent;
  border-color: transparent;
  color: #aaa;
}

.nav-pill--logout:hover {
  color: #333;
  background: #f0f0ee;
}

/* --- Body Content --- */

.body-content2 {
  margin-top: 110px !important;
  padding: 7px 20px 20px;
}

.welcome-greeting h1 {
  text-align: center;
  font-size: 22px;
  font-weight: 600;
  color: #1a1a1a;
  margin: 16px 0 8px;
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --- Attention Banner --- */

.attention {
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  background-color: #fff8e1;
  color: #6d5a00;
  border: 1px solid #f0d861;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 14px;
  margin: 8px 0 16px;
  line-height: 1.5;
}

.attention-icon {
  font-size: 20px;
  flex-shrink: 0;
}

.attention strong {
  color: #4a3c00;
}

/* --- Loading Screen --- */

#loading {
  position: fixed;
  top: 100px;
  width: 100%;
  height: calc(100vh - 100px);
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: linear-gradient(135deg, #F5D56E 0%, #F1BB36 100%);
  transition: opacity 0.3s ease;
}

#loading.fade-out {
  opacity: 0;
  pointer-events: none;
}

#loading p {
  font-size: 15px;
  color: #6d5a00;
  font-weight: 500;
}

.spinner {
  width: 36px;
  height: 36px;
  border: 3px solid rgba(0,0,0,0.1);
  border-top-color: #1a1a1a;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* --- Responsive --- */

@media (max-width: 979px) {
  .booking-logo {
    width: 90px;
    height: 90px;
    padding: 0;
  }
  .booking-logo p {
    padding: 0;
    margin: 0;
    font-size: 10px;
  }
  .contact-us {
    gap: 10px;
  }
  .nav-pill {
    padding: 6px 12px;
    font-size: 13px;
  }
}

@media (max-width: 700px) {
  .header-bar {
    flex-wrap: wrap;
    padding: 6px 12px;
    gap: 0;
  }
  .header-bar .booking-logo {
    order: 99;
    width: 100%;
    height: auto;
    border: none;
    border-top: 1px solid rgba(0,0,0,0.08);
    padding: 6px 0 2px;
    margin: 4px 0 0;
    text-align: center;
  }
  .header-bar .booking-logo p {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: #888;
    margin: 0;
    padding: 0;
  }
  #logoheader {
    height: 50px;
  }
  .contact-us {
    gap: 8px;
    padding: 6px 0;
  }
  .contact-info {
    display: none;
  }
  .nav-pill--help {
    display: none;
  }
  .body-content2 {
    margin-top: 100px !important;
    padding: 7px 12px 20px;
  }
  #loading {
    top: 90px;
    height: calc(100vh - 90px);
  }
  .nav-pill {
    padding: 6px 12px;
    font-size: 13px;
  }
}

@media (max-width: 460px) {
  .contact-us {
    gap: 6px;
  }
  .nav-pill {
    padding: 5px 10px;
    font-size: 12px;
  }
}

/* === Inline Filter Bar === */

.filter-bar {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.filter-bar .btn-group {
  flex: 1 1 auto;
  min-width: 200px;
}

/* === Book CTA === */

.book-cta {
  text-align: center;
  margin: 8px 0 32px;
}

.btn-book {
  display: inline-block;
  padding: 14px 48px;
  background: #1a1a1a;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  font-family: 'Red Hat Display', sans-serif;
  text-decoration: none;
  border-radius: 28px;
  letter-spacing: 0.02em;
  transition: background 0.2s ease, transform 0.15s ease;
}

.btn-book:hover {
  background: #333;
  transform: translateY(-1px);
}

.btn-book:active {
  transform: translateY(0);
}

.btn-book--card {
  width: 100%;
  padding: 12px 24px;
  margin-top: auto;
  border: none;
  cursor: pointer;
}

.btn-book:disabled {
  background: #ccc;
  cursor: not-allowed;
  transform: none;
}

.btn-book:disabled:hover {
  background: #ccc;
  transform: none;
}

/* --- Filter Bar Buttons --- */

.filter-bar .btn-group button {
  flex: 1;
  text-align: center;
  padding: 10px 8px;
  border: none;
  cursor: pointer;
  background-color: #fafafa;
  font-size: 14px;
  font-family: 'Red Hat Display', sans-serif;
  transition: background-color 0.25s ease, color 0.25s ease;
  line-height: 1.4;
}

.filter-bar .btn-group button:not(:last-child) {
  border-right: 1px solid #d0d0d0;
}

.filter-bar .btn-group button.btn--active {
  background-color: #1a1a1a;
  color: #fff;
  font-weight: 600;
}

.filter-bar .btn-group button:hover:not(.btn--active) {
  background-color: #f0f0ee;
}

.filter-bar .btn-group button small {
  display: block;
  font-size: 11px;
  opacity: 0.7;
}

/* === Toast Notifications === */

.toast-container {
  position: fixed;
  top: 120px;
  right: 20px;
  z-index: 300;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast {
  background: #fff;
  border-radius: 10px;
  padding: 14px 18px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  border-left: 4px solid #34a853;
  min-width: 280px;
  max-width: 360px;
  cursor: pointer;
  pointer-events: auto;
  transform: translateX(120%);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.toast--visible {
  transform: translateX(0);
  opacity: 1;
}

.toast--dismissed {
  transform: translateX(120%);
  opacity: 0;
}

.toast__title {
  font-size: 13px;
  font-weight: 700;
  color: #34a853;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}

.toast__body {
  font-size: 14px;
  color: #333;
  line-height: 1.5;
}

.toast__body strong {
  color: #1a1a1a;
}

/* === Responsive: Tour Cards === */

@media (max-width: 700px) {
  .filter-bar {
    flex-direction: column;
  }
  .toast-container {
    right: 10px;
    left: 10px;
  }
  .toast {
    min-width: unset;
    max-width: unset;
  }
}

/* === Site Footer === */

.site-footer {
  text-align: center;
  padding: 32px 16px 20px;
  margin-top: auto;
}

.site-footer::before {
  content: "";
  display: block;
  width: 60px;
  height: 1px;
  background: rgba(0, 0, 0, 0.15);
  margin: 0 auto 16px;
}

.site-footer__help {
  display: none;
}

@media (max-width: 700px) {
  .site-footer__help {
    display: block;
    margin-bottom: 10px;
  }
}

.site-footer a {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: rgba(0, 0, 0, 0.35);
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer a:hover {
  color: rgba(0, 0, 0, 0.6);
}
