/* Product registration forms (/register/{slug}). Builds on the .sg-form / .sg-field styles in segasoft.css. */
.rg-section { padding: 48px 0 72px; }
.rg-layout { display: grid; gap: 28px; align-items: start; }
@media (min-width: 960px) { .rg-layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 36px; } }

.rg-form, .rg-done, .rg-aside { background: #fff; border: 1px solid var(--sg-border); border-radius: 16px; box-shadow: var(--sg-shadow); }
.rg-form { padding: 22px 18px; }
@media (min-width: 640px) { .rg-form { padding: 32px; } }
.rg-form__title { font-size: 1.15rem; margin: 0 0 16px; color: var(--sg-navy); }
.rg-form__title:not(:first-of-type) { margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--sg-border); }
.rg-form__actions { margin-top: 26px; }
.rg-form__actions .sg-btn { min-width: 220px; }
@media (max-width: 639px) { .rg-form__actions .sg-btn { width: 100%; } }

.sg-field__hint { font-size: .84rem; color: var(--sg-muted); }

/* Radio buttons, checkbox lists and single tick boxes */
.rg-choice { border: 0; margin: 0; padding: 0; min-width: 0; }
.rg-choice legend { padding: 0; margin-bottom: 8px; font-weight: 650; font-size: .9rem; color: var(--sg-navy); }
.rg-choice legend .sg-opt { font-weight: 500; color: var(--sg-muted); }
.rg-choice__list { display: flex; flex-wrap: wrap; gap: 8px; }
.rg-choice__item { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 10px 14px; border: 1.5px solid #cbd5e1; border-radius: 10px; background: #fff; cursor: pointer; font-weight: 500 !important; color: var(--sg-navy); }
.rg-choice__item:hover { border-color: var(--sg-blue); }
.rg-choice__item:has(input:checked) { border-color: var(--sg-blue); background: var(--sg-blue-soft); }
.rg-choice__item:has(input:focus-visible) { box-shadow: 0 0 0 3px rgba(37, 99, 235, .18); }
.sg-field .rg-choice__item input { width: 18px; height: 18px; min-height: 0; margin: 0; padding: 0; flex: 0 0 auto; accent-color: var(--sg-blue); box-shadow: none; }
.rg-choice--single .rg-choice__item { align-self: flex-start; }
.rg-choice.has-error .rg-choice__item { border-color: var(--sg-danger); }

/* Success panel */
.rg-done { padding: 36px 24px; text-align: center; }
.rg-done:focus { outline: none; }
.rg-done__icon { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--sg-green-soft); color: var(--sg-green); margin-bottom: 12px; }
.rg-done__icon .sg-i { width: 28px; height: 28px; }
.rg-done h2 { margin: 0 0 8px; color: var(--sg-navy); }
.rg-done p { max-width: 520px; margin: 0 auto 20px; }
.rg-done .sg-actions { justify-content: center; flex-wrap: wrap; }

/* Side panel */
.rg-aside { padding: 22px; }
.rg-aside h2 { font-size: 1.05rem; margin: 0 0 6px; color: var(--sg-navy); }
.rg-aside p { font-size: .92rem; margin: 0 0 14px; }
.rg-aside__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.rg-aside__list li { display: flex; align-items: center; gap: 10px; overflow-wrap: anywhere; }
.rg-aside__list .sg-i { color: var(--sg-blue); flex: 0 0 auto; }
.rg-aside__list a { font-weight: 600; }
