.sd-register-page {
    min-height: 100vh;
    min-height: 100dvh;
    padding: 34px clamp(18px, 4vw, 56px) 58px;
    color: #eef7f4;
    background:
        radial-gradient(circle at 50% 0%, rgba(67, 255, 190, 0.08), transparent 30%),
        linear-gradient(180deg, #242a30 0%, #1f252b 42%, #1b2026 100%);
}

body:has(.sd-register-page) {
    min-height: 100vh;
    min-height: 100dvh;
    background:
        radial-gradient(circle at 50% 0%, rgba(67, 255, 190, 0.08), transparent 30%),
        linear-gradient(180deg, #242a30 0%, #1f252b 42%, #1b2026 100%) !important;
}

.sd-register-page > .row,
.sd-register-page > div {
    width: min(1120px, 100%);
    margin-left: auto;
    margin-right: auto;
}

.sd-register-brand-row {
    margin-bottom: 8px;
}

.sd-register-brand {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    position: relative;
}

.sd-register-logo {
    width: 118px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 14px 24px rgba(0, 0, 0, 0.35));
}

.sd-register-brand-title {
    font-size: 26px;
    line-height: 1;
    font-weight: 900;
    color: #f6fbfa;
    text-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
}

.sd-register-brand-subtitle {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: rgba(179, 243, 220, .74);
}

.sd-register-page #btn-prev-step,
.sd-register-page #btn-next-step {
    position: static !important;
    width: 46px !important;
    height: 46px !important;
    min-width: 46px !important;
    min-height: 46px !important;
    padding: 0 !important;
    border-radius: 14px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #eafdf4 !important;
    background: linear-gradient(180deg, rgba(25,34,42,.98), rgba(13,18,24,.98)) !important;
    border: 1px solid rgba(164,255,210,.22) !important;
    box-shadow: 0 12px 28px rgba(0,0,0,.34) !important;
}

.sd-register-page #btn-prev-step:disabled,
.sd-register-page #btn-next-step:disabled {
    opacity: .78 !important;
}

.sd-register-page #btn-prev-step:not(:disabled) {
    cursor: pointer !important;
    color: #ffe9a6 !important;
    border-color: rgba(245, 194, 86, .62) !important;
    background: linear-gradient(180deg, rgba(54, 45, 25, .98), rgba(24, 22, 16, .98)) !important;
    box-shadow: 0 12px 28px rgba(0, 0, 0, .34), 0 0 0 1px rgba(245, 194, 86, .12) !important;
}

.sd-register-page #btn-next-step:not(:disabled) {
    cursor: pointer !important;
    color: #eafff5 !important;
    border-color: rgba(74, 255, 173, .78) !important;
    box-shadow: 0 12px 28px rgba(0, 0, 0, .34), 0 0 0 3px rgba(74, 255, 173, .18), 0 8px 24px rgba(74, 255, 173, .20) !important;
}

.sd-register-page #btn-prev-step:disabled {
    pointer-events: auto !important;
    cursor: not-allowed !important;
    color: rgba(255, 232, 171, .72) !important;
    border-color: rgba(245, 194, 86, .45) !important;
    background: linear-gradient(180deg, rgba(45, 39, 25, .72), rgba(18, 18, 14, .72)) !important;
}

.sd-register-page #btn-next-step:disabled {
    pointer-events: auto !important;
    cursor: not-allowed !important;
    color: rgba(203, 255, 231, .66) !important;
    border-color: rgba(74, 255, 173, .46) !important;
    background: linear-gradient(180deg, rgba(25, 39, 34, .74), rgba(13, 23, 20, .74)) !important;
}

.sd-register-page #registro-nav-right {
    position: static !important;
    flex: 0 0 auto;
    align-self: center;
    margin: 0 !important;
}

body:has(.sd-register-page) .dash-debug-menu {
    display: none !important;
}

body:has(.sd-register-page) .dash-debug-menu__outer {
    display: none !important;
}

.sd-register-topline {
    margin-top: 12px;
    margin-bottom: 22px;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 14px;
}

.sd-register-progress-shell {
    flex: 1 1 auto;
    min-width: 0;
    padding: 12px 14px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 16px;
    background: rgba(11, 16, 22, .28);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}

.sd-register-progress-label {
    margin-bottom: 8px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: rgba(234, 253, 244, .70);
}

