
        * { box-sizing: border-box; margin: 0; padding: 0; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; }
    body { background-color: #f5f5f5; color: #333; line-height: 1.6; }
    .container { max-width: 100%; margin: 0 auto; padding: 20px; }
    header { background: linear-gradient(135deg, #005b96, #011f4b); color: white; padding: 20px 0; text-align: center; border-radius: 8px 8px 0 0; margin-bottom: 20px; box-shadow: 0 4px 6px rgba(0,0,0,0.1); }
    header h1 { font-size: 28px; margin-bottom: 10px; }
    header p { font-size: 16px; opacity: 0.9; }
    .main-content { display: flex; flex-wrap: wrap; gap: 20px; margin-bottom: 20px; }
    .search-panel { flex: 1; min-width: 300px; background: white; padding: 20px; border-radius: 8px; box-shadow: 0 4px 6px rgba(0,0,0,0.1); }
    .map-container { flex: 2; min-width: 300px;  height: 100% important; border-radius: 8px; overflow: hidden; box-shadow: 0 4px 6px rgba(0,0,0,0.1); }
    #map { width: 100%; height: 100%; }
    .form-group { margin-bottom: 15px; }
    .form-group label { display: block; margin-bottom: 5px; font-weight: 600; color: #444; }
    .form-control { width: 100%; padding: 10px 15px; border: 1px solid #ddd; border-radius: 4px; font-size: 16px; }
    .autocomplete-items { position: absolute; border: 1px solid #d4d4d4; border-bottom: none; border-top: none; z-index: 99; top: 100%; left: 0; right: 0; max-height: 200px; overflow-y: auto;}

    ul {
      list-style-type: none;
    }
    .autocomplete-container { position: relative; }
    .btn { display: block; width: 100%; padding: 12px; background: #005b96; color: white; border: none; border-radius: 4px; cursor: pointer; font-size: 16px; font-weight: 600; transition: background 0.3s; }
    .btn:hover { background: #004274; }
    .results-panel,#related-box ,#linksodou { background: white; padding: 20px; border-radius: 8px; box-shadow: 0 4px 6px rgba(0,0,0,0.1); margin-top: 20px; }
    
    .results-panel h2 { color: #005b96; margin-bottom: 15px; padding-bottom: 10px; border-bottom: 2px solid #f0f0f0; }
    .result-item { display: flex; justify-content: space-between; margin-bottom: 10px; padding: 10px; background: #f9f9f9; border-radius: 4px; }
    .result-item .label { font-weight: 600; color: #555; }
    .result-item .value { font-weight: 600; color: #005b96; }
    .total-cost { background: #005b96; color: white; padding: 15px; border-radius: 4px; margin-top: 15px; text-align: center; font-size: 20px; font-weight: 600; }
    .toll-info { margin-top: 20px; padding: 15px; background: #fff8e1; border-left: 4px solid #ffc107; border-radius: 4px; }
    .toll-info h3 { color: #ff9800; margin-bottom: 10px; }
    .toll-list { list-style-type: none; }
    .toll-list li { padding: 5px 0; border-bottom: 1px solid #ffe082; }
    footer { text-align: center; margin-top: 30px; padding: 20px; color: #666; font-size: 14px; }
    .vehicle-options { display: flex; gap: 10px; margin: 10px 0; }
    .vehicle-option { cursor: pointer; font-size: 14px; padding: 2px 3px; border: 2px solid #ccc; border-radius: 6px; transition: all 0.2s ease; }
    .vehicle-option.active { border-color: #005b96; background: #e6f0fa; }
.search-panel, .container {
  overflow: visible;
}
    /* ΠΟΛΥ απλό dropdown */
.autocomplete-items{
  position:absolute; top:100%; left:0; right:0;
  z-index:10000;
  background:#fff;

  border-radius:4px;
  max-height:260px;
  overflow:auto;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.autocomplete-item{
  padding:8px 10px;
  cursor:pointer;
  border-bottom:1px solid #eee;
}

.autocomplete-item:last-child{ border-bottom:none; }



.autocomplete-title{
  font-weight:600;
  color:#222;
  line-height:1.2;
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}

.autocomplete-sub{
  font-size:12px;
  color:#666;
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}

    /* Loader overlay */
    .loader {
      display: none;
      position: fixed; inset: 0;
      background-color: rgba(255,255,255,0.85);
      z-index: 9999;
      display: none; /* toggled via JS */
      justify-content: center; align-items: center;
    }
    .loader-spinner {
      width: 56px; height: 56px;
      border: 6px solid #f3f3f3;
      border-top: 6px solid #005b96;
      border-radius: 50%;
      animation: spin 0.9s linear infinite;
    }
    @keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

 





.page-layout {
  display: flex;
  max-width: 100%;
  margin: auto;
}

.sidebar {
  width: 200px;
  padding: 10px;
}

.content {
  flex: 1;
  padding: 20px;
}

.ad-box {
  background: #eee;
  border: 1px solid #ccc;
  text-align: center;
  margin-bottom: 20px;
  padding: 10px;
}



/* Desktop layout */
.page-layout {
  display: flex;
  max-width: 100%;
  margin: auto;
}

.sidebar {
  width: 200px;
  padding: 10px;
}

.content {
  flex: 1;
  padding: 20px;
}

.map-container {
  flex: 2;
 
 
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}


/* Default desktop */
.page-layout {
  display: flex;
 
  margin: auto;
}

.sidebar.left {
  
  order: 1;
}

.content {
  flex: 1;
  order: 2;
}

.sidebar.right {
 
  order: 3;
}



/* Navbar */
.navbar {
  background: linear-gradient(90deg, #1e3c72, #2a5298);
  color: white;
  padding: 0.8rem 1.5rem;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  font-size: 1.3rem;
  font-weight: bold;
  color: white;
  text-decoration: none;
}

.nav-toggle {
  font-size: 1.6rem;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  display: none;
}

/* Desktop */
.nav-links {
  list-style: none;
  display: flex;
  gap: 25px;
}

.nav-links li a {
  color: white;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s;
}

.nav-links li a:hover {
  color: #ffd700;
}


.site-footer{border-top:1px solid var(--border);background:#fff;margin-top:20px}
    .footer-inner{max-width:1100px;margin:0 auto;padding:18px 16px;text-align:center}
    .footer-links{display:flex;gap:14px;justify-content:center;flex-wrap:wrap;margin:8px 0}
    .footer-links a{color:var(--brand);text-decoration:none}



.ad-mobile { display: none; }

/* ----- Responsive για κινητά ----- */
@media (max-width: 768px) {
  .page-layout {
    flex-direction: column; /* από στήλες σε γραμμές */
  }

.sidebar { display: none; } /* κρύβουμε τα κανονικά banners */
  .ad-mobile { 
    display: block; 
    width: 100%; 
    margin: 10px 0; 
    text-align: center;
  }

  .content {
    width: 100%;
    padding: 10px;
  }

  .map-container {
    width: 100%;
    height: 400px;     /* λίγο μικρότερο ύψος για κινητά */
  }
.nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background: #1e3c72;
    flex-direction: column;
    align-items: center;
    display: none; /* HIDDEN by default */
  }

  .nav-links.open {
    display: flex; /* Show when toggled */
    animation: slideDown 0.3s ease;
  }

  .nav-links li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    width: 100%;
    text-align: center;
  }

  .nav-links li:last-child {
    border-bottom: none;
  }

  @keyframes slideDown {
    from { opacity: 0; transform: translateY(0px); }
    to { opacity: 1; transform: translateY(0); }
  }



}
