.login-btns {
    height: 520px;
    padding: 16px 24px;
}

.login-btns__header {
    position: relative;
    padding: 0 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 26px;
    height: 20px;
}

.login-btns__back-btn {
    position: absolute;
    left: 0;

    max-width: max-content;
}

.login-btns__title {
    font-weight: 600;
    font-size: 20px;
    text-align: center;
    color: #192945;
}

.login-btns__wrapper {
    display: flex;
    flex-direction: column;
    gap: 18px;
    width: 100%;
}

.login-btns__item {
    border-radius: 8px;
    padding: 22px 16px;
    background: #f3f4f8;
    font-weight: 400;
    font-size: 18px;
    line-height: 89%;
    color: #192945;

    display: flex;
    align-items: center;
    gap: 11px;

    border: 1px solid #fff;
}

.login-btns__item:hover {
    border: 1px solid #7084ff;
    background: #dee3fc;
}

.login-btns__item span {
    margin-right: auto;
}

.login-key {
    padding: 18px 24px;
    height: 520px;
    flex-direction: column;
    display: flex;
}

.login-key__title {
    font-weight: 600;
    font-size: 20px;
    text-align: center;
    color: #192945;
    margin-top: -4px;
    margin-bottom: 20px;
}

.login-key__form {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.login-key__btn {
    margin-top: auto;
}

.login-key__error-text {
    margin-top: 10px;
    font-weight: 400;
    font-size: 12px;
    line-height: 133%;
    color: #e22;
}

.login__controlls {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 20px;
}

.login__type-btn {
    font-weight: 400;
    font-size: 14px;
    line-height: 114%;
    color: #3c4c59;
    max-width: max-content;
    padding: 0;
}

.login__reset-btn {
    max-width: max-content;
    padding: 0;
    border-radius: 0;
}

.login__reset-btn:hover {
    background: #afb9f8;
    border-radius: 0;
}

.login {
    padding: 18px 24px;
    min-height: 520px;
    flex-direction: column;
    display: flex;
}

.login__form {
    width: 100%;
    height: 100%;
    flex: 1;

    flex-direction: column;
    display: flex;
}

.login__fields {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    width: 100%;
}

.login__field-item {
    position: relative;
}

.login__field-number {
    position: absolute;
    top: 4px;
    left: 8px;
    font-weight: 400;
    font-size: 10px;
    line-height: 160%;
    color: #3c4c59;
}

.login__input {
    border: 1px solid #e7e7e9;
    border-radius: 8px;
    padding: 4px 18px 4px 18px;
    width: 100%;
    background: #f7f7f7;
    height: 40px;

    font-weight: 500;
    font-size: 16px;
    line-height: 100%;
    text-align: center;
    color: #192945;
}

.login__input:focus, .login__input:hover {
    border: 1px solid #7084ff;
    outline: none;
}

.login_error-text {
    font-weight: 400;
    font-size: 14px;
    line-height: 157%;
    letter-spacing: -0.04em;
    color: #e22;
    margin-top: 7px;

    margin-bottom: -22px;
}

.login_error-text.hidden {
    opacity: 0;
}

.phrase-options-popup {
    position: absolute;
    top: 0;
    box-shadow: 0 3px 10px 0 rgba(114, 114, 127, 0.2);
    background: #fff;
    border-radius: 8px;
    padding: 20px;

    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 18px;
    z-index: 100;
}

.phrase-options-popup__item {
    padding: 0;
    font-weight: 400;
    font-size: 14px;
    line-height: 114%;
    color: #3e495e;
    white-space: pre;

    justify-content: start;
}

.phrase-options-popup__item span {
    font-weight: 700;
    color: #7084ff;
}

.login__input-passphrase {
    margin-top: 35px;
    margin-bottom: 35px;
}

.login__input-seedphrase,
.login__input-passphrase {
    width: 100%;
    font-weight: 400;
    font-size: 14px;
    line-height: 157%;
    letter-spacing: -0.04em;
    color: #000;
    padding: 17px 12px;
    text-align: left;
    background: #fff;
    height: 56px;
}

.spacer {
    flex-grow: 1;
}

.login__submit-btn {
    margin-top: 35px;
}

@media (max-width: 800px) {
    .login__fields {
        grid-template-columns: repeat(2, 1fr);
    }

    .login__input {
        max-width: 100%;
    }
}

@media (max-width: 600px) {
    .login__fields {
        grid-template-columns: repeat(1, 1fr);
    }
}
