/* ==========================================================================
   Guided business sign-up: /business and /{locale}/business
   (resources/views/business). Loaded only by that page.
   Brand: indigo #180054 / #2E0F7B, pink #FB698E; Raleway headings, Open Sans text.
   ========================================================================== */

.biz-page {
    background: #F7F5FC;
}

.biz {
    --biz-ink: #1d1433;
    --biz-text: #3b3450;
    --biz-muted: #5b5470;
    --biz-indigo: #180054;
    --biz-violet: #2E0F7B;
    --biz-pink: #FB698E;
    --biz-rose: #C92654;
    --biz-lilac: #E8E1F9;
    --biz-mist: #F7F5FC;
    --biz-line: #b9b0d0;
    --biz-green: #1d6b43;

    display: block;
    background: var(--biz-mist);
    color: var(--biz-ink);
    font-family: OpenSans-Regular, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    /* Clears the site's fixed header. */
    padding: 80px 0 72px;
}

.biz:focus {
    outline: none;
}

.biz *,
.biz *::before,
.biz *::after {
    box-sizing: border-box;
}

/* One class of specificity: beats Bootstrap's element margins, and each
   component's own class (declared further down) wins over it. */
.biz :where(p, ul, ol, dl, dd, h1, h2, h3) {
    margin: 0;
    padding: 0;
}

.biz a {
    color: var(--biz-violet);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.biz a:hover {
    color: var(--biz-rose);
}

.biz strong {
    font-family: OpenSans-Bold, Arial, sans-serif;
    font-weight: 700;
}

/* Visible focus everywhere: rose on light backgrounds, pink on indigo. */
.biz a:focus-visible,
.biz button:focus-visible,
.biz summary:focus-visible,
.biz input:focus-visible,
.biz select:focus-visible {
    outline: 3px solid var(--biz-rose);
    outline-offset: 2px;
}

.biz-how a:focus-visible,
.biz-btn:focus-visible {
    outline-color: var(--biz-pink);
}

.biz-sr {
    position: absolute !important;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

.biz-skip {
    position: absolute;
    left: 16px;
    top: -60px;
    z-index: 10000;
    background: #ffffff;
    color: #180054;
    padding: 10px 16px;
    border-radius: 8px;
    font-family: OpenSans-Bold, Arial, sans-serif;
}

.biz-skip:focus {
    top: 12px;
    outline: 3px solid #C92654;
}

.biz-container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 16px;
}

@media (min-width: 768px) {
    .biz-container {
        padding: 0 24px;
    }
}

/* ---- Band under the site header ---------------------------------------- */

.biz-band {
    background: #ffffff;
    border-bottom: 1px solid var(--biz-lilac);
}

.biz-band-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 4px 24px;
    padding-top: 14px;
    padding-bottom: 14px;
}

.biz-band-title {
    font-family: Raleway-Bold, Arial, sans-serif;
    font-size: 15px;
    letter-spacing: 0.3px;
    color: var(--biz-indigo);
}

.biz-band-link {
    font-size: 15px;
    color: var(--biz-text);
    overflow-wrap: anywhere;
}

/* ---- Type --------------------------------------------------------------- */

.biz-eyebrow {
    font-family: OpenSans-Bold, Arial, sans-serif;
    font-size: 13px;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: var(--biz-rose);
}

.biz-h1 {
    font-family: Raleway-ExtraBold, Raleway-Bold, Arial, sans-serif;
    font-size: 30px;
    line-height: 1.2;
    color: var(--biz-indigo);
    margin-bottom: 8px;
}

.biz-h1--hero {
    font-size: 34px;
    line-height: 1.15;
    margin: 0;
}

.biz-h1--status {
    font-size: 30px;
}

@media (min-width: 992px) {
    .biz-h1 {
        font-size: 32px;
    }

    .biz-h1--hero {
        font-size: 46px;
        line-height: 1.12;
    }

    .biz-h1--status {
        font-size: 36px;
    }
}

