/* ==========================================================
   SPOTTER — Registro público premium
   Complementa auth-premium.css
   ========================================================== */

body.auth-register .auth-premium {
    grid-template-columns: minmax(360px,.78fr) minmax(620px,1.22fr);
}

body.auth-register .auth-visual {
    position: sticky;
    top: 0;
    height: 100vh;
}

body.auth-register .auth-panel {
    min-height: 100vh;
    align-items: flex-start;
    padding-top: 54px;
    padding-bottom: 70px;
}

.register-shell {
    width: 100%;
    max-width: 760px;
}

.register-header {
    margin-bottom: 30px;
}

.register-header h2 {
    margin: 0;
    font-family: 'Inter',sans-serif;
    font-size: 38px;
    line-height: 1.06;
    font-weight: 800;
    letter-spacing: -.04em;
    color: #fff;
}

.register-header p {
    max-width: 610px;
    margin: 11px 0 0;
    color: #929a9f;
    font-size: 14px;
    line-height: 1.6;
}


/* ---------- Selector principal ---------- */

.register-type-switch {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 6px;
    margin-bottom: 30px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 16px;
    background: #191c1e;
}

.register-type-switch .auth-tab {
    min-height: 52px;
    border: 0;
    border-radius: 11px;
    background: transparent;
    color: #8f979c;
    cursor: pointer;
    font-family: inherit;
    font-size: 13px;
    font-weight: 750;
    transition: .18s ease;
}

.register-type-switch .auth-tab:hover {
    color: #fff;
}

.register-type-switch .auth-tab.active {
    background: #272b2e;
    color: #fff;
    box-shadow: 0 4px 18px rgba(0,0,0,.18);
}

.register-type-switch .auth-tab.active::after {
    content: "";
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-left: 9px;
    border-radius: 50%;
    background: #7ED321;
    box-shadow: 0 0 9px rgba(126,211,33,.65);
}


/* ---------- Secciones internas ---------- */

.register-form {
    display: block;
}

.register-form.hidden {
    display: none !important;
}

.register-section {
    margin-bottom: 18px;
    padding: 24px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 20px;
    background: rgba(27,30,32,.74);
}

.register-section__head {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    margin-bottom: 21px;
}

.register-section__num {
    flex: 0 0 auto;
    width: 31px;
    height: 31px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: rgba(126,211,33,.1);
    color: #7ED321;
    font-size: 11px;
    font-weight: 850;
}

.register-section__head strong {
    display: block;
    color: #fff;
    font-size: 14px;
}

.register-section__head span {
    display: block;
    margin-top: 3px;
    color: #7d868b;
    font-size: 11px;
    line-height: 1.45;
}


/* ---------- Campos ---------- */

body.auth-register .auth-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 13px;
}

body.auth-register .field {
    margin-bottom: 17px;
}

body.auth-register .field:last-child {
    margin-bottom: 0;
}

body.auth-register .field label {
    margin-bottom: 8px;
}

body.auth-register .field-hint {
    display: block;
    margin-top: 7px;
    color: #697176;
    font-size: 10.5px;
    line-height: 1.5;
}

body.auth-register .hidden {
    display: none !important;
}


/* ---------- Servicios profesional ---------- */

.register-service-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 11px;
}

.register-service-option {
    position: relative;
}

.register-service-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.register-service-option label {
    min-height: 112px;
    display: flex !important;
    flex-direction: column;
    justify-content: space-between;
    margin: 0 !important;
    padding: 17px;
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 15px;
    background: #171a1c;
    cursor: pointer;
    transition: .18s ease;
}

.register-service-option label:hover {
    border-color: rgba(255,255,255,.18);
    background: #1b1f21;
}

.register-service-option input:checked + label {
    border-color: rgba(126,211,33,.65);
    background:
        linear-gradient(145deg,rgba(126,211,33,.1),rgba(27,30,32,.75));
    box-shadow: inset 0 0 0 1px rgba(126,211,33,.12);
}

.register-service-icon {
    width: 37px;
    height: 37px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    background: rgba(255,255,255,.05);
    font-size: 18px;
}

.register-service-option input:checked + label .register-service-icon {
    background: rgba(126,211,33,.15);
}

.register-service-option strong {
    display: block;
    margin-top: 15px;
    color: #fff;
    font-size: 13px;
}

