body {
  background: #050505;
  color: #e6eef0;
  font-family: 'Inter', 'Segoe UI', Roboto, Arial, sans-serif;
}

/* ✅ Neleisti Auto Ads lysti į šias sekcijas */
.fuel-filters,
header,
nav,
footer,
#mobileCards {
  position: relative;
}

.fuel-filters *[id^="google_ads"],
header *[id^="google_ads"],
nav *[id^="google_ads"],
footer *[id^="google_ads"],
#mobileCards *[id^="google_ads"] {
  display: none !important;
  visibility: hidden !important;
}


/* === Bootstrap 5 dropdowns are used for station and city filters === */

/* ✅ Tvarkingi AdSense blokai */
ins.adsbygoogle {
  display: block !important;
  text-align: center !important;
  margin: 16px auto !important;
  max-width: 100% !important;
  border-radius: 10px;
  overflow: hidden;
}

@media (max-width: 768px) {
  ins.adsbygoogle {
    margin: 12px auto !important;
    border-radius: 14px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.25);
  }

  /* Pašalina reklamas iš vietų, kur netinka */
  nav ins.adsbygoogle,
  header ins.adsbygoogle,
  .fuel-filters ins.adsbygoogle {
    display: none !important;
  }
}

.dropdown-menu {
  max-height: 360px;
  overflow-y: auto;
}

/* === Skeleton === */
.skeleton-card {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite linear;
  border-radius: 16px;
  height: 130px;
}

.skeleton {
  background: rgba(255, 255, 255, 0.07);
  border-radius: 6px;
  animation: shimmer 1.4s infinite linear;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.05) 25%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.05) 75%);
  background-size: 200% 100%;
}

.skeleton-title {
  width: 70%;
  height: 18px;
}

.skeleton-line {
  width: 100%;
  height: 10px;
}

@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

/* === Kortelės === */
.fuel-mobile-card {
  background: linear-gradient(180deg, rgba(10, 15, 20, 0.95), rgba(3, 6, 10, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 14px;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 18px rgba(0, 170, 255, 0.08);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.45s cubic-bezier(.2, .9, .3, 1);
}

.fuel-mobile-card.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.fuel-mobile-card:hover {
  box-shadow: 0 0 20px rgba(13, 202, 240, 0.2);
  transform: translateY(-2px);
}

.fuel-mobile-card .price-line {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
  padding: 4px 0;
  font-size: 15px;
  align-items: center;
}

.fuel-mobile-card .price-line i {
  font-size: 1rem;
  opacity: 0.85;
  transition: transform .3s ease, opacity .3s ease;
}

.fuel-mobile-card:hover .price-line i {
  transform: scale(1.2);
  opacity: 1;
}

.fuel-mobile-card .price-line b {
  color: #0dcaf0;
}

/* === Mygtukai === */
.fuel-mobile-card .btn-outline-info {
  border: 1px solid rgba(13, 202, 240, 0.5);
  color: #0dcaf0;
  background: rgba(13, 202, 240, 0.08);
  transition: all .3s ease;
}

.fuel-mobile-card .btn-outline-info:hover {
  background: rgba(13, 202, 240, 0.15);
  box-shadow: 0 0 12px rgba(13, 202, 240, 0.3);
  color: #61e3ff;
}

.fuel-mobile-card .btn-outline-light {
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  transition: all .3s ease;
}

.fuel-mobile-card .btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.2);
}

/* Animacijos */
@keyframes cardIn {
  from {
    opacity: 0;
    transform: translateY(15px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* --- Lentelė --- */
.fuel-table-modern {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: rgba(15, 15, 15, 0.85);
  border-radius: 16px;
  color: #f5f5f5;
  overflow: hidden;
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.7);
  position: relative;
  animation: fadeInUp 0.6s ease;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fuel-table-modern::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #0dcaf0, transparent);
  animation: lightMove 3s linear infinite;
  opacity: 0.8;
}

@keyframes lightMove {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(100%);
  }
}

/* --- THEAD --- */
.fuel-table-modern thead {
  background: linear-gradient(180deg, rgba(13, 202, 240, 0.15) 0%, rgba(13, 202, 240, 0.03) 100%);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.fuel-table-modern th {
  color: #bfefff;
  font-weight: 600;
  padding: 14px 16px;
  font-size: 13.5px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  background: rgba(20, 20, 20, 0.85);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  text-shadow: 0 0 6px rgba(13, 202, 240, 0.25);
  transition: all 0.3s ease;
}

.fuel-table-modern th:hover {
  color: #fff;
  background: rgba(13, 202, 240, 0.12);
  text-shadow: 0 0 10px rgba(13, 202, 240, 0.45);
}

.fuel-table-modern th i {
  color: #0dcaf0;
  margin-right: 6px;
  font-size: 15px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.fuel-table-modern th:hover i {
  transform: scale(1.25);
  opacity: 1;
}

/* --- Langeliai --- */
.fuel-table-modern td {
  padding: 12px 14px;
  font-size: 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  vertical-align: middle;
  transition: all 0.25s ease;
}

.fuel-table-modern tbody tr:hover {
  background: rgba(13, 202, 240, 0.07);
  transform: scale(1.01);
  box-shadow: 0 0 15px rgba(13, 202, 240, 0.1);
}

/* --- Kainų spalvos --- */
.fuel.diesel {
  color: #f9d835;
  font-weight: 600;
}

.fuel.b95 {
  color: #61e3a9;
  font-weight: 600;
}

.fuel.b98 {
  color: #ff6363;
  font-weight: 600;
}

.fuel.lpg {
  color: #4ec7ff;
  font-weight: 600;
}

/* --- Šalių pasirinkimas --- */
.country-flags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
}

.flag-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #e6eef0;
  font-weight: 600;
  border-radius: 10px;
  padding: 10px 16px;
  font-size: 15px;
  min-width: 90px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.flag-btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(13, 202, 240, 0.15), transparent);
  transition: all 0.4s;
}

