.ee-registration-page {
    --ee-navy: #23364a;
    --ee-blue: #1677aa;
    --ee-coral: #df856f;
    --ee-ink: #1e2f42;
    --ee-muted: #657a8e;
    --ee-paper: #f7fafc;
    color: var(--ee-ink);
    font-family: inherit;
    isolation: isolate;
}

.ee-registration-page *,
.ee-registration-page *::before,
.ee-registration-page *::after { box-sizing: border-box; }

.ee-registration-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(64px, 9vw, 120px) 24px 76px;
    background: linear-gradient(135deg, #eaf6fb 0%, #fbf4f0 100%);
}

.ee-registration-hero__inner,
.ee-registration-content,
.ee-login-layout {
    position: relative;
    z-index: 1;
    width: min(1160px, 100%);
    margin: 0 auto;
}

.ee-registration-eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    color: var(--ee-blue);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.ee-registration-hero h1,
.ee-login-story h1,
.ee-login-card h1 {
    max-width: 760px;
    margin: 0;
    color: var(--ee-ink);
    font-size: clamp(38px, 6vw, 74px);
    font-weight: 800;
    letter-spacing: -.06em;
    line-height: .98;
}

.ee-registration-hero p {
    max-width: 700px;
    margin: 28px 0 0;
    color: var(--ee-muted);
    font-size: clamp(17px, 2vw, 21px);
    line-height: 1.65;
}

.ee-registration-orbit {
    position: absolute;
    border: 1px solid rgba(22, 119, 170, .18);
    border-radius: 50%;
    pointer-events: none;
}

.ee-registration-orbit--one { width: 360px; height: 360px; top: -170px; right: 8%; }
.ee-registration-orbit--two { width: 220px; height: 220px; bottom: -140px; left: 10%; border-color: rgba(223, 133, 111, .22); }

.ee-registration-content {
    padding: 56px 24px 82px;
}

.ee-registration-engine {
    padding: clamp(20px, 4vw, 44px);
    border: 1px solid rgba(41, 73, 96, .12);
    border-radius: 28px;
    background: rgba(255, 255, 255, .84);
    box-shadow: 0 24px 70px rgba(36, 58, 77, .10);
}

.ee-registration-engine .pmpro.pmpro-levels,
.ee-registration-engine #pmpro_levels,
.ee-registration-engine .pmpro_levels { margin: 0; }

.ee-registration-engine .pmpro_checkout,
.ee-registration-engine .pmpro_level { border-radius: 18px; }

.ee-registration-button,
.ee-registration-engine .pmpro_btn,
.ee-registration-engine input[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 24px;
    border: 0;
    border-radius: 999px;
    background: var(--ee-blue);
    color: #fff !important;
    font-weight: 800;
    text-decoration: none !important;
    transition: transform .2s ease, box-shadow .2s ease;
}

.ee-registration-button:hover,
.ee-registration-engine .pmpro_btn:hover,
.ee-registration-engine input[type="submit"]:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(22, 119, 170, .22); }

.ee-registration-note { margin: 22px 0 0; color: var(--ee-muted); font-size: 14px; line-height: 1.6; }
.ee-registration-note a { color: var(--ee-blue); font-weight: 700; }

/* Registro visual: conserva el flujo de la pantalla local y entrega la selección a PMPro. */
.ee-registration-page-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(68px, 9vw, 118px) 24px 76px;
    background:
        radial-gradient(circle at 92% 18%, rgba(223, 133, 111, .14), transparent 24%),
        radial-gradient(circle at 8% 78%, rgba(22, 119, 170, .12), transparent 28%),
        linear-gradient(135deg, #eef8fb 0%, #fffaf7 58%, #eef4f6 100%);
}

.ee-registration-page-hero__inner {
    position: relative;
    z-index: 1;
    width: min(1160px, 100%);
    margin: 0 auto;
}

