/* ===== Registro 3 pasos (aislado) ===== */
.trt-reg {
    max-width: 720px;
    margin: 40px auto 0;
    padding: 0 16px 40px;
    font-size: 16px;
}

.trt-reg__back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: #111;
    margin-bottom: 12px;
}

.trt-reg__title {
    font-size: 34px;
    line-height: 1.2;
    font-weight: 800;
    margin: 8px 0 18px;
}

.trt-reg__steps {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 36px;
    counter-reset: step;
    padding: 0;
    margin: 0 0 20px;
}

.trt-reg__steps li {
    position: relative;
    text-align: center;
    flex: 0 0 auto;
}

.trt-reg__bullet {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid #cfcfcf;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    background: #fff;
    color: #777;
}

.trt-reg__label {
    display: block;
    color: #666;
    font-size: 13px;
    margin-top: 6px;
    line-height: 1.2;
    min-width: 150px;
}

.trt-reg__bar {
    position: absolute;
    top: 16px;
    left: 100%;
    width: 120px;
    height: 2px;
    background: #e5e5e5;
}

.trt-reg__steps li:last-child .trt-reg__bar {
    display: none;
}

.trt-reg__steps li.is-active .trt-reg__bullet {
    border-color: #111;
    color: #111;
}

.trt-reg__steps li.is-done .trt-reg__bullet {
    background: #111;
    color: #fff;
    border-color: #111;
}

.trt-reg__steps li.is-active .trt-reg__label,
.trt-reg__steps li.is-done .trt-reg__label {
    color: #111;
}

.trt-reg__intro {
    color: #444;
    margin-bottom: 16px;
}

.trt-reg__panel {
    display: none;
}

.trt-reg__panel.is-visible {
    display: block;
}

.trt-reg__field {
    position: relative;
    margin-bottom: 12px;
}

.trt-reg__input {
    width: 100%;
    height: 52px;
    border: 1px solid #d9d9d9;
    border-radius: 8px;
    padding: 0 14px;
    outline: none;
    transition: box-shadow .15s, border-color .15s;
    background: #fff;
}

.trt-reg__input:focus {
    border-color: #111;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, .08);
}

.trt-reg__error {
    display: block;
    color: #c62828;
    font-size: 13px;
    margin-top: 6px;
    min-height: 18px;
}

.trt-reg__hint {
    display: block;
    color: #777;
    font-size: 12px;
    margin-top: 6px;
}

.trt-reg__primary {
    height: 54px;
    border: 0;
    border-radius: 10px;
    background: #111;
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    width: 100%;
}

.trt-reg__primary:hover {
    filter: brightness(1.08);
}

.trt-reg__ghost {
    height: 54px;
    border-radius: 10px;
    border: 1px solid #d9d9d9;
    background: #fff;
    color: #111;
    font-weight: 700;
    padding: 0 18px;
    cursor: pointer;
}

.trt-reg__actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 8px;
}

.trt-reg__meta {
    display: flex;
    justify-content: flex-end;
    margin: 6px 0 0;
}

.trt-reg__link {
    border: 0;
    background: transparent;
    color: #111;
    text-decoration: underline;
    cursor: pointer;
}

.trt-reg__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

@media (max-width:600px) {
    .trt-reg__grid {
        grid-template-columns: 1fr;
    }
}

.trt-reg__field--password .trt-reg__toggle {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    height: 36px;
    min-width: 36px;
    border: 0;
    background: transparent;
    cursor: pointer;
    color: #666;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.trt-reg__field--password .trt-reg__toggle:hover {
    color: #111;
}

.trt-auth__divider {
    height: 1px;
    background: #eee;
    margin: 28px 0 18px;
}

.trt-reg__alt {
    text-align: center;
}

.trt-reg__alt-q {
    font-weight: 600;
    margin-bottom: 12px;
}

.trt-reg__id-q {
    color: #666;
    margin-top: 14px;
    font-size: 14px;
}


.trt-auth__register-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    max-width: 560px;
    height: 52px;
    border-radius: 10px;
    border: 1px solid #d9d9d9;
    background: #fff;
    color: #111;
    text-decoration: none;
    font-weight: 700;
}

.trt-auth__register-btn:hover {
    background: #f7f7f7;
}

.trt-reg__id-link {
    color: #111;
    text-decoration: underline;
}

@media (max-width:480px) {
    .trt-reg {
        margin-top: 24px;
    }

    .trt-reg__title {
        font-size: 28px;
    }

    .trt-reg__steps {
        gap: 18px;
    }

    .trt-reg__bar {
        width: 80px;
    }
}

/* Forzar que el campo de email ocupe todo el ancho del contenedor */
.trt-reg .trt-reg__panel,
.trt-reg .trt-reg__field {
    width: 100%;
    max-width: 100% !important;
    /* pisa max-width heredados del tema */
}

.trt-reg .trt-reg__input {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
    /* por si el tema usa content-box */
}

/* (opcional) iguala el borde del input al botón de abajo */
.trt-reg .trt-reg__input {
    border-radius: 10px;
}

/* Segmentado Cliente privado / Empresa */
.trt-seg {
    display: flex;
    gap: 0;
    margin: 6px 0 12px;
}

.trt-seg__btn {
    flex: 1 1 50%;
    height: 44px;
    border: 1px solid #cfcfcf;
    background: #fff;
    cursor: pointer;
    font-weight: 600;
    border-radius: 10px 0 0 10px;
}

.trt-seg__btn+.trt-seg__btn {
    border-left: 0;
    border-radius: 0 10px 10px 0;
}

.trt-seg__btn.is-active {
    border-color: #111;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, .05) inset;
}

/* Radios saludo */
.trt-radio {
    border: 0;
    padding: 0;
    margin: 8px 0 10px;
}

.trt-radio legend {
    font-weight: 600;
    font-size: 14px;
    margin: 8px 0;
}

.trt-radio label {
    margin-right: 16px;
}

/* Date input = altura igual que los otros */
input[type="date"].trt-reg__input {
    padding: 0 12px;
}

/* Marketing block (solo privado) */
.trt-marketing {
    margin-top: 14px;
    padding: 14px;
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    background: #f9f9f9;
}

.trt-marketing h4 {
    margin: 0 0 10px;
    font-size: 16px;
}

.trt-check {
    display: block;
    margin: 10px 0 4px;
}

.trt-check input {
    margin-right: 8px;
}

.trt-help {
    color: #666;
    font-size: 13px;
    margin: 0 0 8px;
}

.trt-legal {
    color: #666;
    font-size: 12px;
    margin-top: 10px;
}

.js-upper {
    text-transform: uppercase;
}