.wv_account-login-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    min-height: calc(100svh - var(--wv_account-header-offset, 140px));
}
.wv_account-login-panel {
    width: min(100%, 560px);
    margin: auto;
    padding: clamp(28px, 6vw, 72px) clamp(20px, 6vw, 76px);
}
.wv_account-login-panel h1 {
    margin: 0 0 28px;
    font-size: clamp(22px, 2.8vw, 34px);
    font-weight: 500;
}
.wv_account-login-panel h2 { font-size: 16px; }
.wv_account-login-panel [hidden] { display: none !important; }
.wv_account-login-panel [data-wv_account-login-forms] .u-column1,
.wv_account-login-panel [data-wv_account-login-forms] .u-column2 { float: none; width: 100%; }
.wv_account-login-panel .woocommerce form {
    margin: 0 0 24px;
    padding: 0;
    border: 0;
}
.wv_account-login-panel input:not([type="checkbox"]):not([type="hidden"]),
.wv_account-login-panel [data-newsletter-language] select {
    box-sizing: border-box;
    width: 100%;
    padding: 12px;
    border: 1px solid #10171c;
    border-radius: 0;
    background: transparent;
    color: inherit;
    font: inherit;
}
.wv_account-login-panel [data-wv_account-email-step] button { margin-top: 16px; }
.wv_account-login-panel .wv_account-login-back {
    padding: 0;
    border: 0;
    background-color: transparent;
    color: inherit;
    font: inherit;
    cursor: pointer;
}
body main .wv_account-login-panel button.wv_account-login-back:is(:hover, :focus-visible) {
    background-color: transparent;
    background-image: linear-gradient(currentColor, currentColor);
    background-repeat: no-repeat;
    background-position: left bottom;
    background-size: 100% 1px;
    border-color: transparent;
    color: inherit;
}
.wv_account-login-image {
    display: block;
    width: 100%;
    height: calc(100svh - var(--wv_account-header-offset, 140px));
    object-fit: cover;
    object-position: 57% center;
    position: sticky;
    top: var(--wv_account-header-offset, 140px);
}
@media (max-width: 760px) {
    .wv_account-login-layout { grid-template-columns: minmax(0, 1fr); }
    .wv_account-login-image { display: none; }
}

.wv_account-login-panel,
.wv_account-login-panel .form-row,
.wv_account-login-panel .password-input,
.wv_account-login-panel .woocommerce-input-wrapper {
    box-sizing: border-box;
    min-width: 0;
    max-width: 100%;
}
.wv_account-login-panel .form-row,
.wv_account-login-panel .woocommerce-privacy-policy-text { overflow-wrap: anywhere; }
.wv_account-login-panel input { min-width: 0; }
.wv_account-login-panel input[type="checkbox"] { accent-color: #000; }
.wv_account-login-panel button {
    appearance: none;
    -webkit-appearance: none;
    color: #10171c;
    font-family: inherit;
}
.wv_account-login-panel button[type="submit"],
.wv_account-login-panel .woocommerce button.button[type="submit"] {
    background: #fbfbf8;
    border: 1px solid #10171c;
    border-radius: 50px;
    color: #10171c;
    padding: 12px 24px;
    max-width: 100%;
    white-space: normal;
}
.wv_account-login-panel button[type="submit"]:hover,
.wv_account-login-panel .woocommerce button.button[type="submit"]:hover {
    border-color: #000;
    background: #000;
    color: #fff;
    text-decoration: underline;
    text-underline-offset: .2em;
}
.wv_account-login-panel .woocommerce .woocommerce-form-login .woocommerce-form-login__submit { float: none; }
.wv_account-login-panel .show-password-input { color: #10171c; }

.wv_account-login-panel button[type="submit"], .wv_account-login-panel .woocommerce button.button[type="submit"] { border-radius:0; background:#000; color:#fff; }
.wv_account-login-layout { width:100%; clear:both; }

/* Match the theme typography and keep submit buttons black on interaction. */
.wv_account-login-panel h1,
.wv_account-login-panel h2 { font-family: inherit; }
.wv_account-login-panel button[type="submit"]:is(:hover, :focus-visible),
.wv_account-login-panel .woocommerce button.button[type="submit"]:is(:hover, :focus-visible) {
    background: #000;
    background-image: none;
    border-color: #000;
    color: #fff;
    text-decoration: underline;
    text-underline-offset: .2em;
}

.wv_account-login-panel .wv-account-field-error {
    display: block;
    margin: 5px 0 0;
    font-family: inherit;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: normal;
    color: #555;
}
.wv_account-login-panel .wv-account-field-error[hidden] { display: none; }