.ee-registration-page-hero h1 {
    max-width: 760px;
    margin: 0;
    color: var(--ee-ink);
    font-size: clamp(38px, 6vw, 74px);
    font-weight: 800;
    letter-spacing: -.06em;
    line-height: .98;
}

.ee-registration-page-hero p {
    max-width: 700px;
    margin: 28px 0 0;
    color: var(--ee-muted);
    font-size: clamp(17px, 2vw, 21px);
    line-height: 1.65;
}

.ee-registration-section {
    position: relative;
    overflow: hidden;
    padding: 76px 20px 120px;
    background:
        radial-gradient(circle at 8% 80%, rgba(22, 119, 170, .08), transparent 27%),
        #f8fbfc;
}

.ee-registration-shell {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(280px, .84fr) minmax(0, 1.16fr);
    width: min(1160px, 100%);
    margin: 0 auto;
    overflow: hidden;
    border: 1px solid rgba(173, 197, 202, .72);
    border-radius: 30px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 28px 80px rgba(37, 69, 82, .16);
}

.ee-registration-summary {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 650px;
    padding: clamp(34px, 5vw, 60px);
    overflow: hidden;
    background: linear-gradient(145deg, #173e55 0%, #176d9c 58%, #4c9aa1 100%);
}

.ee-registration-summary::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: -150px;
    right: -130px;
    width: 390px;
    height: 390px;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 50%;
    box-shadow: 0 0 0 28px rgba(255, 255, 255, .045), 0 0 0 68px rgba(255, 255, 255, .03);
}

.ee-registration-summary::after {
    content: "EXAMEN ELITE";
    position: absolute;
    right: 28px;
    bottom: 28px;
    color: rgba(255, 255, 255, .16);
    font-size: 11px;
    font-weight: 850;
    letter-spacing: .18em;
}

