body {
    margin: 0;
    padding: 0;
    background-image: url('pozadi.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}
.navbar-default {
    background-color: #f8f8f8;
    position: fixed;
    width: 100%;
    min-height: 50px;
    margin-bottom: 20px;
    border: 1px solid transparent;
}
.navbar .container {
    padding-right: 15px;
    padding-left: 0;
    margin-right: auto;
    margin-left: auto;
}

.logo {
    float: left;
    height: 50px;
    padding: 15px 0;
    margin-left: 0;
    font-size: 18px;
    line-height: 20px;
}

.logo a {
    color: #777;
    text-decoration: none;
}

.logo img {
    display: block;
    max-height: 100%;
    width: auto;
}

.container:before,
.container:after {
    display: table;
    content: " ";
}

.container:after {
    clear: both;
}

.navbar:before,
.navbar:after {
    display: table;
    content: " ";
}

.navbar:after {
    clear: both;
}

.login-container {
    display: flex;
    position: fixed;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-height: calc(100vh - 72px);
    gap: 20px;
    padding: 20px;
}

.login-container::before {
    content: 'Zaměstnanecká sekce';
    font-family: 'Montserrat', sans-serif;
    font-size: 32px;
    font-weight: 600;
    color: #333;
    margin-bottom: 30px;
}

.login-input {
    width: 100%;
    max-width: 400px;
    padding: 15px;
    border: 2px solid #ccc;
    border-radius: 8px;
    font-size: 18px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.login-input:focus {
    outline: none;
    border-color: #777;
    box-shadow: 0 0 10px rgba(119, 119, 119, 0.3);
}

.password-container {
    position: relative;
    width: 100%;
    max-width: 400px;
    display: flex;
    justify-content: center;
}

.password-container .login-input {
    width: 100%;
    padding: 15px;
}

.toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    color: #777;
    font-size: 18px;
    transition: color 0.3s ease;
    z-index: 1;
}

.toggle-password:hover {
    color: #333;
}

@media (max-width: 480px) {
    .login-input {
        font-size: 16px;
        padding: 12px;
    }

    .login-container {
        gap: 15px;
    }

    .toggle-password {
        font-size: 16px;
    }
}

@media (max-width: 320px) {
    .login-input {
        font-size: 14px;
        padding: 10px;
    }
}

.login-button {
    width: 100%;
    max-width: 400px;
    padding: 15px;
    background-color: #fafafa;
    color: #777;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.login-button:hover {
    background-color: #dedede;
}

.login-button:active {
    background-color: #b9b9b9;
}

@media (max-width: 480px) {
    body {
        font-size: 20px;
    }
    .login-input,
    .login-button {
        font-size: 20px;
        padding: 18px;
    }
    .login-container {
        gap: 25px;
        padding: 30px;
    }
    .toggle-password {
        font-size: 22px;
    }
    .menu-container,
    .upload-form {
        padding: 30px;
    }
    .menu-item {
        font-size: 20px;
        padding: 20px;
    }
    h1, h2 {
        font-size: 2em;
    }
    button, .delete-button {
        font-size: 20px;
        padding: 18px;
    }
}
