/* Style dla mapy EIPA 2025 */
#eipa-mapa {
  border: 2px solid #16a085;
  border-radius: 8px;
  box-shadow: 0 0 12px rgba(22, 160, 133, 0.3);
  margin: 15px 0;
  position: relative;
  font-family: Arial, sans-serif;
}

/* Panel boczny z danymi punktu */
#eipa-panel-podgladu-v4 {
  background-color: white;
  border-left: 2px solid #16a085;
  border-radius: 0 8px 8px 0;
  padding: 18px;
  box-shadow: 0 0 16px rgba(22, 160, 133, 0.1);
  font-size: 15px;
  line-height: 1.5;
  z-index: 1000;
  transition: all 0.4s cubic-bezier(.4, 0, .2, 1);
}

/* Tabela stacji */
#eipa-tabela-stacji {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 15px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  overflow: hidden;
}

#eipa-tabela-stacji thead {
  background-color: #16a085;
  color: white;
}

#eipa-tabela-stacji th,
#eipa-tabela-stacji td {
  padding: 12px 15px;
  text-align: left;
  border-bottom: 1px solid #ddd;
}

#eipa-tabela-stacji tbody tr:nth-child(even) {
  background-color: #f8f9fa;
}

#eipa-tabela-stacji tbody tr:nth-child(odd) {
  background-color: #ffffff;
}

#eipa-tabela-stacji tbody tr:hover {
  background-color: #e9ecef;
  cursor: pointer;
}

/* Kontener tabeli */
#eipa-tabela-container {
  width: 100%;
  margin-top: 30px;
  padding: 10px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* Animacje */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.eipa-fade-in {
  animation: fadeIn 0.4s ease-in-out;
}

/* Markery na mapie */
.eipa-custom-marker {
  transition: all 0.3s ease;
}

.eipa-custom-marker-active {
  transition: all 0.3s ease;
  z-index: 1001 !important;
}

/* Responsywność */
@media (max-width: 768px) {
  #eipa-mapa {
    flex-direction: column !important;
  }
  
  #eipa-panel-podgladu-v4 {
    border-left: none;
    border-top: 2px solid #16a085;
    border-radius: 0 0 8px 8px;
  }
  
  #eipa-tabela-stacji {
    font-size: 14px;
  }
  
  #eipa-tabela-stacji th,
  #eipa-tabela-stacji td {
    padding: 8px 10px;
  }
}
