/* "WHO ARE YOU?" section on the sign-up forms (18 Oct 2026).
   The section pattern from assets/css/partner-price-layout.css (white card,
   violet left accent, uppercase title, muted line, separator), scoped with
   two-class selectors so the Traveler theme cannot restyle it. */
.form-group.sl-role {
    --slr-violet: #7700FF;
    --slr-ink: #1a1a1d;
    --slr-muted: #6a6a73;
    --slr-line: #e8e8e6;
    --slr-danger: #FF0A1F;
    position: relative;
    display: block !important;   /* the theme lays .user-type out as a row */
    background: #fff;
    border: 1px solid var(--slr-line);
    border-radius: 14px;
    padding: 16px 18px 14px;
    margin: 4px 0 16px;
    box-shadow: 0 1px 2px rgba(20, 20, 30, .04);
    font-family: 'Google Sans', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
.sl-role .sl-role__head,
.sl-role .sl-role__note,
.sl-role .sl-role__error {
    display: block;
    width: 100%;
}
.sl-role .sl-role__head {
    position: relative;
    border-bottom: 1px solid var(--slr-line);
    padding-bottom: 10px;
    margin-bottom: 12px;
}
.sl-role .sl-role__head::before {
    content: "";
    position: absolute;
    left: -18px;
    top: 1px;
    bottom: 10px;
    width: 3px;
    background: var(--slr-violet);
    border-radius: 0 3px 3px 0;
}
.sl-role .sl-role__title {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--slr-ink);
    margin: 0 0 3px;
    line-height: 1.2;
}
.sl-role .sl-role__desc {
    font-size: 12.5px;
    color: var(--slr-muted);
    margin: 0;
    line-height: 1.45;
}
.sl-role .sl-role__options {
    display: flex;
    width: 100%;
    gap: 10px;
}
.sl-role .sl-role__option.sl-role__option {
    flex: 1 1 0;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 11px 12px;
    min-height: 44px;
    border: 1px solid var(--slr-line);
    border-radius: 10px;
    background: #fafafa;
    font-size: 14px;
    font-weight: 600;
    color: var(--slr-ink);
    cursor: pointer;
    text-transform: none;
    letter-spacing: 0;
}
.sl-role .sl-role__option input[type="radio"] {
    margin: 0;
    accent-color: var(--slr-violet);
    flex: none;
}
.sl-role .sl-role__option.is-selected {
    border-color: var(--slr-violet);
    background: #fff;
    box-shadow: 0 0 0 1px var(--slr-violet) inset;
}
.sl-role .sl-role__note {
    margin: 12px 0 0;
    font-size: 13px;
    line-height: 1.5;
    color: var(--slr-ink);
}
.sl-role .sl-role__error {
    margin: 10px 0 0;
    font-size: 13px;
    font-weight: 600;
    color: var(--slr-danger);
}
.form-group.sl-role.sl-role--error {
    border-color: var(--slr-danger);
}
.sl-role [hidden] {
    display: none !important;
}
@media (max-width: 420px) {
    .sl-role .sl-role__options { flex-direction: column; }
    .sl-role .sl-role__option.sl-role__option { width: 100%; flex: none; }
}

/* Sign-up result inside the form (18 Oct 2026): the pop-up stays open and
   says what is happening, then what to do next. Brand colours only. */
.message-wrapper .ss-signup-note {
    display: flex;
    flex-direction: column;
    gap: 4px;
    border-radius: 12px;
    padding: 12px 14px;
    margin-top: 12px;
    font-family: 'Google Sans', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    font-size: 14px;
    line-height: 1.45;
    color: #090920;
    border: 1px solid #e8e8e6;
    border-left: 4px solid #7700FF;
    background: #fff;
    outline: none;
}
.message-wrapper .ss-signup-note--done { border-left-color: #30B300; background: #f3fbef; }
.message-wrapper .ss-signup-note--error { border-left-color: #FF0A1F; background: #fff4f5; }
.message-wrapper .ss-signup-note strong { font-weight: 700; }
.message-wrapper .ss-signup-note .ss-signup-note__small { color: #6a6a73; font-size: 13px; }
/* "We suggested this from your name" under the username box (18 Oct 2026). */
small.sl-user-hint { display: block; margin-top: 4px; font-size: 12px; color: #6a6a73; font-family: 'Google Sans', system-ui, sans-serif; }
small.sl-user-hint[hidden] { display: none; }
