﻿* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --azul: #065EA6;
    --azul-borde: #065EA633;
    --texto: #231F20;
    --gris: #9E9FA1;
    --gris-input: #616166;
    --gris-input-juridica: #444343;
    --blanco: #FFFFFF;
    --sombra: 0px 0px 15px 0px #00000040;
    --sombra-suave: 0px 8px 7px 0px #065EA70D;
    --sombra-activa: 4px 4px 4px 0px #FDB81340;
    --amarillo: #FDB813;
    --fondo: #f4f7fb;
}

.required {
    color: red;
}

.disable-pointer {
    pointer-events: none;
}

button:focus {
    outline: none;
}

body {
    font-family: "Red Hat Display", sans-serif;
    min-height: 100vh;
    color: var(--texto);
}

.page {
    width: 100%;
    max-width: 1280px;
    background: #eef3f7;
    border: 1px solid #d8dde3;
    border-radius: 8px;
    padding: 28px 32px 36px;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
}

.topbar {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e3e7ec;
    margin-bottom: 26px;
}

.brand-circle {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, #003c74, #0a72c7);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 800;
    font-size: 14px;
}

.topbar-text {
    color: #1697e6;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.2;
}

.main-box {
    width: 100%;
    margin: 12px auto;
    display: flex;
    flex-direction: column;
    gap: 11px;
    padding: 0 0 18px;
    background: transparent;
    padding: 5px;
}

.main-title {
    width: auto;
    min-height: 32px;
    text-align: center;
    font-size: 15px;
    font-weight: 600;
    line-height: 32px;
    color: var(--azul);
    padding-top: 10px;
}

.person-type-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
}