.biz-h2 {
    font-family: Raleway-Bold, Arial, sans-serif;
    font-size: 24px;
    line-height: 1.25;
    color: var(--biz-indigo);
}

.biz-h2--light {
    color: #ffffff;
}

.biz-h3 {
    font-family: OpenSans-Bold, Arial, sans-serif;
    font-size: 15px;
    color: var(--biz-indigo);
    margin-bottom: 10px;
}

.biz-lead {
    font-size: 17px;
    line-height: 1.6;
    color: var(--biz-text);
}

@media (min-width: 992px) {
    .biz-lead {
        font-size: 18px;
    }
}

.biz-intro {
    font-size: 16px;
    color: var(--biz-text);
    margin-bottom: 24px;
    overflow-wrap: anywhere;
}

.biz-step-count {
    font-size: 14px;
    color: var(--biz-muted);
    margin-bottom: 6px;
}

/* On phones the bar above says the same thing visibly, so keep this for screen readers only. */
@media (max-width: 991.98px) {
    .biz-step-count {
        position: absolute;
        width: 1px;
        height: 1px;
        margin: -1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        white-space: nowrap;
    }
}

.biz-muted {
    font-size: 14px;
    color: var(--biz-muted);
}

.biz-small {
    font-size: 15px;
    color: var(--biz-text);
}

/* ---- Buttons ------------------------------------------------------------ */

.biz-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 22px;
    margin-top: 28px;
}

.biz .biz-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 50px;
    padding: 12px 28px;
    border: 0;
    border-radius: 25px;
    background: var(--biz-violet);
    color: #ffffff;
    font-family: OpenSans-Bold, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.3;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.biz .biz-btn:hover {
    background: var(--biz-indigo);
    color: #ffffff;
}

.biz .biz-btn:focus-visible {
    outline: 3px solid var(--biz-rose);
    outline-offset: 3px;
}

.biz-btn--wide {
    width: 100%;
}

.biz .biz-link-btn {
    font-family: OpenSans-SemiBold, Arial, sans-serif;
    font-size: 15px;
    padding: 10px 4px;
}

/* ---- Landing ------------------------------------------------------------ */

.biz-landing {
    display: grid;
    gap: 40px;
    padding-top: 40px;
    padding-bottom: 8px;
}

