/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #000;
  color: #fff;
  font-family: 'Orbitron', sans-serif;
  padding: 40px;
  text-align: center;
}

.container {
  max-width: 800px;
  margin: 0 auto;
}

/* Nagłówek */
h1 {
  color: #ffea00;
  font-size: 2.5rem;
  margin-bottom: 10px;
  text-shadow: 0 0 5px #ffd700;
}

p {
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 30px;
}

/* Guziki nawigacyjne */
.buttons {
  margin-bottom: 30px;
}

.buttons a {
  display: inline-block;
  background-color: #fff;
  color: #000;
  padding: 12px 20px;
  margin: 10px;
  border: 2px solid #ffea00;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease-in-out;
}

.buttons a:hover {
  background-color: #ffea00;
  color: #000;
  box-shadow: 0 0 10px #ffea00;
}

/* Formularz wyszukiwania */
.search-form {
  margin: 20px 0;
}

.search-form input[type="text"] {
  padding: 12px;
  width: 70%;
  font-size: 1rem;
  border: 2px solid #ffea00;
  border-radius: 8px;
  margin-right: 8px;
}

.search-form input[type="submit"] {
  padding: 12px 20px;
  background-color: #fff;
  color: #000;
  border: 2px solid #ffea00;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}

.search-form input[type="submit"]:hover {
  background-color: #ffea00;
  color: #000;
  box-shadow: 0 0 10px #ffea00;
}

/* Guzik eksportu */
.export-btn {
  padding: 12px 20px;
  background-color: #fff;
  color: #000;
  border: 2px solid #ffea00;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  margin-top: 20px;
}

.export-btn:hover {
  background-color: #ffea00;
  color: #000;
  box-shadow: 0 0 10px #ffea00;
}
.form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 400px;
  margin: 40px auto;
  text-align: left;
}

.input {
  padding: 12px;
  font-size: 1.1rem;
  border: 2px solid yellow;
  border-radius: 10px;
  background-color: white;
  color: black;
}

.btn {
  padding: 12px;
  font-size: 1.1rem;
  background-color: black;
  color: yellow;
  border: 2px solid yellow;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.3s ease;
}

.btn:hover {
  background-color: yellow;
  color: black;
}
table.tabela {
    width: 95%;
    margin: 40px auto;
    border-collapse: collapse;
    font-size: 18px;
    background-color: #111;
    color: #fff;
    box-shadow: 0 0 15px #ffc400;
    table-layout: fixed;
}
 /* Tabele wynikow wyszukiwania */
table.tabela th,
table.tabela td {
    padding: 14px 18px;
    border: 1px solid #ffc400;
    text-align: center;
    word-wrap: break-word;
}

table.tabela th {
    background-color: #222;
    font-weight: bold;
    color: #ffc400;
    text-shadow: 0 0 4px #ffc400;
}

table.tabela tr:nth-child(even) {
    background-color: #1a1a1a;
}

table.tabela tr:hover {
    background-color: #2b2b2b;
}
table.tabela th:nth-child(1) { width: 40px; }       /* ID */
table.tabela th:nth-child(2) { width: 150px; }      /* Kod kreskowy */
table.tabela th:nth-child(3) { width: 150px; }      /* Nazwa */
table.tabela th:nth-child(4) { width: 100px; }      /* Lokalizacja */
table.tabela th:nth-child(5) { width: 100px; }      /* Stan */
table.tabela th:nth-child(6) { width: 200px; }      /* Opis */
table.tabela th:nth-child(7) { width: 180px; }      /* Data dodania */
.alert-success {
    background-color: #004400;
    color: #ccffcc;
    border: 1px solid #00cc00;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 10px;
    font-size: 1.1em;
    text-align: center;
}