.sd-register-progress {
    height: 7px !important;
    margin-bottom: 0 !important;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(255,255,255,.08);
}

.sd-register-progress .progress-bar {
    background: linear-gradient(90deg, #26d99a, #74f2c6);
    box-shadow: 0 0 18px rgba(74,255,173,.38);
}

.sd-register-step-card,
#step-1,
#step-2,
#step-3,
#step-5,
#step-6,
#step-g0,
#step-g1,
#step-g2,
#step-g3,
#step-c1,
#step-c2 {
    padding: clamp(18px, 2.2vw, 28px);
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 22px;
    background:
        linear-gradient(180deg, rgba(25, 33, 42, .84), rgba(13, 18, 24, .72));
    box-shadow: 0 24px 70px rgba(0,0,0,.28);
}

.sd-register-step-head {
    max-width: 760px;
    margin-bottom: 22px;
}

.sd-register-step-kicker {
    margin-bottom: 5px;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .09em;
    text-transform: uppercase;
    color: #73f1bf;
}

.sd-register-step-title {
    margin: 0;
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 900;
    color: #fff;
}

.sd-register-step-copy {
    max-width: 680px;
    margin: 9px 0 0;
    font-size: 14px;
    line-height: 1.5;
    color: rgba(231, 240, 237, .68);
}

.sd-register-choice-grid {
    align-items: stretch;
}

.sd-register-choice {
    min-height: 244px;
}

.sd-register-choice:hover {
    transform: translateY(-2px);
    border-color: rgba(112, 255, 192, .42) !important;
    box-shadow: 0 20px 48px rgba(0,0,0,.38), 0 0 0 1px rgba(112,255,192,.14) !important;
}

.sd-register-choice .card {
    height: 100%;
    color: #f4fbf8;
    background: transparent;
}

.sd-register-choice .card-body {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 18px;
}

.sd-register-choice-img {
    width: 136px;
    height: 136px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    align-self: center;
    border-radius: 50%;
    border: 1px solid rgba(126,255,200,.22);
    background: radial-gradient(circle, #ffffff 0%, #f5fffb 52%, #dff9ee 100%);
    box-shadow:
        0 18px 34px rgba(0,0,0,.28),
        0 0 0 8px rgba(95,255,184,.06),
        inset 0 1px 0 rgba(255,255,255,.85);
}

.sd-register-choice-text {
    flex: 1 1 auto;
}

.sd-register-choice-title {
    margin: 0 0 5px;
    font-size: 18px;
    font-weight: 900;
    color: #fff;
}

.sd-register-choice-copy {
    margin: 0;
    min-height: 38px;
    color: rgba(226,236,233,.66);
    font-size: 13px;
    line-height: 1.45;
}

.sd-register-choice-pill {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 11px;
    border-radius: 999px;
    border: 1px solid rgba(115, 241, 191, .26);
    color: #b9f8dc;
    background: rgba(115, 241, 191, .08);
    font-size: 12px;
    font-weight: 850;
}

.sd-register-help {
    display: inline-flex;
    margin-top: 10px;
    color: rgba(231,240,237,.64);
    font-size: 12px;
}

.sd-register-service-choice .sd-register-choice-img {
    width: 136px;
    height: 136px;
    aspect-ratio: 1 / 1;
}

.sd-register-page a {
    color: #9ff6cd;
    font-weight: 800;
    text-decoration-color: rgba(159, 246, 205, .55);
    text-underline-offset: 4px;
}

.sd-register-page a:hover {
    color: #d8ffec;
    text-decoration-color: rgba(216, 255, 236, .85);
}

.sd-register-summary {
    width: 100%;
}

.sd-register-summary-panel {
    padding: clamp(18px, 3vw, 28px);
    border: 1px solid rgba(112, 255, 192, .14);
    border-radius: 18px;
    background:
        linear-gradient(135deg, rgba(72, 255, 176, .08), transparent 34%),
        rgba(10, 16, 22, .54);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04), 0 24px 54px rgba(0, 0, 0, .18);
}

.sd-register-summary-top {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 16px;
}

.sd-register-summary-pillbox,
.sd-register-summary-item {
    min-width: 0;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 14px;
    background: rgba(255, 255, 255, .035);
}

.sd-register-summary-pillbox {
    padding: 13px 14px;
}

