:root {
  --font-primary: 'Inter', sans-serif;
}

body {
  font-family: var(--font-primary);
  font-weight: 400;
}

h1, h2, h3, h4, h5, h6, .text-30, .text-40, .text-60 {
  font-family: var(--font-primary);
  font-weight: 600;
  letter-spacing: -0.02em;
}

/* ── Header user button border ── */
.header-user-btn.border-light {
  border: 2px solid #e5e7eb;
  border-radius: 8px;
}
.header-user-btn.border-light:hover {
  border-color: #8C00E3;
}

/* ── User Dropdown Menu Styling (Match Home Header) ── */
.account-drop .dropdown-menu {
  border: none;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
  overflow: hidden;
  padding: 0;
  min-width: 220px !important;
}

.account-drop .dropdown-menu .drp_menu_headr {
  background-color: #ffffff !important;
  border-bottom: 1px solid #f3f4f6;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

/* Branding logo inside the dropdown header */
.account-drop .dropdown-menu .drp_menu_headr::before {
  content: "";
  display: block;
  width: 120px;
  height: 30px;
  background: url('/img/logo.png') no-repeat left center / contain;
  margin-bottom: 4px;
}

.account-drop .dropdown-menu .drp_menu_headr h4 {
  font-family: var(--font-primary);
  font-size: 15px;
  font-weight: 600;
  color: #000000 !important;
  margin: 0;
}

.account-drop .dropdown-menu ul li a {
  font-family: var(--font-primary);
  font-weight: 500;
  color: #000000 !important;
  padding: 12px 24px;
  border-bottom: 1px solid #f3f4f6;
  transition: all 0.2s ease;
}

.account-drop .dropdown-menu ul li a:hover {
  background-color: rgba(140, 0, 227, 0.04);
  color: #8C00E3;
}

/* ── Layout Fix: Remove empty sidebar space on activity show page ── */
@media (min-width: 992px) {
  .hotelSingleGrid {
    grid-template-columns: 1fr auto !important;
  }
}

/* ── Why Choose Us hover card ── */
.why-choose-card {
  transition: all 0.3s ease;
}
.why-choose-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(140,0,227,0.15);
}

/* ── Testimonials card ── */
.testimonial-card {
  min-height: 220px;
}

/* ── Activity gallery: limit image height on desktop ── */
.galleryGrid.-type-1 > *:nth-child(1) img {
  max-height: calc(100vh + 10px);
  object-fit: cover;
}
.galleryGrid.-type-1 img {
  max-height: 50vh;
  object-fit: cover;
}

@media (max-width: 991px) {
  .galleryGrid.-type-1 {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    grid-template-rows: auto;
  }
  .galleryGrid.-type-1 > *:nth-child(1) {
    grid-row: auto;
  }
}

/* ── Buttons with modern border style ── */
.button {
  font-family: var(--font-primary);
  font-weight: 500;
  border-radius: 8px;
  border-width: 2px;
  transition: all 0.25s ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.button.-outline-white {
  border: 2px solid rgba(255, 255, 255, 0.8);
  background: transparent;
}



.button.-outline-white:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.15);
}

.button.-blue-1,
.button.-dark-1,
.button.bg-blue-1 {
  border: 2px solid #8C00E3;
}

.button.-blue-1:hover,
.button.-dark-1:hover,
.button.bg-blue-1:hover {
  background-color: #7B00CC !important;
  border-color: #7B00CC;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(140, 0, 227, 0.25);
}

.button.-outline-blue-1 {
  border: 2px solid #8C00E3;
}

.button.-outline-blue-1:hover {
  background-color: #8C00E3 !important;
  color: #fff !important;
  transform: translateY(-2px);
}

/* Auth buttons in home */
.auth-buttons .auth-link {
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  transition: all 0.25s ease;
}

.auth-buttons .auth-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  border-color: rgba(255, 255, 255, 0.4);
}

