/*
 * GoFare Airline Logo Hover Preview
 * --------------------------------
 * Purpose: show a larger, premium preview of airline logos on hover/focus
 * without causing layout shift or being clipped by card overflow.
 */

img[data-airline-code] {
  cursor: zoom-in;
}

.gf-logo-preview {
  position: fixed;
  z-index: 9999;
  pointer-events: none;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 120ms ease, transform 120ms ease;
  left: -9999px;
  top: -9999px;
}

.gf-logo-preview.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.gf-logo-preview__card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(148, 163, 184, 0.55);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
  backdrop-filter: blur(6px);
}

.gf-logo-preview__img {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 1);
  padding: 8px;
  object-fit: contain;
}

.gf-logo-preview__name {
  font-size: 13px;
  font-weight: 800;
  color: #0f172a;
  white-space: nowrap;
  max-width: 240px;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.1;
}

.gf-logo-preview__code {
  font-size: 12px;
  font-weight: 700;
  color: #64748b;
  margin-top: 2px;
}
