/* ---------------------------------------------------------------------------
   COLOR THEMES
--------------------------------------------------------------------------- */
:root {
  /* Light ---------------------------------------------------------- */
  --bg-color: #f5f5f5;
  --bg-secondary: #ffffff;
  --bg-tertiary: #f0f0f0;
  --text-color: #222;
  --text-secondary: #555;
  --border-color: #dddddd;
  --shadow-color: rgba(0, 0, 0, .1);
  --primary-btn-bg: #0055b3;
  --primary-btn-hover: #004494;
  --secondary-btn-bg: #e0e0e0;
  --secondary-btn-hover: #d0d0d0;
  --tertiary-btn-bg: #551166;
  --tertiary-btn-hover: #440055;
  --accent-color: #d63500;
  --accent-color-dark: #b22d00;
  --header-bg: #ffffff;
  --panel-bg: #ffffff;
  --card-bg: #f8f8f8;
  --footer-bg: #272727;
  --footer-text: #f0f0f0;
  --map-tile:'https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png';
  --frp-small-bg: rgba(204, 153, 0, .7);
  --frp-medium-bg: rgba(204, 102, 0, .8);
  --frp-large-bg: rgba(204, 0, 0, .85);
  --focus-outline-color: #0066cc;
}

[data-theme="dark"] {
  --bg-color: #121212;
  --bg-secondary: #1a1a1a;
  --bg-tertiary: #222;
  --text-color: #ffffff;
  --text-secondary: #dddddd;
  --border-color: #333;
  --shadow-color: rgba(0, 0, 0, .3);
  --primary-btn-bg: #0077e6;
  --primary-btn-hover: #0088ff;
  --secondary-btn-bg: #333;
  --secondary-btn-hover: #444;
  --tertiary-btn-bg: #7722aa;
  --tertiary-btn-hover: #8833bb;
  --accent-color: #ff5a14;
  --accent-color-dark: #ff7a34;
  --header-bg: #1a1a1a;
  --panel-bg: #1a1a1a;
  --card-bg: #2b2b2b;
  --footer-bg: #1a1a1a;
  --map-tile:'https://{s}.basemaps.cartocdn.com/dark_all/{z}/{x}/{y}{r}.png';
  --frp-small-bg: rgba(255, 204, 0, .6);
  --frp-medium-bg: rgba(255, 153, 0, .7);
  --frp-large-bg: rgba(255, 51, 0, .8);
  --focus-outline-color: #4499ff;
}

/* High contrast mode override (applied via JS) */
.high-contrast {
  --text-color: #000000;
  --text-secondary: #333333;
  --primary-btn-bg: #003d99;
  --primary-btn-hover: #00306f;
  --accent-color: #b10000;
}

[data-theme="dark"].high-contrast {
  --text-color: #ffffff;
  --text-secondary: #f0f0f0;
  --primary-btn-bg: #0088ff;
  --primary-btn-hover: #0099ff;
  --accent-color: #ff6600;
}

/* ---------------------------------------------------------------------------
   RESET & BASICS
--------------------------------------------------------------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  transition: background-color .3s, color .3s;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
}

#app-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* ---------------------------------------------------------------------------
   HEADER
--------------------------------------------------------------------------- */
header {
  background: var(--header-bg);
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .5rem;
  flex-wrap: wrap;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 5px var(--shadow-color);
}

.logo {
  display: flex;
  align-items: center;
  max-width: 60%;
  padding-right: .5rem;
}

.logo-img {
  width: 150px;
  height: auto;
  max-width: 100%;
}

h1,
.site-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-left: 15px;
  text-align: center;
  background-color: #ff8903ab;
  border-radius: 10px;
  padding-right: 10px;
  padding-left: 10px;
}

.controls {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.control-btn {
  background: var(--secondary-btn-bg);
  color: var(--text-color);
  border: none;
  border-radius: 4px;
  padding: .5rem 1rem;
  display: flex;
  align-items: center;
  gap: .5rem;
  cursor: pointer;
  white-space: nowrap;
  position: relative;
}

.control-btn:hover {
  background: var(--secondary-btn-hover);
}

.control-btn:focus {
  outline: 2px solid var(--focus-outline-color);
  outline-offset: 2px;
}

.theme-toggle,
.mobile-menu-btn {
  background: transparent;
  border: 1px solid var(--border-color);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-color);
  position: relative;
}

.theme-toggle:hover,
.mobile-menu-btn:hover {
  background: var(--bg-tertiary);
}

.theme-toggle:focus,
.mobile-menu-btn:focus {
  outline: 2px solid var(--focus-outline-color);
  outline-offset: 2px;
}

/* Screen reader only text */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Mobile button tooltips */
.mobile-button-tooltip {
  position: absolute;
  background: var(--bg-secondary);
  color: var(--text-color);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 4px 8px;
  font-size: 0.8rem;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
  box-shadow: 0 2px 5px var(--shadow-color);
  z-index: 1001;
  pointer-events: none;
}

.control-btn:hover .mobile-button-tooltip,
.control-btn:focus .mobile-button-tooltip,
.theme-toggle:hover .mobile-button-tooltip,
.theme-toggle:focus .mobile-button-tooltip,
.mobile-menu-btn:hover .mobile-button-tooltip,
.mobile-menu-btn:focus .mobile-button-tooltip {
  opacity: 1;
  visibility: visible;
}

