body{
    background-image: linear-gradient(to bottom, rgba(47, 37, 25, 0.7) 90%, #2f2519 100%), url('/images/header_bg.webp');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.block_login{
    width: 650px;
    height: 525px;
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 1);
    display: flex;
    flex-direction: column;
    padding-bottom: 50px;
    overflow: hidden;
    transition: 0.3s ease-in-out;
}
.vybor_login_register{
    display: flex;
}

.login_button{
    width: 50%;
    height: 75px;
    background-color: #e0e0e0;
    transition: 0.3s ease-in-out;
    cursor: pointer;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login_button.active_vybor{
    background-color: #FFC300;
    color: #2f2519;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}

.register_button{
    width: 50%;
    height: 75px;
    background-color: #e0e0e0;
    transition: 0.3s ease-in-out;
    cursor: pointer;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
}

.register_button.active_vybor{
    background-color: #FFC300;
    color: #2f2519;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}

.login_form{
    align-self: center;
}

.login_form form{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.login_form>form>.inputs>input{
    width: 310px;
    height: 45px;
    padding-left: 10px;
    font-size: 16px;
    font-family: Montserrat, sans-serif;
    border-radius: 5px;
    border: none;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.2);
    padding-right: 10px;
    transition: 0.3s ease-in-out;
}

.register_form{
    align-self: center;
}

.register_form form{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.register_form>form>.inputs>input{
    width: 310px;
    height: 45px;
    padding-left: 10px;
    font-size: 16px;
    font-family: 'Montserrat', sans-serif;
    border-radius: 5px;
    border: none;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.2);
    padding-right: 10px;
}

.password_wrap{
    position: relative;
    width: fit-content;
    height: 45px;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.password_input{
    width: 310px;
    height: 45px;
    padding-left: 10px;
    font-size: 16px;
    font-family: 'Montserrat', sans-serif;
    border-radius: 5px;
    border: none;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.2);
    padding-right: 10px;
}

.toggle-password {
    position: absolute;
    right: 12px;
    cursor: pointer;
    font-size: 18px;
    width: 18px;
    height: 18px;
    color: #888;
    user-select: none;
    background-image: url(/images/eye-off.png);
    background-size: 100% 100%;

}

.show-password {
    background-image: url(/images/eye.png);
}

.logo-2{
    width: 250px;
    height: 95px;
    background-image: url('/images/logo-2.png');
    background-size: cover;
    background-position: -10px center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-2 p{
    font-weight: 300;
    font-size: 16px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #000;
    margin-top: 70px;
}

.submit_button {
    border-radius: 10px;
    width: 100%;
    height: 50px;
    background: #ffc300;
    font-weight: 800;
    font-size: 18px;
    letter-spacing: 0.05em;
    color: #000;
    padding: 0px;
    margin-top: 0px;
    text-transform: uppercase;
    transition: 0.3s ease-in-out;
    cursor: pointer;
    border: none;
    font-family: 'Montserrat', sans-serif;
}
.submit_button:hover {
    background: #2f2519;
    color: white;
}

.inputs{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.na_hlavnu{
    color: white;
    font-weight: 500;
    text-transform: uppercase;
    align-self: flex-start;
    position: absolute;
    margin-top: -50px;
    display: flex;
    flex-direction: row;
    gap: 5px;
    align-items: center;
    justify-content: center;
}

#verify-code-form{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

#code{
    width: 310px;
    height: 45px;
    padding-left: 10px;
    font-size: 16px;
    font-family: 'Montserrat', sans-serif;
    border-radius: 5px;
    border: none;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.2);
    padding-right: 10px;
    margin-top: 30px;
}

@media screen and (max-width: 700px) {
    .block_login{
        width: 500px;
    }
}
@media screen and (max-width: 510px) {
    .block_login{
        width: 400px;
    }
    .register_button {
        font-size: 16px;
    }
    .login_button{
        font-size: 16px;
    }
}

@media screen and (max-width: 450px) {
    body {
        background-image: linear-gradient(to bottom, rgba(47, 37, 25, 0.7) 90%, #2f2519 100%), url(/images/header_bg.webp);
        background-size: cover;
        background-position: center;
        display: block;
        flex-direction: unset;
        align-items: unset;
        justify-content: unset;
    }
    .block_login{
        width: 100%;
        height: inherit;
        position: relative;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    .vybor_login_register{
        position: absolute;
        width: 100%;
        top: 0;
    }
    .register_button {
        font-size: 14px;
    }
    .login_button{
        font-size: 14px;
    }
    .na_hlavnu {
        color: black;
        font-weight: 500;
        text-transform: uppercase;
        align-self: flex-start;
        position: absolute;
        margin-top: 0px;
        bottom: 20px;
        left: 20px;
        display: flex;
        flex-direction: row;
        gap: 5px;
        align-items: center;
        justify-content: center;
        display: none;
    }

    .na_hlavnu>svg path{
        stroke: black;
    }

    .login_form{
        margin-top: 40px;
    }
    .register_form{
        margin-top: 40px;
    }
}