:root {
    --registration-accent: #0f9d8f;
    --registration-accent-strong: #0b7f74;
    --registration-accent-deep: #06635c;
    --registration-accent-soft: #e6f7f4;
    --registration-accent-ring: rgba(15, 157, 143, 0.2);
    --registration-glow: #3ad6bf;
    --registration-rail: #0d2338;
    --registration-rail-deep: #061727;
    --registration-bg: #eef3f8;
    --registration-surface: #ffffff;
    --registration-surface-soft: #f7fafc;
    --registration-border: #dbe4ee;
    --registration-border-soft: #e9eff6;
    --registration-text: #0f2438;
    --registration-muted: #61748a;
    --registration-danger: #d0455b;
    --registration-shadow: 0 30px 90px rgba(11, 33, 56, 0.14);
    --registration-radius: 28px;
    --registration-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body.registration-page {
    margin: 0;
    min-height: 100vh;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--registration-text);
    background:
        radial-gradient(1100px 620px at 6% -12%, rgba(15, 157, 143, 0.13), transparent 58%),
        radial-gradient(920px 560px at 102% -4%, rgba(46, 116, 214, 0.1), transparent 55%),
        var(--registration-bg);
    background-attachment: fixed;
    -webkit-font-smoothing: antialiased;
}

body.registration-page.embedded {
    min-height: auto;
    background: transparent;
}

#registration-app {
    min-height: 100vh;
}

body.registration-page.embedded #registration-app {
    min-height: auto;
}

/* ---------------------------------------------------------------- layout */

.registration-shell {
    display: grid;
    grid-template-columns: minmax(320px, 0.72fr) minmax(0, 1.8fr);
    align-items: stretch;
    width: min(calc(100% - 40px), 1280px);
    margin: 32px auto;
    padding: 0;
    overflow: hidden;
    border: 1px solid rgba(16, 42, 67, 0.07);
    border-radius: var(--registration-radius);
    background: var(--registration-surface);
    box-shadow: var(--registration-shadow);
    animation: registration-shell-in 0.6s var(--registration-ease) backwards;
}

.registration-shell.is-embedded {
    width: 100%;
    margin: 0;
    box-shadow: none;
}

/* ------------------------------------------------------------------ rail */

.registration-rail {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    padding: 42px 34px 38px;
    color: #ffffff;
    background: linear-gradient(158deg, var(--registration-rail) 0%, var(--registration-rail-deep) 100%);
}

.registration-rail-pattern {
    position: absolute;
    z-index: -1;
    left: -142px;
    bottom: -196px;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    opacity: 0.26;
    background:
        repeating-radial-gradient(circle at center, transparent 0 28px, rgba(255, 255, 255, 0.16) 29px 30px),
        linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
    background-size: auto, 42px 42px, 42px 42px;
    transform: rotate(-12deg);
    pointer-events: none;
    animation: registration-drift 24s ease-in-out infinite alternate;
}

.registration-rail::after {
    position: absolute;
    z-index: -1;
    top: -140px;
    right: -120px;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    background: radial-gradient(circle at center, rgba(58, 214, 191, 0.28), transparent 68%);
    pointer-events: none;
    content: "";
    animation: registration-breathe 12s ease-in-out infinite;
}

.registration-hero {
    padding: 0;
    animation: registration-rise 0.6s var(--registration-ease) 0.05s backwards;
}

.registration-brand {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 0 0 32px;
    padding: 0 0 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.registration-logo-frame {
    display: grid;
    flex: 0 0 82px;
    width: 82px;
    height: 62px;
    place-items: center;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.34);
    border-radius: 13px;
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(1, 14, 32, 0.28);
    transition: transform 0.35s var(--registration-ease);
}

.registration-logo-frame:hover {
    transform: translateY(-2px) rotate(-1.5deg);
}

.registration-logo {
    display: block;
    width: 72px;
    height: 52px;
    object-fit: contain;
}

.registration-kicker {
    min-width: 0;
    margin: 0;
    font-size: 1rem;
    font-weight: 650;
    line-height: 1.45;
    letter-spacing: -0.01em;
    color: rgba(255, 255, 255, 0.92);
}

.registration-title {
    margin: 0;
    font-size: clamp(2rem, 3vw, 2.7rem);
    line-height: 1.08;
    letter-spacing: -0.045em;
    color: #ffffff;
}

.registration-intro {
    margin: 18px 0 0;
    font-size: 0.98rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.74);
}