/* show λιγότερα κουμπιά σε ≤768 px */
@media(max-width:768px) {

  #toggle-sidebar-btn,
  #toggle-info,
  #scroll-to-faq {
    display: none;
  }
}

/* Country nav (desktop) */
.country-nav.desktop {
  margin-left: auto;
  position: relative
}

.country-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--secondary-btn-bg);
  color: var(--text-color);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: .5rem .8rem;
  cursor: pointer
}

.country-toggle-btn:hover {
  background: var(--secondary-btn-hover)
}

.country-toggle-btn .caret {
  margin-left: .25rem
}

.country-dropdown {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  box-shadow: 0 6px 18px var(--shadow-color);
  border-radius: 8px;
  padding: .8rem;
  min-width: 340px;
  display: none;
  z-index: 1200
}

.country-dropdown.open {
  display: block
}

.country-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(140px, 1fr));
  gap: .5rem .8rem
}

.country-link {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem .6rem;
  border-radius: 6px;
  color: var(--text-color);
  text-decoration: none;
  border: 1px solid transparent
}

.country-link:hover {
  background: var(--bg-tertiary);
  border-color: var(--border-color)
}

.country-link.active {
  background: var(--accent-color);
  color: #fff
}

/* Hide desktop country menu on mobile */
@media(max-width:768px) {
  .country-nav.desktop {
    display: none;
  }
}

/* ---------------------------------------------------------------------------
   MOBILE NAV
--------------------------------------------------------------------------- */
.mobile-menu-btn {
  display: none;
}

@media(max-width:768px) {
  .mobile-menu-btn {
    display: flex;
  }

  .control-text {
    display: none;
  }
}

.mobile-nav-menu {
  position: fixed;
  top: 0;
  right: -280px;
  width: 280px;
  height: 100vh;
  background: var(--bg-secondary);
  box-shadow: -2px 0 5px var(--shadow-color);
  display: flex;
  flex-direction: column;
  z-index: 2000;
  transition: right .3s;
}

.mobile-nav-menu.active {
  right: 0;
}

.nav-header {
  padding: 1rem;
  background: var(--bg-tertiary);
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
}

.nav-links {
  display: flex;
  flex-direction: column;
  padding: 1rem 0;
}

.nav-links a {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .8rem 1rem;
  color: var(--text-color);
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a.active {
  background: var(--bg-tertiary);
  color: var(--accent-color);
}

.nav-links.country-links a.active {
  background: var(--accent-color);
  color: #fff
}

.nav-links a:focus {
  outline: 2px solid var(--focus-outline-color);
  outline-offset: -2px;
}

.faq-button {
  background: var(--tertiary-btn-bg);
  color: #fff;
}

.faq-button:hover {
  background: var(--tertiary-btn-hover);
}

/* ---------------------------------------------------------------------------
   MAP WRAPPER & LEFT SIDEBAR
--------------------------------------------------------------------------- */
#map-wrapper {
  position: relative;
  height: calc(100vh - 90px - 120px);
  width: 100%;
  overflow: hidden;
}

/* Map wrapper height (no mobile ad panel) */
@media (max-width: 768px) {
  #map-wrapper {
    height: calc(100vh - 56px - 140px);
  }
}

@media (max-width: 480px) {
  #map-wrapper {
    height: calc(100vh - 56px - 120px);
  }
}

.fires-list-sidebar {
  position: absolute;
  top: 0;
  left: 0;
  width: 280px;
  height: 100%;
  background: var(--bg-secondary);
  border-right: 1px solid var(--border-color);
  box-shadow: 2px 0 5px var(--shadow-color);
  display: flex;
  flex-direction: column;
  z-index: 900;
  transition: transform .3s;
  transform: translateX(-100%);
}

/* default hidden */
.fires-list-sidebar.active {
  transform: translateX(0);
}

.sidebar-toggle-btn {
  position: absolute;
  top: 80px;
  right: -47px;
  width: 44px;
  height: 44px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1000;
  box-shadow: 0 2px 5px var(--shadow-color);
  transition: right .3s, transform .3s;
}

.sidebar-toggle-btn:focus {
  outline: 2px solid var(--focus-outline-color);
  outline-offset: 2px;
}

.sidebar-toggle-btn i {
  transition: transform .3s;
  color: var(--text-color) !important;
}

.fires-list-sidebar:not(.active) .sidebar-toggle-btn {
  right: -11px;
  transform: translateX(100%);
}

.fires-list-sidebar:not(.active) .sidebar-toggle-btn i {
  transform: rotate(180deg);
}

.sidebar-toggle-btn:hover i {
  color: var(--accent-color) !important;
}

.fires-list-header {
  padding: 1rem;
  background: var(--bg-tertiary);
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
}

.fires-list-content {
  padding: 1rem;
  overflow-y: auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: .8rem;
}

.fire-list-item {
  background: var(--card-bg);
  border-radius: 6px;
  padding: .8rem;
  border: 1px solid var(--border-color);
  box-shadow: 0 1px 3px var(--shadow-color);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: .2rem;
  transition: background-color .2s;
}

