body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f4f6f8;
}
.container {
    max-width: 1000px;
    margin: 40px auto;
    background: #fff;
    padding: 30px;
    border-radius: 8px;
}
.search-grid{
    display:flex;
    flex-direction:column;
    gap:20px;
}
.block {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 15px;
    border-radius: 6px;
}
.block.inactive {
    opacity: 0.4;
}
input, select, button {
    padding: 10px;
    font-size: 15px;
}
button {
    background: #0066cc;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}
button:disabled{
  cursor:not-allowed;
}

.error { color: #b00020; }
.no-result { color: #777; font-style: italic; }
.result {
    border-bottom: 1px solid #ddd;
    padding: 20px 0;
}
.meta { font-size: 13px; color: #666; }
.kivonat { font-style: italic; margin: 6px 0 10px; }
.download { margin-top: 10px; }
.download a {
    font-weight: bold;
    text-decoration: none;
    color: #0066cc;
}
.logout-btn {
    position: fixed;
    top: 20px;
    right: 25px;
    padding: 8px 14px;
    font-size: 14px;
    color: #555;
    background: #f1f3f5;
    border-radius: 20px;
    text-decoration: none;
}

/* MENÜ FORMÁZÁS */
/* Alap: mobil (függőleges) */
.menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column; /* mobilon függőleges */
  gap: 0.5rem;           /* távolság a gombok között */
  align-items: center;   /* középre igazítás */
}

.menu a {
  text-decoration: none;
  padding: 0.5rem 1rem;
  display: block;
  background-color: #eee;
  border-radius: 5px;
  color: #333;
  width: 80%;            /* mobilon a gombok szélessége */
  text-align: center;
  transition: background-color 0.2s;
}

.menu a:hover {
  background-color: #ddd;
}

footer {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Desktop: vízszintes navbar */
@media (min-width: 768px) {
  .menu {
    flex-direction: row;   /* gombok egymás mellett */
    justify-content: center; /* középre igazítás */
    width: auto;
  }

  .menu a {
    width: auto;           /* automatikus szélesség */
    margin: 0 0.5rem;      /* kis távolság gombok között */
  }
}