.registration-exam-banner {
    display: grid;
    gap: 20px;
    margin-top: 32px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(2px);
    animation: registration-rise 0.6s var(--registration-ease) 0.14s backwards;
}

.registration-banner-label {
    margin: 0 0 10px;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.registration-exam-banner h2,
.registration-panel h2,
.registration-empty-state h3,
.registration-exam-card h3,
.registration-form-section h3 {
    margin: 0;
}

.registration-exam-banner h2 {
    font-size: 1.48rem;
    line-height: 1.2;
    letter-spacing: -0.025em;
    color: #ffffff;
}

.registration-banner-meta {
    margin: 10px 0 0;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 650;
}

.registration-banner-grid {
    display: grid;
    gap: 0;
    margin: 0;
}

.registration-banner-grid div {
    padding: 16px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.registration-banner-grid div:last-child {
    padding-bottom: 0;
}

.registration-banner-grid dt {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 7px;
    color: rgba(255, 255, 255, 0.64);
    font-size: 0.8rem;
    font-weight: 650;
}

.registration-banner-grid dt::before {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--registration-glow);
    box-shadow: 0 0 0 4px rgba(58, 214, 191, 0.14);
    content: "";
}

.registration-banner-grid dd {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.55;
    white-space: pre-line;
    color: #ffffff;
}

/* ----------------------------------------------------------- rail steps */

.registration-steps {
    display: grid;
    gap: 0;
    margin: 36px 0 0;
    padding: 0;
    list-style: none;
    animation: registration-rise 0.6s var(--registration-ease) 0.22s backwards;
}

.registration-rail .registration-steps {
    margin-top: auto;
    padding-top: 36px;
}

.registration-step {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 14px;
    padding: 9px 0;
}

.registration-step + .registration-step::before {
    position: absolute;
    top: -8px;
    left: 17px;
    width: 1px;
    height: 16px;
    background: rgba(255, 255, 255, 0.2);
    content: "";
}

.registration-step-dot {
    position: relative;
    display: grid;
    flex: 0 0 35px;
    width: 35px;
    height: 35px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.84rem;
    font-weight: 800;
    transition: background 0.3s var(--registration-ease), color 0.3s var(--registration-ease), border-color 0.3s var(--registration-ease), box-shadow 0.3s var(--registration-ease);
}

.registration-step-copy {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.registration-step-copy strong {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.93rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    transition: color 0.3s var(--registration-ease);
}

.registration-step-copy small {
    color: rgba(255, 255, 255, 0.38);
    font-size: 0.79rem;
    line-height: 1.45;
}

.registration-step.is-done .registration-step-dot {
    border-color: rgba(58, 214, 191, 0.5);
    background: rgba(58, 214, 191, 0.16);
    color: #8df0e0;
}

.registration-step.is-done .registration-step-copy strong {
    color: rgba(255, 255, 255, 0.72);
}

.registration-step.is-active .registration-step-dot {
    border-color: transparent;
    background: var(--registration-accent);
    color: #ffffff;
    animation: registration-pulse 2.8s ease-out infinite;
}

.registration-step.is-active .registration-step-copy strong {
    color: #ffffff;
}

.registration-step.is-active .registration-step-copy small {
    color: rgba(255, 255, 255, 0.62);
}

/* ----------------------------------------------------------------- panel */

.registration-panel {
    min-width: 0;
    margin: 0;
    padding: 46px 52px 50px;
    background: var(--registration-surface);
    animation: registration-rise 0.55s var(--registration-ease) 0.08s backwards;
}

.registration-panel-header {
    display: grid;
    gap: 8px;
    margin-bottom: 30px;
}

.registration-panel-header h2 {
    font-size: clamp(1.8rem, 3vw, 2.3rem);
    line-height: 1.12;
    letter-spacing: -0.04em;
}

.registration-panel-header p,
.registration-empty-state p,
.registration-card-location,
.registration-card-meta,
.registration-section-heading p,
.registration-submit p {
    margin: 0;
    color: var(--registration-muted);
    line-height: 1.6;
}

/* ---------------------------------------------------------------- search */

.registration-search {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 22px;
}

.registration-search-field {
    display: grid;
    gap: 8px;
    width: min(100%, 620px);
}

.registration-search-field span {
    font-size: 0.88rem;
    font-weight: 700;
}

.registration-search-field input,
.registration-field input {
    width: 100%;
    min-height: 54px;
    padding: 14px 16px;
    border: 1px solid var(--registration-border);
    border-radius: 15px;
    outline: none;
    background: #fbfdff;
    color: var(--registration-text);
    font: inherit;
    font-size: 0.96rem;
    transition: border-color 0.2s var(--registration-ease), box-shadow 0.2s var(--registration-ease), background 0.2s var(--registration-ease), transform 0.2s var(--registration-ease);
}

.registration-search-field input::placeholder,
.registration-field input::placeholder {
    color: #8b9aab;
}

.registration-search-field input:hover,
.registration-field input:hover {
    border-color: #b6c6d6;
}

.registration-search-field input:focus,
.registration-field input:focus {
    border-color: var(--registration-accent);
    background: #ffffff;
    box-shadow: 0 0 0 4px var(--registration-accent-ring);
    transform: translateY(-1px);
}

.registration-search-summary {
    display: flex;
    align-items: center;
    gap: 6px;
    min-height: 50px;
    color: var(--registration-muted);
    white-space: nowrap;
}

.registration-search-summary strong {
    color: var(--registration-text);
}

.registration-clear-search {
    margin-left: 8px;
    padding: 8px 12px;
    border: 0;
    border-radius: 11px;
    background: var(--registration-accent-soft);
    color: var(--registration-accent-deep);
    font: inherit;
    font-size: 0.86rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s var(--registration-ease), transform 0.2s var(--registration-ease);
}

.registration-clear-search:hover {
    background: #d5f0eb;
    transform: translateY(-1px);
}

/* ----------------------------------------------------------- exam cards */

.registration-exam-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr));
    gap: 16px;
    align-items: stretch;
}

