.store-account-login {
    display: flex;
    min-height: 100vh;
    min-height: 100dvh;
    flex-direction: column;
}

.store-account-login .store-footer {
    margin-top: 0;
}

.store-login {
    display: grid;
    flex: 1;
    justify-items: center;
    align-content: start;
    padding-block: 56px;
}

.store-login__card {
    width: 100%;
    max-width: 440px;
    text-align: center;
    padding: 32px;
    border: 1px solid var(--store-border);
    border-radius: var(--store-radius);
    background: var(--store-white);
}

.store-login__card h1 {
    margin: 0;
    color: var(--store-dark);
    font-size: 28px;
    font-weight: 800;
    line-height: 1.2;
}

.store-login__intro {
    margin: 12px 0 28px;
    color: var(--store-muted);
}

.store-login__form {
    display: flex;
    flex-direction: column;
}

.store-login__form label {
    display: block;
    margin-bottom: 7px;
    color: var(--store-dark);
    font-weight: 700;
}

.store-login__form input {
    width: 100%;
    min-width: 0;
    height: 48px;
    text-align: center;
    margin-bottom: 22px;
    padding: 0 14px;
    border: 1px solid var(--store-border);
    border-radius: var(--store-radius-small);
    color: var(--store-dark);
    background: var(--store-white);
}

.store-login__form input:focus {
    border-color: var(--store-red-action);
    outline: none;
}

.store-login__error {
    margin-bottom: 22px;
    padding: 12px 14px;
    border: 1px solid var(--store-red-action);
    border-radius: var(--store-radius-small);
    color: var(--store-red-action);
    background: var(--store-white);
}

@media (max-width: 560px) {
    .store-login {
        padding-block: 28px;
    }

    .store-login__card {
        padding: 24px 20px;
    }

    .store-login__card h1 {
        font-size: 25px;
    }
}

.store-login__methods {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 24px;
    border-bottom: 1px solid var(--store-border);
}

.store-login__methods a {
    padding: 12px;
    border-bottom: 1px solid transparent;
    color: var(--store-muted);
    font-weight: 700;
    text-align: center;
    text-decoration: none;
}

.store-login__methods a:hover,
.store-login__methods a[aria-current="true"] {
    border-bottom-color: var(--store-red-action);
    color: var(--store-red-action);
}

.store-login__registration {
    width: 100%;
    margin-top: 16px;
    border-color: var(--store-border);
    color: var(--store-dark);
    background: var(--store-white);
    cursor: pointer;
}

.store-login__registration:hover {
    border-color: var(--store-red-action);
    color: var(--store-red-action);
}

.store-login__password {
    position: relative;
    margin-bottom: 22px;
}

.store-login__password input {
    margin-bottom: 0;
    padding-inline: 48px;
}

.store-login__password-toggle {
    position: absolute;
    top: 0;
    right: 0;
    display: inline-flex;
    width: 44px;
    height: 48px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: var(--store-radius-small);
    color: var(--store-muted);
    background: transparent;
    cursor: pointer;
}

.store-login__password-toggle[hidden],
.store-login__password-toggle[aria-pressed="true"] [data-password-slash] {
    display: none;
}

.store-login__password-toggle:hover {
    color: var(--store-dark);
}

.store-login__password-toggle:focus-visible {
    outline: 1px solid var(--store-red-action);
    outline-offset: -3px;
}

.store-login__password-toggle svg {
    width: 22px;
    height: 22px;
}

.store-login__link {
    display: block;
    margin-block: 0 20px;
    color: var(--store-dark);
    text-underline-offset: 3px;
}

.store-login__link:hover,
.store-login__help a:hover {
    color: var(--store-red-action);
}

.store-login__help,
.store-login__notice {
    margin-block: 24px;
    padding: 16px;
    border: 1px solid var(--store-border);
    border-radius: var(--store-radius-small);
    color: var(--store-muted);
    font-size: 15px;
    overflow-wrap: anywhere;
}

.store-login__help p {
    margin: 0 0 12px;
}

.store-login__help p:last-child {
    margin-bottom: 0;
}

.store-login__help a {
    color: var(--store-dark);
    font-size: 20px;
    font-weight: 700;
}

.store-login__registration + .store-login__link {
    margin-block: 16px 0;
}
