/* Cohesive jobseeker registration experience aligned with the public landing page. */
body[data-peso-page='jobseeker-register'] {
    scroll-behavior: smooth;
}

body[data-peso-page='jobseeker-register'] .registration-toolbar {
    width: min(calc(100% - 32px), 1180px);
}

body[data-peso-page='jobseeker-register'] .registration-back,
body[data-peso-page='jobseeker-register'] .registration-theme-toggle {
    border-radius: 13px;
    box-shadow: 0 10px 28px rgba(5, 35, 22, .09);
}

body[data-peso-page='jobseeker-register'] > .page {
    width: min(calc(100% - 32px), 1080px) !important;
    max-width: 1080px !important;
}

body[data-peso-page='jobseeker-register'] .card {
    border-radius: 30px !important;
}

body[data-peso-page='jobseeker-register'] .card-header {
    min-height: 300px;
    padding: clamp(38px, 5vw, 58px) !important;
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(260px, .82fr);
    place-items: initial;
    align-items: center;
    gap: clamp(30px, 5vw, 64px);
    text-align: left;
    background:
        radial-gradient(circle at 88% 10%, rgba(240, 201, 77, .21), transparent 17rem),
        linear-gradient(135deg, #054e30, #087443) !important;
}

body[data-peso-page='jobseeker-register'] .card-header::after {
    content: '';
    position: absolute;
    right: -95px;
    bottom: -120px;
    width: 290px;
    height: 290px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 50%;
    box-shadow: 0 0 0 38px rgba(255, 255, 255, .035), 0 0 0 76px rgba(255, 255, 255, .025);
}

body[data-peso-page='jobseeker-register'] .registration-hero-copy,
body[data-peso-page='jobseeker-register'] .registration-hero-benefits {
    position: relative;
    z-index: 1;
}

body[data-peso-page='jobseeker-register'] .registration-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: max-content;
    max-width: 100%;
    margin-bottom: 18px;
    padding: 8px 12px;
    color: #fff5c9 !important;
    background: rgba(3, 39, 24, .42);
    border: 1px solid rgba(240, 201, 77, .34);
    border-radius: 999px;
    font-size: .69rem;
    font-weight: 850;
    letter-spacing: .06em;
    line-height: 1.25;
    text-transform: uppercase;
}

body[data-peso-page='jobseeker-register'] .registration-hero-badge i {
    color: #f6d86f;
}

html body[data-peso-page='jobseeker-register'] .card-header h1 {
    max-width: 12ch;
    margin: 0;
    color: #fff !important;
    font-size: clamp(2.25rem, 4.8vw, 4rem) !important;
    font-weight: 850 !important;
    line-height: 1 !important;
    letter-spacing: -.06em !important;
    text-wrap: balance;
}

html body[data-peso-page='jobseeker-register'] .card-header .registration-hero-copy > p {
    max-width: 56ch;
    margin: 18px 0 0;
    color: #dcefe5 !important;
    font-size: .94rem;
    line-height: 1.72;
}

body[data-peso-page='jobseeker-register'] .registration-hero-benefits {
    display: grid;
    gap: 9px;
    padding: 18px;
    background: rgba(2, 39, 24, .34);
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 18px;
    backdrop-filter: blur(12px);
}

html body[data-peso-page='jobseeker-register'] .registration-hero-benefits span {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #fff !important;
    font-size: .76rem;
    font-weight: 720;
    line-height: 1.4;
}

body[data-peso-page='jobseeker-register'] .registration-hero-benefits i {
    color: #f6d86f;
}

body[data-peso-page='jobseeker-register'] .card-body {
    padding: clamp(28px, 5vw, 52px) !important;
}

body[data-peso-page='jobseeker-register'] .registration-intro {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 24px;
}

body[data-peso-page='jobseeker-register'] .registration-eyebrow {
    display: block;
    margin-bottom: 7px;
    color: var(--reg-brand);
    font-size: .68rem;
    font-weight: 850;
    letter-spacing: .08em;
    text-transform: uppercase;
}

html body[data-peso-page='jobseeker-register'] .registration-intro h2 {
    margin: 0;
    color: var(--reg-ink) !important;
    font-size: clamp(1.65rem, 3vw, 2.15rem);
    line-height: 1.1;
    letter-spacing: -.04em;
}

html body[data-peso-page='jobseeker-register'] .registration-intro p {
    max-width: 62ch;
    margin: 9px 0 0;
    color: var(--reg-muted) !important;
    font-size: .8rem;
    line-height: 1.65;
}