.fire-list-item:hover {
  background: var(--bg-tertiary);
}

.fire-list-item:focus {
  outline: 2px solid var(--focus-outline-color);
  outline-offset: 2px;
}

.fire-list-item .frp {
  font-weight: 700;
  margin-bottom: .2rem;
  color: var(--accent-color);
}

.fire-list-item .location-title {
  font-size: .95rem;
  color: var(--text-color);
  font-weight: 500;
}

#map-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  transition: left .3s, width .3s;
}

.fires-list-sidebar.active+#map-container {
  left: 280px;
  width: calc(100% - 280px);
}

/* ---------------------------------------------------------------------------
   FIRE MARKERS - Colori migliorati per una migliore visibilità
--------------------------------------------------------------------------- */
.fire-marker {
  position: relative;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 3px solid #ff7700;
  /* Arancione più intenso */
  background: var(--card-bg);
  box-shadow: 0 0 12px rgba(0, 0, 0, .9);
  /* Ombra più intensa */
}

/* Colori più luminosi/intensi del bordo per livello di confidenza */
.fire-marker.low {
  border-color: #ffcc00;
  /* Giallo luminoso */
}

.fire-marker.nominal {
  border-color: #ff7700;
  /* Arancione intenso */
}

.fire-marker.high {
  border-color: #ff0000;
  /* Rosso puro */
}

/* Colori di sfondo più luminosi per livello di intensità */
:root {
  --frp-small-bg: rgba(255, 204, 0, .75);
  /* Giallo più luminoso con maggiore opacità */
  --frp-medium-bg: rgba(255, 119, 0, .8);
  /* Arancione intenso */
  --frp-large-bg: rgba(255, 0, 0, .85);
  /* Rosso puro */
}

[data-theme="dark"] {
  --frp-small-bg: rgba(255, 224, 0, .8);
  /* Ancora più luminoso su sfondo scuro */
  --frp-medium-bg: rgba(255, 140, 0, .85);
  --frp-large-bg: rgba(255, 40, 0, .9);
}

.frp-small {
  background: var(--frp-small-bg);
}

.frp-medium {
  background: var(--frp-medium-bg);
}

.frp-large {
  background: var(--frp-large-bg);
}

/* Icona incendio migliorata per una migliore visibilità */
.fire-marker i {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.3rem;
  /* Leggermente più grande */
  line-height: 1;
  color: #ffffff;
  /* Bianco puro */
  text-shadow:
    0 0 4px rgba(0, 0, 0, 1),
    0 0 2px rgba(0, 0, 0, 1),
    0 0 8px rgba(0, 0, 0, .7);
  /* Ombre multiple per una migliore visibilità */
  margin: 0;
  font-weight: bold;
  /* Più intenso */
}

