/* Shared styles for the web authentication screens. */
.row:has(#page-content .web-auth-page) { margin-left: 0; margin-right: 0; }
.row:has(#page-content .web-auth-page) > .col { padding-left: 0; padding-right: 0; }
.web-auth-page {
    --auth-primary: #ffc600;
    --auth-primary-hover: #f6bf00;
    --auth-primary-text: #173b26;
    --auth-link: #ED7334;
    --auth-link-soft: #fff8f4;
    --auth-link-icon: #ffecdf;
    --auth-accent: #166538;
    --auth-accent-soft: #edf9f0;
    --auth-ink: #203328;
    --auth-bg: #f6f9f7;
    min-height: 100vh;
    padding: 54px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--auth-bg);
    color: var(--auth-ink);
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
}
.vibebooks-auth-build .web-auth-page {
    --auth-primary: #4285F4;
    --auth-primary-hover: #2F6FE4;
    --auth-primary-text: #fff;
    --auth-link: #4285F4;
    --auth-link-soft: #f3f7ff;
    --auth-link-icon: #e5eeff;
    --auth-accent: #3368c5;
    --auth-accent-soft: #edf3ff;
    --auth-bg: #f6f8fc;
}
.web-auth-page *, .web-auth-page *::before, .web-auth-page *::after { box-sizing: border-box; }
.web-auth-shell { width: 100%; max-width: 520px; }
.web-auth-brand { display: flex; justify-content: center; margin: 0 auto 26px; }
.web-auth-brand img { width: auto; max-width: 230px; height: 44px; object-fit: contain; }
.web-auth-panel { background: #fff; border: 1px solid #e2eae4; border-radius: 25px; box-shadow: 0 18px 52px rgba(17,69,38,.07); overflow: hidden; }
.web-auth-panel:has(.web-auth-country) { overflow: visible; }
.web-auth-panel:has(.web-auth-country) .web-auth-footer { border-radius: 0 0 24px 24px; }
.web-auth-content { padding: 36px 40px 35px; }
.web-auth-icon { display: inline-block; width: 21px; height: 21px; background: currentColor; mask: var(--auth-icon) center / contain no-repeat; -webkit-mask: var(--auth-icon) center / contain no-repeat; flex: none; }
.web-auth-icon-email { --auth-icon: url("web-auth-email.svg"); }
.web-auth-icon-whatsapp { --auth-icon: url("web-auth-whatsapp.svg"); }
.web-auth-icon-sms { --auth-icon: url("web-auth-sms.svg"); }
.web-auth-icon-check { --auth-icon: url("web-auth-check.svg"); }
.web-auth-icon-shield { --auth-icon: url("web-auth-shield.svg"); }
.web-auth-icon-info { --auth-icon: url("web-auth-info.svg"); }
.web-auth-hero { position: relative; width: 65px; height: 65px; border-radius: 19px; background: var(--auth-accent-soft); display: grid; place-items: center; margin: 0 auto 22px; color: var(--auth-accent); }
.web-auth-hero > .web-auth-icon { width: 31px; height: 31px; }
.web-auth-check { position: absolute; bottom: -5px; right: -5px; border: 3px solid #fff; border-radius: 50%; background: var(--auth-primary); color: var(--auth-primary-text); height: 24px; width: 24px; display: grid; place-items: center; }
.web-auth-check .web-auth-icon { width: 12px; height: 12px; }
.web-auth-eyebrow { font-size: 11px; color: var(--auth-accent); text-transform: uppercase; letter-spacing: 2px; font-weight: 800; text-align: center; margin: 0 0 9px; }
.web-auth-heading { font-size: 34px; letter-spacing: -1.3px; color: var(--auth-ink); line-height: 1.16; margin: 0; text-align: center; font-weight: 850; }
.web-auth-lead { max-width: 380px; color: #708077; text-align: center; line-height: 1.65; font-size: 14px; margin: 13px auto 0; }
.web-auth-form { margin-top: 32px; }
.web-auth-label { display: block; font-size: 13px; font-weight: 750; margin: 0 0 9px; color: #2b3e33; }
.web-auth-input-wrap { position: relative; }
.web-auth-field-icon { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: #8a9c90; pointer-events: none; }
.web-auth-page .web-auth-control { height: 53px; width: 100%; padding: 0 15px; background: #fff; border: 1.5px solid #d9e5dc; border-radius: 12px; color: #203328; font-size: 14px; }
.web-auth-page .web-auth-control::placeholder { color: #9eaaa3; }
.web-auth-page .web-auth-with-icon { padding-left: 47px; }
.web-auth-page .web-auth-control:focus { outline: none; border-color: #cbd5df; box-shadow: none; }
.web-auth-page .web-auth-primary { width: 100%; min-height: 52px; background: var(--auth-primary); color: var(--auth-primary-text); border: 0; border-radius: 12px; font-size: 15px; font-weight: 800; margin-top: 12px; padding: 12px; display: flex; align-items: center; justify-content: center; gap: 9px; box-shadow: none; }
.web-auth-page .web-auth-primary:hover, .web-auth-page .web-auth-primary:focus { background: var(--auth-primary-hover); color: var(--auth-primary-text); }
.web-auth-page .web-auth-primary:disabled { opacity: .6; cursor: not-allowed; }
.web-auth-page .web-auth-primary:not(:disabled):not(.disabled):active,
.web-auth-page .web-auth-primary:not(:disabled):not(.disabled).active,
.web-auth-page .web-auth-primary:focus-visible,
.web-auth-page .web-auth-primary:disabled {
    background: var(--auth-primary); color: var(--auth-primary-text); border-color: var(--auth-primary); box-shadow: none;
}
.web-auth-button-spinner { display: none; }
.web-auth-primary:disabled .web-auth-button-spinner { display: inline-block; }
.web-auth-inline-status:empty { display: none; }
.web-auth-inline-status { margin-top: 10px; color: var(--auth-ink); font-size: 13px; line-height: 1.5; }
.web-auth-toast {
    --toast-focus: #ED7334;
    position: fixed; top: 66px; right: 16px; z-index: 1080;
    width: min(380px, calc(100vw - 32px)); max-width: none;
    background: #fff; color: #203328; border: 1px solid #e2eae4;
    border-radius: 16px; overflow: hidden;
    box-shadow: 0 12px 36px rgba(17, 69, 38, .14);
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.vibebooks-auth-build .web-auth-toast { --toast-focus: #4285F4; border-color: #e2e7ef; }
.web-auth-toast .toast-header {
    display: grid; grid-template-columns: 12px minmax(0, 1fr) 24px; gap: 10px;
    align-items: center; padding: 14px 16px 0 18px; border: 0;
    background: transparent; color: #203328;
}
.web-auth-toast .toast-header > svg { width: 10px; height: 10px; border-radius: 50% !important; }
.web-auth-toast .toast-header > strong { margin: 0; font-size: 14px; line-height: 1.5; font-weight: 750; overflow-wrap: anywhere; }
.web-auth-toast .toast-body { padding: 6px 18px 18px 40px; font-size: 13px; line-height: 1.6; color: #687d71; overflow-wrap: anywhere; }
.web-auth-toast .toast-body p { margin: 0; }
.web-auth-toast .btn-close { position: relative; width: 24px; height: 24px; padding: 0; border: 0; border-radius: 6px; background: transparent; color: #687d71; opacity: 1; cursor: pointer; }
.web-auth-toast .btn-close::before, .web-auth-toast .btn-close::after { content: ""; position: absolute; top: 11px; left: 6px; width: 12px; height: 2px; border-radius: 1px; background: currentColor; transform: rotate(45deg); }
.web-auth-toast .btn-close::after { transform: rotate(-45deg); }
.web-auth-toast .btn-close:hover { background: #f6f9f7; color: #203328; }
.web-auth-toast .btn-close:focus-visible { outline: 2px solid var(--toast-focus); outline-offset: -2px; }
.web-auth-note { margin-top: 21px; display: flex; gap: 11px; align-items: flex-start; background: var(--auth-accent-soft); border: 1px solid #e0efe4; border-radius: 12px; padding: 13px 14px; color: #52735d; font-size: 12px; line-height: 1.6; }
.web-auth-note .web-auth-icon { width: 18px; height: 18px; margin-top: 2px; color: var(--auth-accent); }
.web-auth-footer { background: #fbfcfb; border-top: 1px solid #e9f0eb; text-align: center; padding: 20px 12px; color: #7d8980; font-size: 13px; }
.web-auth-page .web-auth-link, .web-auth-page .web-auth-terms a { border: 0; background: transparent; padding: 2px; color: var(--auth-link) !important; font-weight: 800; text-decoration: none; box-shadow: none; }
.web-auth-page .web-auth-link:hover, .web-auth-page .web-auth-terms a:hover { text-decoration: underline; }
.web-auth-page .web-auth-link:not(:disabled):not(.disabled):active,
.web-auth-page .web-auth-link:focus-visible { background: transparent; color: var(--auth-link) !important; box-shadow: none; }
.web-auth-page button:focus-visible, .web-auth-page a:focus-visible { outline: 2px solid #262626; outline-offset: 3px; }
.web-auth-fineprint { text-align: center; color: #8b998f; font-size: 12px; line-height: 1.7; margin: 18px 0 0; }
.web-auth-secure { display: flex; justify-content: center; align-items: center; gap: 8px; color: #8a9990; font-size: 11px; margin: 20px 0 0; }
.web-auth-secure .web-auth-icon { height: 15px; width: 15px; }
.web-auth-status:empty { display: none; }
.web-auth-status { padding: 14px 24px; color: var(--auth-ink); font-size: 13px; line-height: 1.5; border-top: 1px solid #e9f0eb; }
.web-auth-page [hidden] { display: none !important; }
.web-auth-step-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 22px; }
.web-auth-page .web-auth-back { font-size: 13px; padding: 0; }
.web-auth-step-pill { font-size: 11px; font-weight: 800; color: var(--auth-accent); background: var(--auth-accent-soft); border-radius: 99px; padding: 7px 10px; }
.web-auth-otp-subtitle { text-align: center; color: #687d71; font-size: 13px; line-height: 1.6; margin: 18px 0 0; }
.web-auth-recipient { display: inline-block; margin-top: 5px; color: var(--auth-accent); font-weight: 800; overflow-wrap: anywhere; }
.web-auth-page #dev-web-delivery { border: 0; padding: 0; margin: 0; min-width: 0; }
.web-auth-page #dev-web-channel, .web-auth-page .web-auth-channel-buttons { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; margin: 23px 0 4px; }
.web-auth-delivery .form-check { position: relative; padding: 0; margin: 0; min-width: 0; }
.web-auth-delivery .form-check-input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; inset: 0; cursor: pointer; }
.web-auth-delivery .form-check-label { width: 100%; display: block; }
.web-auth-delivery-card, .web-auth-page .web-auth-channel-button { border: 1.5px solid #e2e7e4; border-radius: 13px; padding: 13px 5px 12px; background: #fff; display: flex; align-items: center; justify-content: center; gap: 5px; flex-direction: column; color: #26372a; min-width: 0; }
.web-auth-delivery-card strong, .web-auth-channel-button strong { font-size: 13px; }
.web-auth-delivery-card small { color: #83918a; font-size: 11px; }
.web-auth-delivery-symbol { display: grid; place-items: center; border-radius: 10px; width: 31px; height: 31px; background: #f5f7f5; color: #53685a; }
.web-auth-delivery input:checked ~ label .web-auth-delivery-card,
.web-auth-page .web-auth-channel-button.btn-success { border-color: var(--auth-link); background: var(--auth-link-soft); }
.web-auth-delivery input:checked ~ label .web-auth-delivery-symbol,
.web-auth-channel-button.btn-success .web-auth-delivery-symbol { color: var(--auth-link); background: var(--auth-link-icon); }
.web-auth-delivery input:focus-visible ~ label .web-auth-delivery-card { outline: 2px solid #262626; outline-offset: 2px; }
.web-auth-page fieldset:disabled .web-auth-delivery-card { opacity: .6; }
.web-auth-page .web-auth-channel-button:not(:disabled):hover { border-color: var(--auth-link); color: var(--auth-ink); }
.web-auth-page .web-auth-channel-button:disabled { opacity: .6; cursor: not-allowed; }
.web-auth-2fa-switch, .web-auth-trust-device { margin-top: 18px; }
.web-auth-otp-control { min-width: 0; border: 0; padding: 0; margin: 24px 0 0; }
.web-auth-signup-otp { margin-top: 0; }
.web-auth-otp-boxes { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 9px; }
.web-auth-otp-boxes > div { min-width: 0; }
.web-auth-page .web-auth-otp-digit { width: 100%; min-width: 0; height: 60px; padding: 0; text-align: center; font-size: 26px; font-weight: 800; color: #000; border: 1.5px solid #d8e6dc; border-radius: 12px; background: white; }
.web-auth-page .web-auth-otp-digit:focus { border-color: #929da8; outline: 2px solid var(--auth-link); outline-offset: 2px; box-shadow: none; }
.web-auth-otp-control:disabled { opacity: .6; }
.web-auth-otp-actions { display: flex; gap: 8px; justify-content: center; align-items: center; margin-top: 18px; flex-wrap: wrap; }
.web-auth-otp-actions .web-auth-link { font-size: 12px; }
.web-auth-muted { font-size: 12px; color: #7d8b80; }
.web-auth-separator { height: 1px; background: #edf1ed; margin: 26px 0 20px; border: 0; }
.web-auth-signup-fields { margin-top: 29px; }
.web-auth-field-row { margin-top: 18px; }
.web-auth-signup-fields .web-auth-field-row:first-child,
.web-auth-form > .web-auth-field-row:first-child { margin-top: 0; }
.web-auth-page #forgot-button { display: block; margin: 14px auto 0; }
.web-auth-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.web-auth-phone-row { display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1.18fr); gap: 12px; align-items: end; }
.web-auth-phone-row > div { min-width: 0; }
.web-auth-prefix { min-height: 53px; display: flex; align-items: center; font-weight: 800; font-size: 16px; color: #203328; padding-right: 3px; }
.web-auth-country .Select-control { height: 53px; border: 1.5px solid #d9e5dc; border-radius: 12px; box-shadow: none; font-size: 14px; display: flex; align-items: center; }
.web-auth-country .Select-placeholder, .web-auth-country.Select--single > .Select-control .Select-value { line-height: 50px; padding-left: 15px; padding-right: 30px; top: 0; bottom: 0; }
.web-auth-country .Select-multi-value-wrapper { flex: 1; min-width: 0; }
.web-auth-country .Select-input { height: 50px; padding: 0 15px; }
.web-auth-country .Select-arrow-zone { flex: none; padding-right: 10px; }
.web-auth-country .Select-input > input { height: 50px; padding: 0; vertical-align: top; }
.web-auth-country .Select-menu-outer { width: max(100%, min(320px, calc(100vw - 72px))); z-index: 10; font-size: 14px; line-height: 20px; }
.web-auth-country.is-focused:not(.is-open) > .Select-control { border-color: #cbd5df; box-shadow: none; }
.web-auth-terms { margin-top: 24px; padding-left: 0; color: #687d6d; font-size: 12px; line-height: 1.6; display: flex; align-items: center; gap: 10px; }
.web-auth-terms .form-check-input { position: static; margin: 0; float: none; flex: 0 0 18px; }
.web-auth-terms .form-check-label { margin: 0; min-width: 0; }
.web-auth-terms .form-check-input { background-color: #fff; border: 1.5px solid #181818; border-radius: 3px; width: 18px; height: 18px; accent-color: #181818; box-shadow: none; }
.web-auth-terms .form-check-input:checked { background-color: #fff; border-color: #181818; background-image: url("web-auth-check.svg"); background-size: 12px; background-position: center; background-repeat: no-repeat; }
.web-auth-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (max-width: 560px) {
    .web-auth-page { padding: 35px 13px; }
    .web-auth-content { padding: 29px 22px 30px; }
    .web-auth-heading { font-size: 29px; }
    .web-auth-panel { border-radius: 21px; }
    .web-auth-panel:has(.web-auth-country) .web-auth-footer { border-radius: 0 0 20px 20px; }
    .web-auth-two-col { gap: 11px; }
    .web-auth-otp-boxes { gap: 6px; }
    .web-auth-page .web-auth-otp-digit { height: 51px; font-size: 22px; border-radius: 10px; }
}
@media (max-width: 460px) {
    .web-auth-phone-row { grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); gap: 8px; }
    .web-auth-prefix { font-size: 14px; }
    .web-auth-phone-row .web-auth-control { padding: 0 10px; font-size: 12px; }
    .web-auth-country .Select-control { font-size: 12px; }
    .web-auth-country .Select-placeholder, .web-auth-country.Select--single > .Select-control .Select-value,
    .web-auth-country .Select-input { padding-left: 10px; }
    .web-auth-two-col { gap: 10px; }
}
@media (max-width: 360px) {
    .web-auth-content { padding-left: 17px; padding-right: 17px; }
    .web-auth-two-col { grid-template-columns: 1fr; }
    .web-auth-page .web-auth-otp-digit { height: 45px; font-size: 19px; }
}