body[data-peso-page='jobseeker-register'] .registration-time {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
    padding: 9px 12px;
    color: var(--reg-muted);
    background: var(--reg-surface-soft);
    border: 1px solid var(--reg-line);
    border-radius: 999px;
    font-size: .7rem;
    font-weight: 750;
}

body[data-peso-page='jobseeker-register'] .registration-time i {
    color: var(--reg-brand);
}

body[data-peso-page='jobseeker-register'] .registration-section-nav {
    position: sticky;
    top: 12px;
    z-index: 20;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 26px;
    padding: 8px;
    background: color-mix(in srgb, var(--reg-surface) 92%, transparent);
    border: 1px solid var(--reg-line);
    border-radius: 17px;
    box-shadow: 0 14px 36px rgba(6, 41, 26, .11);
    backdrop-filter: blur(18px);
}

body[data-peso-page='jobseeker-register'] .registration-section-nav :is(a, button) {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 0;
    min-height: 42px;
    padding: 7px 10px;
    color: var(--reg-muted) !important;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 11px;
    font-size: .72rem;
    font-weight: 780;
    font-family: inherit;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

body[data-peso-page='jobseeker-register'] .registration-section-nav :is(a, button):hover,
body[data-peso-page='jobseeker-register'] .registration-section-nav :is(a, button):focus-visible {
    color: var(--reg-brand) !important;
    background: var(--reg-surface-soft);
    border-color: var(--reg-line);
}

body[data-peso-page='jobseeker-register'] .registration-section-nav :is(a, button) span {
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    flex: 0 0 auto;
    color: var(--reg-brand);
    background: color-mix(in srgb, var(--reg-brand) 12%, transparent);
    border-radius: 8px;
    font-size: .65rem;
    font-weight: 850;
}

body[data-peso-page='jobseeker-register'] .message {
    margin: 0 0 24px;
    align-items: flex-start;
    border: 1px solid;
    border-left-width: 4px;
}

body[data-peso-page='jobseeker-register'] .message.error {
    color: var(--reg-danger) !important;
    background: color-mix(in srgb, var(--reg-danger) 10%, var(--reg-surface)) !important;
    border-color: color-mix(in srgb, var(--reg-danger) 44%, var(--reg-line)) !important;
}

body[data-peso-page='jobseeker-register'] .message.success {
    color: var(--reg-brand) !important;
    background: color-mix(in srgb, var(--reg-brand) 10%, var(--reg-surface)) !important;
    border-color: color-mix(in srgb, var(--reg-brand) 42%, var(--reg-line)) !important;
}

body[data-peso-page='jobseeker-register'] .section {
    scroll-margin-top: 92px;
    margin: 0 0 20px !important;
    padding: clamp(20px, 3vw, 28px) !important;
    background: color-mix(in srgb, var(--reg-surface-soft) 82%, var(--reg-surface)) !important;
    border-radius: 20px !important;
}

body[data-peso-page='jobseeker-register'] .section-head {
    display: grid;
    grid-template-columns: 30px 38px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
    padding-bottom: 17px;
    border-bottom: 1px solid var(--reg-line);
}

body[data-peso-page='jobseeker-register'] .section-number {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    color: var(--reg-brand);
    background: color-mix(in srgb, var(--reg-brand) 12%, transparent);
    border: 1px solid color-mix(in srgb, var(--reg-brand) 24%, var(--reg-line));
    border-radius: 9px;
    font-size: .7rem;
    font-weight: 850;
}

body[data-peso-page='jobseeker-register'] .section-head > i {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    color: var(--reg-brand) !important;
    background: var(--reg-surface);
    border: 1px solid var(--reg-line);
    border-radius: 11px;
    font-size: .9rem;
}

body[data-peso-page='jobseeker-register'] .section-heading-copy {
    display: grid;
    gap: 3px;
    min-width: 0;
}

html body[data-peso-page='jobseeker-register'] .section-title {
    color: var(--reg-ink) !important;
    font-size: 1rem;
    line-height: 1.25;
}

html body[data-peso-page='jobseeker-register'] .section-heading-copy small {
    color: var(--reg-muted) !important;
    font-size: .69rem;
    font-weight: 560;
    line-height: 1.4;
}

body[data-peso-page='jobseeker-register'] .grid {
    gap: 18px 20px;
}

html body[data-peso-page='jobseeker-register'] .field label {
    display: block;
    margin-bottom: 8px;
    color: var(--reg-ink) !important;
    font-size: .72rem;
    font-weight: 760;
}

body[data-peso-page='jobseeker-register'] .input-group {
    position: relative;
    min-width: 0;
    min-height: 51px;
    display: grid !important;
    grid-template-columns: 42px minmax(0, 1fr) 42px;
    align-items: center;
    overflow: hidden;
    color: var(--reg-muted);
    background: var(--reg-field);
    border: 1px solid var(--reg-line);
    border-radius: 13px;
    transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

body[data-peso-page='jobseeker-register'] .input-group:focus-within {
    color: var(--reg-brand);
    background: var(--reg-surface);
    border-color: var(--reg-brand);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--reg-brand) 17%, transparent);
}