/* Aggiunta di piccolo effetto bagliore per enfasi */
.fire-marker::after {
  content: '';
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  border-radius: 50%;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.fire-marker:hover::after {
  opacity: 1;
}

/* ---------------------------------------------------------------------------
   RIGHT SIDEBAR (DETAILS)
--------------------------------------------------------------------------- */
.sidebar {
  display: none;
  flex-direction: column;
  width: 400px;
  max-width: 90vw;
  height: 100%;
  position: absolute;
  top: 0;
  right: 0;
  background: var(--bg-secondary);
  border-left: 1px solid var(--border-color);
  box-shadow: -2px 0 5px var(--shadow-color);
  z-index: 1000;
}

.sidebar.active {
  display: flex;
}

.sidebar-header {
  padding: 1rem;
  background: var(--bg-tertiary);
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
}

.sidebar-content {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
}

.close-btn {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 1.2rem;
  cursor: pointer;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.close-btn:hover {
  color: var(--text-color);
}

.close-btn:focus {
  outline: 2px solid var(--focus-outline-color);
  outline-offset: 2px;
  color: var(--text-color);
}

.fire-detail-card {
  background: var(--card-bg);
  border-radius: 8px;
  padding: 1.5rem;
  border: 1px solid var(--border-color);
  box-shadow: 0 2px 8px var(--shadow-color);
}

.fire-detail-card h3 {
  display: flex;
  align-items: center;
  font-size: 1.2rem;
  margin-bottom: 1.2rem;
}

.fire-detail-card h3 i {
  color: var(--accent-color);
  margin-right: .5rem;
  font-size: 1.4rem;
}

.detail-row {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.detail-label {
  flex: 0 0 130px;
  color: var(--text-color);
  font-weight: 600;
}

.detail-value {
  flex: 1;
}

@media(max-width:480px) {
  .sidebar {
    width: 100%;
  }

  .fire-detail-card {
    padding: 1rem;
    font-size: .9rem;
  }

  .fire-detail-card h3 {
    font-size: 1rem;
  }

  .detail-label {
    flex: 0 0 100%;
    margin-bottom: .25rem;
  }

  .detail-value {
    flex: 0 0 100%;
  }
}

/* ---------------------------------------------------------------------------
   PANELS (Filters & Info)
--------------------------------------------------------------------------- */
.panel {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--panel-bg);
  border-radius: 8px;
  box-shadow: 0 4px 20px var(--shadow-color);
  width: 450px;
  max-width: 90vw;
  display: flex;
  flex-direction: column;
  max-height: 90vh;
  border: 1px solid var(--border-color);
  z-index: 1100;
}

.panel.hidden {
  display: none;
}

.panel-header {
  padding: 1rem;
  background: var(--bg-tertiary);
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
  border-radius: 8px 8px 0 0;
}

.panel-content {
  padding: 1rem;
  overflow-y: auto;
}

.filter-group {
  margin-bottom: 1.5rem;
}

.filter-group h3 {
  font-size: 1rem;
  margin-bottom: .8rem;
  color: var(--text-secondary);
}

.date-range {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.input-group {
  flex: 1;
  min-width: 180px;
}

.input-group label {
  display: block;
  margin-bottom: .4rem;
  font-size: .9rem;
  color: var(--text-secondary);
}

input[type="date"] {
  width: 100%;
  padding: .6rem;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  color: var(--text-color);
  position: relative;
}

input[type="date"]:focus {
  outline: 2px solid var(--focus-outline-color);
  outline-offset: 1px;
}

input[type="date"]::-webkit-calendar-picker-indicator {
  background: transparent;
  color: transparent;
  position: absolute;
  inset: 0;
  cursor: pointer;
  z-index: 1;
}

input[type="date"]::before {
  content: attr(placeholder);
  color: var(--text-secondary);
}

input[type="date"]:focus::before,
input[type="date"]:valid::before {
  display: none;
}

input[type="date"][data-formatted]::after {
  content: attr(data-formatted);
  color: var(--text-color);
  position: absolute;
  left: .6rem;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.checkbox-group label {
  display: flex;
  align-items: center;
  gap: .5rem;
  cursor: pointer;
  padding: .3rem 0;
}

input[type="checkbox"] {
  width: 16px;
  height: 16px;
  cursor: pointer;
}

input[type="checkbox"]:focus {
  outline: 2px solid var(--focus-outline-color);
  outline-offset: 2px;
}

.range-slider {
  margin-top: .5rem;
}

.range-slider label {
  display: block;
  margin-bottom: .4rem;
  font-size: .9rem;
  color: var(--text-secondary);
}

input[type="range"] {
  width: 100%;
  margin-bottom: .5rem;
}

input[type="range"]:focus {
  outline: 2px solid var(--focus-outline-color);
  outline-offset: 2px;
}

#intensity-value {
  font-size: .9rem;
  color: var(--text-secondary);
}

.filter-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: 1.5rem;
}

.primary-btn,
.secondary-btn,
.tertiary-btn {
  flex: 1;
  min-width: 120px;
  min-height: 44px;
  padding: .8rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  text-align: center;
  font-weight: 600;
}

.primary-btn {
  background: var(--primary-btn-bg);
  color: #fff;
}

.primary-btn:hover {
  background: var(--primary-btn-hover);
}

.secondary-btn {
  background: var(--secondary-btn-bg);
  color: var(--text-color);
}

.secondary-btn:hover {
  background: var(--secondary-btn-hover);
}

.tertiary-btn {
  background: var(--tertiary-btn-bg);
  color: #fff;
}

.tertiary-btn:hover {
  background: var(--tertiary-btn-hover);
}

.primary-btn:focus,
.secondary-btn:focus,
.tertiary-btn:focus {
  outline: 2px solid var(--focus-outline-color);
  outline-offset: 2px;
}

/* ---------------------------------------------------------------------------
   FAQ SECTION
--------------------------------------------------------------------------- */
.faq-section {
  background: var(--bg-secondary);
  padding: 3rem 0;
  border-top: 1px solid var(--border-color);
}

.faq-section h2 {
  text-align: center;
  margin-bottom: 2rem;
  color: var(--text-color);
  font-size: 1.8rem;
}

.faq-item {
  margin-bottom: 1.5rem;
  padding: 1.5rem;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  box-shadow: 0 2px 8px var(--shadow-color);
}

.faq-item h3 {
  margin-bottom: .5rem;
  color: var(--accent-color);
  font-size: 1.2rem;
}

.faq-item p {
  color: var(--text-color);
  line-height: 1.6;
}

/* ---------------------------------------------------------------------------
   PAGE CONTENT / CONTACT / TERMS
--------------------------------------------------------------------------- */
.page-content {
  padding: 2rem 0;
  min-height: calc(100vh - 150px);
}

.page-content h1 {
  margin-bottom: 1.5rem;
}

.page-content h2 {
  margin: 1.5rem 0 1rem;
}

.page-content p {
  margin-bottom: 1rem;
}

.page-content ul,
.page-content ol {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.page-content li {
  margin-bottom: .5rem;
}

.error-message {
  text-align: center;
  padding: 2rem;
  color: var(--accent-color);
  font-size: 1.2rem;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  background: var(--card-bg);
  padding: 2rem;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  box-shadow: 0 2px 10px var(--shadow-color);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: .5rem;
  color: var(--text-color);
}

.form-control {
  width: 100%;
  padding: .8rem;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  background: var(--bg-tertiary);
  color: var(--text-color);
}

.form-control:focus {
  outline: 2px solid var(--focus-outline-color);
  outline-offset: 1px;
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

.form-submit {
  background: var(--primary-btn-bg);
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: .8rem 1.5rem;
  cursor: pointer;
  min-height: 44px;
  font-weight: 600;
}

.form-submit:hover {
  background: var(--primary-btn-hover);
}

.form-submit:focus {
  outline: 2px solid var(--focus-outline-color);
  outline-offset: 2px;
}

.alert {
  padding: 1rem;
  border-radius: 4px;
  margin-bottom: 1rem;
}

.alert-success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.alert-error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* ---------------------------------------------------------------------------
   FOOTER
--------------------------------------------------------------------------- */
footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 2.5rem 0;
  border-top: 1px solid var(--border-color);
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.footer-logo-img {
  width: 140px;
  height: auto;
  filter: brightness(0) invert(1);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-links a {
  color: var(--footer-text);
  text-decoration: none;
  position: relative;
  font-size: 1.1rem;
  transition: color .2s, transform .2s;
}

.footer-links a:hover {
  color: var(--accent-color);
}

.footer-links a:focus {
  outline: 2px solid var(--focus-outline-color);
  outline-offset: 4px;
  color: var(--accent-color);
}

.footer-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-color);
  transition: width .3s;
}

.footer-links a:hover::after {
  width: 100%;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  color: var(--footer-text);
  transition: background .3s, color .3s, transform .3s;
}

.footer-social a:hover {
  background: var(--accent-color);
  color: #fff;
  transform: translateY(-3px);
}

.footer-social a:focus {
  outline: 2px solid var(--focus-outline-color);
  outline-offset: 2px;
  background: var(--accent-color);
  color: #fff;
}

.footer-credit {
  width: 100%;
  text-align: center;
  margin-top: 2rem;
  color: rgba(255, 255, 255, .7);
  font-size: .9rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, .1);
}

/* ---------------------------------------------------------------------------
   NOTIFICATIONS
--------------------------------------------------------------------------- */
.notification-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 9999;
}

.notification {
  background: var(--bg-secondary);
  color: var(--text-color);
  border: 1px solid var(--border-color);
  border-left-width: 4px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 300px;
  max-width: 450px;
  padding: 12px 16px;
  box-shadow: 0 4px 10px var(--shadow-color);
  animation: slide-in .3s ease-out;
}

.notification.success {
  border-left-color: #4caf50;
}

.notification.error {
  border-left-color: #f44336;
}

.notification.warning {
  border-left-color: #ff9800;
}

.notification.info {
  border-left-color: #2196f3;
}

.notification.fade-out {
  opacity: 0;
  transition: opacity .3s;
}

.notification-close {
  background: none;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.notification-close:hover {
  color: var(--text-color);
}

.notification-close:focus {
  outline: 2px solid var(--focus-outline-color);
  outline-offset: 2px;
  color: var(--text-color);
}

@keyframes slide-in {
  from {
    transform: translateX(100%);
    opacity: 0
  }

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

/* ---------------------------------------------------------------------------
   LOADING & BACK‑TO‑TOP
--------------------------------------------------------------------------- */
#loading-overlay {
  position: fixed;
  inset: 0;
  background: rgba(250, 250, 250, .9);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  color: var(--text-color);
}

[data-theme="dark"] #loading-overlay {
  background: rgba(18, 18, 18, .9);
}

.spinner {
  width: 60px;
  height: 60px;
  border: 5px solid rgba(255, 69, 0, .1);
  border-radius: 50%;
  border-top-color: var(--accent-color);
  animation: spin 1s linear infinite;
  margin-bottom: 1rem;
}

@keyframes spin {
  to {
    transform: rotate(360deg)
  }
}

.back-to-top-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary-btn-bg);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px var(--shadow-color);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s, transform .3s, background .3s;
  z-index: 999;
}

