@import url('https://fonts.googleapis.com/css2?family=Lato:wght@100;300;400;700;900&display=swap');

/* =========================================================
   VARIABLES
========================================================= */

:root {
    --primary-color: #194693;
    --primary-color-hover: #12397C;
    --secondary-color: #EAF1FF;
    --secondary-color-hover: rgba(25,70,147,0.1);
    --celeste: #42C1EF !important;
    --celeste-light: rgba(66, 193, 239, 0.2);
    --celeste-claro: rgba(90, 200, 241, 0.05);
    --rojo: rgba(222, 2, 2, 1) !important;
    --rojo-claro: rgba(222, 2, 2, 0.1);
    --verde: rgba(35, 157, 9, 1) !important;
    --verde-claro: rgba(35, 157, 9, 0.05);
    --white: #ffffff;
    --black: rgba(37, 37, 37, 1);
    --gray: rgba(0, 0, 0, 0.5);
    /* Neutrales y utilitarios */
    --pure-white: #fff;
    --pure-black: #000;
    --danger: red;
    /* Variantes alpha del primario */
    --primary-05: rgba(25, 70, 147, 0.05);
    --primary-10: rgba(25, 70, 147, 0.1);
    --primary-20: rgba(25, 70, 147, 0.2);
    --primary-50: rgba(25, 70, 147, 0.5);
    /* Variantes celeste */
    --celeste-10: rgba(66, 193, 239, 0.1);
    --celeste-soft-10: rgba(90, 200, 241, 0.1);
    /* Sombras */
    --shadow-inset-25: rgba(0, 0, 0, 0.25);
    --shadow-soft-10: rgba(0, 0, 0, 0.1);
    /* Grises específicos */
    --muted-text: #888;
    --hover-bg: #f0f0f0;
    /* UI específicos */
    --brand-blue: #004AAD;
    --overlay-dark: rgba(0, 0, 0, 0.5);
    --switch-off-bg: rgba(29, 27, 32, 0.12);
    /* Placeholders */
    --placeholder-strong: rgba(151, 151, 151, 1);
    --placeholder-soft: rgba(156, 156, 156, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Lato", serif;
    font-weight: 400;
    font-style: normal;
    color: var(--primary-color);
    -webkit-tap-highlight-color: transparent;
}

/* =========================================================
   COMPONENTES (Login / Validaciones / Inputs específicos)
========================================================= */

.code-input {
    width: 35px;
    font-size: 20px;
    text-align: center;
    height: 50px;
    border-radius: 8px;
    border: 1px solid var(--primary-color);
}

.datos-inputs {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.datos-input {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
}

.toggle-password {
    all: unset;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
}

.btn-wsp {
    width: 100%;
    display: flex;
    height: 3.5rem;
    border-radius: 8px;
    align-items: center;
    justify-content: space-evenly;
    cursor: pointer;
    flex-direction: row;
    border: 1px solid var(--primary-10);
}

.text-datos {
    width: 80%;
    text-align: center;
    font-size: 15px !important;
    border-radius: 50px;
    border: 2px solid var(--primary-color);
    padding: 1rem 0;
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

/* =========================================================
   NAVBAR
========================================================= */

.navbar {
    background-color: var(--white);
    height: 3.5rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding-inline: 1.5rem;
    position: sticky;
    top: 0;
    box-shadow: 0px 5px 6px 0px var(--primary-05);
}

.navbar-info {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 10px;
}

    .navbar-info img {
        width: 50px;
        height: 50px;
    }

/* =========================================================
   CLASES DE TERCEROS / OVERRIDES
========================================================= */

.alphacube_nw {
    border-top-left-radius: 0px !important;
}

.alphacube_ne {
    border-top-right-radius: 0px !important;
}

table {
    border: none !important;
}

td, th {
    border: none !important;
}

b {
    font-weight: 600;
}

/* =========================================================
   CARDS / PERFIL / CRÉDITOS
========================================================= */

.perfil-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid var(--primary-05);
    padding: 1rem 0;
    border-radius: 8px;
    cursor: pointer;
}

.perfil-card-info {
    display: flex;
    align-items: center;
    margin-left: 2rem;
}

    .perfil-card-info img {
        width: 24px;
        height: 24px;
    }

    .perfil-card-info b {
        margin-left: 2rem;
    }

.creditos-card {
    display: flex;
    justify-content: space-around;
    height: 5rem;
    align-items: center;
    border: 1px solid var(--primary-10);
    border-radius: 8px;
    cursor: pointer;
}

.creditos-detalles {
    display: flex;
    gap: 8px;
    justify-content: space-between;
}

.credito-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.credito-label {
    font-size: 12px;
    color: var(--gray)
}

/* =========================================================
   POPUP
========================================================= */

.popup {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

    .popup .buttons {
        display: flex;
        align-items: center;
        justify-content: space-evenly;
        width: 100%;
    }

    .popup img {
        width: 40px;
        height: 40px;
        margin: 0.5rem;
    }

.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary-50);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.popup-content {
    background-color: var(--white);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 8px var(--shadow-soft-10);
    max-width: 350px;
    width: 80%;
    text-align: center;
    z-index: 1001;
}

/* =========================================================
   UTILIDADES: TAMAÑOS DE FUENTE
========================================================= */

.fs-10 {
    font-size: 10px;
}

.fs-12 {
    font-size: 12px;
}

.fs-13 {
    font-size: 13px;
}

.fs-14 {
    font-size: 14px;
}

.fs-16 {
    font-size: 16px;
}

.fs-18 {
    font-size: 18px;
}

.fs-20 {
    font-size: 20px;
}

.fs-22 {
    font-size: 22px;
}

.fs-24 {
    font-size: 24px;
}

/* =========================================================
   UTILIDADES: PESOS DE FUENTE
========================================================= */

.fw-1 {
    font-weight: 100;
}

.fw-3 {
    font-weight: 300;
}

.fw-4 {
    font-weight: 400;
}

.fw-7 {
    font-weight: 700;
}

.fw-9 {
    font-weight: 900;
}

/* =========================================================
   UTILIDADES: WIDTHS
========================================================= */

.w-100 {
    width: 100%;
}

.wd-100 {
    width: 100dvw;
}

.w-90 {
    width: 90%;
}

.w-75 {
    width: 75%;
}

.w-50 {
    width: 50%;
}

.w-45 {
    width: 45%;
}

.w-40 {
    width: 40%;
}

.w-25 {
    width: 25%;
}

/* =========================================================
   UTILIDADES: HEIGHTS
========================================================= */

.h-100 {
    height: 100%;
}

.h-70 {
    height: 70%;
}

.h-30 {
    height: 30%;
}

.h-20 {
    height: 20%;
}

.h-10 {
    height: 10%;
}

.hd-100 {
    height: 100dvh;
}

/* =========================================================
   UTILIDADES: MARGINS
========================================================= */

.m-1 {
    margin: 1rem;
}

.mt-1 {
    margin-top: 1rem;
}

.mb-1 {
    margin-bottom: 1rem;
}

.ml-1 {
    margin-left: 1rem;
}

.mr-1 {
    margin-right: 1rem;
}

.mi-1 {
    margin-inline: 1rem;
}

.mi-auto {
    margin-inline: auto;
}

/* =========================================================
   UTILIDADES: FLEX
========================================================= */

.flex {
    display: flex;
}

    .flex.row {
        flex-direction: row;
    }

        .flex.row.justify-start {
            justify-content: flex-start;
        }

        .flex.row.justify-center {
            justify-content: center;
        }

        .flex.row.justify-end {
            justify-content: flex-end;
        }

        .flex.row.justify-se {
            justify-content: space-evenly;
        }

        .flex.row.justify-sb {
            justify-content: space-between;
        }

        .flex.row.justify-sa {
            justify-content: space-around;
        }

        .flex.row.align-start {
            align-items: flex-start;
        }

        .flex.row.align-center {
            align-items: center;
        }

        .flex.row.align-end {
            align-items: flex-end;
        }

    .flex.col {
        flex-direction: column;
    }

        .flex.col.justify-start {
            justify-content: flex-start;
        }

        .flex.col.justify-center {
            justify-content: center;
        }

        .flex.col.justify-end {
            justify-content: flex-end;
        }

        .flex.col.justify-se {
            justify-content: space-evenly;
        }

        .flex.col.justify-sb {
            justify-content: space-between;
        }

        .flex.col.justify-sa {
            justify-content: space-around;
        }

        .flex.col.align-start {
            align-items: flex-start;
        }

        .flex.col.align-center {
            align-items: center;
        }

        .flex.col.align-end {
            align-items: flex-end;
        }

/* =========================================================
   UTILIDADES: COLORES / FONDOS / BORDES
========================================================= */

.bg-white {
    background-color: var(--white);
}

.b-red {
    border: 1px solid var(--rojo)
}

.b-green {
    border: 1px solid var(--verde)
}

.white {
    color: var(--white)
}

.red {
    color: var(--rojo)
}

.green {
    color: var(--verde)
}

.blue {
    color: var(--primary-color)
}

.bg-light-cyan {
    background-color: var(--celeste-light);
}

.bg-cyan {
    background-color: var(--celeste);
}

.cyan {
    color: var(--celeste);
}

.b-cyan {
    border: 1px solid var(--celeste);
}

.gray {
    color: var(--gray);
}

.black {
    color: var(--black);
}

/* =========================================================
   UTILIDADES: PADDINGS
========================================================= */

.p-05 {
    padding: 0.5rem;
}

.p-1 {
    padding: 1rem;
}

.p-15 {
    padding: 1.5rem;
}

.p-2 {
    padding: 2rem;
}

.pi-1 {
    padding-inline: 1rem
}

.pl-1 {
    padding-left: 1rem;
}

.pl-2 {
    padding-left: 2rem;
}

.pt-3 {
    padding-top: 3rem;
}

.lh-1 {
    line-height: 1;
}

/* =========================================================
   UTILIDADES: OTROS
========================================================= */

.none {
    display: none;
}

.rel {
    position: relative;
}

.abs {
    position: absolute;
}

.pointer {
    cursor: pointer;
}

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.container {
    height: 100%;
    max-width: 450px;
    margin-inline: auto;
    padding: 1.5rem 1.5rem 2rem 1.5rem;
}

/* =========================================================
   BOTONES
========================================================= */

.btn {
    padding: 0.8rem;
    border-radius: 100px;
    cursor: pointer;
}

    .btn.btn-primary {
        color: var(--white);
        background-color: var(--primary-color);
        border: none;
    }

        .btn.btn-primary:hover {
            color: var(--white);
            font-weight: 700;
            background-color: var(--primary-color-hover);
            border: none;
        }

        .btn.btn-primary:active {
            background-color: var(--primary-color);
        }

        .btn.btn-primary:disabled {
            opacity: 0.5;
        }

    .btn.btn-secondary {
        color: var(--primary-color);
        background-color: var(--white);
        border: 1.5px solid var(--primary-color);
    }

        .btn.btn-secondary:hover {
            color: var(--primary-color);
            font-weight: 700;
            background-color: var(--secondary-color-hover);
            border: 1.5px solid var(--primary-color);
        }

/* =========================================================
   INPUTS
========================================================= */

.input-field {
    width: 100%;
    padding: 10px;
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    font-size: 18px;
}

    .input-field::placeholder {
        font-weight: 300;
        font-size: 18px;
        color: var(--placeholder-strong);
    }

    .input-field:focus-visible {
        outline: 1px solid var(--primary-color);
    }

.input-field-light {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--primary-05);
    color: var(--placeholder-soft);
    background-color: var(--white)
}

    .input-field-light::placeholder {
        font-weight: 300;
        font-size: 12px;
        color: var(--placeholder-soft);
    }

/* =========================================================
   GAPS
========================================================= */

.gap-05 {
    gap: 0.5rem;
}

.gap-1 {
    gap: 1rem;
}

.gap-15 {
    gap: 1.5rem;
}

.gap-2 {
    gap: 2rem;
}

.gap-25 {
    gap: 2.5rem;
}

/* =========================================================
   SWITCH
========================================================= */

.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 30px;
    cursor: pointer;
}

    .switch::before {
        content: "";
        position: absolute;
        width: 100%;
        height: 100%;
        background-color: var(--switch-off-bg);
        border-radius: 20px;
        transition: background-color 0.3s;
    }

    .switch::after {
        content: "";
        position: absolute;
        top: 2px;
        left: 2px;
        width: 25px;
        height: 25px;
        background-color: var(--white);
        border-radius: 50%;
        transition: transform 0.3s;
    }