.registration-exam-card {
    position: relative;
    display: grid;
    gap: 12px;
    height: 100%;
    overflow: hidden;
    padding: 22px 20px 20px;
    border: 1px solid var(--registration-border-soft);
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(16, 42, 67, 0.05);
    transition: border-color 0.3s var(--registration-ease), transform 0.3s var(--registration-ease), box-shadow 0.3s var(--registration-ease);
    animation: registration-rise 0.5s var(--registration-ease) backwards;
}

.registration-exam-card::before {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--registration-accent), var(--registration-glow));
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.4s var(--registration-ease);
    content: "";
}

.registration-exam-card:hover {
    border-color: rgba(15, 157, 143, 0.34);
    box-shadow: 0 22px 44px rgba(16, 42, 67, 0.1);
    transform: translateY(-4px);
}

.registration-exam-card:hover::before {
    transform: scaleX(1);
}

.registration-exam-card:nth-child(1) { animation-delay: 0.02s; }
.registration-exam-card:nth-child(2) { animation-delay: 0.06s; }
.registration-exam-card:nth-child(3) { animation-delay: 0.1s; }
.registration-exam-card:nth-child(4) { animation-delay: 0.14s; }
.registration-exam-card:nth-child(5) { animation-delay: 0.18s; }
.registration-exam-card:nth-child(6) { animation-delay: 0.22s; }
.registration-exam-card:nth-child(7) { animation-delay: 0.26s; }
.registration-exam-card:nth-child(8) { animation-delay: 0.3s; }
.registration-exam-card:nth-child(n + 9) { animation-delay: 0.34s; }

.registration-card-chip {
    width: fit-content;
    margin: 0;
    padding: 6px 10px;
    border-radius: 9px;
    background: var(--registration-accent-soft);
    color: var(--registration-accent-deep);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    transition: background 0.3s var(--registration-ease), color 0.3s var(--registration-ease);
}

.registration-exam-card:hover .registration-card-chip {
    background: var(--registration-accent);
    color: #ffffff;
}

.registration-exam-card h3 {
    font-size: 1.12rem;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.registration-card-meta {
    font-weight: 600;
    color: var(--registration-text);
}

.registration-card-identifier {
    margin: 0;
    color: var(--registration-muted);
    font-size: 0.82rem;
}

.registration-card-organizer {
    display: grid;
    gap: 3px;
    margin: 0;
    color: var(--registration-text);
    font-size: 0.9rem;
    font-weight: 650;
    line-height: 1.45;
}

.registration-card-organizer span {
    color: var(--registration-muted);
    font-size: 0.74rem;
    font-weight: 750;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.registration-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid var(--registration-border-soft);
}

.registration-card-seats {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--registration-muted);
    font-size: 0.88rem;
    font-weight: 600;
}

.registration-card-seats::before {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--registration-accent);
    box-shadow: 0 0 0 4px var(--registration-accent-ring);
    content: "";
}

.registration-card-seats.is-low {
    color: #b0503f;
}