.back-to-top-btn.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top-btn:hover {
  background: var(--primary-btn-hover);
  transform: translateY(-5px);
}

.back-to-top-btn:focus {
  outline: 2px solid var(--focus-outline-color);
  outline-offset: 2px;
  background: var(--primary-btn-hover);
  opacity: 1;
  visibility: visible;
}

/* ---------------------------------------------------------------------------
   RESPONSIVE TWEAKS
--------------------------------------------------------------------------- */
@media(max-width:1024px) {
  header {
    padding: .8rem;
  }

  h1 {
    font-size: 1.2rem;
  }

  .control-btn {
    padding: .4rem .8rem;
    font-size: .9rem;
  }
}

@media(max-width:768px) {

  /* Two-line layout */
  header {
    position: sticky;
    top: 0;
    padding: .5rem .75rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
  }

  /* First line */
  .logo {
    order: 1;
    flex: 0 0 auto;
    padding-right: 0;
    max-width: none;
  }

  .logo-img {
    height: 27px;
    width: auto;
    margin: 0;
    vertical-align: middle;
  }

  .controls {
    order: 2;
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: .5rem;
    flex-wrap: nowrap;
  }

  .control-btn {
    min-width: 44px;
    min-height: 44px;
    padding: 0;
    justify-content: center;
  }

  .control-btn i {
    margin: 0;
  }

  .mobile-button-tooltip {
    display: block;
  }

  /* Ensure hamburger is rightmost */
  #toggle-nav-menu {
    order: 99;
  }

  /* Second line: full-width title separated from logo block */
  .site-title {
    order: 3;
    flex: 1 0 100%;
    width: 100%;
    font-size: .95rem;
    margin: 0 0 0 0;
    text-align: center;
    background-color: #ff8903ab;
    padding: 3px;
    border-radius: 10px;
    line-height: 1.25;
  }
}