input[type="checkbox"]:checked + .switch::before {
    background-color: var(--primary-color);
}

input[type="checkbox"]:checked + .switch::after {
    transform: translateX(20px);
}

/* =========================================================
   RADIO CUSTOM
========================================================= */

.custom-radio {
    width: 20px;
    height: 20px;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
}

    .custom-radio.selected::before {
        content: "";
        width: 10px;
        height: 10px;
        background-color: var(--primary-color);
        border-radius: 50%;
    }

/* =========================================================
   CHECKBOX
========================================================= */

.checkbox-container {
    display: flex;
    align-items: center;
    color: var(--primary-color);
    justify-content: center;
}

    .checkbox-container input[type="checkbox"] {
        width: 28px;
        height: 16px;
        border: none;
        margin-left: 8px;
        accent-color: var(--primary-color);
        cursor: pointer;
    }

/* =========================================================
   BOT MENU
========================================================= */

.bot_menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--white);
    padding: 10px 15px;
    box-shadow: 0px 4px 4px 0px var(--shadow-inset-25) inset;
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 1000;
    height: 75px;
}

    .bot_menu .home img {
        padding: 1rem;
        border-radius: 50%;
        margin-bottom: 1rem;
        background-color: var(--white);
        box-shadow: 0px 4px 5px 0px var(--shadow-inset-25) inset;
        width: 80px !important;
        height: 80px !important;
    }

    .bot_menu .nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        color: var(--brand-blue);
        font-size: 14px;
        flex: 1;
        cursor: pointer;
        transition: all 0.3s ease;
    }

        .bot_menu .nav-item img {
            width: 25px;
            height: 25px;
        }

        .bot_menu .nav-item.active span {
            font-weight: 700;
            color: var(--celeste);
        }

