:root {
    --background_color: #efefef;
    --text_color: black;
}

body {
    background-color: var(--background_color);
    height: 80vh;
}

div {
    display: flex;
    font-family: Rockwell;
    color: var(--text_color);
    /*justify-content: center;*/
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    border: none;
    border-radius: 10px;
    transition: .2s linear;
    background: #fff500;
    height: 5vh;
    /*font-family: Rockwell;*/
}

button:hover {
    box-shadow: 0 0 0 2px white, 0 0 0 4px rgba(226, 225, 4, 0.67);
    cursor: pointer;
}

form p{
    display: flex;
    /*flex-direction: column;*/
    align-items: center; /* Центрирование элементов внутри */
    justify-content: space-between;
}

form div {
    display: flex;
    justify-content: center; /* Центрирует содержимое по горизонтали */
    gap: 15px;
    margin-bottom: 10px;
}



li {
    text-decoration: underline;
    margin-bottom: 9px;
}

ul {
    display: flex;
    flex-direction: column; /* Или row для горизонтального списка */
    gap: 6px;
}

table {
    border-collapse: separate; /* Обязательно, чтобы отступы работали */
    border-spacing: 15px 10px;
    font-size: 24px;
}

/*.lato-regular {*/
/*  font-family: "Lato", sans-serif;*/
/*  font-weight: 400;*/
/*  font-style: normal;*/
/*}*/

.helptext {
    display: none;
    color: red;
}

/* Если в родительском блоке (например, параграфе) есть список ошибок, показываем подсказку */
p:has(.errorlist) .helptext {
    display: block;
    color: red; /* Опционально: выделяем цветом */
}

.header {
    justify-content: center;
    padding-top: 30px;
    font-size: 24px;
    height: 10vh;
    background: linear-gradient(rgba(226, 225, 4, 0.67), var(--background_color));
}

.container {
    justify-content: center; /* По горизонтали */
    align-items: center; /* По вертикали */
    height: 80vh;
    width: 100vw;
    /*background-color: var(--background_color);*/
}

.container_auth {
    flex-direction: column;
    align-items: center;
    height: 80vh;
    width: 100vw;
    /*background-color: var(--background_color);*/

}

.organization_container {
    flex-direction: column;
    align-items: inherit;
    /*height: 80vh;*/
    /*width: 100vw;*/
    border: inset rgba(226, 225, 4, 0.67) 4px;
    padding: 7vh;
    border-radius: 12px;
}

.organization_container__info {
    padding-bottom: 10px;
}

.container_datamatrix {
    flex-direction: column;
}

.container_account__menu {
    align-items: baseline;
    flex-direction: column;
    font-size: 18px;
}

.menu_description {
    justify-content: start;
    flex-direction: column;
    width: 60%;
    /*font-size: 24px;*/
}

/*.description {*/
/*    padding-bottom: 30px;*/
/*}*/

.container_auth__form {
    flex-direction: column;
    align-items: inherit;
    /*justify-content: center;*/
    border: inset rgba(226, 225, 4, 0.67) 4px;
    padding: 7vh;
    border-radius: 12px;
}

.container_registr__form {
    flex-direction: inherit;
    align-items: inherit;
    /*justify-content: center;*/
    border: inset rgba(226, 225, 4, 0.67) 4px;
    padding: 7vh;
    border-radius: 12px;
}

.container_file_form {
    flex-direction: inherit;
    align-items: inherit;
    /*justify-content: center;*/
    border: inset rgba(226, 225, 4, 0.67) 4px;
    padding: 7vh;
    border-radius: 12px;
}

.account_choice {
    display: flex;
    flex-direction: column;
    width: 40vh;
}

.hello_user {
    display: flex;
    text-align: center;
    justify-content: center;
    flex-direction: column;
    font-size: 24px;
    gap: 15px;
    border: inset rgba(226, 225, 4, 0.67) 4px;
    padding: 7vh;
    border-radius: 12px;
}

.hello_user li {
    text-decoration: none;
    text-align: start;
}

.authorization {
    gap: 15px;
    justify-content: space-around;
}

.authorization button {
    font-size: 16px;
}

.done_file {
    text-decoration: underline;
}


.template_file {
    color: blue;
    text-decoration: underline;
}

.footer {
    justify-content: center;
    padding-top: 30px;
    font-size: 12px;
    height: 3vh;
    background: linear-gradient(var(--background_color), rgba(226, 225, 4, 0.67));
}
