/* -----------------------------------------
   FlightCatchr custom overrides
   (safe small layer on top of flightcatchr.css)
------------------------------------------ */

/* Fullscreen loading overlay (shown when needed via JS) */
.adhloadingnewgs {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none; /* set to flex when loading via JS */
  justify-content: center;
  align-items: center;
  background-color: #fff;
  margin: 0;
  perspective: 1000px;
}

.adhloadingnewgs .box {
  width: 200px;
  height: 200px;
  padding: 56px;
  border-radius: 3px;
  font-size: 30px;
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-bottom: 0.25em;
  vertical-align: top;
  transition:
    color 0.3s,
    border 0.3s,
    transform 0.3s,
    opacity 0.3s;
}

/* Generic loader base */
[class*="loader-"] {
  display: inline-block;
  width: 27px;
  height: 27px;
  color: inherit;
  vertical-align: middle;
  pointer-events: none;
}

/* Loader 13 animation */
.adhloadingnewgs .loader-13,
.adhloadingnewgs .loader-13::before,
.adhloadingnewgs .loader-13::after {
  border-radius: 50%;
  animation: loader-13 1.8s ease-in-out infinite;
}

.adhloadingnewgs .loader-13 {
  position: relative;
  transform: translateZ(0);
  animation-delay: -0.16s;
  top: -1em;
}

.adhloadingnewgs .loader-13::before,
.adhloadingnewgs .loader-13::after {
  content: "";
  position: absolute;
  top: 0;
  width: inherit;
  height: inherit;
  display: block;
}

.adhloadingnewgs .loader-13::before {
  right: 100%;
  animation-delay: -0.32s;
}

.adhloadingnewgs .loader-13::after {
  left: 100%;
}

/* Keyframes for loader-13 */
@keyframes loader-13 {
  0%,
  80%,
  100% {
    box-shadow: 0 1em 0 -1em;
  }
  40% {
    box-shadow: 0 1em 0 -0.2em;
  }
}

/* Ensure logged-in "My Booking" button stays visible & styled */
.adhCustomerLoginBox a,
.adhCustomerLoginBox button,
.adhCustomerLoginBox .wp-element-button,
.adhCustomerLoginBox .wp-block-button__link {
  background-color: #243E90 !important;  /* FlightCatchr blue */
  color: #ffffff !important;
  border-radius: 10px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 4px;
  height: 40px;
  line-height: 1;
}

/* Hover state */
.adhCustomerLoginBox a:hover,
.adhCustomerLoginBox button:hover,
.adhCustomerLoginBox .wp-element-button:hover,
.adhCustomerLoginBox .wp-block-button__link:hover {
  background-color: #192c6b !important;  /* slightly darker on hover */
  color: #ffffff !important;
}

/* Make sure header/nav doesn't clip the dropdown */
.header-area,
.header-area .main-nav,
.header-area .main-nav .nav,
.header-area .main-nav .nav > li {
  overflow: visible !important;
}

/* Position the login box so its dropdown can be absolutely positioned */
.is-style-fill.adhCustomerLoginBox {
  position: relative;
  z-index: 9998; /* sits on top of header background */
}

/* Dropdown itself (Dashboard / Logout) */
.is-style-fill.adhCustomerLoginBox ul,
.is-style-fill.adhCustomerLoginBox .sub-menu {
  position: absolute;
  top: 110%;
  right: 0;
  margin: 0;
  padding: 6px 0;
  list-style: none;
  background: #0f172a;          /* dark like footer */
  color: #f9fafb;
  border-radius: 10px;
  min-width: 170px;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.25);
  z-index: 9999;                /* above everything */
}

/* Links inside dropdown */
.is-style-fill.adhCustomerLoginBox ul li a {
  display: block;
  padding: 8px 16px;
  color: #f9fafb !important;
  text-decoration: none;
  white-space: nowrap;
  font-size: 14px;
}

.is-style-fill.adhCustomerLoginBox ul li a:hover {
  background: #243E90;          /* blue */
  color: #FACC45 !important;    /* gold accent */
}

/* -----------------------------
   Footer tweaks
------------------------------ */

footer .about ul {
  padding: 0;
}

/* Font Awesome brand icons line-height tweak */
.fab {
  line-height: 2;
}

.footer-bg {
  background-color: #0f172a;
}

/* Small legal note under copyright */
.footer-note {
  font-size: 10px;
  margin-top: -30px;
}

/* "Crafted with ❤️" text */
.footer-crafted {
  color: #fafafa;
}