.register-service-option small {
    display: block;
    margin-top: 4px;
    color: #778086;
    font-size: 10px;
    line-height: 1.45;
}


/* ---------- Alumno: con profesional / independiente ---------- */

.register-student-mode {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.register-student-mode .auth-tab {
    min-height: 70px;
    padding: 12px 15px;
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 14px;
    background: #171a1c;
    color: #8e969b;
    cursor: pointer;
    font-family: inherit;
    font-size: 12px;
    font-weight: 700;
    text-align: left;
}

.register-student-mode .auth-tab.active {
    border-color: rgba(126,211,33,.55);
    background: rgba(126,211,33,.08);
    color: #fff;
}


/* ---------- Temas ---------- */

body.auth-register .theme-picker {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 10px;
}

body.auth-register .theme-option {
    min-height: 62px;
    padding: 11px;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 13px;
    background: #171a1c;
    color: #939b9f;
    cursor: pointer;
    transition: .18s ease;
}

body.auth-register .theme-option:hover {
    border-color: rgba(255,255,255,.17);
}

body.auth-register .theme-option.selected {
    border-color: rgba(126,211,33,.55);
    background: rgba(126,211,33,.07);
    color: #fff;
}

body.auth-register .theme-swatch {
    width: 24px;
    height: 24px;
    flex: 0 0 auto;
    border-radius: 8px;
    background: #7ED321;
}

body.auth-register .theme-option[data-theme-option="rose"] .theme-swatch {
    background: #FF4F8B;
}

body.auth-register .theme-option[data-theme-option="blue"] .theme-swatch {
    background: #3B82F6;
}


/* ---------- Terms ---------- */

body.auth-register .checkbox-field {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    margin: 0 0 18px;
}

body.auth-register .checkbox-field > input {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    margin: 2px 0 0;
    accent-color: #7ED321;
}

body.auth-register .checkbox-field > label {
    margin: 0;
    color: #818a8f;
    font-size: 11px;
    line-height: 1.55;
}


/* ---------- Submit ---------- */

.register-submit {
    width: 100%;
    min-height: 55px;
    border: 0;
    border-radius: 14px;
    background: #7ED321;
    color: #10140d;
    cursor: pointer;
    font-family: inherit;
    font-size: 14px;
    font-weight: 850;
    transition: transform .18s ease,box-shadow .18s ease;
}

.register-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 15px 35px rgba(126,211,33,.13);
}

.register-footer {
    margin: 26px 0 0;
    color: #858e93;
    font-size: 12px;
    text-align: center;
}

.register-footer a {
    color: #7ED321;
    font-weight: 750;
    text-decoration: none;
}


/* ---------- Trial badge ---------- */

.register-trial {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 24px;
    padding: 13px 14px;
    border: 1px solid rgba(126,211,33,.15);
    border-radius: 13px;
    background: rgba(126,211,33,.05);
}

.register-trial__dot {
    width: 9px;
    height: 9px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: #7ED321;
    box-shadow: 0 0 12px rgba(126,211,33,.55);
}

.register-trial strong {
    display: block;
    color: #dce2de;
    font-size: 11px;
}

.register-trial span {
    display: block;
    margin-top: 2px;
    color: #737c80;
    font-size: 10px;
}


/* ---------- Responsive ---------- */

@media (max-width: 1050px) {
    body.auth-register .auth-premium {
        grid-template-columns: 1fr;
    }

    body.auth-register .auth-visual {
        position: relative;
        height: auto;
        min-height: 370px;
    }

    body.auth-register .auth-visual__content {
        min-height: 370px;
    }

    body.auth-register .auth-panel {
        min-height: auto;
    }
}

@media (max-width: 650px) {
    body.auth-register .auth-visual {
        min-height: 285px;
    }

    body.auth-register .auth-visual__content {
        min-height: 285px;
    }

    body.auth-register .auth-panel {
        padding: 35px 16px 60px;
    }

    .register-header h2 {
        font-size: 30px;
    }

    .register-section {
        padding: 18px 15px;
        border-radius: 17px;
    }

    body.auth-register .auth-row-2,
    .register-service-grid {
        grid-template-columns: 1fr;
    }

    body.auth-register .theme-picker {
        grid-template-columns: 1fr;
    }

    .register-student-mode {
        grid-template-columns: 1fr;
    }
}
