/* style.css */

/* Resetování výchozích stylů */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Moderní font */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f7f7f7;
    color: #333;
}

/* Styly pro kontejner */
.container {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    border: 1px solid #ddd;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* Styly pro nadpis */
.title {
    text-align: center;
    font-size: 24px;
    margin-bottom: 20px;
    color: #4d6be2;
}

/* Styly pro formulář */
.login-form {
    margin-top: 10px;
    margin-bottom: 20px;
}

/* Styly pro popisky */
.label {
    font-weight: bold;
}

/* Styly pro vstupní pole */
.input {
    width: 100%;
    margin-bottom: 20px;
    padding: 10px;
    border: 1px solid #ccc;
    font-size: 16px;
}

/* Styly pro tlačítko */
.submit-button {
    width: 100%;
    padding: 10px;
    background-color: #4d6be2;
    color: #fff;
    border: none;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.submit-button:hover {
    background-color: #3b56b0;
}

/* Styly pro tlačítko nahrávání souboru */
input[type="file"] {
    display: block;
    margin: 20px 0;
    padding: 10px;
    border: 1px solid #ccc;
    background-color: #fff;
    cursor: pointer;
    font-size: 16px;
}

input[type="file"]::file-selector-button {
    background-color: #4d6be2;
    color: #fff;
    border: none;
    padding: 10px;
    cursor: pointer;
    transition: background-color 0.3s;
}

input[type="file"]::file-selector-button:hover {
    background-color: #3b56b0;
}

/* Styly pro uvítací stránku */
.welcome {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background-color: #fff;
    border: 1px solid #ddd;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.welcome h2 {
    text-align: center;
    font-size: 28px;
    margin-bottom: 20px;
    color: #4d6be2;
}

.welcome p {
    text-align: center;
    font-weight: bold;
    margin-bottom: 20px;
    color: #555;
}

/* Styly pro programovou tabulku */
.program-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    margin-bottom: 30px;
    font-size: 16px;
}

.program-table th, .program-table td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: left;
}

.program-table th {
    background-color: #4d6be2;
    color: #fff;
    width: 25%;
}

.program-table td {
    color: #666;
    width: 25%;
}

.program-table td:last-child {
    width: 50%;
}

/* Zvýraznění */
.highlight {
    background-color: #ffffcc;
    font-weight: bold;
}

/* Styly pro místo konání */
.misto-konani {
    margin-top: 20px;
}

.misto-konani h3 {
    text-align: center;
    font-size: 24px;
    margin-bottom: 20px;
    color: #4d6be2;
}

/* Formulářové prvky */
form {
    margin-bottom: 20px;
}

select, input[type="submit"] {
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    width: 100%;
    box-sizing: border-box;
    font-size: 16px;
}

/* Styl pro checkboxy */
.checkbox-container {
    display: block;
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    cursor: pointer;
    font-size: 16px;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: #eee;
    border: 1px solid #ddd;
}

.checkbox-container:hover input ~ .checkmark {
    background-color: #ccc;
}

.checkbox-container input:checked ~ .checkmark {
    background-color: #4d6be2;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-container input:checked ~ .checkmark:after {
    display: block;
}

.checkbox-container .checkmark:after {
    left: 7px;
    top: 3px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Přizpůsobení tlačítka na mobilních zařízeních */
@media screen and (max-width: 600px) {
    select, input[type="submit"] {
        width: 100%;
    }
}