@media(max-width:480px) {
  header {
    padding: .3rem .5rem;
  }

  .logo-img {
    height: 20px;
    width: auto;
  }

  .site-title {
    font-size: .95rem;
    margin: 0 0 0 0;
    text-align: center;
    background-color: #ff8903ab;
    padding: 3px;
    border-radius: 10px;
  }

  .controls {
    gap: .3rem;
  }

  .control-btn,
  .theme-toggle,
  .mobile-menu-btn {
    width: 44px;
    height: 44px;
    padding: 0;
    justify-content: center;
  }

  #map-wrapper {
    height: calc(100vh - 56px - 120px);
  }

  .faq-item {
    padding: 1rem;
  }

  .footer-links {
    flex-direction: column;
    gap: 1rem;
  }

  .footer-social a {
    width: 44px;
    height: 44px;
  }
}

/* ---------------------------------------------------------------------------
   QUICK FIXES
--------------------------------------------------------------------------- */
.back-to-app-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 1rem 0;
  padding: 0.6rem 1rem;
  border-radius: var(--radius, 0.6rem);
  background: var(--accent-color);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s;
  min-height: 44px;
}

.back-to-app-btn:hover {
  background: var(--accent-color-dark);
}

.back-to-app-btn:focus {
  outline: 2px solid var(--focus-outline-color);
  outline-offset: 2px;
}

/* ---------------------------------------------------------------------------
   LEAFLET SPECIFIC CONTRAST FIXES
--------------------------------------------------------------------------- */

/* Migliore contrasto per le etichette nella mappa */
.leaflet-tooltip {
  color: #000000 !important;
  background-color: rgba(255, 255, 255, 0.95) !important;
  border: 2px solid rgba(0, 0, 0, 0.4) !important;
  font-weight: 600 !important;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.5) !important;
}

/* Miglioramenti alle finestre popup della mappa */
.leaflet-popup-content-wrapper,
.leaflet-popup-tip {
  background-color: #ffffff !important;
  color: #000000 !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5) !important;
  border-radius: 5px !important;
  border: 2px solid rgba(0, 0, 0, 0.2) !important;
}

.leaflet-popup-content {
  color: #000000 !important;
  font-weight: 500 !important;
  font-size: 1rem !important;
}

.map-popup-content h3 {
  color: #000000 !important;
  margin-bottom: 8px;
  font-size: 1.1rem;
  font-weight: 700;
  border-bottom: 2px solid rgba(0, 0, 0, 0.2);
  padding-bottom: 5px;
}

.map-popup-content .location-info {
  font-weight: 600;
  color: #000000;
}

.map-popup-content .date-info {
  color: #000000;
  font-weight: 500;
}

/* Stili migliorati per etichette mappa con nomi di luoghi */
.location-label {
  background-color: rgba(255, 255, 255, 0.95) !important;
  color: #000000 !important;
  padding: 4px 8px;
  border-radius: 3px;
  font-weight: 600;
  border: 1px solid rgba(0, 0, 0, 0.3);
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.4);
}

/* Stili migliorati per gli elementi di controllo della mappa */
.leaflet-control {
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.4);
}

.leaflet-control a {
  background-color: rgba(255, 255, 255, 0.95) !important;
  color: #000000 !important;
  font-weight: 600;
}

.leaflet-control-layers {
  background-color: rgba(255, 255, 255, 0.95) !important;
  color: #000000 !important;
  font-weight: 500;
}

/* Contrasto aumentato per attribution */
.leaflet-control-attribution {
  background-color: rgba(255, 255, 255, 0.95) !important;
  color: #000000 !important;
  font-weight: 600;
  padding: 4px 8px !important;
}

.leaflet-control-attribution a {
  color: #0055aa !important;
  font-weight: 700;
  text-decoration: underline;
}

/* Miglioramento della visibilità dei pulsanti zoom */
.leaflet-control-zoom-in,
.leaflet-control-zoom-out {
  background-color: #ffffff !important;
  color: #000000 !important;
  font-weight: bold !important;
}

/* Διορθώσεις για το σκοτεινό θέμα */
[data-theme="dark"] .leaflet-tooltip,
[data-theme="dark"] .location-label,
[data-theme="dark"] .leaflet-popup-content-wrapper {
  color: #000000 !important;
  background-color: rgba(255, 255, 255, 0.95) !important;
}

/* Βελτιώσεις για τις συντεταγμένες */
.coordinates-display {
  background-color: rgba(255, 255, 255, 0.95) !important;
  color: #000000 !important;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 4px;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(0, 0, 0, 0.2);
}

/* Βελτιωμένα στυλ για τις τιμές FRP και περιγραφές */
.frp-value {
  font-weight: 700;
  color: var(--accent-color);
}

.confidence-high,
.confidence-value.high {
  color: #cc0000;
  /* Σκούρο κόκκινο για υψηλή εμπιστοσύνη */
  font-weight: 700;
}

.confidence-nominal,
.confidence-value.nominal {
  color: #cc6600;
  /* Σκούρο πορτοκαλί για μέτρια εμπιστοσύνη */
  font-weight: 600;
}

