body {
    background-color: black;
    color: white;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center; /* Přesunuto z inline stylu v <body> */
}

#nazev h1 { /* Přesunuto z inline stylu */
    font-size: 750%;
    font-family: Arial, sans-serif; /* Přesunuto z inline stylu */
}

.obecne.vlevoNahore {
    position: fixed; /* Klíčové: Prvek je pozicován vzhledem k oknu prohlížeče */
    top: 0;          /* 0 pixelů od horního okraje okna */
    left: 0;         /* 0 pixelů od levého okraje okna */
}


.obecne.vpravoNahore {
    position: fixed; /* Klíčové: Prvek je pozicován vzhledem k oknu prohlížeče */
    top: 0;          /* 0 pixelů od horního okraje okna */
    right: 0;         /* 0 pixelů od levého okraje okna */
}

/* Styly tlačítek - konsolidované z inline stylu v <head> */
.verzeTl1 {
    border: none;
    color: black;
    padding: 16px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    transition-duration: 0.4s;
    cursor: pointer;
}

.tlacitkoGreen {
    background-color: black;
    color: white;
    border: 2px solid #4CAF50;
}

.tlacitkoGreen:hover {
    background-color: #4CAF50;
    color: black;
}

.tlacitkoBlue {
    background-color: black;
    color: white;
    border: 2px solid deepskyblue;
}

.tlacitkoBlue:hover {
    background-color: deepskyblue;
    color: black;
}

.tlacitkoYellow {
    background-color: black;
    color: white;
    border: 2px solid yellow;
}

.tlacitkoYellow:hover {
    background-color: yellow;
    color: black;
}

.tlacitkoRed {
    background-color: black;
    color: white;
    border: 2px solid red;
}

.tlacitkoRed:hover {
    background-color: red;
    color: black;
}

.tlacitkoBlack {
    background-color: black;
    color: white;
    border: 2px solid white;
}

.tlacitkoBlack:hover {
    background-color: white;
    color: black;
}

.tlacitkoWhite {
    background-color: white;
    color: black;
    border: 2px solid black;
}

.tlacitkoWhite:hover {
    background-color: black;
    color: white;
}




/* Styly tabulky - konsolidované a sjednocené */
table {
    font-family: arial, sans-serif; 
    border-collapse: collapse;      
    width: 100%;                    
    margin-top: 20px;               
    table-layout: fixed;            
}

th, td { /* Společné vlastnosti pro th a td */
    border: 1px solid #ffffff; /* Z původních inline stylů */
    padding: 8px;              /* Z původních inline stylů */
    text-align: left;          /* Výchozí, pro th bude přepsáno níže */
    white-space: nowrap; /* Ze stávajícího style.css */
    overflow: hidden;    /* Ze stávajícího style.css */
    text-overflow: ellipsis; /* Ze stávajícího style.css */
}

th {
    text-align: center; /* Přepíše text-align pro hlavičky */
}



#nazvySloupcu th {
    background-color: black;
    color: white;
    font-weight: bold;
    height: 50px;
    font-size: 1.1em;
    text-align: center;
}

#timeAndStationHeader th {
    font-size: 1.5em;
    text-align: center;
    vertical-align: middle;
    background-color: black;
    color: white;
}

#cas {
    font-size: 2.5em !important;
    font-family: 'Trebuchet MS', sans-serif;
}

#nazevStanice {
    font-size: 4em !important;
    font-family: 'Courier New', monospace;
}

.confirm-button {
    background-color: #4CAF50;
    color: white;
    padding: 8px 12px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1em;
    width: 100%;
    box-sizing: border-box;
}

.confirm-button:hover {
    background-color: #45a049;
}

/* Styly související s .verze (přesunuto z inline bloku) */
.verzeTl {
    background-color: #aa8304;
    color: white;
    padding: 16px;
    font-size: 16px;
    border: none;
}

.verze {
    position: relative;
    display: inline-block;
}

.verze-info {
    display: none;
    position: absolute;
    text-align: center;
    background-color: #252525;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(255, 255, 255, 0.2);
    z-index: 1;
}

.verze a {
    color: white;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.verze a:hover {
    background-color: #252525;
}

.verze:hover .verze-info {
    display: block;
}

.verze:hover .verzeTl {
    background-color: #442900;
}

#login-container {
    width: 100%;
    max-width: 400px;
    padding: 20px;
    border-radius: 0.75rem;
    background-color: #1a202c; /* Tmavší pozadí pro login */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    color: white;
    margin-bottom: 20px; /* Mezera pod login kontejnerem */
    margin-left: auto;
    margin-right: auto;
}
.form-group {
    margin-bottom: 1rem;
}
.form-label {
    display: block;
    color: #a0aec0; /* gray-400 */
    font-size: 0.875rem; /* text-sm */
    font-weight: bold;
    margin-bottom: 0.5rem;
}
.form-input {
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-width: 1px;
    border-color: #4a5568; /* gray-700 */
    border-radius: 0.25rem;
    width: 100%;
    padding: 0.5rem 0.75rem;
    color: #e2e8f0; /* gray-200 */
    line-height: 1.25;
    outline: none;
    background-color: #2d3748; /* gray-800 */
    box-sizing: border-box;
}
.form-input:focus {
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.5);
    border-color: #4299e1; /* blue-500 */
}
.submit-button {
    background-color: #4299e1; /* blue-500 */
    color: white;
    font-weight: bold;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    outline: none;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    width: 100%;
    transition: all 300ms ease;
    transform: scale(1);
    box-sizing: border-box;
}
.submit-button:hover {
    background-color: #3182ce; /* blue-700 */
    transform: scale(1.05);
}