/* screen-user-registration – Layout in base widgets-sections (Landing Auth); hier nur Captcha/Consent */

/* Änderungsprotokoll: 2026-10-01 | subagent-update-screen | @skill-css-rules, @skill-change-provenance | Screen-CSS auf Captcha/Consent reduziert */

/* .user-registration-form-field-spam | Änderungsprotokoll: 2026-10-01 | subagent-update-screen | @skill-css-rules, @skill-contact-form-spam-protection, @skill-change-provenance | Spam-Feld Abstand */
.user-registration-form-field-spam {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.3125rem;
    margin-bottom: 0.875rem;
}

/* .user-registration-form-spam-input-row | Änderungsprotokoll: 2026-10-01 | subagent-update-screen | @skill-css-rules, @skill-contact-form-spam-protection, @skill-change-provenance | Spam-Input-Zeile */
.user-registration-form-spam-input-row {
    display: flex;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
    border: 1px solid var(--color-border);
    background-color: var(--color-surface);
    transition: border-color 0.2s ease;
}

.user-registration-form-spam-input-row:focus-within {
    border-color: var(--color-primary);
}

.user-registration-form-spam-input-row:has(.user-registration-form-spam-input[aria-invalid="true"]) {
    border-color: var(--color-error);
    background-color: var(--color-error-soft-bg);
}

/* .user-registration-form-spam-input-prefix | Änderungsprotokoll: 2026-10-01 | subagent-update-screen | @skill-css-rules, @skill-change-provenance | Spam-SVG-Prefix */
.user-registration-form-spam-input-prefix {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    padding: 0.5rem 0 0.5rem 0.625rem;
    line-height: 1;
}

.user-registration-form-spam-input-prefix .base-form-spam-svg-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    line-height: 0;
}

.user-registration-form-spam-input-prefix .base-form-spam-svg {
    display: block;
    width: 7.5rem;
    min-width: 7.5rem;
    height: 2.75rem;
}

/* .user-registration-form-spam-input | Änderungsprotokoll: 2026-10-01 | subagent-update-screen | @skill-css-rules, @skill-change-provenance | Spam-Antwortfeld */
.user-registration-form-spam-input {
    flex: 1 1 auto;
    min-width: 4.5rem;
    border: none;
    box-shadow: none;
    background-color: transparent;
    padding: 0.5rem 0.625rem 0.5rem 0.35rem;
    font-size: var(--font-size-base);
    line-height: var(--line-height-normal);
    font-family: var(--font-family-primary);
    color: var(--color-text);
}

.user-registration-form-spam-input:focus {
    outline: none;
    box-shadow: none;
}

.user-registration-form-spam-input::placeholder {
    color: var(--color-text-muted);
    opacity: 0.72;
}

/* .user-registration-form-field-consent | Änderungsprotokoll: 2026-10-01 | subagent-update-screen | @skill-css-rules, @skill-change-provenance | Consent-Zeile */
.user-registration-form-field-consent {
    margin-bottom: 0;
    padding: 0.75rem 0.875rem;
    border: 1px solid var(--color-border);
    background: var(--color-primary-wash);
}

.user-registration-form-field-consent + .user-registration-form-field-consent {
    border-top: none;
}

/* .user-registration-form-label-consent | Änderungsprotokoll: 2026-10-01 | subagent-update-screen | @skill-css-rules, @skill-change-provenance | Consent-Label-Zeile */
.user-registration-form-label-consent {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 0.625rem;
    margin: 0;
    padding: 0;
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-normal);
    line-height: 1.45;
    color: var(--color-text);
    cursor: pointer;
    white-space: normal;
}

/* .user-registration-form-consent-checkbox | Änderungsprotokoll: 2026-10-01 | subagent-update-screen | @skill-css-rules, @skill-change-provenance | Consent-Checkbox */
.user-registration-form-consent-checkbox {
    flex-shrink: 0;
    width: 1.125rem;
    height: 1.125rem;
    margin-top: 0.1rem;
    accent-color: var(--color-primary);
    cursor: pointer;
}

/* .user-registration-form-consent-text | Änderungsprotokoll: 2026-10-01 | subagent-update-screen | @skill-css-rules, @skill-change-provenance | Consent-Text */
.user-registration-form-consent-text {
    flex: 1 1 auto;
    min-width: 0;
}