.registration-card-seats.is-low::before {
    background: #e2703f;
    box-shadow: 0 0 0 4px rgba(226, 112, 63, 0.18);
    animation: registration-blink 2.4s ease-in-out infinite;
}

.registration-card-seats.is-empty::before {
    background: #97a6b6;
    box-shadow: 0 0 0 4px rgba(151, 166, 182, 0.16);
}

/* --------------------------------------------------------------- buttons */

.registration-card-link,
.registration-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 50px;
    overflow: hidden;
    padding: 13px 19px;
    border: 0;
    border-radius: 15px;
    background: linear-gradient(135deg, var(--registration-accent) 0%, var(--registration-accent-strong) 100%);
    color: #ffffff;
    font: inherit;
    font-size: 0.92rem;
    font-weight: 750;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(11, 127, 116, 0.24);
    transition: transform 0.25s var(--registration-ease), box-shadow 0.25s var(--registration-ease), filter 0.25s var(--registration-ease);
}

.registration-card-link::after,
.registration-button::after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(115deg, transparent 28%, rgba(255, 255, 255, 0.34) 50%, transparent 72%);
    transform: translateX(-130%);
    pointer-events: none;
    content: "";
}

.registration-card-link:hover,
.registration-button:hover {
    filter: saturate(1.05) brightness(1.04);
    box-shadow: 0 16px 32px rgba(11, 127, 116, 0.3);
    transform: translateY(-2px);
}

.registration-card-link:hover::after,
.registration-button:hover::after {
    animation: registration-sheen 0.85s var(--registration-ease);
}

.registration-card-link:active,
.registration-button:active {
    transform: translateY(0);
    box-shadow: 0 6px 16px rgba(11, 127, 116, 0.22);
}

.registration-card-link {
    min-height: 46px;
    padding: 11px 17px;
}

.registration-card-link .registration-arrow {
    display: inline-block;
    transition: transform 0.3s var(--registration-ease);
}

.registration-card-link:hover .registration-arrow {
    transform: translateX(4px);
}

.registration-button:focus-visible,
.registration-card-link:focus-visible,
.registration-clear-search:focus-visible {
    outline: 3px solid var(--registration-accent-ring);
    outline-offset: 3px;
}

.registration-button:disabled {
    cursor: wait;
    opacity: 0.72;
    box-shadow: none;
    transform: none;
}

.registration-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.45);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: registration-spin 0.7s linear infinite;
}

.registration-button-secondary {
    background: var(--registration-accent-soft);
    color: var(--registration-accent-deep);
    box-shadow: none;
}

.registration-button-secondary:hover {
    background: #d5f0eb;
    box-shadow: none;
}

.registration-load-more {
    display: flex;
    justify-content: center;
    margin-top: 24px;
}

/* ------------------------------------------------------------------ form */

.registration-form {
    display: grid;
    gap: 0;
    counter-reset: registration-section;
}

.registration-form[aria-busy="true"] input,
.registration-form[aria-busy="true"] button {
    pointer-events: none;
}

.registration-form-section {
    display: grid;
    gap: 18px;
    padding: 30px 0;
    border-bottom: 1px solid var(--registration-border-soft);
    animation: registration-rise 0.5s var(--registration-ease) backwards;
}

.registration-form-section:nth-of-type(1) { animation-delay: 0.1s; }
.registration-form-section:nth-of-type(2) { animation-delay: 0.16s; }
.registration-form-section:nth-of-type(3) { animation-delay: 0.22s; }
.registration-form-section:nth-of-type(n + 4) { animation-delay: 0.28s; }

.registration-form-section:first-of-type {
    padding-top: 0;
}

.registration-section-heading {
    display: grid;
    gap: 5px;
}

.registration-section-heading h3 {
    display: flex;
    align-items: center;
    gap: 11px;
    font-size: 1.2rem;
    line-height: 1.25;
    letter-spacing: -0.025em;
}

.registration-section-heading h3::before {
    display: grid;
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    place-items: center;
    border-radius: 9px;
    background: var(--registration-accent-soft);
    color: var(--registration-accent-deep);
    counter-increment: registration-section;
    content: counter(registration-section);
    font-size: 0.8rem;
    font-weight: 800;
}

.registration-section-heading p {
    font-size: 0.9rem;
}

.registration-grid {
    display: grid;
    gap: 16px;
}

