/* public/css/style.css */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #eef2f6; /* Svetlejší odtieň pre pozadie */
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1300px; /* Trochu širší kontajner */
    margin: 2em auto;
    background: #ffffff;
    padding: 1.5em 2em;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

h1 {
    color: #2c3e50;
    text-align: center;
    margin-bottom: 1.5em;
    font-size: 2.2em;
}

.filters {
    display: flex;
    flex-wrap: wrap; /* Umožní zalomenie na menších obrazovkách */
    gap: 1em; /* Medzera medzi elementmi */
    align-items: flex-end; /* Zarovná tlačidlá s poliami */
    margin-bottom: 2em;
    padding: 1.5em;
    background: #f8f9fa;
    border-radius: 8px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
}

.filters form {
    display: flex;
    flex-wrap: wrap;
    gap: 1em;
    align-items: flex-end;
}

.filters div {
    display: flex;
    flex-direction: column;
}

.filters label {
    font-weight: bold;
    margin-bottom: 0.4em;
    color: #555;
    font-size: 0.9em;
}

.filters select,
.filters input[type="text"] {
    padding: 0.8em 1em;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
    min-width: 150px; /* Minimálna šírka pre lepšie zarovnanie */
}

.filters button {
    padding: 0.8em 1.5em;
    background-color: #3498db; /* Modré tlačidlo */
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1em;
    cursor: pointer;
    transition: background-color 0.3s ease;
    white-space: nowrap; /* Zabráni zalomeniu textu tlačidla */
}

.filters button:hover {
    background-color: #2980b9;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1.5em;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    overflow: hidden; /* Skryje pretečenie okrajov na zaoblených rohoch */
}

th, td {
    border: 1px solid #e0e0e0;
    padding: 12px 15px;
    text-align: left;
}

th {
    background-color: #f0f3f6;
    color: #444;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.9em;
}

tr:nth-child(even) {
    background-color: #f9f9f9;
}

tr:hover {
    background-color: #f1f7fc;
}

p {
    text-align: center;
    padding: 2em;
    background-color: #fdf3c3;
    border: 1px solid #fce88b;
    border-radius: 5px;
    color: #8b6000;
    margin-top: 2em;
}