/* ============================================================
   ATC Geo-Personalization Banner
   ============================================================ */

.geo-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 60;
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
  pointer-events: none;
}

.geo-banner.geo-banner--visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.geo-banner-inner {
  max-width: 680px;
  margin: 0 auto 16px;
  padding: 16px 20px;
  background: #112548;
  border-radius: 14px;
  border: 1px solid rgba(207, 174, 100, 0.15);
  box-shadow: 0 -4px 32px rgba(17, 37, 72, 0.2), 0 12px 40px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  gap: 16px;
  color: #FFFFFF;
  font-family: "Inter", system-ui, sans-serif;
}

.geo-banner-icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 10px;
  background: rgba(207, 174, 100, 0.12);
  border: 1px solid rgba(207, 174, 100, 0.2);
  display: grid;
  place-items: center;
  font-size: 20px;
  line-height: 1;
}

.geo-banner-body {
  flex: 1;
  min-width: 0;
}

.geo-banner-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.3;
}

.geo-banner-title strong {
  color: #CFAE64;
}

.geo-banner-sub {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 3px;
  line-height: 1.4;
}

.geo-banner-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.geo-banner-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s ease, transform 0.15s ease;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.geo-banner-cta--primary {
  background: #CFAE64;
  color: #112548;
}

.geo-banner-cta--primary:hover {
  background: #DBBC74;
  transform: translateY(-1px);
}

.geo-banner-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
  flex-shrink: 0;
  font-family: inherit;
}

.geo-banner-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
}

/* Mobile */
@media (max-width: 640px) {
  .geo-banner-inner {
    margin: 0 8px 8px;
    padding: 14px 16px;
    flex-wrap: wrap;
    gap: 12px;
  }

  .geo-banner-actions {
    width: 100%;
  }

  .geo-banner-cta {
    flex: 1;
  }
}

/* Don't show geo banner when cookie banner is visible */
.cookie.show ~ .geo-banner {
  display: none;
}