.confidence-low,
.confidence-value.low {
  color: #996600;
  /* Σκούρο κίτρινο/καφέ για χαμηλή εμπιστοσύνη */
  font-weight: 600;
}

/* ---------------------------------------------------------------------------
   AD PANELS
--------------------------------------------------------------------------- */

/* PC Ad Panel (Right side) */
.pc-ad-panel {
  position: absolute;
  top: 50px;
  right: 0;
  width: 300px;
  height: calc(100% - 200px);
  background: var(--bg-secondary);
  border-left: 1px solid var(--border-color);
  box-shadow: -2px 0 5px var(--shadow-color);
  z-index: 800;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 1rem;
}

.pc-ad-panel .ad-container {
  width: 100%;
  max-width: 280px;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-tertiary);
  border-radius: 8px;
  border: 1px solid var(--border-color);
  overflow: hidden;
}

/* Ad loading states */
.ad-container:empty::before {
  content: 'Φόρτωση διαφήμισης...';
  color: var(--text-secondary);
  font-size: 0.9rem;
  text-align: center;
}

.ad-container .adsbygoogle {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
}

/* Removed mobile-ad-panel */

/* Adjust map container for PC ad panel */
.pc-ad-panel+#map-container {
  right: 300px;
  width: calc(100% - 300px);
  top: 0;
  height: 100%;
}

/* Adjust map container when sidebar is active and PC ad is present */
.fires-list-sidebar.active+#map-container {
  left: 280px;
  right: 300px;
  width: calc(100% - 580px);
  top: 0;
  height: 100%;
}

/* Mobile responsive adjustments */
@media (max-width: 1024px) {
  .pc-ad-panel {
    display: none;
  }

  .pc-ad-panel+#map-container,
  .fires-list-sidebar.active+#map-container {
    left: 0;
    right: 0;
    width: 100%;
  }
}

@media (max-width: 768px) {
  #map-container {
    height: 100%;
  }

  /* Hide notifications on mobile */
  .notification-container {
    display: none !important;
  }
}

@media (max-width: 480px) {
  #map-container {
    height: 100%;
  }
}

/* ==========================================================================
   X (Twitter) – SEO-friendly feed (single header, clean cards)
   --------------------------------------------------------------------------
   - Ένας header για όλο το feed (avatar + όνομα + handle + sub)
   - Κάρτες ποστ: 🔥 + κείμενο, γραμμή meta (ώρα & κουμπί)
   - Emoji-friendly γραμματοσειρές για σωστή απόδοση 1️⃣1️⃣2️⃣ κ.λπ.
   ========================================================================== */

.x-feed-section,
.x-post-text,
.x-flag,
.x-name,
.x-handle,
.x-time,
.x-open {
  font-family: system-ui, -apple-system, "Segoe UI", "Segoe UI Emoji",
    "Apple Color Emoji", "Noto Color Emoji", Arial, sans-serif;
}

.x-feed-section {
  background: var(--bg-secondary);
  padding: 1.25rem 0 1.6rem;
  border-top: 1px solid var(--border-color);
}

/* Header (single, per feed) */
.x-feed-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: .9rem;
}

.x-account {
  display: flex;
  align-items: center;
  gap: .75rem;
  min-width: 0;
}

.x-avatar-lg {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border-color);
  background: var(--bg-tertiary);
  flex: 0 0 auto;
}

.x-avatar-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  background: var(--bg-tertiary);
  color: var(--text-secondary);
  font-weight: 800;
}

.x-account-meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.x-name {
  font-weight: 800;
  line-height: 1.1;
  color: var(--text-color);
}

.x-handle {
  font-size: .9rem;
  color: var(--text-secondary);
}

.x-feed-sub {
  font-size: .9rem;
  color: var(--text-secondary);
  margin-top: .1rem;
}

.x-feed-cta {
  text-decoration: none;
  font-size: .9rem;
  font-weight: 700;
  background: var(--primary-btn-bg);
  color: #fff;
  padding: .46rem .8rem;
  border-radius: .6rem;
  box-shadow: 0 2px 6px var(--shadow-color);
  flex: 0 0 auto;
}

.x-feed-cta:hover {
  background: var(--primary-btn-hover);
}

/* Card wrapper */
.x-feed-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  box-shadow: 0 4px 14px var(--shadow-color);
  overflow: hidden;
}

/* Post rows */
.x-post {
  padding: .9rem 1rem;
}

.x-post+.x-post {
  border-top: 1px solid var(--border-color);
}

.x-post-row {
  display: flex;
  align-items: flex-start;
  gap: .55rem;
}

.x-flag {
  font-size: 1.1rem;
  line-height: 1.2;
  margin-top: .05rem;
}

.x-post-text {
  margin: .06rem 0 0;
  color: var(--text-color);
  line-height: 1.55;
  font-size: 1rem;
  word-break: break-word;
}

.x-post-text a {
  color: var(--primary-btn-bg);
  text-decoration: none;
  font-weight: 600;
}

.x-post-text a:hover {
  text-decoration: underline;
}

/* Meta line */
.x-post-meta {
  margin-top: .5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .75rem;
}

