body {
    font-family: Arial, sans-serif;
}

table {
    width: 80%; /* Zvýšení šířky tabulky */
    margin: 20px auto; /* Vycentrování tabulky */
    border-collapse: collapse;
    font-size: 18px;
    text-align: left;
    border: 2px solid #007BA7; /* Modré okraje tabulky */
}

table th, table td {
    padding: 12px 15px;
    border: 1px solid #007BA7; /* Modré okraje buněk */
}

table th {
    background-color: #f2f2f2;
    text-align: center;
    color: #37423b; /* Barva textu odpovídající nadpisům */
}

table td {
    text-align: center;
    color: #444444; /* Výchozí barva textu */
}

table tr:nth-of-type(even) {
    background-color: #f9f9f9;
}

table tr:hover {
    background-color: #f1f1f1;
}

th:nth-child(1), th:nth-child(2), th:nth-child(3) {
    text-align: left;
}

td:nth-child(1), td:nth-child(2), td:nth-child(3) {
    text-align: left;
}

.register-cell {
    background-color: #e0e0e0; /* Světle šedé pozadí pro buňky s tlačítkem */
    text-align: center;
}

/* Styl pro tlačítko Registrace */
.register-button {
    display: inline-block;
    padding: 10px 20px;
    font-size: 16px;
    color: #fff;
    background-color: #007BA7;
    border: none;
    border-radius: 25px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.register-button:hover {
    background-color: #005f7a;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    background-color: #fefefe;
    margin: 10% auto;
    padding: 20px;
    border: 2px solid black; /* Černý rámeček okolo modálního okna */
    width: 80%;
    max-width: 500px;
    box-sizing: border-box;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

#registrationForm {
    display: flex;
    flex-direction: column;
}

#registrationForm input[type="text"],
#registrationForm input[type="email"],
#registrationForm input[type="tel"],
#registrationForm input[type="submit"] {
    margin-bottom: 10px;
    padding: 10px;
    font-size: 16px;
    width: calc(100% - 24px); /* Adjust for padding */
}

#registrationForm input[type="checkbox"] {
    margin-bottom: 10px;
}

#registrationForm label {
    margin-bottom: 5px;
}

#registrationForm input[type="submit"] {
    width: 100px;
    align-self: center;
    background-color: #4CAF50;
    color: white;
    border: none;
    cursor: pointer;
}

#registrationForm input[type="submit"]:hover {
    background-color: #45a049;
}

#success-container {
    text-align: center;
}

#success-container button {
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
}