.sd-register-summary-chip {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    margin-top: 7px;
    padding: 0 12px;
    border: 1px solid rgba(82, 255, 176, .48);
    border-radius: 999px;
    color: #eafff5;
    background: rgba(48, 210, 138, .15);
    font-weight: 900;
}

.sd-register-summary-chip-alt {
    border-color: rgba(245, 194, 86, .48);
    color: #fff1bd;
    background: rgba(245, 194, 86, .12);
}

.sd-register-summary-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.sd-register-summary-item {
    padding: 13px 14px;
}

.sd-register-summary-wide {
    grid-column: 1 / -1;
}

.sd-register-summary-label {
    margin-bottom: 5px;
    color: rgba(184, 232, 214, .68);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.sd-register-summary-value {
    color: #f6fbfa;
    font-size: 15px;
    line-height: 1.45;
    font-weight: 760;
    overflow-wrap: anywhere;
}

.sd-register-summary-secret .sd-register-summary-value {
    color: #d8ffec;
    letter-spacing: .12em;
    font-family: Consolas, "Courier New", monospace;
}

.sd-recover-page > div {
    width: min(920px, 100%);
}

.sd-recover-card {
    max-width: 920px;
    margin-top: 12px;
}

.sd-recover-panel {
    display: grid;
    gap: 16px;
}

.sd-recover-field {
    display: grid;
    gap: 7px;
}

.sd-recover-label,
.sd-recover-section-title {
    color: rgba(206, 244, 229, .78);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.sd-recover-reset-box {
    padding: 16px;
    border: 1px solid rgba(112, 255, 192, .12);
    border-radius: 16px;
    background: rgba(255, 255, 255, .035);
}

.sd-recover-password-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 10px;
}

.sd-recover-code-grid {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 16px;
    margin-bottom: 18px;
}

.sd-recover-code-actions {
    margin-top: 8px;
}

.sd-register-page .sd-recover-code-box {
    width: 54px;
    height: 54px;
    padding: 0 !important;
    border-radius: 8px !important;
    text-align: center;
    font-size: 24px;
    font-weight: 900;
    color: #f7fffb !important;
    border-color: rgba(159, 246, 205, .34) !important;
    background: rgba(255, 255, 255, .045) !important;
}

.sd-register-page .sd-recover-code-box:focus {
    border-color: rgba(74, 255, 173, .82) !important;
    box-shadow: 0 0 0 .16rem rgba(74, 255, 173, .16) !important;
}

.sd-recover-note,
.sd-recover-result-note {
    margin-top: 10px;
    color: rgba(226, 236, 233, .62);
    font-size: 13px;
    line-height: 1.45;
}

.sd-recover-output {
    min-height: 0;
}

.sd-recover-alert {
    margin: 0;
    border-radius: 14px;
    border-color: rgba(245, 194, 86, .35);
    background: rgba(245, 194, 86, .12);
    color: #fff2c6;
}

.sd-recover-result {
    padding: 16px;
    border: 1px solid rgba(74, 255, 173, .24);
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(74, 255, 173, .10), rgba(255, 255, 255, .035));
}

.sd-recover-result-title {
    margin-bottom: 10px;
    color: #eafff5;
    font-size: 16px;
    font-weight: 900;
}

.sd-recover-result-list {
    display: grid;
    gap: 7px;
    color: #f6fbfa;
    font-size: 14px;
}

.sd-recover-result-list strong {
    color: rgba(184, 232, 214, .74);
}

.sd-recover-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 4px;
}

.sd-recover-submit {
    min-width: 220px;
    min-height: 42px;
    border-radius: 999px !important;
    font-weight: 900 !important;
}

.sd-recover-login-link {
    color: #9ff6cd !important;
    font-weight: 850 !important;
    text-decoration: none !important;
}

.sd-missing-page {
    align-items: center;
}

.sd-missing-page > div {
    width: min(1180px, 100%);
}

.sd-missing-page #missing-btn-prev,
.sd-missing-page #missing-btn-next {
    position: static !important;
    width: 46px !important;
    height: 46px !important;
    min-width: 46px !important;
    min-height: 46px !important;
    padding: 0 !important;
    border-radius: 14px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: linear-gradient(180deg, rgba(25,34,42,.98), rgba(13,18,24,.98)) !important;
    border: 1px solid rgba(164,255,210,.22) !important;
    color: #eafdf4 !important;
}