.x-time {
  font-size: .88rem;
  color: var(--text-secondary);
}

/* Compact button */
.x-open {
  text-decoration: none;
  font-size: .88rem;
  font-weight: 700;
  padding: .32rem .6rem;
  border-radius: .45rem;
  border: 1px solid var(--border-color);
  background: var(--bg-tertiary);
  color: var(--text-color);
}

.x-open:hover {
  border-color: var(--accent-color);
  color: var(--accent-color);
}

.x-empty {
  padding: 1rem;
  color: var(--text-secondary);
  font-size: .96rem;
}

/* Mobile */
@media (max-width:640px) {
  .x-feed-header {
    flex-direction: column;
    align-items: flex-start;
    gap: .5rem;
  }

  .x-feed-cta {
    align-self: flex-start;
  }

  .x-name {
    font-size: 1.02rem;
  }

  .x-post {
    padding: .85rem .9rem;
  }

  .x-post-text {
    font-size: .97rem;
  }
}









.x-feed-section,
.x-post-text,
.x-flag,
.x-name,
.x-handle,
.x-time,
.x-open {
  font-family: system-ui, -apple-system, "Segoe UI", "Segoe UI Emoji",
    "Apple Color Emoji", "Noto Color Emoji", Arial, sans-serif;
}

.x-feed-section {
  background: var(--bg-secondary);
  padding: 1.25rem 0 1.6rem;
  border-top: 1px solid var(--border-color);
}

/* Header (single, per feed) */
.x-feed-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: .9rem;
}

.x-account {
  display: flex;
  align-items: center;
  gap: .75rem;
  min-width: 0;
}

.x-avatar-lg {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border-color);
  background: var(--bg-tertiary);
  flex: 0 0 auto;
}

.x-avatar-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  background: var(--bg-tertiary);
  color: var(--text-secondary);
  font-weight: 800;
}

.x-account-meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.x-name {
  font-weight: 800;
  line-height: 1.1;
  color: var(--text-color);
}

.x-handle {
  font-size: .9rem;
  color: var(--text-secondary);
}

.x-feed-sub {
  font-size: .9rem;
  color: var(--text-secondary);
  margin-top: .1rem;
}

.x-feed-cta {
  text-decoration: none;
  font-size: .9rem;
  font-weight: 700;
  background: var(--primary-btn-bg);
  color: #fff;
  padding: .46rem .8rem;
  border-radius: .6rem;
  box-shadow: 0 2px 6px var(--shadow-color);
  flex: 0 0 auto;
}

.x-feed-cta:hover {
  background: var(--primary-btn-hover);
}

/* Card wrapper */
.x-feed-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  box-shadow: 0 4px 14px var(--shadow-color);
  overflow: hidden;
}

/* Post rows */
.x-post {
  padding: .9rem 1rem;
}

.x-post+.x-post {
  border-top: 1px solid var(--border-color);
}

.x-post-row {
  display: flex;
  align-items: flex-start;
  gap: .55rem;
}

.x-flag {
  font-size: 1.1rem;
  line-height: 1.2;
  margin-top: .05rem;
}

.x-post-text {
  margin: .06rem 0 0;
  color: var(--text-color);
  line-height: 1.55;
  font-size: 1rem;
  word-break: break-word;
}

.x-post-text a {
  color: var(--primary-btn-bg);
  text-decoration: none;
  font-weight: 600;
}

.x-post-text a:hover {
  text-decoration: underline;
}

/* Meta line */
.x-post-meta {
  margin-top: .5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .75rem;
}

.x-time {
  font-size: .88rem;
  color: var(--text-secondary);
}

/* Compact button */
.x-open {
  text-decoration: none;
  font-size: .88rem;
  font-weight: 700;
  padding: .32rem .6rem;
  border-radius: .45rem;
  border: 1px solid var(--border-color);
  background: var(--bg-tertiary);
  color: var(--text-color);
}

.x-open:hover {
  border-color: var(--accent-color);
  color: var(--accent-color);
}

.x-empty {
  padding: 1rem;
  color: var(--text-secondary);
  font-size: .96rem;
}

/* Mobile */
@media (max-width:640px) {
  .x-feed-header {
    flex-direction: column;
    align-items: flex-start;
    gap: .5rem;
  }

  .x-feed-cta {
    align-self: flex-start;
  }

  .x-name {
    font-size: 1.02rem;
  }

  .x-post {
    padding: .85rem .9rem;
  }

  .x-post-text {
    font-size: .97rem;
  }
}

/* ---------------------------------------------------------------------------
   PC-ONLY ADS ON MAP (Right side + Bottom center)
--------------------------------------------------------------------------- */

/* Right side ad - positioned on top of the map */
.pc-ad-right {
  position: absolute;
  top: 50px;
  right: 0;
  width: 300px;
  height: calc(100% - 200px);
  background: var(--bg-secondary);
  border-left: 1px solid var(--border-color);
  box-shadow: -2px 0 5px var(--shadow-color);
  z-index: 800;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 1rem;
}

[data-theme="dark"] .pc-ad-right {
  background: rgba(26, 26, 26, 0.95);
}

/* Hide PC ads on tablets and mobile (<=1024px) */
@media (max-width: 1024px) {

  .pc-ad-right {
    display: none !important;
  }
}