/* ── Activity cards with purple border ── */
.hotelsCard.-type-1,
.rentalCard.-type-1 {
  border: 1px solid rgba(140, 0, 227, 0.15);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.hotelsCard.-type-1:hover,
.rentalCard.-type-1:hover {
  border-color: #8C00E3;
  box-shadow: 0 8px 30px rgba(140, 0, 227, 0.15);
  transform: translateY(-4px);
}

.hotelsCard.-type-1 .hotelsCard__image,
.rentalCard.-type-1 .rentalCard__image {
  border-radius: 12px 12px 0 0;
  overflow: hidden;
}

.hotelsCard.-type-1 .hotelsCard__content,
.rentalCard.-type-1 .rentalCard__content {
  padding: 16px;
  flex: 1;
}

.hotelsCard.-type-1 .cardImage__wishlist {
  top: 12px;
  right: 12px;
}

.hotelsCard.-type-1 .cardImage__leftBadge {
  top: 12px;
  left: 0;
}

/* ── Sidebar booking widget border ── */
.border-light.rounded-4.shadow-4 {
  border: 1px solid rgba(140, 0, 227, 0.2) !important;
}

/* ── General refinements ── */
.sectionTitle__title {
  font-weight: 600;
  letter-spacing: -0.02em;
}

.hotelsCard__title {
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.hotelsCard__title span {
  display: inline;
}

.fw-500 {
  font-weight: 500 !important;
}

.fw-600 {
  font-weight: 600 !important;
}

.text-18 {
  letter-spacing: -0.01em;
}

/* ── Header: activity name in dropdowns ── */
/* Desktop: one line per activity, no truncation */
.header-activity-name {
  display: inline-block;
  vertical-align: middle;
  max-width: 100%;
  white-space: nowrap;
}

/* Mobile: truncate with ellipsis */
@media (max-width: 991px) {
  .header-activity-name {
    max-width: calc(100vw - 100px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

/* ── Mobile: push logo right ── */
@media (max-width: 991px) {
  .header-logo {
    margin-left: 0 !important;
    padding-left: 10px;
  }
  .header-logo-img {
    height: 32px !important;
  }
  .header-logo-text {
    font-size: 14px !important;
  }
}
/* Consistent menu/subnav sizing in responsive (covers full mobile menu breakpoint) */
@media (max-width: 1199px) {
  .menu__nav > li > a {
    font-size: 13px !important;
    padding: 6px 10px !important;
  }
  .menu__nav .subnav a,
  .menu__nav .subnav__backBtn a {
    font-size: 13px !important;
    font-weight: 500 !important;
    padding: 6px 10px !important;
    height: auto !important;
  }
}

/* Remove bullet points from subnav items */
.menu__nav ul.subnav {
  list-style: none !important;
  padding-left: 0 !important;
}
.menu__nav ul.subnav li {
  list-style: none !important;
}
.menu__nav ul.subnav li::before {
  display: none !important;
  content: none !important;
}

/* ── Fidelity table full width ── */
.fidelity-table {
  width: 100%;
  table-layout: auto;
}
.fidelity-table th,
.fidelity-table td {
  white-space: nowrap;
}

/* ── Keep white text on purple buttons ── */
.bg-blue-1.text-white,
.bg-blue-1.text-white:hover,
.bg-blue-1.text-white:active,
.bg-blue-1.text-white:visited,
.bg-blue-1.text-white:focus {
  color: #FFFFFF !important;
}

/* ── Chat widget ── */
.chat-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
.chat-widget-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #8C00E3;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(140,0,227,0.3);
  flex-shrink: 0;
}
.chat-widget-panel {
  position: absolute;
  bottom: 70px;
  right: 0;
  height: 400px;
  max-height: 400px;
  width: 320px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
  display: none;
  overflow: hidden;
  flex-direction: column;
}
.chat-widget-panel.is-open {
  display: flex;
}
.chat-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  flex-shrink: 0;
}
.chat-panel-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  line-height: 1;
  padding: 0 4px;
  opacity: 0.8;
}
.chat-panel-close:hover {
  opacity: 1;
}
.chat-start-form {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}
.chat-panel-body {
  padding: 14px;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.chat-input-row {
  flex-shrink: 0;
  padding: 10px 0 8px;
}
.chat-conversation {
  display: none !important;
  flex: 1;
  min-height: 0;
  flex-direction: column;
}
.chat-conversation.is-open {
  display: flex !important;
}
.chat-bubble {
  max-width: 80%;
  margin-bottom: 8px;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.4;
  word-wrap: break-word;
  clear: both;
}
.chat-bubble.client {
  float: right;
  background: #8C00E3;
  color: #fff;
  border-bottom-right-radius: 4px;
}
.chat-bubble.admin {
  float: left;
  background: #f3f4f6;
  color: #1f2937;
  border-bottom-left-radius: 4px;
}
.bubble-text {
  white-space: pre-wrap;
}
.bubble-time {
  font-size: 11px;
  opacity: 0.7;
  margin-top: 4px;
  text-align: right;
}
.chat-msgs {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  height: 0;
}
@media (max-width: 768px) {
  .chat-widget { pointer-events: none; }
  .chat-widget.is-active-panel { pointer-events: auto; }
  .chat-widget-btn { pointer-events: auto !important; }
  .chat-widget-panel {
    max-height: 100vh !important;
    width: 100vw !important;
    height: 100vh !important;
    bottom: 0 !important;
    right: 0 !important;
    left: 0 !important;
    top: 0 !important;
    border-radius: 0 !important;
    position: fixed;
  }
  .chat-panel-body {
    flex: 1 !important;
    height: calc(100vh - 120px) !important;
    max-height: calc(100vh - 120px) !important;
  }
.chat-msgs {
    flex: 1 !important;
    height: calc(100vh - 190px) !important;
    max-height: calc(100vh - 190px) !important;
    overflow-y: auto;
  }
}

/* ── Stat cards: equal width/height, full width on mobile ── */
.stat-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 15px rgba(0,0,0,0.06);
  padding: 24px 28px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  height: 100%;
  width: 100%;
}
.stat-card-body {
  flex: 1;
  min-width: 0;
}
.stat-card-label {
  font-size: 14px;
  font-weight: 500;
  color: #697488;
  line-height: 1.2;
}
.stat-card-value {
  font-size: 26px;
  font-weight: 600;
  color: #1A0536;
  line-height: 1.2;
  margin-top: 6px;
}
.stat-card-desc {
  font-size: 14px;
  color: #697488;
  margin-top: 4px;
  line-height: 1.3;
}
.stat-card-icon {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(140,0,227,0.08);
}
.stat-card-icon i {
  font-size: 20px;
  color: #8C00E3;
}
@media (max-width: 1199px) {
  body.dashboard .items-stretch > [class*="col-"] {
    width: 100% !important;
    flex: 0 0 100% !important;
    max-width: 100% !important;
    margin-bottom: 0 !important;
  }
}

/* ── Admin messenger full height ── */
@media (min-width: 992px) {
  .messenger-container {
    height: calc(100vh - 180px) !important;
    min-height: 500px;
  }
}

/* ── Preloader: simple purple spinner ── */
.loader-ring {
  width: 36px;
  height: 36px;
  position: relative;
}
.loader-ring__dot {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 3px solid transparent;
  border-top-color: #8C00E3;
  animation: loaderSpin 1.2s linear infinite;
}
@keyframes loaderSpin {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ── Pagination disabled state ── */
.pagination__button.is-disabled {
  opacity: 0.4;
  cursor: default;
  pointer-events: none;
}

.invalid-feedback {
  color: #dc3545;
  font-size: 13px;
  margin-top: 4px;
  display: block;
}
.form-input input.is-invalid,
.form-input textarea.is-invalid {
  border-color: #dc3545 !important;
}

/* ===== Skeleton Loading ===== */
@keyframes skeleton-shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}
.skeleton-shimmer {
    background: linear-gradient(90deg,#e5e7eb 25%,#f3f4f6 37%,#e5e7eb 63%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.4s ease-in-out infinite;
}
.skeleton-block { display: block; }
.skeleton-line {
    height: 14px; border-radius: 4px; margin-bottom: 8px;
    background: linear-gradient(90deg,#e5e7eb 25%,#f3f4f6 37%,#e5e7eb 63%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.4s ease-in-out infinite;
}
.skeleton-line:last-child { margin-bottom: 0; }
.skeleton-card { border-radius: 8px; overflow: hidden; background: #fff; }
.skeleton-text-block { display: flex; flex-direction: column; gap: 4px; }
