.signup-card .field {
    margin-bottom: 16px
}

.password-hint {
    font-size: 11px;
    color: var(--muted);
    margin: -5px 0 20px
}

.signup-card .google {
    text-decoration: none
}

@media(min-width:1800px) {
    .password-hint {
        font-size: 14px
    }

    .signup-card .field {
        margin-bottom: 20px
    }
}

@media(max-width:767px) {
    .signup-card .field {
        margin-bottom: 18px
    }
}

.signup-progress {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0 0 26px
}

.signup-progress li {
    flex: 1;
    text-align: center;
    font-size: 10px;
    color: var(--muted);
    border-bottom: 2px solid var(--border);
    padding-bottom: 12px
}

.signup-progress li span {
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    margin: 0 auto 6px;
    border-radius: 50%;
    background: #edf1f7;
    font-weight: 700
}

.signup-progress li[aria-current=step] {
    color: #bb4e08;
    border-color: var(--orange)
}

.signup-progress li[aria-current=step] span {
    background: var(--orange);
    color: white
}

.signup-progress li.completed {
    border-color: #16a34a
}

.signup-progress li.completed span {
    background: #e5f5ea;
    color: #148243
}

fieldset[hidden],
#signup-success[hidden] {
    display: none !important
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
    min-width: 0
}

fieldset legend {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 6px
}

.step-description {
    font-size: 12px;
    line-height: 1.6;
    color: var(--muted);
    margin: 0 0 22px
}

.step-actions {
    display: flex;
    gap: 12px
}

.step-actions .sign-in {
    flex: 1
}

.step-back {
    min-height: 44px;
    padding: 10px 15px;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: white;
    color: var(--navy);
    font-size: 12px
}

.otp-demo {
    background: #fff3e8;
    color: #884311;
    border: 1px solid #ffdbbc;
    padding: 12px;
    border-radius: 7px;
    font-size: 12px;
    line-height: 1.6
}

.resend-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-size: 10px;
    margin-bottom: 12px
}

.resend-row .text-button {
    font-size: 11px
}

.verification-check {
    text-align: center;
    color: #16a34a;
    font-size: 48px;
    margin-bottom: 14px
}

#signup-success h3 {
    text-align: center;
    font-size: 22px
}

.signup-card .google .bi {
    color: var(--navy)
}

@media(min-width:1800px) {
    .signup-progress li {
        font-size: 14px
    }

    .signup-progress li span {
        width: 34px;
        height: 34px
    }

    .step-description,
    .otp-demo {
        font-size: 16px
    }

    fieldset legend {
        font-size: 23px
    }

    .step-back {
        font-size: 16px
    }

    .resend-row,
    .resend-row .text-button {
        font-size: 14px
    }
}

@media(max-width:767px) {
    .step-actions {
        gap: 8px
    }

    .step-actions .sign-in {
        font-size: 12px
    }

    .signup-progress {
        margin-bottom: 24px
    }
}
#signup-status {
    min-height: 1lh;
}

.signup-button-loading {
    position: relative;
}

.signup-button-loading > .signup-loader:not([hidden]) {
    --loader-size: 28px;
    position: absolute;
    inset-block-start: 50%;
    inset-inline-end: 10px;
    transform: translateY(-50%);
    display: inline-grid;
}

.signup-button-loading > .bi-arrow-right { visibility: hidden; }
.signup-button-loading .nc-logo-loader-mark::before {
    border-width: 2px;
    border-color: #ffffff55;
    border-top-color: #fff;
}
.signup-card #new-password { padding-right: 3rem; }

.signup-toast {
    position: fixed;
    z-index: 1100;
    top: 1rem;
    right: 1rem;
    width: min(25rem, calc(100vw - 2rem));
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: start;
    gap: .75rem;
    padding: .875rem 1rem;
    border: 1px solid #f2c7c7;
    border-left: 4px solid #bc3434;
    border-radius: .75rem;
    background: #fff7f7;
    color: #872525;
    box-shadow: 0 10px 28px #102b4630;
}
.signup-toast[hidden] { display: none; }
.signup-toast p { margin: .25rem 0 0; font-size: .875rem; overflow-wrap: anywhere; }
.signup-toast button { border: 0; background: transparent; color: inherit; padding: .25rem; }