.registration-grid-two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.registration-grid-three {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.registration-field {
    display: grid;
    align-content: start;
    gap: 8px;
}

.registration-field-wide,
.registration-field-half {
    grid-column: span 2;
}

.registration-field span,
.registration-toggle span {
    font-size: 0.86rem;
    font-weight: 700;
}

.registration-field.has-error input {
    border-color: var(--registration-danger);
    background: #fff9fa;
    box-shadow: 0 0 0 4px rgba(208, 69, 91, 0.09);
    animation: registration-shake 0.35s ease-out;
}

.registration-field small {
    color: var(--registration-danger);
    font-size: 0.8rem;
    line-height: 1.4;
}

.registration-field .registration-help {
    color: var(--registration-muted);
}

.registration-toggle,
.registration-consent {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 15px 16px;
    border: 1px solid var(--registration-border-soft);
    border-radius: 15px;
    background: var(--registration-surface-soft);
    cursor: pointer;
    transition: border-color 0.25s var(--registration-ease), background 0.25s var(--registration-ease), transform 0.25s var(--registration-ease);
}

.registration-toggle:hover,
.registration-consent:hover {
    border-color: rgba(15, 157, 143, 0.3);
    background: #f2fbf9;
}

.registration-toggle:has(input:checked),
.registration-consent:has(input:checked) {
    border-color: rgba(15, 157, 143, 0.42);
    background: var(--registration-accent-soft);
}

.registration-toggle input,
.registration-consent input {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin: 2px 0 0;
    accent-color: var(--registration-accent);
    cursor: pointer;
}

.registration-consent span {
    color: var(--registration-muted);
    font-size: 0.84rem;
    line-height: 1.55;
    white-space: pre-line;
}

.registration-consent.has-error {
    border-color: var(--registration-danger);
    background: #fff8f9;
}

.registration-consent-error {
    color: var(--registration-danger);
    font-size: 0.82rem;
}

.registration-alert {
    margin-bottom: 24px;
    padding: 14px 16px;
    border: 1px solid rgba(208, 69, 91, 0.24);
    border-left: 4px solid var(--registration-danger);
    border-radius: 14px;
    background: #fff5f7;
    color: #8c2033;
    font-size: 0.9rem;
    animation: registration-rise 0.35s var(--registration-ease);
}

.registration-submit {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 30px;
    padding: 18px 20px;
    border: 1px solid var(--registration-border-soft);
    border-radius: 20px;
    background: linear-gradient(135deg, #f4fbf9 0%, #f4f8fd 100%);
}

.registration-submit > div {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.registration-submit strong {
    font-size: 1.02rem;
    letter-spacing: -0.02em;
}

.registration-submit p {
    font-size: 0.88rem;
}

.registration-submit .registration-button {
    min-width: 230px;
    min-height: 54px;
}

/* --------------------------------------------------------------- success */

.registration-success-grid,
.registration-payment-list {
    display: grid;
    gap: 14px;
}

.registration-success-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 16px;
}

.registration-success-card,
.registration-payment-item {
    padding: 17px;
    border: 1px solid var(--registration-border-soft);
    border-radius: 17px;
    background: var(--registration-surface-soft);
    animation: registration-rise 0.5s var(--registration-ease) backwards;
}

.registration-success-card {
    border-color: rgba(15, 157, 143, 0.24);
    background: linear-gradient(135deg, #f2fbf9 0%, #f7fafc 100%);
}

.registration-success-card:nth-child(1) { animation-delay: 0.08s; }
.registration-success-card:nth-child(2) { animation-delay: 0.14s; }
.registration-payment-item:nth-child(1) { animation-delay: 0.18s; }
.registration-payment-item:nth-child(2) { animation-delay: 0.22s; }
.registration-payment-item:nth-child(n + 3) { animation-delay: 0.26s; }

.registration-success-card span,
.registration-payment-item span {
    display: block;
    margin-bottom: 6px;
    color: var(--registration-muted);
    font-size: 0.8rem;
}

.registration-success-card strong,
.registration-payment-item strong {
    font-size: 0.96rem;
    white-space: pre-line;
}

.registration-success-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.registration-minor-consent {
    display: grid;
    gap: 10px;
    margin-top: 18px;
    padding: 18px;
    border: 1px solid #ead18d;
    border-left: 4px solid #d9a83c;
    border-radius: 18px;
    background: #fff9e9;
    color: #674710;
}

.registration-minor-consent h3,
.registration-minor-consent p {
    margin: 0;
}

.registration-minor-consent .registration-button {
    width: max-content;
}

.registration-unavailable {
    display: grid;
    align-content: start;
    gap: 12px;
}

.registration-empty-state {
    display: grid;
    justify-items: start;
    gap: 10px;
    padding: 34px 26px;
    border: 1px dashed var(--registration-border);
    border-radius: 20px;
    background: var(--registration-surface-soft);
}

.registration-noscript {
    width: min(100% - 32px, 720px);
    margin: 24px auto;
    padding: 18px 20px;
    border: 1px solid #e6c47d;
    border-radius: 14px;
    background: #fff7df;
    color: #6a4a0e;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* ------------------------------------------------------------ animations */

@keyframes registration-spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes registration-shell-in {
    from {
        opacity: 0;
        transform: translateY(16px) scale(0.995);
    }
}

@keyframes registration-rise {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
}

@keyframes registration-sheen {
    to {
        transform: translateX(130%);
    }
}

@keyframes registration-drift {
    from {
        transform: rotate(-12deg) translate3d(0, 0, 0);
    }

    to {
        transform: rotate(-4deg) translate3d(18px, -26px, 0);
    }
}

@keyframes registration-breathe {
    0%,
    100% {
        opacity: 0.75;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.1);
    }
}

@keyframes registration-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(15, 157, 143, 0.45);
    }

    70% {
        box-shadow: 0 0 0 12px rgba(15, 157, 143, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(15, 157, 143, 0);
    }
}

@keyframes registration-blink {
    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.45;
    }
}

@keyframes registration-shake {
    25% {
        transform: translateX(-4px);
    }

    75% {
        transform: translateX(4px);
    }
}

/* ----------------------------------------------------------- responsive */

@media (max-width: 1040px) {
    .registration-shell {
        grid-template-columns: minmax(285px, 0.68fr) minmax(0, 1.5fr);
    }

    .registration-rail {
        padding: 34px 28px;
    }

    .registration-panel {
        padding: 38px 36px 42px;
    }
}

@media (max-width: 820px) {
    .registration-shell {
        display: block;
        width: min(calc(100% - 24px), 680px);
        margin: 12px auto;
        border-radius: 24px;
    }

    .registration-rail {
        padding: 30px 26px;
    }

    .registration-kicker {
        margin-bottom: 25px;
        padding-bottom: 20px;
    }

    .registration-title {
        max-width: 16ch;
    }

    .registration-exam-banner {
        margin-top: 26px;
    }

    .registration-banner-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

    .registration-banner-grid div,
    .registration-banner-grid div:last-child {
        padding: 16px 0 0;
    }

    .registration-rail .registration-steps {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
        margin-top: 28px;
        padding-top: 24px;
        border-top: 1px solid rgba(255, 255, 255, 0.14);
    }

    .registration-step {
        grid-template-columns: minmax(0, 1fr);
        justify-items: center;
        gap: 9px;
        padding: 0;
        text-align: center;
    }

    .registration-step + .registration-step::before {
        top: 17px;
        left: -8px;
        width: 16px;
        height: 1px;
    }

    .registration-step-copy small {
        display: none;
    }

    .registration-panel {
        padding: 30px 26px 34px;
    }

    .registration-grid-two,
    .registration-success-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 580px) {
    .registration-shell {
        width: min(calc(100% - 16px), 680px);
        margin: 8px auto;
        border-radius: 20px;
    }

    .registration-rail,
    .registration-panel {
        padding: 24px 20px 28px;
    }

    .registration-title {
        font-size: clamp(1.85rem, 9vw, 2.25rem);
    }

    .registration-intro {
        font-size: 0.94rem;
    }

    .registration-exam-banner {
        padding: 20px;
    }

    .registration-banner-grid,
    .registration-grid-two,
    .registration-grid-three,
    .registration-success-grid {
        grid-template-columns: 1fr;
    }

    .registration-field-wide,
    .registration-field-half {
        grid-column: auto;
    }

    .registration-panel-header {
        margin-bottom: 24px;
    }

    .registration-panel-header h2 {
        font-size: 1.75rem;
    }

    .registration-search,
    .registration-card-footer {
        align-items: stretch;
        flex-direction: column;
    }

    .registration-search-summary {
        min-height: auto;
    }

    .registration-card-link,
    .registration-button,
    .registration-submit .registration-button {
        width: 100%;
    }

    .registration-submit {
        align-items: stretch;
        flex-direction: column;
        padding: 16px;
    }

    .registration-form-section {
        padding: 26px 0;
    }

    .registration-toggle,
    .registration-consent {
        padding: 14px;
    }

    .registration-empty-state {
        padding: 26px 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