.person-type-tabs {
    width: 267.63px;
    min-height: 60px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.person-tab {
    border: none;
    cursor: pointer;
    font-family: inherit;
    transition: .2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

    .person-tab.active {
        width: 152.37px;
        height: 60px;
        padding: 8.68px 26.05px 15.79px;
        background: #FFFFFF;
        border-radius: 6.32px;
        box-shadow: var(--sombra);
        z-index: 2;
    }

    .person-tab.inactive {
        width: 116.84px;
        height: 52.11px;
        margin-left: -2px;
        margin-bottom: 0;
        border-radius: 6.32px;
        border: 0.39px solid #E6E6E6;
        background: #FFFFFF;
        color: #8b8b8b;
        z-index: 1;
    }

.icon-person-big {
    width: 35.53px;
    height: 35.53px;
    position: relative;
    flex-shrink: 0;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.person-tab-label {
    position: relative;
    display: inline-block;
    min-width: 47px;
    text-align: center;
    font-family: "Red Hat Display", sans-serif;
    font-weight: 500;
    font-size: 12.63px;
    line-height: 18.95px;
    color: #616166;
    transition: all 0.2s ease;
}

.person-tab.active .person-tab-label {
    font-size: 15.79px;
    color: var(--azul);
}

    .person-tab.active .person-tab-label::after {
        content: "";
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        bottom: -6px;
        width: 52.26px;
        border-bottom: 3.16px solid #FDB813;
    }

.person-tab.inactive .icon-person-big {
    width: 23.14px;
    height: 19.74px;
    opacity: 0.7; 
}

.person-tab.active .icon-natural {
    background-image: url('../../../img/register-pages-fp/ui/person-natural.png');
}

.person-tab.inactive .icon-natural {
    background-image: url('../../../img/register-pages-fp/ui/person-natural-disable.png');
}

.person-tab.active .icon-juridica {
    background-image: url('../../../img/register-pages-fp/ui/person-juridica.png');
}

.person-tab.inactive .icon-juridica {
    background-image: url('../../../img/register-pages-fp/ui/person-juridica-disable.png');
}

.content-card {
    width: 100%;
    background: #FFFFFF;
    border-radius: 16px;
    padding: 26px 28px;
    box-shadow: var(--sombra);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 17px;
    position: relative;
    z-index: 2;
    margin-top: -8px;
}

.access-tabs {
    width: auto;
    max-width: 100%;
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.access-tab {
    width: 203px;
    height: 39px;
    border-radius: 24px;
    border: 1px solid var(--azul-borde);
    padding: 8px 21px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #FFFFFF;
    box-shadow: var(--sombra-suave);
    font-family: inherit;
    cursor: pointer;
    color: var(--gris);
    transition: .2s ease;
    text-transform: none;
}

    .access-tab.active {
        box-shadow: var(--sombra-activa);
        color: var(--texto);
    }
        .access-tab.active .icon-small.check-regis {
            background-image: url('../../../img/register-pages-fp/ui/register-user.png');
        }
        .access-tab.active .icon-small.userplus {
            background-image: url('../../../img/register-pages-fp/ui/register-now.svg');
        }

.icon-small {
    width: 22px;
    height: 22px;
    position: relative;
    flex-shrink: 0;

    background-size: 100%; 
    background-position: center;
    background-repeat: no-repeat;
}
    .icon-small.check-regis {
        background-image: url('../../../img/register-pages-fp/ui/register-user-disable.svg');
    }
    .icon-small.userplus {
        background-image: url('../../../img/register-pages-fp/ui/register-now-disable.png');
    }

.access-tab span {
    font-size: 13.3px;
    font-weight: 500;
    line-height: 32px;
    white-space: nowrap;
}

.form-block {
    width: auto;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

    .form-block label {
        width: auto;
        text-align: center;
        font-size: 14px;
        font-weight: 400;
        line-height: 24px;
        color: var(--azul);
    }

    .form-block input {
        width: 271px;
        height: 30px;
        border-radius: 8px;
        border: 0.8px solid var(--azul);
        outline: none;
        text-align: center;
        font-family: Red Hat Display;
        font-size: 12px;
        font-weight: 300;
        color: #231F20;
        padding: 0 14px;
    }

        .form-block input::placeholder {
            color: var(--gris-input);
            text-align: center;
        }

.form-block-juridica {
    width: auto;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.field {
    display: flex;
    flex-direction: column;
    align-items: center;
}

    .form-block-juridica label {
        width: auto;
        text-align: center;
        font-size: 14px;
        font-weight: 400;
        line-height: 24px;
        color: var(--azul);
    }

    .form-block-juridica input {
        width: 271px;
        height: 30px;
        border-radius: 8px;
        border: 0.8px solid var(--azul);
        outline: none;
        text-align: center;
        font-family: Red Hat Display;
        font-size: 12px;
        font-weight: 300;
        color: #231F20;
        padding: 0 14px;
    }

        .form-block-juridica input::placeholder {
            color: var(--gris-input-juridica);
            text-align: center;
        }

.hidden {
    display: none !important;
}

.actions {
    width: auto;
    max-width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 6px;
}

.person-tab {
    width: 236px;
    height: 38px;
    border-radius: 24px;
    font-family: inherit;
    font-size: 14px;
    line-height: 24px;
    text-align: center;
    cursor: pointer;
    transition: .2s ease;
    text-transform: none;
}

.btn-fp {
    width: 221.25px;
    height: 35.63px;
    border-radius: 22.5px;
    font-family: inherit;
    font-size: 14px;
    line-height: 22.5px;
    text-align: center;
    cursor: pointer;
    transition: .2s ease;
    text-transform: none;
}

.btn-outline-fp {
    border: 0.94px solid var(--azul);
    background: #FFFFFF;
    color: var(--azul);
    font-weight: 600;
    font-size: 13.13px;
}

.btn-solid-fp-disabled {
    border: none;
    background: #BBBDC0;
    color: #FFFFFF;
    font-weight: 700;
    cursor: not-allowed; 
}

.btn-solid-fp-active {
    background: #FDB813;
    color: #FFFFFF;
    cursor: pointer;
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
}

.btn:hover:not(:disabled) {
    transform: translateY(-1px);
}

.footer-brand {
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    color: #6f7a84;
    font-size: 12px;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ach-logo {
    width: 74px;
    height: 30px;
    border-radius: 4px;
    border: 1px dashed #8cb8de;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--azul);
    font-weight: 800;
}

/*REGISTER NATURAL*/
.register-natural {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.register-process {
    width: calc(100% + 60px);
    margin-left: -30px;
    margin-right: -30px;
    /*height: 62px;*/
    height: auto;
    border-top-right-radius: 16px;
    border-bottom-right-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .register-process img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

.register-natural-form {
    width: 100%;
    max-width: 298px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.register-note {
    font-family: "Red Hat Display", sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 24px;
    vertical-align: bottom;
    color: var(--azul);
}

    .register-note .required {
        color: #FF3B30;
    }

.register-natural .field {
    width: 100%;
    max-width: 270px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

    .register-natural .field label {
        width: 100%;
        display: flex;
        align-items: center;
        gap: 6px;
        font-family: "Red Hat Display", sans-serif;
        font-weight: 600;
        font-size: 13px;
        line-height: 100%;
        letter-spacing: 1%;
        color: var(--azul);
    }

    .register-natural .field .required {
        color: #FF3B30;
    }

.field-tooltip {
    width: 16px;
    height: 16px;
    object-fit: contain;
}

.register-natural .field input,
.register-natural .field select {
    width: 100%;
    height: 30px;
    border-radius: 8px;
    border: 1px solid var(--azul);
    background: #FFFFFF;
    padding-left: 12px;
    padding-right: 12px;
    font-family: "Red Hat Display", sans-serif;
    font-weight: 400;
    font-size: 12px;
    line-height: 100%;
    color: #231F20;
    outline: none;
    letter-spacing: 0px;
}

    .register-natural .field input::placeholder,
    .register-natural .field select,
    .register-natural .field select option[value=""] {
        color: #B1B1B1;
    }

.field-select-wrapper {
    position: relative;
    width: 100%;
}

    .field-select-wrapper select,
    .field-select-wrapper input {
        appearance: none;
        -webkit-appearance: none;
        -moz-appearance: none;
        width: 100%;
    }

.field-arrow {
    position: absolute;
    right: 12px;
    top: 50%;
    width: 20px;
    height: 20px;
    transform: translateY(-50%);
    pointer-events: none;
}

.register-checkboxes {
    width: 100%;
    max-width: 298px;
    min-height: 112px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.checkbox-row {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    cursor: pointer;
    position: relative;
}

    .checkbox-row input[type="checkbox"] {
        position: absolute;
        opacity: 0;
        pointer-events: none;
    }

.checkbox-custom {
    width: 17px;
    height: 17px;
    margin-top: 3px;
    border-radius: 2px;
    border: 1px solid var(--azul);
    background: #FFFFFF;
    flex-shrink: 0;
    position: relative;
    box-sizing: border-box;
}

.checkbox-text {
    font-family: "Red Hat Display", sans-serif;
    font-weight: 400;
    font-size: 11px;
    line-height: 24px;
    letter-spacing: -0.3px;
    color: var(--azul);
}

    .checkbox-row a {
        color: var(--azul);
        text-decoration: underline;
    }

/* estado seleccionado */
.checkbox-row input[type="checkbox"]:checked + .checkbox-custom {
    background: var(--azul);
    border-color: var(--azul);
}

    /* check blanco */
    .checkbox-row input[type="checkbox"]:checked + .checkbox-custom::after {
        content: "";
        position: absolute;
        left: 5px;
        top: 1px;
        width: 4px;
        height: 8px;
        border: solid #FFFFFF;
        border-width: 0 2px 2px 0;
        transform: rotate(45deg);
    }

.checkbox-row input[type="checkbox"]:focus + .checkbox-custom {
    box-shadow: 0 0 0 2px rgba(6, 94, 166, 0.15);
}

.person-type-tabs.register-mode .person-tab.inactive {
    display: none;
}

.person-type-tabs.register-mode .person-tab.active {
    margin: 0 auto;
}

/* BOTONES FLUJO REGISTRO */
.register-actions {
    width: auto;
    max-width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 6px;
}

    .register-actions .btn-fp {
        width: 236px;
        height: 38px;
        border-radius: 24px;
        font-family: "Red Hat Display", sans-serif;
        font-size: 14px;
        line-height: 24px;
        text-align: center;
        text-transform: none;
    }

    .register-actions .btn-solid-fp-disabled {
        border: none;
        background: #BBBDC0;
        color: #FFFFFF;
        font-weight: 800;
        font-size: 14px;
        line-height: 24px;
        cursor: not-allowed;
    }

    .register-actions .btn-solid-fp-active {
        border: none;
        background: #FDB813;
        color: #FFFFFF;
        font-weight: 800;
        font-size: 14px;
        line-height: 24px;
        cursor: pointer;
        outline: none !important;
        box-shadow: none !important;
    }

    .register-actions .btn-outline-fp,
    .register-actions .btn-back-register {
        border: 1px solid #065EA6;
        background: #FFFFFF;
        color: #065EA6;
        font-weight: 600;
        font-size: 14px;
        line-height: 24px;
    }

/*FIN REGISTER NATURAL*/

/* REGISTRER JURIDICA*/
.register-juridica {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.register-juridica-form {
    width: 100%;
    max-width: 298px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.register-juridica .field {
    width: 100%;
    max-width: 270px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

    .register-juridica .field label {
        width: 100%;
        display: flex;
        align-items: center;
        gap: 6px;
        font-family: "Red Hat Display", sans-serif;
        font-weight: 600;
        font-size: 13px;
        line-height: 100%;
        letter-spacing: 1%;
        color: var(--azul);
    }

    .register-juridica .field .required {
        color: #FF3B30;
    }

    .register-juridica .field input,
    .register-juridica .field select {
        width: 100%;
        height: 36px;
        border-radius: 8px;
        border: 1px solid var(--azul);
        background: #FFFFFF;
        padding-left: 12px;
        padding-right: 12px;
        font-family: "Red Hat Display", sans-serif;
        font-weight: 400;
        font-size: 12px;
        line-height: 100%;
        color: #231F20;
        outline: none;
        letter-spacing: 0px;
    }

        .register-juridica .field input::placeholder,
        .register-juridica .field select,
        .register-juridica .field select option[value=""] {
            color: #B1B1B1;
        }
/*FIN REGISTER JURIDICA*/

/*REGION MODAL CORREO NO EXISTENTE*/
.register-modal.hidden {
    display: none !important;
}

.register-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
}

.register-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 15, 15, 0.18);
}

.register-modal__card {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 335px;
    max-width: calc(100vw - 32px);
    min-height: 356px;
    transform: translate(-50%, -50%);
    border-radius: 16px;
    padding: 36px 20px;
    background: #FFFFFF;
    box-shadow: 0px 0px 15px 0px #00000040;
}

.register-modal__content {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.register-modal__header {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.register-modal__title-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.register-modal__hello {
    margin: 0;
    font-family: "Red Hat Display", sans-serif;
    font-weight: 700;
    font-size: 24px;
    line-height: 28px;
    color: #065EA6;
}

.register-modal__hello-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.register-modal__subtitle {
    margin: 0;
    font-family: "Red Hat Display", sans-serif;
    font-weight: 500;
    font-size: 20px;
    line-height: 28px;
    color: #231F20;
}

.register-modal__body {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.register-modal__message,
.register-modal__question {
    margin: 0;
    font-family: "Red Hat Display", sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 24px;
    color: #231F20;
}

.register-modal__highlight {
    color: #065EA6;
    font-weight: 700;
}

.register-modal__actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.register-modal__btn {
    width: 100%;
    height: 38px;
    border-radius: 24px;
    font-family: "Red Hat Display", sans-serif;
    font-size: 14px;
    line-height: 24px;
    text-align: center;
    cursor: pointer;
}

.register-modal__btn--primary {
    border: none;
    background: #065EA6;
    color: #FFFFFF;
    font-weight: 800;
}

.register-modal__btn--secondary {
    border: 1px solid #065EA6;
    background: #FFFFFF;
    color: #065EA6;
    font-weight: 600;
}
/*FIN REGION MODAL CORREO NO EXISTENTE*/

/*Modal otp registro fp*/
.register-otp-modal.hidden {
    display: none !important;
}

.register-otp-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
}

.register-otp-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 15, 15, 0.18);
}

.register-otp-modal__card {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 335px;
    max-width: calc(100vw - 32px);
    min-height: 448px;
    transform: translate(-50%, -50%);
    border-radius: 16px;
    padding: 24px 20px;
    background: #FFFFFF;
    box-shadow: 0px 0px 15px 0px #00000040;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.register-otp-modal__timer {
    width: 72px;
    height: 72px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.register-otp-modal__content {
    width: 100%;
    max-width: 297px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.register-otp-modal__message {
    margin: 0;
    font-family: "Red Hat Display", sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 160%;
    text-align: center;
    color: #3D3D3D;
}

.register-otp-modal__email {
    color: #065EA6;
    font-weight: 600;
}

.register-otp-modal__input-wrap {
    position: relative;
    width: 100%;
    height: 52px;
    border: 1px solid #065EA6;
    border-radius: 10px;
    background: #FFFFFF;
    display: flex;
    align-items: center;
    padding: 0 52px 0 16px;
}

.register-otp-modal__input {
    width: 100%;
    border: none;
    outline: none;
    background: transparent;
    font-family: "Red Hat Display", sans-serif;
    font-weight: 700;
    font-size: 22px;
    letter-spacing: 40px !important;
    color: #065EA6;
    text-align: left;
}

.register-otp-modal__toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-38%);
    width: 40px;
    height: 26px;
    border: none;
    background: transparent;
    padding: 0;
    cursor: pointer;
}

    .register-otp-modal__toggle img {
        width: 100%;
        height: 100%;
        object-fit: cover; 
    }

.register-otp-modal__resend {
    width: fit-content;
    align-self: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: none;
    background: transparent;
    font-family: "Red Hat Display", sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 140%;
    text-align: center;
    text-decoration: underline;
    color: #BBBDC0;
    cursor: not-allowed;
    padding: 0;
}

    .register-otp-modal__resend img {
        width: 32px;
        height: 32px;
        display: block;
    }

    .register-otp-modal__resend.enabled {
        color: #065EA6;
        cursor: pointer;
    }

.register-otp-modal__actions {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.register-otp-modal__btn {
    width: 100%;
    height: 48px;
    border-radius: 30px;
    font-family: "Red Hat Display", sans-serif;
    font-weight: 700;
    font-size: 14px;
    line-height: 140%;
    text-align: center;
}

.register-otp-modal__btn--primary {
    border: none;
    background: #065EA6;
    color: #FFFFFF;
}

.register-otp-modal__btn--disabled {
    background: #8B8D99;
    color: #FFFFFF;
    cursor: not-allowed;
}

.register-otp-modal__btn--secondary {
    border: 2px solid #065EA6;
    background: #FFFFFF;
    color: #065EA6;
}

.register-otp-error {
    width: 100%;
    max-width: 266px;
    margin: 0 auto;
    font-family: "Red Hat Display", sans-serif;
    font-weight: 600;
    font-size: 14px;
    line-height: 160%;
    text-align: center;
    color: #FC5555;
}

.register-otp-modal__input-wrap.error {
    border: 1px solid #FF384B;
}

/*Fin Modal registro fp*/

.register-natural-loading,
.register-juridica-loading {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 320px;
}

.register-loading-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    text-align: center;
}

.register-loading-content p {
    font-family: "Red Hat Display", sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 160%;
    color: #065EA6;
    margin: 0;
}

.register-loading-content img {
    width: 56px;
    height: 56px;
    object-fit: contain;
}

/*modal info register*/
.register-info-modal.hidden {
    display: none !important;
}

.register-info-modal {
    position: fixed;
    inset: 0;
    z-index: 10020;
}

.register-info-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 15, 15, 0.18);
}

.register-info-modal__card {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 252px;
    max-width: calc(100vw - 32px);
    min-height: 340px;
    transform: translate(-50%, -50%);
    border-radius: 16px;
    background: #FFFFFF;
    box-shadow: 0px 0px 15px 0px #00000040;
    padding: 28px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.register-info-modal__content {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
    text-align: center;
}

.register-info-modal__icon {
    width: 46px;
    height: 46px;
    object-fit: contain;
}

.register-info-modal__message {
    margin: 0;
    font-family: "Red Hat Display", sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 160%;
    color: #065EA6;
}

.register-info-modal__btn {
    width: 167px;
    height: 38px;
    border: none;
    border-radius: 24px;
    background: #FDB813;
    color: #FFFFFF;
    font-family: "Red Hat Display", sans-serif;
    font-weight: 800;
    font-size: 14px;
    line-height: 24px;
    cursor: pointer;
}
/* fin modal info register*/

.loading-popupfp {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* fondo blanco suave como el original */
    background-color: rgba(255, 255, 255, 0.85);
    justify-content: center;
    align-items: center;
    z-index: 10030;
}

    .loading-popupfp .loading-contentfp {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        /* quitamos estilos innecesarios */
        background: transparent;
        box-shadow: none;
        border-radius: 0;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .loading-popupfp .loading-giffp {
        width: 150px;
        height: 150px;
        object-fit: contain;
    }

.register-document-modal.hidden {
    display: none !important;
}

.register-document-modal {
    position: fixed;
    inset: 0;
    z-index: 10040;
}

.register-document-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 15, 15, 0.18);
}

.register-document-modal__dialog {
    position: absolute;
    top: 50%;
    left: 50%;
    width: min(900px, calc(100vw - 32px));
    height: min(92vh, 760px);
    transform: translate(-50%, -50%);
    background: #FFFFFF;
    border-radius: 8px;
    box-shadow: 0px 0px 15px 0px #00000040;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.register-document-modal__header {
    flex-shrink: 0;
    border-bottom: 1px solid #E6E6E6;
    background: #FFFFFF;
}

.register-document-modal__header-inner {
    width: 100%;
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
}

.register-document-modal__logo-left img {
    height: 72px;
    width: auto;
    display: block;
}

.register-document-modal__logo-right img {
    max-height: 72px;
    width: auto;
    display: block;
}

.register-document-modal__body {
    flex: 1;
    min-height: 0;
    padding: 16px 16px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: #FFFFFF;
}

.register-document-modal__title {
    margin: 0;
    font-family: "Red Hat Display", sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 24px;
    color: #065EA6;
}

.register-document-modal__content {
    flex: 1;
    height: 420px;
    min-height: 0;
    overflow: hidden;
    border: 1px solid #D9D9D9;
    background: #FFFFFF;
}

    .register-document-modal__content iframe,
    .register-document-modal__content embed {
        width: 100%;
        height: 100%;
        display: block;
        border: 0;
    }

.register-document-modal__footer {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 24px 18px;
    background: #FFFFFF;
}

.register-document-modal__footer-left img {
    max-width: 120px;
    height: auto;
    display: block;
}

.register-document-modal__footer-right {
    margin-left: auto;
}

.register-document-modal__close-btn {
    width: 185px;
    height: 38px;
    border: none;
    border-radius: 24px;
    background: #FDB813;
    color: #FFFFFF;
    font-family: "Red Hat Display", sans-serif;
    font-weight: 800;
    font-size: 14px;
    line-height: 24px;
    cursor: pointer;
}

.field-error {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    color: #FF384B;
    font-family: 'Red Hat Display', sans-serif;
}

@media (min-width: 768px) {
    .page {
        padding: 20px;
    }
    
    .main-title {
        font-size: 22px;
    }

    .content-card {
        /*padding: 26px 28px;*/
        gap: 32px;
    }

    .access-tabs {
        gap: 50px;
    }

    .access-tab {
        width: 251px;
        height: 44px;
        gap: 10px;
    }

    .icon-small {
        width: 26px;
        height: 26px;
    }

    .access-tab span {
        font-size: 15px;
    }

    .form-block input {
        width: 461px;
        height: 30px;
        font-weight: 400;
        line-height: 24px;
    }

    .actions {
        flex-direction: row-reverse;
        gap: 60px;
    }

    .person-type-tabs {
        width: 276.22px;
        height: 76px;        
    }

    .person-tab.active {
        width: 157.26px;
        height: 76px;
        padding: 11px 10px 20px;
        border-radius: 8px;
        gap: 12px;
    }

    .icon-person-big {
        width: 45px;
        height: 45px;
    }

    .person-tab.active .person-tab-label {
        font-size: 20px;
        line-height: 100%;
    }

        .person-tab.active .person-tab-label::after {
            width: 66px;
            border-bottom: 4px solid #FDB813;
        }

    .person-tab.inactive {
        width: 120.59px;
        height: 66px;
        border-radius: 8px;
        border-width: 0.5px;
    }

        .person-tab.inactive .icon-person-big {
            width: 23.89px;
        }

    .person-tab-label {
        font-size: 16px;
        line-height: 24px;
    }

    .btn-fp {
        width: 236px;
        height: 38px;
        border-radius: 24px;
    }

    .btn-solid-fp-disabled {
        font-weight: 800;
        line-height: 24px;
    }

    .btn-outline-fp {
        font-size: 14px;
        line-height: 24px;
        border: 1px solid var(--azul);
    }

    .form-block-juridica {
        flex-direction: row-reverse; 
        justify-content: center;
        gap: 30px;
    }

        .form-block-juridica input::placeholder {
            text-align: start;
        }

    .field {
        align-items: flex-start;
    }

        .field label {
            text-align: left;
        }

    .form-block-juridica label {
        font-size: 13px;
        font-weight: 400;
        line-height: 24px;
    }

    .form-block-juridica input {
        font-size: 12.5px;
        font-weight: 300;
        color: #231F20;
        padding: 0 14px;
    }

    .register-natural {
        width: 100%;
        display: grid;
        grid-template-columns: 78px 1fr;
        align-items: stretch;
        gap: 12px;
    }

    .register-process {
        width: 78px;
        min-width: 78px;
        height: calc(100% + 52px); 
        margin-top: -26px; 
        margin-bottom: -26px;

        margin-left: -22px;
        margin-right: 0;
        border-top-left-radius: 16px;
        border-bottom-left-radius: 16px;
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
        overflow: hidden;
        align-self: stretch;
    }

        .register-process img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
            content: url('../../../img/register-pages-fp/ui/register-step-one-vertical.png');
        }

    .register-natural-form {
        width: 100%;
        max-width: none;
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        column-gap: 14px;
        row-gap: 12px;
        align-content: start;
    }

    .register-note {
        grid-column: 1 / -1;
        margin-bottom: 2px;
    }

    .register-natural .field {
        width: 100%;
        max-width: none;
        gap: 6px;
        align-items: flex-start;
    }


        .register-natural .field label {
            font-size: 12px;
            line-height: 14px;
            gap: 4px;
            align-items: center;
            text-align: left;
        }

        .register-natural .field input,
        .register-natural .field select {
            width: 100%;
            height: 36px;
            font-size: 12px;
            padding-left: 12px;
            padding-right: 12px;
            letter-spacing: 0px;
        }
        
    .field-arrow {
        width: 16px;
        height: 16px;
        right: 8px;
    }

    /* campos que ocupan toda la fila */
    .register-natural .field.field-full {
        grid-column: 1 / -1;
    }

    .register-checkboxes {
        grid-column: 1 / -1;
        max-width: none;
        min-height: auto;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 8px 18px;
        align-items: flex-start;
    }

    .checkbox-row {
        align-items: center;
        gap: 6px;
    }
    
    .checkbox-text {
        font-size: 10px;
        white-space: nowrap;
    }

    .register-actions {
        grid-column: 1 / -1;
        display: flex;
        flex-direction: row-reverse;
        justify-content: flex-start;
        margin-top: 4px;
        gap: 14px;
    }

        .register-actions .btn-fp {
            width: 236px;
            height: 38px;
            border-radius: 24px;
            font-size: 10px;
            line-height: 14px;
        }

        .register-actions .btn-outline-fp,
        .register-actions .btn-back-register,
        .register-actions .btn-solid-fp-disabled,
        .register-actions .btn-solid-fp-active {
            font-size: 14px;
            line-height: 24px;
        }
    /*Fin campos registro*/

    /*campos registro persona juridica*/
    .register-juridica {
        width: 100%;
        display: grid;
        grid-template-columns: 78px 1fr;
        align-items: stretch;
        gap: 12px;
    }

        .register-juridica .register-process {
            width: 86px;
            min-width: 86px;
            margin-left: -28px; /* ajusta según el padding izquierdo del content-card */
            overflow: hidden;
            flex-shrink: 0;
            align-self: stretch;
        }

            .register-juridica .register-process img {
                width: 100%;
                height: 100%;
                object-fit: cover;
                display: block;
                content: url('../../../img/register-pages-fp/ui/register-step-one-vertical.png');
            }

    .register-juridica-form {
        width: 100%;
        max-width: none;
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        column-gap: 14px;
        row-gap: 12px;
        align-content: start;
    }
    
    .register-juridica .field {
        width: 100%;
        max-width: none;
        gap: 6px;
        align-items: flex-start;
    }

        .register-juridica .field label {
            width: 100%;
            font-size: 12px;
            line-height: 14px;
            gap: 4px;
            text-align: left;
            align-items: center;
        }

        .register-juridica .field input,
        .register-juridica .field select {
            width: 100%;
            height: 36px;
            font-size: 12px;
            padding-left: 12px;
            padding-right: 12px;
        }

        .register-juridica .field {
            grid-column: auto;
        }

    .register-juridica .register-checkboxes {
        grid-column: 1 / -1;
        max-width: none;
        min-height: auto;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 8px 16px;
        align-items: center;
    }

    .register-juridica .checkbox-row {
        align-items: center;
        gap: 6px;
    }

    /*.register-juridica .checkbox-row input[type="checkbox"]:checked + .checkbox-custom::after {
        left: 3px;
        top: 0px;
        width: 3px;
        height: 6px;
        border-width: 0 1.5px 1.5px 0;
    }*/


    .register-juridica .register-actions {
        grid-column: 1 / -1;
        display: flex;
        flex-direction: row-reverse;
        justify-content: flex-start;
        gap: 14px;
        margin-top: 4px;
    }

        .register-juridica .register-actions .btn-fp {
            width: 236px;
            height: 38px;
            border-radius: 24px;
        }

        .register-juridica .register-actions .btn-outline-fp,
        .register-juridica .register-actions .btn-back-register,
        .register-juridica .register-actions .btn-solid-fp-disabled,
        .register-juridica .register-actions .btn-solid-fp-active {
            font-size: 14px;
            line-height: 24px;
        }
     
    /*Fin registro persona juridica*/

    /*modal usuario no register*/
    .register-modal__card {       
        width: 400px;
        min-height: 284px;
        padding: 36px 36px;
    }
    /*fin modal usuario no register*/

    .register-natural-loading,
    .register-juridica-loading {
        width: 100%;
        min-width: 0;
        min-height: 420px;
        display: flex;
        align-items: center;
        justify-content: center;
        grid-column: 2;
    }

    .register-loading-content {
        width: 100%;
        max-width: 360px;
        margin: 0 auto;
    }

    .register-document-modal__dialog {
        width: calc(100vw - 20px);
        height: calc(100vh - 20px);
    }

    .register-document-modal__header-inner {
        padding: 0 12px;
    }

    .register-document-modal__body {
        padding: 12px 12px 0;
    }

    .register-document-modal__footer {
        padding: 12px;
    }

    .register-document-modal__close-btn {
        width: 140px;
    }

    .register-document-modal__footer-left img {
        max-width: 90px;
    }

}

@media (min-width: 1024px) {
    .topbar-text {
        font-size: 18px;
    }

    .main-title {
        font-size: 22px;
    }

    .person-type-tabs {
        width: 339px;
        height: 76px;
    }

    .person-tab-label {
        font-size: 16px;
        line-height: 24px;
    }

    .person-tab.active .person-tab-label {
        font-size: 20px;
    }

        .person-tab.active .person-tab-label::after {
            width: 65px;
            border-bottom: 4px solid #FDB813;
        }

    .person-tab.inactive {
        width: 148px;
        height: 66px;
        border-radius: 8px;
        border: 0.5px solid #E6E6E6;
    }
        .person-tab.inactive .icon-person-big {
            width: 29.32px;
            height: 25px;
        }

    .actions {
        width: 100%;
        max-width: 1050px;
        min-height: 38px;
        flex-direction: row-reverse;
        gap: 60px;
    }

    .content-card {
        width: 100%;
        max-width: 1107px;
        /*margin: 0 auto;*/
        gap: 15px;
        padding: 26px 26px;
    }

    .icon-small {
        width: 26px;
        height: 26px;
    }


    .access-tab span {
        font-size: 15px;
        font-weight: 500;
        line-height: 32px;
    }

    .btn-fp {
        width: 236px;
        height: 38px;
        font-size: 14px;
        line-height: 24px;
    }

    .btn-outline-fp {
        border: 1px solid var(--azul);
        font-weight: 600;
    }
    
    .person-tab.active {
        width: 193px;
        height: 76px;
        padding: 11px 33px 20px;
        border-radius: 8px;
    }

    .access-tab {
        width: 251px;
        height: 44px;
        display: inline-flex;
    }

    .form-block {
        width: 461px;
        max-width: 100%;
        gap: 2px;
    }

        .form-block label {
            width: 100%;
            font-size: 14px;
            font-weight: 400;
            line-height: 24px;
        }

        .form-block input {
            width: 100%;
            height: 30px;
            font-size: 12px;
            font-weight: 300;
            line-height: 24px;
        }

    .btn-solid-fp-disabled {
        font-weight: 800;
    }

    .icon-person-big {
        width: 45px;
        height: 45px;
    }

    .footer-brand {
        flex-direction: column;
        align-items: flex-start;
    }

    .form-block-juridica {
        flex-direction: row-reverse; 
        justify-content: center;
        gap: 20px;
    }

        .form-block-juridica input::placeholder {
            text-align: start;
        }


    .field {
        align-items: flex-start;
    }

        .field label {
            text-align: left;
        }

    .register-actions {
        width: 100%;
        min-height: 38px;
        display: flex;
        flex-direction: row-reverse;
        justify-content: flex-start;
        gap: 20px;
    }

    .register-natural {
        grid-template-columns: 92px 1fr;
        gap: 16px;
    }

    .register-process {
        width: 100px;
        min-width: 100px;
    }

    .register-natural-form {
        max-width: none; 
        min-width: 0; 
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        column-gap: 18px;
        row-gap: 14px;
    }

    .register-natural .field input,
    .register-natural .field select {
        height: 30px;
        font-size: 12px;
    }

    .register-natural .field label {
        font-size: 13px;
        line-height: 100%;
    }

    .field-tooltip {
        width: 16px;
        height: 16px;
    }

    .field-arrow {
        width: 20px;
        height: 20px;
        right: 8px;
    }
    
    .register-checkboxes {
        gap: 8px 20px;
    }

    .register-actions .btn-fp {
        width: 170px;
        height: 32px;
        border-radius: 20px;
        font-size: 12px;
        line-height: 18px;
    }

    .register-note {
        font-size: 14px;
        line-height: 24px;
    }

    .checkbox-custom {
        width: 17px;
        height: 17px;
    }    
}
