/* Self-serve signup form, code screen and "You're in" steps.
   Shared by register.html and the trial link pages (register-trial, -mich,
   -summit). Driven by register-signup.js. Uses tokens from style-v2.css. */
.reg-trial__label {
    display: block;
    text-align: left;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--navy-900);
    margin: 2px 0 4px;
}

.reg-trial__hint {
    font-weight: 400;
    color: var(--text-muted);
}

.reg-signup__text {
    font-size: 0.875rem;
    color: var(--text-body);
    line-height: 1.6;
    margin-bottom: var(--space-md);
    overflow-wrap: anywhere;
}

.reg-signup__small {
    font-size: 0.8125rem;
    margin-bottom: var(--space-sm);
}

.reg-signup__code {
    text-align: center;
    font-size: 1.375rem;
    letter-spacing: 0.3em;
    font-variant-numeric: tabular-nums;
}

.reg-signup__link {
    background: none;
    border: none;
    padding: 0;
    font: inherit;
    color: var(--teal-500);
    text-decoration: underline;
    cursor: pointer;
}

.reg-signup__link:disabled {
    color: var(--text-muted);
    text-decoration: none;
    cursor: default;
}

.reg-signup__captcha {
    display: flex;
    justify-content: center;
    min-height: 0;
    margin: 4px 0 var(--space-sm);
}

.reg-signup__cta {
    display: block;
    text-decoration: none;
    margin-bottom: var(--space-md);
}

.reg-signup__qr {
    display: inline-block;
    background: #ffffff;
    border-radius: var(--radius-md);
    padding: 6px;
    margin-bottom: 4px;
    line-height: 0;
}

.reg-signup__steps {
    list-style: decimal;
    text-align: left;
    margin: 0 0 var(--space-md);
    padding-left: 1.25rem;
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--text-body);
}

.reg-signup__steps li {
    margin-bottom: var(--space-sm);
}

/* Honeypot: off-screen for people, still in the form for bots */
.reg-signup__hp {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.reg-message {
    padding: var(--space-md);
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 500;
    margin-top: var(--space-sm);
    display: none;
}

.reg-message.success {
    display: block;
    background: rgba(34, 197, 94, 0.08);
    border: 1px solid rgba(34, 197, 94, 0.2);
    color: #166534;
}

.reg-message.error {
    display: block;
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: #991b1b;
}

[data-theme="dark"] .reg-trial__label,
[data-theme="dark"] .reg-signup__text strong {
    color: var(--text-heading);
}