.ee-registration-summary .ee-registration-eyebrow,
.ee-registration-form-card .ee-registration-eyebrow { color: #8fe7dc; }

.ee-registration-summary h2 {
    max-width: 8ch;
    margin: 10px 0 18px;
    color: #fff;
    font-size: clamp(38px, 4.4vw, 60px);
    line-height: .98;
    letter-spacing: -.055em;
}

.ee-registration-summary > p {
    max-width: 31ch;
    margin: 0;
    color: rgba(235, 248, 248, .82);
    font-size: 16px;
    line-height: 1.65;
}

.ee-registration-course {
    margin-top: 30px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 17px;
    background: rgba(255, 255, 255, .09);
    backdrop-filter: blur(8px);
}

.ee-registration-course > span { color: #a9eee5; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.ee-registration-course h3 { margin: 9px 0 5px; color: #fff; font-size: 22px; }
.ee-registration-course ul { display: grid; gap: 7px; margin: 18px 0 0; padding: 0; color: rgba(255, 255, 255, .88); font-size: 12px; line-height: 1.45; list-style: none; }
.ee-registration-course li::before { content: "✓"; margin-right: 8px; color: #baf3ec; font-weight: 900; }

.ee-registration-form-card {
    padding: clamp(34px, 5vw, 62px);
    background: rgba(255, 255, 255, .96);
}

.ee-registration-form-card h2 {
    margin: 10px 0 8px;
    color: var(--ee-ink);
    font-size: clamp(32px, 3.2vw, 46px);
    letter-spacing: -.045em;
}

.ee-registration-form-intro { max-width: 48ch; margin: 0; color: var(--ee-muted); line-height: 1.6; }
.ee-registration-steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 28px 0 10px; }
.ee-registration-step { display: flex; align-items: center; gap: 9px; padding: 11px 12px; border: 1px solid #d9e6e8; border-radius: 12px; color: #82919b; background: #f7faf9; font-size: 13px; font-weight: 750; }
.ee-registration-step span { display: inline-grid; width: 26px; height: 26px; place-items: center; border-radius: 50%; color: #69808c; background: #e8f0f0; }
.ee-registration-step.is-active { border-color: #5ba5b0; color: #176d9c; background: #eef8f7; }
.ee-registration-step.is-active span { color: #fff; background: #176d9c; }

.ee-registration-form { margin-top: 22px; }
.ee-registration-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 14px; }
.ee-registration-field { display: grid; gap: 7px; margin: 0 0 15px; color: #53687a; font-size: 12px; font-weight: 750; }
.ee-registration-field--wide { grid-column: 1 / -1; }
.ee-registration-field input,
.ee-registration-field select { width: 100%; min-height: 49px; padding: 11px 14px; border: 1px solid #cbdde1; border-radius: 12px; outline: 0; background: #f8fbfb; color: var(--ee-ink); font: inherit; font-size: 15px; transition: border-color .2s ease, box-shadow .2s ease, background .2s ease; }
.ee-registration-field input:focus,
.ee-registration-field select:focus { border-color: #4d9bad; background: #fff; box-shadow: 0 0 0 4px rgba(77, 155, 173, .13); }
.ee-registration-optional { color: #91a0aa; font-weight: 500; }
.ee-registration-consent { display: flex; align-items: flex-start; gap: 10px; margin: 12px 0 22px; color: #687b89; font-size: 12px; line-height: 1.5; }
.ee-registration-consent input { flex: 0 0 auto; width: 17px; height: 17px; margin: 1px 0 0; accent-color: var(--ee-blue); }
.ee-registration-consent a { color: var(--ee-blue); font-weight: 800; }
.ee-registration-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 20px; }
.ee-registration-actions small { color: var(--ee-muted); font-size: 12px; }
.ee-registration-actions small a { color: var(--ee-blue); font-weight: 800; }
.ee-registration-payment-note { margin: 20px 0 0; padding: 15px 17px; border: 1px solid #d9e8eb; border-radius: 14px; color: #5f7484; background: #f4fafb; font-size: 12px; line-height: 1.6; }
.ee-registration-payment-note strong { color: var(--ee-ink); }
.ee-registration-payment-note,
.ee-registration-note { display: none !important; }
.ee-registration-error { margin: 16px 0; padding: 12px 14px; border: 1px solid #eab3a4; border-radius: 12px; color: #8c3e2e; background: #fff4f1; font-size: 13px; font-weight: 700; }

.ee-login-page {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 100vh;
    isolation: isolate;
    overflow: hidden;
    padding: clamp(48px, 8vw, 100px) 24px;
    background:
        radial-gradient(circle at 7% 18%, rgba(22, 119, 170, .13), transparent 26%),
        radial-gradient(circle at 93% 82%, rgba(223, 133, 111, .13), transparent 28%),
        linear-gradient(135deg, #edf8fc 0%, #fffaf7 54%, #f0f6f7 100%);
}
.ee-login-page::before,
.ee-login-page::after {
    content: "";
    position: absolute;
    z-index: -1;
    border: 1px solid rgba(22, 119, 170, .16);
    border-radius: 50%;
    pointer-events: none;
}
.ee-login-page::before {
    top: -220px;
    right: -55px;
    width: 440px;
    height: 440px;
    box-shadow: 0 0 0 22px rgba(22, 119, 170, .045), 0 0 0 58px rgba(22, 119, 170, .035);
}
.ee-login-page::after {
    bottom: -170px;
    left: -70px;
    width: 300px;
    height: 300px;
    border-color: rgba(223, 133, 111, .22);
    box-shadow: 0 0 0 18px rgba(223, 133, 111, .045), 0 0 0 45px rgba(223, 133, 111, .03);
}
.ee-login-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 460px); gap: clamp(30px, 8vw, 100px); align-items: center; }
.ee-login-layout::before,
.ee-login-layout::after {
    content: "";
    position: absolute;
    pointer-events: none;
}
.ee-login-layout::before {
    top: 7%;
    left: -34px;
    width: 104px;
    height: 104px;
    border: 1px solid rgba(22, 119, 170, .18);
    transform: rotate(45deg);
}
.ee-login-layout::after {
    right: 44%;
    bottom: 8%;
    width: 76px;
    height: 76px;
    border: 1px dashed rgba(223, 133, 111, .28);
    border-radius: 50%;
    transform: rotate(-18deg);
}
.ee-login-story p { max-width: 600px; margin: 28px 0; color: var(--ee-muted); font-size: 19px; line-height: 1.65; }
.ee-login-story ul { display: grid; gap: 12px; margin: 0; padding: 0; color: var(--ee-ink); list-style: none; font-weight: 700; }
.ee-login-story li::before { content: '✓'; display: inline-grid; width: 24px; height: 24px; margin-right: 10px; place-items: center; border-radius: 50%; background: #dff2fa; color: var(--ee-blue); }
.ee-login-card { padding: clamp(26px, 5vw, 46px); border: 1px solid rgba(41, 73, 96, .12); border-radius: 28px; background: rgba(255, 255, 255, .9); box-shadow: 0 24px 70px rgba(36, 58, 77, .12); }
.ee-login-card h2 { margin: 0 0 24px; color: var(--ee-ink); font-size: 32px; letter-spacing: -.04em; }
.ee-login-card form { display: grid; gap: 16px; }
.ee-login-card form p { margin: 0; }
.ee-login-card label { display: block; margin-bottom: 7px; color: var(--ee-ink); font-size: 14px; font-weight: 800; }
.ee-login-card input[type="text"],
.ee-login-card input[type="password"] { width: 100%; min-height: 48px; margin-top: 7px; padding: 11px 14px; border: 1px solid #bfd0db; border-radius: 12px; background: #fff; color: var(--ee-ink); }
.ee-login-card input:focus { outline: 3px solid rgba(22, 119, 170, .18); border-color: var(--ee-blue); }
.ee-login-card input[type="submit"] { width: 100%; min-height: 50px; border: 0; border-radius: 999px; background: var(--ee-blue); color: #fff; font-weight: 800; cursor: pointer; }
.ee-login-card .login-remember { display: flex; align-items: center; gap: 8px; color: var(--ee-muted); font-size: 13px; font-weight: 600; }
.ee-login-card .login-remember input { margin: 0; }
.ee-login-links { margin: 16px 0 0; text-align: center; font-size: 14px; }
.ee-login-links a { color: var(--ee-blue); font-weight: 700; }
.ee-registration-disabled { max-width: 720px; margin: 40px auto; padding: 20px 24px; border: 1px solid #e7c56a; border-radius: 16px; background: #fff8df; color: #654b00; }

@media (max-width: 760px) {
    .ee-registration-hero { padding: 58px 18px 58px; }
    .ee-registration-content { padding: 30px 14px 56px; }
    .ee-registration-engine { padding: 16px; border-radius: 20px; }
    .ee-registration-page-hero { padding: 58px 18px 58px; }
    .ee-registration-section { padding: 34px 14px 64px; }
    .ee-registration-shell { grid-template-columns: 1fr; border-radius: 22px; }
    .ee-registration-summary { min-height: 0; padding: 38px 28px; }
    .ee-registration-form-card { padding: 38px 28px 42px; }
    .ee-login-page { padding: 40px 14px 60px; }
    .ee-login-layout { grid-template-columns: 1fr; gap: 28px; }
    .ee-login-card { padding: 26px 20px; border-radius: 22px; }
}

@media (max-width: 520px) {
    .ee-registration-fields { grid-template-columns: 1fr; }
    .ee-registration-field--wide { grid-column: auto; }
    .ee-registration-steps { grid-template-columns: 1fr; }
    .ee-registration-actions .ee-registration-button { width: 100%; }
}
