/* A quieter, more legible registration journey in every institute identity. */
html body.registration-view {
    --registration-ink: #1d2d40;
    --registration-muted: #526176;
    --registration-line: #d8e0e9;
    --site-field-height: 48px;
    background: #f5f7fa;
    font-size: 14px;
}
.registration-view .site-header a,
.registration-view .institute-footer a,
.registration-view .public-registration-page a,
.registration-view .public-registration-page a:hover { text-decoration: none; }
.registration-view .site-header .nav a { font-size: 14px; font-weight: 600; }
.registration-view .public-detail-hero { padding-block: 32px; }
.registration-view .public-detail-hero h1 { font-size: clamp(24px, 3vw, 34px); line-height: 1.7; margin-block: 12px; letter-spacing: 0; }
.registration-view .public-detail-hero p { font-size: 14px; line-height: 1.95; opacity: 1; }
.registration-view .public-registration-page > .section { padding-block: 28px 48px; }
.registration-view .public-registration-grid { grid-template-columns: 280px minmax(0, 800px); gap: 24px; }
.registration-view .public-registration-form { padding: 28px; border: 1px solid var(--registration-line); border-radius: 16px; box-shadow: 0 4px 24px #152b4305; }
.registration-view .public-registration-form > h2 { color: var(--registration-ink); font-size: 21px; font-weight: 700; line-height: 1.7; margin: 0 0 22px; }
.registration-view .public-registration-form .form-section { padding-block: 22px; border-color: var(--registration-line); scroll-margin-block-start: 110px; }
.registration-view .public-registration-form legend { color: var(--registration-ink); font-size: 15px; font-weight: 600; padding-inline: 8px; line-height: 1.8; }
.registration-view .public-registration-form .form-grid { gap: 16px 20px; align-items: start; }
.registration-view .public-registration-form .pds-field { font-size: 13px; font-weight: 600; line-height: 1.8; color: var(--registration-ink); gap: 8px; margin-block: 0; align-content: start; }
html body.registration-view .public-registration-form :is(input:not([type=checkbox]):not([type=radio]), select, textarea) { font-size: 14px !important; font-weight: 400; color: var(--registration-ink); background-color: #fff; border-color: #b8c5d3; border-radius: 9px; }
html body.registration-view .public-registration-form :is(input, select, textarea):focus,
html body.registration-view .public-registration-form :is(input, select, textarea):focus-visible { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 16%, transparent); }
.registration-view .public-registration-form .pds-field small,
.registration-view .public-guide-note { color: var(--registration-muted); font-size: 12px; line-height: 1.9; font-weight: 400; }
.registration-view .public-registration-form .pds-field__error { color: #b42318 !important; font-size: 12px; line-height: 1.8; }
.registration-view .public-registration-guide { gap: 18px; }
.registration-view .public-registration-guide .pds-card { padding: 22px; border: 1px solid var(--registration-line); border-radius: 14px; }
.registration-view .public-registration-guide h2 { color: var(--registration-ink); font-size: 16px; font-weight: 600; margin-bottom: 16px; }
.registration-view .public-registration-steps { gap: 5px; }
.registration-view .public-registration-steps li a { gap: 10px; padding: 9px 5px; color: var(--registration-ink); font-size: 13px; font-weight: 500; line-height: 1.8; border-radius: 8px; }
.registration-view .public-registration-steps li a:hover { background: color-mix(in srgb, var(--brand) 5%, white); }
.registration-view .public-registration-steps li span { flex: 0 0 28px; width: 28px; height: 28px; border-radius: 8px; background: color-mix(in srgb, var(--brand) 9%, white); color: var(--registration-ink); font-size: 11px; font-weight: 600; text-decoration: none; }
.registration-view .public-guide-note { margin-top: 16px; padding-top: 16px; border-color: var(--registration-line); }
.registration-view .public-registration-guide .public-registration-summary { background: var(--identity-header); color: var(--identity-header-text); border: 1px solid var(--identity-header); border-top: 3px solid var(--identity-accent); }
.registration-view .public-registration-summary .eyebrow { padding: 0; margin: 0 0 10px; border: 0; border-radius: 0; background: transparent; color: inherit; opacity: 1; font-size: 11px; font-weight: 500; }
.registration-view .public-registration-summary h2 { color: inherit; font-size: 16px; font-weight: 600; line-height: 1.9; }
.registration-view .public-registration-summary dl > div { border-color: color-mix(in srgb, var(--identity-header-text) 22%, transparent); font-size: 12px; padding-block: 12px; }
.registration-view .public-registration-summary dt { color: inherit; opacity: 1; font-weight: 400; }
.registration-view .public-registration-summary dd { color: inherit; font-weight: 600; font-size: 14px; }
.registration-view .public-registration-summary .public-account-link { color: inherit; font-size: 12px; font-weight: 500; padding-top: 6px; }
.registration-view .public-registration-form .payment-choice { padding: 16px; border-color: var(--registration-line); border-radius: 10px; }
.registration-view .public-registration-form .payment-choice strong { color: var(--registration-ink); font-size: 13px; font-weight: 600; }
.registration-view .public-registration-form .payment-choice small { color: var(--registration-muted); font-size: 12px; }
.registration-view .public-registration-form .payment-choice.disabled { opacity: 1; background: #f4f6f9; border-style: dashed; }
.registration-view .public-registration-form .payment-choice:has(input:checked) { background: color-mix(in srgb, var(--brand) 5%, white); border-color: var(--brand); }
.registration-view .public-registration-form .check { color: var(--registration-ink); font-size: 13px; line-height: 1.9; }
.registration-view .public-registration-form .check small { color: var(--registration-muted); font-size: 12px; }
.registration-view .public-registration-form .check summary { display: inline-block; padding: 3px 0; font-size: 12px; font-weight: 600; color: var(--brand-dark); }
.registration-view .public-registration-form .pds-btn[type="submit"] { min-height: 48px; font-size: 14px; font-weight: 600; border-radius: 9px; }
.registration-view .public-registration-form .public-existing-account,
.registration-view .public-registration-form .public-payment-summary { color: var(--registration-ink); background: #edf3f9; border-color: #c8d5e4; font-size: 12px; }
.registration-view .public-registration-page a:focus-visible,
.registration-view .public-registration-page summary:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 5px; }
@media (max-width: 980px) {
    .registration-view .public-registration-grid { grid-template-columns: minmax(0, 1fr); }
    .registration-view .public-registration-guide { position: static; }
    .registration-view .public-registration-steps { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 600px) {
    .registration-view .public-registration-form { padding: 20px 16px; }
    .registration-view .public-registration-form > h2 { font-size: 19px; }
    .registration-view .public-registration-form .form-grid,
    .registration-view .public-registration-form .payment-methods { grid-template-columns: minmax(0,1fr); }
    .registration-view .public-registration-form .form-grid { gap: 18px; }
    .registration-view .public-registration-steps li a { font-size: 12px; }
    .registration-view .public-registration-guide .pds-card { padding: 18px; }
}
html body.registration-view .public-registration-form select:disabled { opacity: 1; color: #526176; background-color: #f3f5f8; }
html body.registration-view .public-registration-form input::placeholder { color: #64748b; opacity: 1; }
