/* Log-in and registration pages (auth/login, auth/register) on top of home_v2.css: one centred column with the
   form in a white card; form fields keep Bootstrap classes, restyled here. */
.hv2-auth__card { padding: clamp(22px, 3vw, 36px); border-radius: 20px; background: #ffffff; border: 1px solid var(--hv2-line); box-shadow: 0 24px 50px rgba(20, 39, 58, 0.10); min-width: 0; }
.hv2-auth__card .form-label { font-weight: 700; color: var(--hv2-navy); font-size: 15px; }
.hv2-auth__card .form-control, .hv2-auth__card .form-select { min-height: 48px; border-radius: 10px; border-color: #c8d3de; font-size: 16px; font-family: inherit; }
.hv2-auth__card .form-control:focus, .hv2-auth__card .form-select:focus { border-color: var(--hv2-green); box-shadow: 0 0 0 3px rgba(19, 101, 47, 0.15); }
.hv2-auth__card .input-group > .form-control, .hv2-auth__card .input-group > .form-select, .hv2-auth__card .input-group > .btn { min-height: 48px; }
.hv2-auth__card .btn-success { min-height: 50px; border-radius: 12px; background: var(--hv2-green); border-color: var(--hv2-green); font-weight: 800; font-size: 17px; }
.hv2-auth__card .btn-success:hover, .hv2-auth__card .btn-success:focus { background: var(--hv2-green-dark); border-color: var(--hv2-green-dark); }
.hv2-auth__card .btn-success:disabled { background: var(--hv2-green); border-color: var(--hv2-green); opacity: .55; }
.hv2-auth__card a { color: var(--hv2-green); }

/* Log-in (auth/login): one centred column on the hero background — the log-in card, then one quiet line to
   the free trial. The section fills the screen under the bar, so the footer never leaves a white strip below it. */
.hv2-login { min-height: calc(100vh - 64px); min-height: calc(100dvh - 64px); display: flex; align-items: center; border-bottom: 0; }
.hv2-login__inner { width: 100%; max-width: 520px; margin: 0 auto; padding: 0 16px; display: flex; flex-direction: column; gap: 18px; }
.hv2-login__head { text-align: center; }
.hv2-login__head .hv2-eyebrow { margin-bottom: 10px; }
.hv2-login__head .hv2-hero__lead { margin: 12px 0 0; }
.hv2-login__trial { text-align: center; }
.hv2-login__trial p { margin: 0; font-size: 15px; color: var(--hv2-muted); }
.hv2-login__trial a { font-weight: 800; color: var(--hv2-green); white-space: nowrap; }
.hv2-login__trial a:hover { text-decoration: underline; }
.hv2-login__trial .hv2-login__trial-note { margin-top: 4px; font-size: 13px; }

/* Sign-up (auth/register): the same centred column as the log-in page, wider for the longer form. */
.hv2-login--register { align-items: flex-start; }
.hv2-login--register .hv2-login__inner { max-width: 680px; }
.hv2-login__chips { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; }
.hv2-login__chips li { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 700; color: var(--hv2-navy); }
.hv2-login__chips i { color: var(--hv2-green); font-size: 18px; }
.hv2-auth__pair { display: grid; grid-template-columns: minmax(0, 1fr); column-gap: 16px; }
@media (min-width: 576px) { .hv2-auth__pair { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* Package price box rendered by price-list.js (Bootstrap alert, bright green two-tone in registration.css with
   !important): a calm card in the landing palette instead. */
.hv2-auth__card #price-info .alert-additional { border: 1px solid var(--hv2-line) !important; border-radius: 12px; background: var(--hv2-grey); box-shadow: none !important; }
.hv2-auth__card #price-info .alert-body { background-color: var(--hv2-grey) !important; color: var(--hv2-muted); padding: 14px 40px 12px 16px; font-size: 14px; }
.hv2-auth__card #price-info .alert-body p { color: var(--hv2-muted); }
.hv2-auth__card #price-info .alert-heading { color: var(--hv2-navy) !important; font-weight: 800; font-size: 17px; }
.hv2-auth__card #price-info i { color: var(--hv2-green) !important; }
.hv2-auth__card #price-info .alert-content { background-color: #ffffff !important; color: var(--hv2-muted) !important; border-top: 1px solid var(--hv2-line); padding: 12px 16px; font-size: 14px; }
.hv2-auth__plan { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border: 1px solid var(--hv2-line); border-radius: 12px; background: var(--hv2-grey); }
.hv2-auth__plan i { font-size: 22px; color: var(--hv2-green); flex: none; }
.hv2-auth__plan strong { display: block; color: var(--hv2-navy); font-weight: 800; }
.hv2-auth__plan span { font-size: 14px; color: var(--hv2-muted); }
/* Country / prefix select joined to its input (NIP, phone): square inner corners, shared border. */
.hv2-auth__card .input-group > .form-select:not(:last-child) { border-top-right-radius: 0; border-bottom-right-radius: 0; }
.hv2-auth__card .input-group > .form-control:not(:first-child) { border-top-left-radius: 0; border-bottom-left-radius: 0; margin-left: -1px; }
.hv2-auth__card .input-group > .form-control:not(:last-child) { border-top-right-radius: 0; border-bottom-right-radius: 0; }
.hv2-auth__card .input-group > #send-sms-code { border-radius: 0 10px 10px 0 !important; font-weight: 800; padding-inline: 16px; }
/* Phones: the joined fields were too tight (country select 160 px next to the NIP, prefix + "Send code" around the
   number). The NIP country narrows, "Send code" drops under the number at full width. */
@media (max-width: 575.98px) {
    .hv2-auth__card { padding: 20px 16px; }
    .hv2-auth__card .form-control::placeholder { font-size: 15px; }
    .hv2-auth__card #nip_country { max-width: 118px !important; flex: 0 0 118px; }
    .hv2-auth__card .input-group:has(#send-sms-code) { flex-wrap: wrap; }
    .hv2-auth__card .input-group:has(#send-sms-code) > #phone { border-top-right-radius: 10px; border-bottom-right-radius: 10px; }
    .hv2-auth__card .input-group > #send-sms-code { flex: 0 0 100%; margin: 8px 0 0 !important; border-radius: 10px !important; min-height: 46px; }
}
/* Phones: the sign-up header used a whole screen before the first field. Tighter header, no promise chips
   (the trial box at the top of the form already says "14 days free, no card"). */
@media (max-width: 575.98px) {
    .hv2-login--register { padding-top: 20px; padding-bottom: 32px; }
    .hv2-login--register .hv2-login__inner { gap: 14px; }
    .hv2-login--register .hv2-login__head .hv2-eyebrow { margin-bottom: 6px; }
    .hv2-login--register .hv2-h1 { font-size: 32px; line-height: 1.05; }
    .hv2-login--register .hv2-login__head .hv2-hero__lead { margin-top: 8px; font-size: 14px; line-height: 1.45; }
    .hv2-login--register .hv2-login__chips { display: none; }
    .hv2-auth__plan { padding: 10px 12px; }
}

/* Status pages in the same centred column (password reminder and reset, sign-up done, 404, page in
   preparation): a round icon on top of the card, centred text and the landing buttons. */
.hv2-auth__card--center { text-align: center; }
.hv2-auth__icon { width: 68px; height: 68px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; font-size: 34px; background: rgba(19, 101, 47, 0.10); color: var(--hv2-green); }
.hv2-auth__icon--error { background: rgba(192, 57, 43, 0.10); color: #c0392b; }
.hv2-auth__title { margin: 0 0 8px; font-size: 22px; font-weight: 800; color: var(--hv2-navy); }
.hv2-auth__text { margin: 0 0 18px; color: var(--hv2-muted); font-size: 16px; line-height: 1.55; }
.hv2-auth__text strong { color: var(--hv2-navy); word-break: break-all; }
.hv2-auth__steps { margin: 0 0 22px; padding: 0; list-style: none; counter-reset: hv2step; text-align: left; display: grid; gap: 12px; }
.hv2-auth__steps li { counter-increment: hv2step; position: relative; padding-left: 40px; color: var(--hv2-muted); font-size: 15px; line-height: 1.5; }
.hv2-auth__steps li::before { content: counter(hv2step); position: absolute; left: 0; top: -2px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--hv2-green); color: #ffffff; font-weight: 800; font-size: 14px; }
.hv2-auth__card .btn-success.hv2-auth__link-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; text-decoration: none; color: #ffffff; }
.hv2-auth__card #password-contain { background: var(--hv2-grey) !important; border: 1px solid var(--hv2-line); border-radius: 12px !important; }
.hv2-auth__card #password-contain h5 { color: var(--hv2-navy); font-weight: 800; }
.hv2-login__status-btns { justify-content: center; }
.hv2-login__head .hv2-login__code { font-family: 'Anton', sans-serif; font-size: clamp(64px, 12vw, 120px); line-height: 1; color: var(--hv2-green); margin-bottom: 6px; }
/* Country pickers (NIP country, phone code) keep only the dropdown arrow: the theme's valid/invalid
   icon sat on the value and hid it — a +420 picked from the NIP country looked like an empty field. */
.hv2-auth__card .input-group > .form-select:valid,
.hv2-auth__card .input-group > .form-select:invalid,
.hv2-auth__card .input-group > .form-select.is-valid,
.hv2-auth__card .input-group > .form-select.is-invalid { --vz-form-select-bg-icon: none !important; padding-right: 2.25rem !important; }