body[data-peso-page='jobseeker-register'] .input-group .icon {
    position: static !important;
    grid-column: 1;
    grid-row: 1;
    justify-self: center;
    color: currentColor !important;
    transform: none !important;
}

body[data-peso-page='jobseeker-register'] .input-group > :is(input, select) {
    grid-column: 2 / -1;
    grid-row: 1;
    width: 100%;
    min-width: 0;
    min-height: 49px !important;
    padding: 0 42px 0 0 !important;
    color: var(--reg-ink) !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

body[data-peso-page='jobseeker-register'] .input-group > select {
    padding-right: 34px !important;
}

body[data-peso-page='jobseeker-register'] .input-group > :is(input, select):disabled {
    color: color-mix(in srgb, var(--reg-muted) 70%, transparent) !important;
    cursor: not-allowed;
}

body[data-peso-page='jobseeker-register'] .registration-password-toggle {
    position: relative;
    z-index: 2;
    grid-column: 3;
    grid-row: 1;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    color: var(--reg-muted);
    background: transparent;
    border: 0;
    border-radius: 10px;
    cursor: pointer;
}

body[data-peso-page='jobseeker-register'] .registration-password-toggle:hover {
    color: var(--reg-brand);
    background: color-mix(in srgb, var(--reg-brand) 10%, transparent);
}

body[data-peso-page='jobseeker-register'] .password-strength {
    height: 4px;
    margin-top: 9px;
    overflow: hidden;
    background: var(--reg-line);
    border-radius: 999px;
}

body[data-peso-page='jobseeker-register'] .password-requirements {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px 10px;
    margin-top: 9px;
    padding: 11px !important;
    border: 1px solid var(--reg-line) !important;
    border-radius: 11px;
    list-style: none;
}

body[data-peso-page='jobseeker-register'] .password-requirements li {
    min-width: 0;
    color: var(--reg-muted);
    font-size: .63rem;
    line-height: 1.35;
}

body[data-peso-page='jobseeker-register'] .password-requirements li.valid,
body[data-peso-page='jobseeker-register'] .match-feedback.valid {
    color: var(--reg-brand) !important;
}

body[data-peso-page='jobseeker-register'] .password-requirements li.invalid,
body[data-peso-page='jobseeker-register'] .match-feedback.invalid {
    color: var(--reg-muted) !important;
}

body[data-peso-page='jobseeker-register'] .match-feedback {
    margin-top: 8px;
    font-size: .68rem;
    font-weight: 700;
}

body[data-peso-page='jobseeker-register'] .terms-box {
    padding: 18px;
    color: var(--reg-muted);
    background: var(--reg-field);
    border: 1px solid var(--reg-line);
    border-radius: 15px;
}

html body[data-peso-page='jobseeker-register'] .terms-copy {
    margin: 0 0 14px;
    color: var(--reg-muted) !important;
    font-size: .75rem;
    line-height: 1.6;
}

body[data-peso-page='jobseeker-register'] .terms-choice {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

body[data-peso-page='jobseeker-register'] .terms-choice input {
    width: 20px !important;
    height: 20px !important;
    min-height: 20px !important;
    flex: 0 0 auto;
    margin-top: 1px;
    accent-color: var(--reg-brand-strong);
    cursor: pointer;
}

html body[data-peso-page='jobseeker-register'] .terms-choice label {
    margin: 0;
    color: var(--reg-ink) !important;
    font-size: .75rem;
    font-weight: 600;
    line-height: 1.55;
    cursor: pointer;
}

body[data-peso-page='jobseeker-register'] .terms-choice a {
    color: var(--reg-brand) !important;
    font-weight: 800;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

body[data-peso-page='jobseeker-register'] .registration-submit-area {
    margin-top: 8px;
}

body[data-peso-page='jobseeker-register'] .registration-submit-area .btn-submit {
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 0 20px;
    color: #fff !important;
    background: linear-gradient(135deg, #087443, #0b9560) !important;
    border: 1px solid #087443;
    border-radius: 14px !important;
    box-shadow: 0 14px 28px rgba(8, 116, 67, .25) !important;
}

body[data-peso-page='jobseeker-register'] .registration-submit-area .btn-submit:hover {
    color: #fff !important;
    background: linear-gradient(135deg, #05683a, #087f4e) !important;
}

body[data-peso-page='jobseeker-register'] .registration-submit-area .btn-submit span {
    display: inline-flex;
    align-items: center;
    gap: 9px;
}

html body[data-peso-page='jobseeker-register'] .registration-submit-area > p {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin: 12px 0 0;
    color: var(--reg-muted) !important;
    font-size: .67rem;
    line-height: 1.45;
    text-align: center;
}

body[data-peso-page='jobseeker-register'] .registration-submit-area > p i {
    color: var(--reg-brand);
}

body[data-peso-page='jobseeker-register'] .login-link {
    margin-top: 24px;
    padding-top: 22px;
    color: var(--reg-muted) !important;
    border-top: 1px solid var(--reg-line);
    font-size: .75rem;
}

body[data-peso-page='jobseeker-register'] .login-link a {
    color: var(--reg-brand) !important;
    font-weight: 800;
}

body[data-peso-page='jobseeker-register'] .registration-success-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

body[data-peso-page='jobseeker-register'] :is(.registration-primary-link, .registration-secondary-link) {
    min-height: 46px;
    padding: 10px 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid var(--reg-line);
    border-radius: 12px;
    font-size: .75rem;
    font-weight: 800;
    text-decoration: none;
}

body[data-peso-page='jobseeker-register'] .registration-primary-link {
    color: #fff !important;
    background: var(--reg-brand-strong);
    border-color: var(--reg-brand-strong);
}

body[data-peso-page='jobseeker-register'] .registration-secondary-link {
    color: var(--reg-brand) !important;
    background: var(--reg-surface-soft);
}

@media (max-width: 800px) {
    body[data-peso-page='jobseeker-register'] .card-header {
        grid-template-columns: minmax(0, 1fr);
        min-height: 0;
    }

    html body[data-peso-page='jobseeker-register'] .card-header h1 { max-width: 14ch; }
    body[data-peso-page='jobseeker-register'] .registration-hero-benefits { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    body[data-peso-page='jobseeker-register'] .registration-hero-benefits span { align-items: flex-start; }
    body[data-peso-page='jobseeker-register'] .grid { grid-template-columns: minmax(0, 1fr) !important; }
    body[data-peso-page='jobseeker-register'] .grid .span-2 { grid-column: auto !important; }
}

@media (max-width: 620px) {
    body[data-peso-page='jobseeker-register'] > .page {
        width: min(calc(100% - 18px), 1080px) !important;
    }

    body[data-peso-page='jobseeker-register'] .card { border-radius: 22px !important; }
    body[data-peso-page='jobseeker-register'] .card-header { padding: 32px 22px !important; }
    html body[data-peso-page='jobseeker-register'] .card-header h1 { font-size: clamp(2.1rem, 11vw, 3rem) !important; }
    body[data-peso-page='jobseeker-register'] .registration-hero-benefits { grid-template-columns: minmax(0, 1fr); }
    body[data-peso-page='jobseeker-register'] .card-body { padding: 24px 18px !important; }
    body[data-peso-page='jobseeker-register'] .registration-intro { display: grid; gap: 14px; }
    body[data-peso-page='jobseeker-register'] .registration-time { width: max-content; }
    body[data-peso-page='jobseeker-register'] .registration-section-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); top: 8px; }
    body[data-peso-page='jobseeker-register'] .section { scroll-margin-top: 120px; padding: 17px !important; }
    body[data-peso-page='jobseeker-register'] .section-head { grid-template-columns: 28px 34px minmax(0, 1fr); }
    body[data-peso-page='jobseeker-register'] .section-number { width: 28px; height: 28px; }
    body[data-peso-page='jobseeker-register'] .section-head > i { width: 34px; height: 34px; }
    body[data-peso-page='jobseeker-register'] .password-requirements { grid-template-columns: minmax(0, 1fr); }
    body[data-peso-page='jobseeker-register'] .registration-success-actions { display: grid; grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 430px) {
    body[data-peso-page='jobseeker-register'] .registration-back span { font-size: 0; }
    body[data-peso-page='jobseeker-register'] .registration-back span::after { content: 'Home'; font-size: .78rem; }
    body[data-peso-page='jobseeker-register'] .registration-section-nav :is(a, button) { justify-content: flex-start; }
    html body[data-peso-page='jobseeker-register'] .section-title { font-size: .9rem; }
}

@media (prefers-reduced-motion: reduce) {
    body[data-peso-page='jobseeker-register'] {
        scroll-behavior: auto;
    }
}