.sd-missing-page #missing-btn-prev:not(:disabled) {
    cursor: pointer !important;
    color: #ffe9a6 !important;
    border-color: rgba(245, 194, 86, .62) !important;
    background: linear-gradient(180deg, rgba(54, 45, 25, .98), rgba(24, 22, 16, .98)) !important;
}

.sd-missing-page #missing-btn-next:not(:disabled) {
    cursor: pointer !important;
    border-color: rgba(74, 255, 173, .78) !important;
    box-shadow: 0 0 0 3px rgba(74,255,173,.16), 0 8px 24px rgba(74,255,173,.16) !important;
}

.sd-missing-page #missing-btn-prev:disabled,
.sd-missing-page #missing-btn-next:disabled {
    pointer-events: auto !important;
    cursor: not-allowed !important;
    opacity: .74 !important;
}

.sd-missing-page #missing-nav-right {
    position: static !important;
    flex: 0 0 auto;
    align-self: center;
    margin: 0 !important;
}

.sd-missing-page #md-step-intro,
.sd-missing-page #md-step-grupo-home,
.sd-missing-page #md-step-perfil-datos,
.sd-missing-page #md-step-perfil-dir,
.sd-missing-page #md-step-seguridad,
.sd-missing-page #md-step-tutorial-zoom,
.sd-missing-page #md-step-select-fed,
.sd-missing-page #md-step-preferencias,
.sd-missing-page #md-step-preferencias-resumen,
.sd-missing-page #md-step-final {
    padding: clamp(18px, 3vw, 30px) 0 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.sd-missing-page #md-step-intro > div,
.sd-missing-page #md-step-grupo-home > div,
.sd-missing-page #md-step-perfil-datos > div,
.sd-missing-page #md-step-perfil-dir > div,
.sd-missing-page #md-step-seguridad > div,
.sd-missing-page #md-step-tutorial-zoom > div,
.sd-missing-page #md-step-select-fed > div,
.sd-missing-page #md-step-final > div {
    max-width: 100% !important;
}

.sd-missing-page h2,
.sd-missing-page h3,
.sd-missing-page h5 {
    color: #f7fbfa;
    font-weight: 900;
}

.sd-missing-page p,
.sd-missing-page small,
.sd-missing-page .text-muted {
    color: rgba(226,236,233,.66) !important;
}

.sd-missing-note {
    margin-top: 22px;
    padding: 18px 20px;
    border: 1px solid rgba(245, 194, 86, .34);
    border-radius: 16px;
    background:
        linear-gradient(135deg, rgba(245, 194, 86, .16), rgba(255, 255, 255, .035)),
        rgba(12, 18, 24, .38);
    text-align: left;
    box-shadow: 0 18px 42px rgba(0,0,0,.18);
}

.sd-missing-note-title {
    color: #fff1bd;
    font-weight: 900;
    margin-bottom: 5px;
}

.sd-missing-note-copy {
    color: rgba(255, 248, 221, .78);
    font-size: 14px;
    line-height: 1.45;
}

.sd-missing-intro-head {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    max-width: 860px;
}

.sd-missing-intro-head .sd-register-step-copy,
.sd-missing-about > .sd-register-step-copy {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.sd-missing-about {
    max-width: 1120px !important;
    margin: 0 auto;
    text-align: center;
}

.sd-missing-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 26px;
    text-align: left;
}

.sd-missing-feature {
    display: grid;
    grid-template-columns: 66px 1fr;
    gap: 14px;
    min-width: 0;
    min-height: 236px;
    padding: 18px;
    border: 1px solid rgba(112,255,192,.16);
    border-radius: 16px;
    background:
        linear-gradient(145deg, rgba(74, 255, 173, .075), transparent 48%),
        rgba(9, 15, 21, .50);
    box-shadow: 0 18px 44px rgba(0,0,0,.20), inset 0 1px 0 rgba(255,255,255,.04);
    transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.sd-missing-feature:hover {
    transform: translateY(-2px);
    border-color: rgba(112,255,192,.34);
    box-shadow: 0 22px 54px rgba(0,0,0,.24), 0 0 0 1px rgba(112,255,192,.10);
}

.sd-missing-feature-media {
    position: relative;
    width: 58px;
    height: 58px;
}

.sd-missing-feature-icon {
    width: 58px;
    height: 58px;
    padding: 10px;
    object-fit: contain;
    border: 1px solid rgba(112,255,192,.18);
    border-radius: 16px;
    background:
        radial-gradient(circle at 50% 20%, rgba(112,255,192,.18), transparent 62%),
        rgba(255,255,255,.055);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 12px 28px rgba(0,0,0,.22);
}

.sd-missing-feature-index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: -7px;
    bottom: -7px;
    flex: 0 0 25px;
    width: 25px;
    height: 25px;
    border-radius: 999px;
    color: #d8ffec;
    background: rgba(12, 21, 27, .96);
    border: 1px solid rgba(82,255,176,.48);
    font-weight: 900;
    font-size: 10px;
    box-shadow: 0 8px 18px rgba(0,0,0,.28);
}

