/* Purple theme — load after Cheapskydeal_v2.css and site-custom.css */

:root {
  --theme-primary: #7c3aed;
  --theme-primary-dark: #5b21b6;
  --theme-primary-darker: #4c1d95;
  --theme-primary-light: #a78bfa;
  --primary: #7c3aed;
  --primary-gradient: linear-gradient(180deg, #4c1d95 0%, #5b21b6 35%, #7c3aed 70%, #9333ea 100%);
  --primary-gradient-h: linear-gradient(90deg, #4c1d95 0%, #6d28d9 50%, #7c3aed 100%);
  --text-accent: #6d28d9;
}

/* Override Cheapskydeal teal accents (legacy nav only) */
nav:not(.site-navbar) .navbar-nav .nav-item.active {
  border-color: var(--theme-primary) !important;
}
nav:not(.site-navbar) .navbar-nav .nav-item.active .nav-link,
nav:not(.site-navbar).navbar-light .navbar-nav .nav-link:hover {
  color: var(--theme-primary) !important;
}

.text-primary,
a.text-primary,
.color-primary {
  color: var(--theme-primary) !important;
}

a.text-primary:hover,
#footer ul.quick-links li a:hover,
.footer-contact-link:hover,
.route-list a:hover {
  color: var(--theme-primary-dark) !important;
}

.btn-primary,
.btn-danger,
.btn-search,
.bg-primary,
.bg-modify,
.bg_new:not(.hero-section--image),
.newsletter-box,
.search-modify-bar,
.swap-btn,
.booking-step span.active,
.contact_icon,
.text_icon {
  background: var(--primary-gradient-h) !important;
  border-color: var(--theme-primary-dark) !important;
}

.btn-primary:hover,
.btn-danger:hover,
.btn-search:hover {
  background: linear-gradient(90deg, #4c1d95 0%, #5b21b6 50%, #6d28d9 100%) !important;
}

.btn-outline-primary {
  color: var(--theme-primary) !important;
  border-color: var(--theme-primary) !important;
}

.btn-outline-primary:hover {
  background-color: var(--theme-primary) !important;
  border-color: var(--theme-primary) !important;
  color: #fff !important;
}

.feature-card .material-symbols-outlined,
.flight-price {
  color: var(--theme-primary) !important;
}

.route-tabs .nav-link.active {
  color: var(--theme-primary) !important;
  border-bottom-color: var(--theme-primary) !important;
}

.flight-card:hover {
  border-color: var(--theme-primary) !important;
}

.trip-type input {
  accent-color: var(--theme-primary);
}

.form-control:focus,
input:focus,
select:focus,
.formRow--input:focus-within {
  border-color: var(--theme-primary-light) !important;
  box-shadow: 0 0 0 2px rgba(124, 58, 237, 0.2) !important;
}

.picker__day--highlighted,
.picker__day--selected,
.picker__day--selected:hover {
  background: var(--theme-primary) !important;
}

.picker__frame {
  border-color: var(--theme-primary-light) !important;
}

/* Cheapskydeal_v2 hardcoded teal overrides (legacy nav) */
nav:not(.site-navbar).navbar-light .navbar-nav .nav-item.active .nav-link,
nav:not(.site-navbar) .navbar-nav .nav-item.active .nav-link img {
  color: var(--theme-primary) !important;
}

nav:not(.site-navbar) .navbar-nav .nav-item.active {
  border: 1px solid var(--theme-primary) !important;
}

.site-navbar__nav .nav-item.active .nav-link {
  color: var(--theme-primary) !important;
}

.badge-custom,
.floating_btn .contact_icon {
  background-color: var(--theme-primary) !important;
  box-shadow: 0 0 0 0 var(--theme-primary) !important;
}

.picker__day--infocus:hover,
.picker__day--outfocus:hover {
  color: var(--theme-primary) !important;
}

.easy-autocomplete-container ul li.selected {
  background: var(--theme-primary) !important;
}