.biz-landing-main {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

@media (min-width: 992px) {
    .biz-landing {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 56px;
        padding-top: 64px;
        align-items: start;
    }
}

.biz-landing .biz-actions {
    margin-top: 4px;
}

.biz-card {
    background: #ffffff;
    border: 1px solid var(--biz-lilac);
    border-radius: 14px;
    padding: 20px 24px;
}

.biz .biz-ready ul {
    list-style: disc;
    padding-left: 22px;
    font-size: 15px;
    line-height: 1.8;
    color: var(--biz-text);
}

.biz-how {
    background: var(--biz-indigo);
    border-radius: 22px;
    padding: 32px 24px;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

@media (min-width: 768px) {
    .biz-how {
        padding: 40px;
    }
}

.biz-how-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.biz-how-list li {
    display: flex;
    gap: 18px;
}

.biz-how-num {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 18px;
    background: var(--biz-pink);
    color: var(--biz-indigo);
    font-family: OpenSans-Bold, Arial, sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
}

.biz-how-title {
    font-family: OpenSans-Bold, Arial, sans-serif;
    font-size: 17px;
}

.biz-how-list p:not(.biz-how-title) {
    margin-top: 4px;
    color: var(--biz-lilac);
    font-size: 15px;
    line-height: 1.5;
}

.biz-how-more {
    font-size: 15px;
    color: var(--biz-lilac);
    border-top: 1px solid rgba(232, 225, 249, 0.25);
    padding-top: 18px;
}

.biz .biz-how a {
    color: #ffffff;
}

.biz .biz-how a:hover {
    color: var(--biz-pink);
}

/* ---- Flow: progress aside + panel -------------------------------------- */

.biz-flow {
    padding-top: 24px;
}

.biz-aside {
    display: none;
}

.biz-panel {
    min-width: 0;
}

@media (min-width: 992px) {
    .biz-flow {
        display: grid;
        grid-template-columns: 300px minmax(0, 1fr);
        gap: 56px;
        padding-top: 48px;
        align-items: start;
    }

    .biz-aside {
        display: flex;
        flex-direction: column;
        gap: 32px;
        background: #ffffff;
        border: 1px solid var(--biz-lilac);
        border-radius: 18px;
        padding: 32px 28px;
        position: sticky;
        top: 100px;
    }

    .biz-panel {
        max-width: 640px;
    }

    .biz-mobile-progress {
        display: none;
    }
}

.biz-steps {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.biz-step {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 15px;
    color: var(--biz-text);
}

.biz-step-mark {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: 17px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: OpenSans-Bold, Arial, sans-serif;
}

.biz-step.is-done .biz-step-mark {
    background: var(--biz-violet);
    color: #ffffff;
}

.biz-step.is-current .biz-step-mark {
    background: var(--biz-pink);
    color: var(--biz-indigo);
}

.biz-step.is-current .biz-step-label {
    font-family: OpenSans-Bold, Arial, sans-serif;
    color: var(--biz-indigo);
}

.biz-step.is-todo .biz-step-mark {
    border: 2px solid var(--biz-line);
    color: var(--biz-muted);
}

.biz-step.is-todo .biz-step-label {
    color: var(--biz-muted);
}

.biz-saved {
    background: var(--biz-mist);
    border-radius: 12px;
    padding: 18px;
    font-size: 14px;
    line-height: 1.55;
    color: var(--biz-text);
}

.biz-saved-title {
    font-family: OpenSans-Bold, Arial, sans-serif;
    color: var(--biz-indigo);
    margin-bottom: 6px !important;
}

.biz-mobile-progress {
    margin-bottom: 22px;
}

.biz-mobile-progress p {
    font-size: 14px;
    color: var(--biz-text);
    margin-bottom: 8px;
}

.biz-mobile-progress strong {
    color: var(--biz-indigo);
}

.biz-bar {
    display: flex;
    height: 6px;
    border-radius: 3px;
    background: var(--biz-lilac);
}

.biz-bar span {
    height: 6px;
    border-radius: 3px;
    background: var(--biz-violet);
}

/* ---- Forms -------------------------------------------------------------- */

.biz-form {
    display: block;
}

.biz-grid {
    display: grid;
    gap: 20px;
}

@media (min-width: 768px) {
    .biz-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px 20px;
    }

    .biz-span-2 {
        grid-column: span 2;
    }
}

.biz-form > .biz-field + .biz-field {
    margin-top: 20px;
}

.biz-field {
    min-width: 0;
    position: relative;
}

.biz-field--top {
    margin-top: 24px;
}

.biz-label {
    display: block;
    font-family: OpenSans-SemiBold, Arial, sans-serif;
    font-size: 15px;
    color: var(--biz-ink);
    margin-bottom: 6px;
}

.biz-label-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: baseline;
    gap: 4px 12px;
    margin-bottom: 6px;
}

.biz-label-row .biz-label {
    margin-bottom: 0;
}

.biz-label-row a {
    font-size: 14px;
}

.biz-optional {
    font-family: OpenSans-Regular, Arial, sans-serif;
    color: var(--biz-muted);
}

.biz-hint {
    font-size: 14px;
    color: var(--biz-muted);
    margin-bottom: 8px !important;
}

.biz-hint--after {
    margin: 6px 0 0 !important;
}

.biz .biz-input {
    display: block;
    width: 100%;
    height: 48px;
    border: 1.5px solid #8a80a6;
    border-radius: 10px;
    padding: 0 14px;
    background: #ffffff;
    color: var(--biz-ink);
    font-family: OpenSans-Regular, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.4;
    box-shadow: none;
}

.biz .biz-input:focus {
    border-color: var(--biz-violet);
    outline: 3px solid var(--biz-rose);
    outline-offset: 1px;
}

.biz .biz-input.is-invalid {
    border: 2px solid var(--biz-rose);
}

.biz .biz-select {
    appearance: none;
    -webkit-appearance: none;
    padding-right: 40px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%232E0F7B' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
}

.biz .biz-input--code {
    width: 170px;
    font-family: OpenSans-SemiBold, Arial, sans-serif;
    font-size: 22px;
    letter-spacing: 8px;
}

.biz-field-error {
    font-family: OpenSans-Bold, Arial, sans-serif;
    font-size: 15px;
    color: var(--biz-rose);
    margin-bottom: 6px !important;
}

.biz-check {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-size: 15px;
    line-height: 1.5;
    color: var(--biz-text);
}

.biz-check input {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    margin: 1px 0 0;
    accent-color: var(--biz-violet);
}

.biz-check label {
    margin: 0;
}

.biz-warning {
    display: flex;
    flex-wrap: wrap;
    gap: 2px 10px;
    margin: -4px 0 2px !important;
    background: #FFF7E6;
    border: 1px solid #C98A12;
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 15px;
    line-height: 1.5;
    color: var(--biz-text);
}

.biz-warning strong {
    color: var(--biz-indigo);
}

.biz-address noscript .biz-warning {
    margin-top: 10px !important;
}

/* Address suggestions (business.js) */
.biz-suggestions {
    list-style: none;
    margin: 4px 0 0 !important;
    padding: 4px !important;
    background: #ffffff;
    border: 1.5px solid var(--biz-violet);
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(24, 0, 84, 0.15);
    max-height: 300px;
    overflow-y: auto;
    position: absolute;
    left: 0;
    right: 0;
    z-index: 20;
}

.biz-suggestions li {
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 15px;
    color: var(--biz-ink);
    cursor: pointer;
}

.biz-suggestions li[aria-selected="true"],
.biz-suggestions li:hover {
    background: var(--biz-lilac);
    color: var(--biz-indigo);
}

/* Other tax registrations */
.biz-more summary {
    display: inline-block;
    padding: 6px 0;
    font-family: OpenSans-SemiBold, Arial, sans-serif;
    font-size: 15px;
    color: var(--biz-violet);
    text-decoration: underline;
    text-underline-offset: 2px;
    cursor: pointer;
    list-style: none;
}

.biz-more summary::-webkit-details-marker {
    display: none;
}

.biz-more summary::before {
    content: "+ ";
}

.biz-more[open] summary::before {
    content: "\2212  ";
}

.biz-more-body {
    display: grid;
    gap: 16px;
    margin-top: 12px;
    padding: 16px;
    background: #ffffff;
    border: 1px solid var(--biz-lilac);
    border-radius: 12px;
}

/* ---- Messages ----------------------------------------------------------- */

.biz-alert {
    display: flex;
    gap: 14px;
    border-radius: 12px;
    padding: 16px 18px;
    margin-bottom: 22px;
    font-size: 15px;
    line-height: 1.5;
    color: var(--biz-ink);
    overflow-wrap: anywhere;
}

.biz-alert:focus {
    outline: 3px solid var(--biz-rose);
    outline-offset: 2px;
}

.biz-alert svg {
    flex-shrink: 0;
    margin-top: 1px;
}

.biz-alert--error {
    background: #FFF1F4;
    border: 2px solid var(--biz-rose);
}

.biz-alert--error svg {
    color: var(--biz-rose);
}

.biz-alert--info {
    background: var(--biz-lilac);
    color: var(--biz-indigo);
}

.biz-alert-title {
    font-family: OpenSans-Bold, Arial, sans-serif;
    font-size: 16px;
    margin-bottom: 4px !important;
}

.biz .biz-alert ul {
    list-style: disc;
    padding-left: 18px;
}

/* style.css takes the bullets off every li. */
.biz .biz-alert li,
.biz .biz-ready li {
    list-style: inherit;
}

.biz-note {
    background: var(--biz-lilac);
    border-radius: 12px;
    padding: 14px 18px;
    margin-bottom: 20px;
    font-size: 15px;
    color: var(--biz-indigo);
}

.biz-confirmed {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 18px !important;
    font-family: OpenSans-SemiBold, Arial, sans-serif;
    font-size: 15px;
    color: var(--biz-green);
}

.biz-aftercode {
    margin-top: 20px;
    font-size: 15px;
    color: var(--biz-text);
}

.biz-aftercode--rule {
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid var(--biz-lilac);
}

.biz-aftercode--rule + .biz-aftercode {
    margin-top: 6px;
}

.biz-resend[aria-disabled="true"] {
    color: var(--biz-muted);
    text-decoration: none;
    pointer-events: none;
}

/* ---- Sign in card ------------------------------------------------------- */

.biz-center {
    display: flex;
    justify-content: center;
    padding-top: 40px;
}

.biz-card--form {
    width: 100%;
    max-width: 480px;
    border-radius: 20px;
    padding: 28px 20px;
}

@media (min-width: 576px) {
    .biz-card--form {
        padding: 40px;
    }
}

.biz-card--form .biz-actions {
    margin-top: 20px;
}

.biz-card--form .biz-hint {
    margin-top: 16px;
}

.biz-card-foot {
    margin-top: 22px !important;
    font-size: 15px;
    color: var(--biz-text);
    text-align: center;
}

/* ---- Review ------------------------------------------------------------- */

.biz-review {
    padding: 4px 20px;
}

.biz-review-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 2px 16px;
    padding: 13px 0;
    border-bottom: 1px solid #F0ECF8;
    font-size: 15px;
}