.sd-missing-feature-kicker {
    margin-bottom: 5px;
    color: rgba(159,246,205,.72);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.sd-missing-feature h5 {
    margin: 0 0 8px;
    font-size: 20px;
}

.sd-missing-feature p {
    margin: 0;
    color: rgba(226,236,233,.70) !important;
    font-size: 14px;
    line-height: 1.5;
}

.sd-missing-feature-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 15px;
    align-items: center;
    min-height: 29px;
}

.sd-missing-feature-tags span {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 0 10px;
    border: 1px solid rgba(112,255,192,.16);
    border-radius: 999px;
    background: rgba(255,255,255,.055);
    color: rgba(234,255,245,.84);
    font-size: 12px;
    font-weight: 800;
}

.sd-missing-alpha-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 16px;
}

.sd-missing-alpha-stat {
    padding: 14px 16px;
    border: 1px solid rgba(112,255,192,.14);
    border-radius: 14px;
    background: rgba(255,255,255,.035);
    text-align: left;
}

.sd-missing-alpha-label {
    margin-bottom: 4px;
    color: rgba(184,232,214,.64);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.sd-missing-alpha-value {
    color: #f7fbfa;
    font-size: 16px;
    font-weight: 900;
}

.sd-missing-page .card {
    background: rgba(10, 16, 22, .46) !important;
    border-color: rgba(255,255,255,.08) !important;
    border-radius: 16px !important;
}

.sd-missing-page #svg-wrapper {
    border: 1px solid rgba(112,255,192,.14);
    background: rgba(10, 16, 22, .52) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.03), 0 18px 44px rgba(0,0,0,.20);
}

.sd-register-page h5 {
    color: #f7fbfa;
    font-weight: 850;
}

.sd-register-page .card {
    background: rgba(18, 24, 31, .72);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 18px;
    color: #eff8f5;
}

.sd-register-page .form-control,
.sd-register-page .form-select,
.sd-register-page textarea {
    background-color: #111820 !important;
    border-color: rgba(255,255,255,.13) !important;
    color: #f4fbf8 !important;
    border-radius: 12px !important;
    box-shadow: none !important;
}

.sd-register-page .form-control:focus,
.sd-register-page .form-select:focus,
.sd-register-page textarea:focus {
    border-color: rgba(84, 245, 179, .78) !important;
    box-shadow: 0 0 0 .18rem rgba(84, 245, 179, .12) !important;
}

.sd-register-page .text-muted {
    color: rgba(226,236,233,.62) !important;
}

.sd-register-page .btn-success {
    background: linear-gradient(180deg, #38db89 0%, #209f63 100%) !important;
    border-color: rgba(190,255,225,.22) !important;
}

.sd-register-page .btn-secondary {
    background: linear-gradient(180deg, #303943 0%, #182028 100%) !important;
    border-color: rgba(255,255,255,.13) !important;
}

@media (max-width: 768px) {
    .sd-register-page {
        padding: 22px 14px 42px;
    }

    .sd-register-topline {
        padding-right: 0;
        padding-bottom: 0;
        align-items: stretch;
        flex-direction: column;
    }

    #registro-nav-right {
        justify-content: flex-end;
        width: 100%;
    }

    .sd-register-logo {
        width: 72px;
        height: auto;
    }

    .sd-register-summary-top,
    .sd-register-summary-grid {
        grid-template-columns: 1fr;
    }

    .sd-recover-password-grid {
        grid-template-columns: 1fr;
    }

    .sd-recover-code-grid {
        gap: 8px;
    }

    .sd-register-page .sd-recover-code-box {
        width: 42px;
        height: 46px;
        font-size: 20px;
    }

    .sd-missing-feature-grid {
        grid-template-columns: 1fr;
    }
}