.azul {
    color: var(--primary-color);
}

.celeste {
    color: var(--celeste);
}

/* =========================================================
   MUTUA CARD / ESTADOS
========================================================= */

.mutual-card {
    position: relative;
    border: 1px solid var(--primary-10);
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    min-height: 80px;
    cursor: pointer;
}

.icon-info {
    position: absolute;
    top: -12px;
    left: -12px;
    width: 24px;
    height: 24px;
}

.mutual-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
    min-width: 0;
}

.mutual-logo {
    width: 100px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

    .mutual-logo img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
    }

.mutual-logo-text {
    display: none;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    color: var(--primary-color);
}

.mutual-text {
    font-size: 12px;
    line-height: 1.2;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.icon-arrow {
    width: 8px;
    height: auto;
    flex-shrink: 0;
}

.desplegar {
    max-height: 100% !important;
}

.br-8 {
    border-radius: 8px
}

.estado-mutual {
    border: 1px solid var(--primary-10);
    border-radius: 8px;
    display: flex;
    align-items: center;
    padding: 0.5rem 1rem;
    gap: 1.5rem;
}

.estado-icon {
    display: flex;
    justify-content: center;
    align-items: center;
}

    .estado-icon img {
        width: 35px;
        height: 35px;
    }

.estado-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

    .estado-info span {
        color: var(--gray);
        font-size: 14px;
    }

    .estado-info p {
        font-size: 14px;
    }

/* =========================================================
   FILTROS / LISTADOS
========================================================= */

.filtros-container {
    display: flex;
    align-items: center;
    justify-content: space-around;
    font-size: 14px;
}

.filtro {
    border: 1px solid var(--primary-50);
    border-radius: 15px;
    color: var(--primary-50);
    padding: 5px 8px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

    .filtro.seleccionado {
        background-color: var(--secondary-color);
        color: var(--primary-50);
    }

.no-results {
    color: var(--muted-text);
    font-size: 16px;
    text-align: center;
    margin-top: 20px;
}

.ver-mas {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    justify-content: flex-end;
}

/* =========================================================
   DEUDA
========================================================= */

.input-deuda {
    color: var(--rojo);
    font-weight: 700;
    text-align: center;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--primary-10);
    background-color: var(--white);
    font-size: 18px;
}

/* =========================================================
   SLIDER
========================================================= */

.slider-container {
    overflow: hidden;
    position: relative;
}

.slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
    touch-action: pan-y;
}

