body {
    background: #f4f6f3;
    color: #21372f;
}
body, input, button {
    font-family: "Inter", sans-serif;
}
h2, .login-site h2 {
    color: #21372f;
}
.menu {
    background: #163e31;
    padding: 20px 16px;
}
.menu h1 {
    color: #f4f7f3;
    text-align: center;
    font-size: 20px;
    padding: 0 0 6px;
    overflow-wrap: anywhere;
}
.menu__element {
    background: #f4f6f3;
    box-shadow: none;
    justify-content: center;
    margin-bottom: 0;
}
.menu__element p {
    color: #215943;
}
.history .login__information p, .history .login__information b {
    color: #365343;
}
.login__information__icon {
    background: #e4ebdf;
}
.history .login__information__icon p {
    color: #215943;
}
.history .button-los {
    background: #215943;
    box-shadow: 0 4px 18px #21594324;
}
.history .button-los form button {
    background: transparent;
}
.history .button-los p {
    overflow-wrap: anywhere;
}
.history .button-los p.draw-status {
    font-size: 18px;
    line-height: 1.5;
    padding: 12px;
}
.history__element {
    background: #e4eddf;
    box-shadow: none;
    border: 1px solid #d6e1d0;
    padding: 16px;
}
.history__element__title, .history__element__text {
    color: #215943;
    text-align: center;
    overflow-wrap: anywhere;
}
.history__container .w20 {
    width: 100%;
    padding: 0;
}
.history__container .history__element {
    flex-direction: row;
    justify-content: flex-start;
    gap: 18px;
    height: auto;
    min-height: 60px;
    margin: 0 0 8px;
    padding: 12px 16px;
    border-color: #e0e7db;
    background: #fff;
    border-radius: 8px;
}
.history__element__title {
    flex-shrink: 0;
    padding: 6px 9px;
    border-radius: 5px;
    background: #e4eddf;
    font-size: 13px;
    font-weight: 700;
}
.history__element__text {
    min-width: 0;
    font-size: 15px;
    line-height: 1.4;
    text-align: left;
}
.login {
    background: #fff;
    border: 1px solid #dfe6db;
    box-shadow: 0 8px 32px #163e3109;
    max-width: calc(100% - 32px);
}
.login__input {
    background: #f4f6f1;
    border: 1px solid #d5dfd0;
    padding-right: 52px;
    box-shadow: none;
    color: #21372f;
}
.login__button {
    background: #215943;
    color: white;
    width: 100%;
    box-shadow: none;
}
.login__button:hover {
    background: #163e31;
}
.login__information p {
    color: #596e60;
}
.password-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
}
.password-toggle {
    position: absolute;
    right: 6px;
    top: 6px;
    width: 38px;
    height: 38px;
    padding: 8px;
    background: transparent;
    border: 0;
    box-shadow: none;
}
.password-toggle img {
    display: block;
    width: 22px;
    height: 22px;
}
.password-toggle:hover {
    background: #e4ebdf;
}
.login-error {
    color: #a33d36;
    margin-bottom: 16px;
}
a:focus-visible, button:focus-visible, input:focus-visible {
    outline: 3px solid #9caa75;
    outline-offset: 4px;
}
@media (max-width: 800px) {
    .container, .history__container {
        margin: 24px 20px;
    }
    .history h2 {
        margin: 16px 0;
    }
    .history .login__information {
        margin-top: 10px;
    }
    .history .login__information p {
        font-size: 16px;
        line-height: 1.55;
    }
    .history .button-los {
        margin: 28px 0 8px;
    }
    .login__information__icon {
        min-width: 42px;
        height: 42px;
    }
}
@media (max-width: 450px) {
    .menu {
        padding: 14px 16px;
    }
    .menu h1 {
        font-size: 18px;
    }
    .menu__element {
        padding: 8px;
    }
    .login {
        margin-top: 28px;
    }
}

.history .button-los {
    position: relative;
}
.history .button-los.is-revealing::after {
    content: "";
    position: absolute;
    inset: -8px;
    border: 3px solid #21594320;
    border-top-color: #b29b61;
    border-right-color: #b29b61;
    border-radius: 50%;
    animation: reveal-spin .85s linear infinite;
    pointer-events: none;
}
.history .button-los.is-revealing button {
    font-size: 20px;
    cursor: wait;
}
.history .button-los.is-revealed {
    animation: reveal-glow .7s ease-out;
}
.history .button-los.is-revealed p {
    animation: reveal-name .5s ease-out both;
}
.reveal-error {
    max-width: 320px;
    margin: 18px 0 0;
    color: #a33d36;
    font-size: 15px;
    line-height: 1.5;
    text-align: center;
}
@keyframes reveal-spin {
    to { transform: rotate(360deg); }
}
@keyframes reveal-name {
    from { opacity: 0; transform: translateY(10px) scale(.9); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes reveal-glow {
    from { box-shadow: 0 0 0 0 #b29b6160; }
    to { box-shadow: 0 0 0 28px #b29b6100; }
}
@media (prefers-reduced-motion: reduce) {
    .history .button-los.is-revealing::after,
    .history .button-los.is-revealed,
    .history .button-los.is-revealed p {
        animation: none;
    }
}