.biz-review-row:last-child {
    border-bottom: 0;
}

.biz-review-row dt {
    grid-column: 1 / -1;
    color: var(--biz-muted);
    font-family: OpenSans-Regular, Arial, sans-serif;
    font-weight: 400;
}

.biz-review-row dd {
    overflow-wrap: anywhere;
}

.biz-review-change {
    text-align: right;
}

.biz-review-note {
    font-size: 13px;
    color: var(--biz-muted);
}

@media (min-width: 768px) {
    .biz-review {
        padding: 6px 24px;
    }

    .biz-review-row {
        grid-template-columns: 180px minmax(0, 1fr) auto;
    }

    .biz-review-row dt {
        grid-column: auto;
    }
}

/* ---- Status pages ------------------------------------------------------- */

.biz-narrow {
    max-width: 720px;
    padding-top: 48px;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.biz-narrow .biz-actions {
    margin-top: 6px;
}

.biz-done-icon {
    width: 64px;
    height: 64px;
    border-radius: 32px;
    background: var(--biz-lilac);
    color: var(--biz-violet);
    display: flex;
    align-items: center;
    justify-content: center;
}

.biz-timeline {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 24px 24px;
}

.biz-timeline li {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.biz-tl-mark {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.biz-timeline .is-done .biz-tl-mark {
    background: var(--biz-violet);
    color: #ffffff;
}

.biz-timeline .is-current .biz-tl-mark {
    background: var(--biz-pink);
}

.biz-timeline .is-todo .biz-tl-mark {
    border: 2px solid var(--biz-line);
}

.biz-tl-title {
    font-family: OpenSans-Bold, Arial, sans-serif;
}

/* A heading straight above a form or message, with no intro between. */
.biz-h1 + .biz-form,
.biz-h1 + .biz-alert {
    margin-top: 20px;
}