.slider-item {
    min-width: 100%;
    box-sizing: border-box;
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 28rem;
    border: 0.1px solid var(--primary-10);
    box-shadow: 0px 4px 4px 0px var(--primary-20);
    padding: 1rem;
    cursor: pointer;
    gap: 1rem;
}

    .slider-item div {
        width: 100%;
    }

    .slider-item img {
        height: 60%;
        width: 100%;
        border-radius: 15px;
        box-shadow: 0px 4px 4px 0px var(--primary-20);
        border: 0.1px solid var(--primary-10);
        object-fit: cover;
    }

    .slider-item .slider-icon {
        height: 25px;
        width: 25px;
        box-shadow: none;
        border: none;
        flex-shrink: 0;
    }

.indicator-container {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.indicator {
    width: 12px;
    height: 12px;
    background-color: var(--celeste-light);
    border-radius: 50%;
    cursor: pointer;
}

    .indicator.active {
        background-color: var(--celeste);
    }

@media (min-width: 600px) {
    .bg-white {
        background-image: url(../image/background/desktop.png);
        background-repeat: no-repeat;
        background-size: cover;
    }
}

/* =========================================================
   BENEFICIOS
========================================================= */

.btn-beneficios {
    display: flex;
    height: 4.5rem;
    border-radius: 8px;
    align-items: center;
    justify-content: space-evenly;
    cursor: pointer;
    border: 1px solid var(--primary-10);
    flex-direction: row;
}

.icon-container,
.arrow-container {
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.arrow-container {
    width: 5%;
}

.icon-container img {
    height: 100%;
    width: 100%;
}

/* =========================================================
   OVERLAYS / BLOQUEOS
========================================================= */

.overlay_bloqueo {
    position: absolute;
    float: left;
    background: var(--primary-50);
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.overlay_bloqueo_base {
    position: absolute;
    float: left;
    display: flex;
    justify-content: center;
    align-items: center;
}

.overlay_bloqueo_msg {
    color: var(--black);
    margin-top: -175px;
    padding-left: 15px;
    padding-right: 15px;
    padding-bottom: 5px;
    padding-top: 5px;
    -moz-border-radius: 0.33em;
    -webkit-border-radius: 0.33em;
    border-radius: 0.33em;
    opacity: 0.9;
}

/* =========================================================
   SPINNER
========================================================= */

.spinner {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: radial-gradient(farthest-side, var(--primary-color) 94%, #0000) top/11.5px 11.5px no-repeat, conic-gradient(#0000 30%, var(--primary-color));
    -webkit-mask: radial-gradient(farthest-side, #0000 calc(100% - 11.5px), var(--pure-black) 0);
    animation: spinner-c7wet2 1s infinite linear;
}

@keyframes spinner-c7wet2 {
    100% {
        transform: rotate(1turn);
    }
}

/* =========================================================
   DROPDOWN
========================================================= */

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    font-size: 16px;
    border: 1px solid var(--primary-color);
    border-radius: 8px;
    cursor: pointer;
    background-color: var(--pure-white);
    transition: border-color 0.3s ease;
}

    .dropdown-button:hover {
        border-color: var(--primary-color);
    }

.dropdown-list {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    margin-top: 5px;
    padding: 0;
    list-style: none;
    overflow-y: auto;
    z-index: 1000;
    gap: 5px;
    display: flex;
    flex-direction: column;
    background-color: var(--white)
}

.dropdown-item {
    padding: 10px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    border: 1px solid var(--primary-color);
    border-radius: 8px;
    color: var(--black)
}

    .dropdown-item:hover {
        background-color: var(--hover-bg);
    }

    .dropdown-item.active {
        background: var(--celeste-10);
        color: var(--primary-color);
    }

/* =========================================================
   FILE UPLOAD
========================================================= */

.file-upload.active label {
    border-color: var(--verde);
}

.file-upload.active .icon-paperclip {
    content: url("../image/icons/paperclip-verde.svg");
}

.file-upload.active .icon-plus {
    content: url("../image/icons/tick-verde.svg");
}

.file-upload {
    width: 420px;
    max-width: 100%;
    font-family: Arial, sans-serif;
}

.file-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 8px;
    padding: 10px 15px;
    cursor: pointer;
    border: 1px solid var(--primary-color);
    transition: border-color 0.3s;
    font-size: 14px;
}

.icon-paperclip {
    width: 24px;
    height: 24px;
}

.file-label-text {
    flex-grow: 1;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    color: var(--pure-black);
}

.file-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.icon-trash,
.icon-check {
    width: 24px;
    height: 24px;
}

.hidden {
    display: none;
}

/* Para navegadores WebKit (Chrome, Safari, Edge) */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Para Firefox */
input[type="number"] {
    -moz-appearance: textfield;
}

/* =========================================================
   ERRORES / VALIDACIONES
========================================================= */

.error-message {
    color: var(--danger);
    font-size: 13px;
    margin: 5px 0;
}

.input-error {
    border: 2px solid var(--danger);
}

.grecaptcha-badge {
    display: none !important;
}

/* =========================================================
   TABS
========================================================= */

.tabs {
    display: flex;
    border-bottom: 1px solid var(--celeste);
    justify-content: space-between;
}

.tab {
    position: relative;
    color: var(--gray);
    padding: 0 0.5rem 0.5rem;
    font-weight: 600;
    cursor: pointer;
}

    .tab.active {
        color: var(--celeste)
    }

        .tab.active::after {
            content: "";
            position: absolute;
            left: 0;
            bottom: -2px;
            width: 100%;
            height: 3px;
            background: var(--celeste);
        }

/* =========================================================
   FIELDS / SELECT
========================================================= */

.field {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 0.8rem;
}

    .field input {
        border: 1px solid var(--primary-05);
        border-radius: 8px;
        padding: 1rem;
    }

    .field select {
        border: 1px solid var(--primary-05);
        border-radius: 8px;
        padding: 1rem;
        color: var(--gray);
        appearance: none;
    }

        .field select option {
            color: var(--gray)
        }

.select-wrapper {
    position: relative;
}

    .select-wrapper::after {
        content: "";
        position: absolute;
        right: 15px;
        top: 65%;
        transform: translateY(-50%);
        pointer-events: none;
        width: 20px;
        height: 20px;
        background-image: url("../image/icons/flecha-azul-abajo.svg");
        background-repeat: no-repeat;
        background-position: center;
        background-size: contain;
    }

/* =========================================================
   NO SOCIO
========================================================= */

.no-socio-datos {
    padding: 2rem;
    border: 2px solid var(--celeste);
    border-radius: 8px;
    background-color: var(--celeste-soft-10);
    display: flex;
    gap: 1rem;
    flex-direction: column;
}

/* =========================================================
   ACCORDION
========================================================= */

/* ===== ACCORDION "PILL" (igual al de la imagen) ===== */
.pacc {
    --pacc-border: #1e4fa6;
    --pacc-bg: #ffffff;
    --pacc-radius: 8px;
    --pacc-pad-x: 12px;
    --pacc-pad-y: 10px;
    --pacc-gap: 10px;
    --pacc-text-blue: #1e4fa6;
    --pacc-text-cyan: #42C1EF;
    --pacc-text-dark: #0f172a;
    --pacc-muted: #475569;
    display: flex;
    flex-direction: column;
    gap: var(--pacc-gap);
    width: 100%;
}

.pacc-item {
    width: 100%;
}

.pacc-header {
    width: 100%;
    background: var(--pacc-bg);
    border: 1.5px solid var(--pacc-border);
    border-radius: var(--pacc-radius);
    padding: var(--pacc-pad-y) var(--pacc-pad-x);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    cursor: pointer;
    user-select: none;
    box-sizing: border-box;
}

.pacc-left {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.pacc-icon {
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
}

.pacc-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--pacc-text-dark);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pacc-chevron {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    transition: transform .18s ease;
}

.pacc-item.is-open .pacc-chevron {
    transform: rotate(180deg);
}

/* Panel abierto */
.pacc-panel {
    display: none;
    margin-top: 8px;
    background: var(--pacc-bg);
    border: 1.5px solid var(--pacc-border);
    border-radius: var(--pacc-radius);
    padding: 1.5rem;
    box-sizing: border-box;
    font-size: 13px;
    line-height: 1.25;
    color: var(--pacc-text-blue);
}

.pacc-item.is-open .pacc-panel {
    display: block;
}

/* ===== Tipografías internas (contenido) ===== */
.pacc-h {
    font-weight: 800;
    color: var(--pacc-text-blue);
    margin: 0 0 6px 0;
}

.pacc-p {
    margin: 0 0 8px 0;
}

.pacc-strong {
    font-weight: 800;
}

.pacc-small {
    font-size: 11px;
    color: var(--pacc-muted);
}

.pacc-list {
    margin: 0 0 10px 0;
    padding-left: 18px;
    color: var(--pacc-text-blue);
}

    .pacc-list li {
        margin: 4px 0;
    }

.pacc-links {
    margin-top: 6px;
    margin-bottom: 10px;
}

.pacc-link {
    color: var(--pacc-text-cyan);
    text-decoration: underline;
    word-break: break-word;
}

.pacc-alert-red {
    margin: 10px 0;
    border: 1px solid #ef4444;
    background: #ffffff;
    border-radius: 8px;
    padding: 10px;
    display: flex;
    gap: 8px;
    align-items: center;
}

    .pacc-alert-red img {
        width: 18px;
        height: 18px;
        flex: 0 0 18px;
        margin-top: 1px;
    }

    .pacc-alert-red .pacc-alert-text {
        color: #dc2626;
        font-weight: 700;
    }

/* Footer */
.pacc-footer {
    margin-top: 10px;
    font-size: 11px;
    color: var(--pacc-text-blue);
}