body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #fefefe;
    margin: 0;
    padding: 20px;
    color: #2d2d2d;
}

h1 {
    text-align: center;
    color: #3f3d56;
    margin-bottom: 30px;
}

form {
    text-align: center;
    margin-bottom: 30px;
}

input[type="text"],
input[type="number"] {
    width: 300px;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #bbb;
    border-radius: 6px;
    margin-bottom: 10px;
    background-color: #fffdf2;
    transition: border-color 0.2s;
}

input[type="text"]:focus,
input[type="number"]:focus {
    border-color: #6c5ce7;
    outline: none;
    background-color: #fffceb;
}

button {
    padding: 10px 20px;
    font-size: 16px;
    background-color: #6c5ce7;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

button:hover {
    background-color: #5a4dd0;
}

table {
    width: 90%;
    max-width: 900px;
    margin: 0 auto;
    border-collapse: collapse;
    background-color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    overflow: hidden;
}

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

th {
    background-color: #fdf6e3;
    color: #3f3d56;
}

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

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

.chyba {
    color: #d63031;
    text-align: center;
    font-weight: bold;
    margin-bottom: 20px;
}

.spat-link {
    text-align: center;
    margin-top: 30px;
}

.spat-link a {
    display: inline-block;
    text-decoration: none;
    background-color: #6c5ce7;
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 16px;
    transition: background-color 0.2s ease;
}

.spat-link a:hover {
    background-color: #5a4dd0;
}