.flag-btn:hover::after {
  left: 100%;
}

.flag-btn:hover {
  background: rgba(13, 202, 240, 0.1);
  color: #0dcaf0;
  transform: translateY(-2px);
}

.flag-btn.active {
  background: #0dcaf0;
  color: #0b0b0b;
  font-weight: 700;
  box-shadow: 0 0 15px rgba(13, 202, 240, 0.45);
}

/* --- Filtrai --- */
.filters-below input {
  background: rgba(25, 25, 25, 0.85);
  color: #e6eef0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  font-size: 15px;
  padding: 10px 14px;
  transition: all 0.3s ease;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
}

.filters-below input:focus {
  border-color: #0dcaf0;
  box-shadow: 0 0 15px rgba(13, 202, 240, 0.35);
  outline: none;
}

/* --- Pagination --- */
.fuel-pagination button {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: #e6eef0;
  font-weight: 600;
  padding: 6px 12px;
  margin: 0 4px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.fuel-pagination button:hover {
  background: rgba(13, 202, 240, 0.08);
  color: #0dcaf0;
  transform: translateY(-2px);
  box-shadow: 0 0 15px rgba(13, 202, 240, 0.25);
}

.fuel-pagination button.active {
  background: #0dcaf0;
  color: #0b0b0b;
  box-shadow: 0 0 15px rgba(13, 202, 240, 0.45);
}

/* --- Mobilios kortelės --- */
#mobileCards .card {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015));
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 14px;
  padding: 12px;
  margin-bottom: 14px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

#mobileCards .card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(13, 202, 240, 0.15);
}

#mobileCards a {
  color: #0dcaf0;
  text-decoration: none;
  transition: all 0.2s ease;
}

#mobileCards a:hover {
  color: #61e3a9;
  text-shadow: 0 0 8px rgba(13, 202, 240, 0.4);
}

.price-line {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px dashed #333;
  padding: 4px 0;
  font-size: 15px;
}

.price-line b {
  color: #0dcaf0;
}

/* === Mėgstamos: heart button === */
.fav-btn {
  background: transparent;
  border: 0;
  color: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  padding: 2px 6px;
  margin-left: 6px;
  border-radius: 6px;
  transition: color .2s ease, transform .2s ease, background .2s ease;
  vertical-align: middle;
  display: inline-flex;
  align-items: center;
}

.fav-btn:hover {
  color: #ff5d7a;
  background: rgba(255, 93, 122, 0.08);
  transform: scale(1.1);
}

.fav-btn.is-favorited {
  color: #ff3860;
}

.fav-btn i.bi {
  font-size: 18px;
  line-height: 1;
}

.fav-btn:active {
  transform: scale(0.92);
}

/* === Mėgstamos: top bar === */
.favorites-section {
  background: linear-gradient(180deg, rgba(255, 56, 96, 0.06), rgba(255, 56, 96, 0.015));
  padding: 14px 16px;
}

.favorites-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.favorites-title {
  color: #ff8aa0;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.favorites-bar {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.favorite-card {
  width: 100%;
  background: rgba(15, 15, 15, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 10px 12px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.favorite-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 56, 96, 0.35);
  box-shadow: 0 4px 14px rgba(255, 56, 96, 0.12);
}

.favorite-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 4px;
}

.favorite-card .stationName {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.favorite-remove {
  background: transparent;
  border: 0;
  color: rgba(255, 255, 255, 0.4);
  padding: 2px;
  border-radius: 4px;
  cursor: pointer;
  display: inline-flex;
  transition: color .2s ease, background .2s ease;
}

.favorite-remove:hover {
  color: #ff5d7a;
  background: rgba(255, 93, 122, 0.1);
}

.favorite-prices {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
}

.favorite-prices .fuel-pill {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
}

.favorite-prices .fuel-label {
  color: #7d8b93;
  font-size: 12px;
  font-weight: 500;
}

/* === Map thumbnail link === */
.map-thumb-link {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease;
}

.map-thumb-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(13, 202, 240, 0.25);
}

.map-thumb-link img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform .4s ease;
}

.map-thumb-link:hover img {
  transform: scale(1.03);
}

.map-thumb-link::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.45) 100%);
  pointer-events: none;
}

.map-thumb-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  color: #fff;
  background: rgba(13, 202, 240, 0.85);
  padding: 10px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.3px;
  box-shadow: 0 4px 14px rgba(13, 202, 240, 0.45);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.map-thumb-link:hover .map-thumb-text {
  background: #0dcaf0;
  color: #0b0b0b;
}
