/* primary #001391
black #1E1E1E */
/* Definir la fuente Negrita */
@font-face {
    font-family: 'Tiempos Headline';
    src: url('../fonts/TiemposHeadline/woff2/tiempos-headline-bold.woff2') format('woff2');
    font-weight: bold;
    font-style: normal;
}

/* Definir la fuente Negrita Cursiva */
@font-face {
    font-family: 'Tiempos Headline Italic';
    src: url('../fonts/TiemposHeadline/woff2/tiempos-headline-bold-italic.woff2') format('woff2');
    font-weight: bold;
    font-style: italic;
}

@font-face {
    font-family: 'BentonSansBBVA Bold';
    src: url('../fonts/benton/BentonSansBBVA-Bold.woff2') format('woff2'),
        url('../fonts/benton/BentonSansBBVA-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'BentonSansBBVA Normal';
    src: url('../fonts/benton/BentonSansBBVA-Medium.woff2') format('woff2'),
        url('../fonts/benton/BentonSansBBVA-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

body {
  -webkit-user-select: none; /* Safari */
  -ms-user-select: none; /* IE 10 y IE 11 */
  user-select: none; /* Estándar moderno (Chrome, Edge, Firefox, Opera) */
}

p {
    font-size: 17px;
}

.text-sm {
    font-size: 15px;
}

body {
    background-color: #F7F8F8;
}

a:hover,
a:focus {
    color: #85C8FF;
    text-decoration: none;
}

.text-xs {
    font-size: .7rem;
}

body,
a,
.btn {
    font-family: 'BentonSansBBVA Normal' !important;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
    font-family: 'Tiempos Headline', serif !important;
}

.text-lg {
    font-size: 1.125rem !important;
}

.headline-bbva {
    font-family: 'Tiempos Headline', serif;
    font-weight: bold;
    margin-bottom: 0px;
}

.index-page .page-header {
    height: 300px;
    overflow: hidden;
}

.navbar-brand img {
    height: 35px;
}

.index-page .brand {
    color: #1E1E1E;

}

.navbar.navbar-transparent {
    background-color: transparent !important;
    box-shadow: none;
    padding-top: 0px;
    color: #ffffff;
    z-index: 9;
}

.main {
    padding: 20px 5px;
    border-radius: 20px;
    /*  height: calc(100vh - 245px);
    overflow-y: auto; */
}

.situation-text {
    font-style: italic;
}

.section {
    padding: 10px 0;
}

.info {
    max-width: 360px;
    margin: 0 auto;
    padding: 0px 0 0px;
}

.bg-primary {
    background-color: #001391 !important;
}

.title,
.title a,
.card-title,
.card-title a,
.info-title,
.info-title a,
.footer-brand,
.footer-brand a,
.footer-big h5,
.footer-big h5 a,
.footer-big h4,
.footer-big h4 a,
.media .media-heading,
.media .media-heading a {
    color: #070e46 !important;
    text-decoration: none;
}

.rounded-lg {
    border-radius: 16px;
}

.font-weight-bolder {
    font-weight: bold !important;
}

.countdown {
    font-size: 50px;
    color: #666;
    min-height: 60px;
    line-height: 55px;
}

.blue-background-class {
    background-color: #f1f1f1;
}

.list-group-item-light {
    border: 1px solid #f3f3f3;
}

.list-group-item:hover {
    cursor: move;
}

.text-wrap {
    white-space: normal !important;
}

.btn-group .btn.btn-secondary {
    border: 1px solid #f1f1f1;
    width: 100%;
    text-align: left;
    color: #676767 !important;
    font-size: 17px;
}

.btn-group .btn.btn-secondary.active:hover,
.btn-group .btn.btn-secondary.active:focus,
.btn.btn-secondary:active:focus {
    color: #fff;
    background-color: #85C8FF;
    border-color: #85C8FF;
}

.btn-group .btn.btn-secondary.active.focus {
    color: #fff;
    background-color: #85C8FF;
    border-color: #85C8FF;
}

.btn-group,
.btn-group-vertical {
    position: relative;
    display: block;
    vertical-align: middle;
}

.btn {
    text-transform: inherit;
}

.togglebutton label input[type=checkbox]:checked+.toggle {
    background-color: #001391;
}

.index-page .brand h1 {
    font-size: 3.3125rem;
}

/* BBVA nuevos ajustes */
.page-header.header-filter.clear-filter {
    background-color: #001391;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    margin: 15px;
    align-items: initial;
    display: flex;
    flex-direction: row;
    align-items: end;
    justify-content: space-between;
    padding: 20px;
    height: 190px;
}

.page-header.header-filter.clear-filter::before {
    content: "";
    position: absolute;
    top: 45px;
    left: 66.66%;
    /* 1/3 from the right */
    width: 1px;
    height: 55%;
    background-color: #85C8FF;
}

.page-header.header-filter.clear-filter .brand {
    position: relative;
    transform: none;
    display: block;
    align-items: center;
    justify-content: flex-start;
    height: auto;
}

.page-header.header-filter.clear-filter .right-third {
    position: relative;
    transform: none;
    display: flex;
    align-items: center;
    justify-content: end;
    height: auto;
}

.right-third img {
    height: 100px;
}

.page-header.header-filter.clear-filter .bottom-left {
    position: absolute;
    bottom: 65px;
    left: 16px;
}

.page-header.header-filter.clear-filter .bottom-left img {
    width: 90px;
    height: auto;
}

.table th,
.table td {
    padding: 0.55rem;
    vertical-align: top;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.badge-status {
    padding: 4px 6px;
    text-transform: uppercase;
    font-size: 11px;
    color: #ffffff;
    font-weight: 600;
    letter-spacing: .5px;
    vertical-align: middle !important;
}

.question-label {
    font-size: inherit;
    font-family: 'BentonSansBBVA Normal' !important;
    margin-bottom: 10px !important;
    border-top-right-radius: 20px !important;
    border-bottom-right-radius: 20px !important;
    border-top-left-radius: 20px !important;
    border-bottom-left-radius: 20px !important;
}

.timer {
    font-size: 25px;
    border: 2px solid #F7F8F8;
    border-radius: 25px;
    font-family: 'Tiempos Headline';
    background-color: #F7F8F8;
    color: #001391;
}

.table-evaluacion thead th {
    background-color: #f8f9fa;
    vertical-align: middle;
    font-size: 0.85rem;
    text-transform: uppercase;
    border-bottom: 2px solid #dee2e6;
}

.table-evaluacion tbody tr:hover {
    background-color: rgba(0, 123, 255, 0.05);
}

/* Hacer que toda la celda sea clickeable para el radio button */
.cell-clickable {
    cursor: pointer;
    position: relative;
    padding: 0 !important;
    /* Quitamos padding para que el label llene la celda */
}

.cell-clickable label {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 12px;
    /* El padding se lo damos al label */
    cursor: pointer;
}

/* Efecto visual al seleccionar */
.cell-clickable input[type="radio"]:checked+i {
    color: #007bff;
    transform: scale(1.3);
}

.id-column {
    vertical-align: middle !important;
    font-family: 'Courier New', Courier, monospace;
    color: #495057;
}

.person-row {
    padding: 12px 15px;
    border-bottom: 1px solid #e9ecef;
    transition: background-color 0.3s ease;
}

.person-row:hover {
    background-color: #fcfcfc;
}

.person-id {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #001391;
    display: block;
    margin-bottom: 10px;
}

/* Contenedor de opciones para que fluyan como etiquetas */
.option-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.option-group label {
    margin: 0;
    cursor: pointer;
}

/* Ocultar el radio original */
.option-group input[type="radio"] {
    display: none;
}

/* Estilo del botón "falso" */
.btn-option {
    display: inline-block;
    padding: 7px 11px;
    border: 2px solid #dee2e6;
    border-radius: 50px;
    /* Bordes redondeados modernos */
    font-size: 0.9rem;
    color: #6c757d;
    background-color: #fff;
    transition: all 0.2s ease-in-out;
    user-select: none;
}

/* Hover del botón */
.btn-option:hover {
    border-color: #adb5bd;
    background-color: #f8f9fa;
}

/* Estado cuando el radio está seleccionado */
.option-group input[type="radio"]:checked+.btn-option {
    background-color: #001391;
    border-color: #001391;
    color: #fff;
    box-shadow: 0 4px 8px rgba(0, 123, 255, 0.3);
    transform: translateY(-1px);
}

/* Estilo especial para la opción "Otro" */
.text-warning-custom {
    color: #856404 !important;
}

.option-group input[type="radio"]:checked+.btn-option.text-warning-custom {
    background-color: #ffc107;
    border-color: #ffc107;
    color: #212529;
    box-shadow: 0 4px 8px rgba(255, 193, 7, 0.3);
}

/* Graficas para el admin */

/* Contenedor principal con sombra y bordes redondeados (opcional pero recomendado) */
.kpi-container {
    overflow: hidden;
    /* Para que los bordes redondeados funcionen */
    margin: 20px auto;
    max-width: 1000px;
    /* Ancho máximo para el demo */
}

/* Colores exactos de la imagen */
.bg-custom-dark-blue {
    background-color: #001f3f !important;
}

.bg-custom-light-blue {
    background-color: #007bff !important;
}

/* Un azul primary vibrante */
.bg-custom-light-yellow {
    background-color: #fdf8e6 !important;
}

/* Un amarillo pálido para los datos */

/* Borde superior grueso */
.header-row {
    border-top: 5px solid #001f3f;
    /* Misma color que el fondo oscuro */
}

/* Estilos para las filas de datos */
.data-row {
    font-weight: bold;
    color: #333;
}

.data-row .col {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    border-right: 1px solid #dee2e6;
    /* Borde vertical sutil */
}

/* El primer elemento tiene borde izquierdo */
.data-row .col:first-child {
    border-left: 1px solid #dee2e6;
}

/* Línea divisoria roja bajo "Banqueros" y "Manager" */
.header-line {
    height: 2px;
    background-color: #ff5c5c;
    /* Un rojo coral */
    width: 80%;
    margin: 4px auto;
    /* Centrada con margen */
}

/* Clases de utilidad para alineación de datos */
.text-right {
    text-align: right !important;
}

.text-center {
    text-align: center !important;
}

/* Padding derecho para alinear números (1500, 400, 2500) */
.pr-numbers {
    padding-right: 1.5rem !important;
}

.question-step {
    display: none;
}

.question-step.active {
    display: block;
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.next-btn,
.finish-btn {
    margin-top: 20px;
    min-width: 150px;
}

.next-btn:disabled,
.finish-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.option-group {
    display: flex;
    gap: 10px;
    /* Espaciado entre las opciones */
    width: 100%;
}

.option-group label {
    flex: 1;
    /* Hace que todos los botones tengan exactamente el mismo ancho */
    margin-bottom: 0;
    cursor: pointer;
}

.btn-option {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-align: center;
    padding: 8px 5px;
    /* Asegura que el texto respire */
    word-wrap: break-word;
}

/* Comportamiento responsivo para pantallas pequeñas */
@media (max-width: 768px) {
    .option-group {
        flex-direction: column;
    }
}

.description,
.card-description,
.footer-big p {
    color: #202020;
}

label {
    color: #333333;
}

.presentation-page .header-filter:after,
.index-page .header-filter:after {
    background: rgba(132, 13, 121, 0);
    background: linear-gradient(45deg, rgba(132, 13, 121, 0) 0%, rgba(208, 44, 180, 0) 100%);
    background: -webkit-linear-gradient(135deg, rgba(132, 13, 121, 0) 0%, rgba(208, 44, 180, 0) 100%);
}

.btn.btn-primary {
    color: #fff;
    background-color: #001391;
    border-color: #001391;
    box-shadow: 0 2px 2px 0 rgba(0, 19, 145, 0.14), 0 3px 1px -2px rgba(0, 19, 145, 0.2), 0 1px 5px 0 rgba(0, 19, 145, 0.12);
}

.btn.btn-primary:focus,
.btn.btn-primary:active,
.btn.btn-primary:hover {
    box-shadow: 0 14px 26px -12px rgba(0, 19, 145, 0.42), 0 4px 23px 0px rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 19, 145, 0.2);
}

.btn-secondary:not(:disabled):not(.disabled):active,
.btn-secondary:not(:disabled):not(.disabled).active,
.show>.btn-secondary.dropdown-toggle {
    color: #ffffff;
    background-color: #85C8FF;
    border-color: #85C8FF;
}

.card-collapse .card-header a:hover,
.card-collapse .card-header a:active,
.card-collapse .card-header a[aria-expanded="true"] {
    color: #85C8FF;
}

.presentation-page .brand h3,
.index-page .brand h3 {
    font-size: env();
    max-width: initial;
    margin: 0;
}

/* tarjetas infografia */
/* tarjetas infografia */

/* Contenedor principal a pantalla completa */
.assessment-section {
    padding: 80px 0;
    background-color: #ffffff;
}

/* Contenedor principal del grid */
.assessment-wrapper {
    position: relative;
}

/* Estilo de la Columna */
.info-col {
    position: relative;
    min-height: 600px;
    display: flex;
    flex-direction: column;
    padding: 0;
    overflow: visible;
}

/* La forma diagonal (el fondo) */
.bg-shape {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Capa de contenido */
.content-inner {
    position: relative;
    z-index: 10;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 100%;
}

/* Ajustes de inclinación reducida (10%) y márgenes de unión */
.block-1 .bg-shape {
    background-color: #001391;

}

.block-1 .content-inner {

    color: #ffffff;
}

.block-2 {

    /* Superposición ajustada para inclinación de 10% */
}

.block-2 .bg-shape {
    background-color: #85C8FF;

}

.block-2 .content-inner {
    padding: 1.5rem;
    color: #070e46;
}

.block-3 {}

.block-3 .bg-shape {
    background-color: #f7f8f8;
    border: 1px solid #eee;

}

.block-3 .content-inner {

    color: #070e46;
}

/* Diseño de Elementos */
.icon-box {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-title {
    font-family: 'Tiempos Headline', serif !important;
    font-size: 2.2rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.5px;
}

.text-body-custom {
    font-size: 1.05rem;
    line-height: 1.5;
    margin-bottom: 2rem;
    max-width: 280px;
}

.block-number {
    font-size: 1.35rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 0.5rem;
    opacity: 0.6;
}

/* Botón Estilo BBVA */
.btn-bbva {
    font-family: 'BentonSansBBVA Normal' !important;
    padding: 0.9rem 2.5rem;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 0;
    border: none;
    transition: all 0.3s ease;
    text-decoration: none !important;
    display: inline-block;
}

.block-1 .btn-bbva {
    background-color: #85C8FF;
    color: #070e46;
}

.block-2 .btn-bbva {
    background-color: #070e46;
    color: #ffffff;
}

.block-3 .btn-bbva {
    background-color: #070e46;
    color: #ffffff;
}

.btn-bbva:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

/* Listado de conocimientos */
.knowledge-list {
    padding: 0;
    text-align: left;
    margin-bottom: 2.5rem;
}

.knowledge-list li {
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0.1rem;
    align-items: center;
    gap: 12px;
}

.square {
    width: 8px;
    height: 8px;
    background-color: currentColor;
    transform: rotate(45deg);
}

/* Navbar Logo */
.logo-header {
    text-align: center;
    margin-bottom: 40px;
}

/* estilos para infografia del home instrucciones generales */
/* estilos para infografia del home instrucciones generales */
/* Encabezado Formal */
 /* Título Principal Institucional */
        .card-title-corporate {
            color: #001391;
            font-weight: 700;
            margin-top: 2.5rem;
            margin-bottom: 2.5rem;
            letter-spacing: -0.5px;
        }

        /* Estilos de la Línea de Tiempo (Infografía Vertical) */
        .timeline-container {
            padding: 0 15px;
        }

        .timeline {
            position: relative;
            padding-left: 3rem;
        }

        /* Línea conectora central */
        .timeline::before {
            content: '';
            position: absolute;
            left: 19px;
            top: 0;
            bottom: 0;
            width: 2px;
            background-color: #85C8FF;
        }

        .timeline-step {
            position: relative;
            margin-bottom: 2.5rem;
        }

        /* Insignia con el número del paso */
        .timeline-badge {
            position: absolute;
            left: -3rem;
            top: 0;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background-color: #001391;
            color: #ffffff;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 700;
            font-size: 1.1rem;
            z-index: 1;
            border: 4px solid #F7F8F8;
            box-shadow: 0 2px 5px rgba(0,19,145,0.2);
        }

        /* Contenedor de la información */
        .timeline-content {
            background: #ffffff;
            padding: 1.5rem 2rem;
            border-radius: 4px;
            border: 1px solid #e0e5ec;
            box-shadow: 0 4px 6px rgba(0,0,0,0.02);
            transition: border-color 0.3s;
        }

        .timeline-content:hover {
            border-color: #85C8FF;
        }

        /* Títulos de cada paso */
        .step-title {
            color: #001391;
            font-weight: 700;
            font-size: 1.25rem;
            margin-bottom: 1rem;
            display: flex;
            align-items: center;
            border-bottom: 1px solid #f0f0f0;
            padding-bottom: 0.5rem;
            margin-top: 0px;
        }

        .step-title i {
            color: #85C8FF;
            margin-right: 10px;
            font-size: 1.1rem;
        }

        /* Bloques de diseño interior */
        .block-card {
            border: 1px solid #85C8FF;
            background-color: rgba(133, 200, 255, 0.1);
            border-radius: 4px;
            padding: 1rem;
            margin-top: 1rem;
            border-left: 4px solid #001391;
        }

        /* Listas formales */
        .formal-list {
            list-style: none;
            padding-left: 0;
            margin-bottom: 0;
        }

        .formal-list li {
            position: relative;
            padding-left: 28px;
            margin-bottom: 0.75rem;
            color: #666666;
        }

        .formal-list li::before {
            content: "\f14a"; /* fa-check-square */
            font-family: "Font Awesome 5 Free";
            font-weight: 900;
            position: absolute;
            left: 0;
            top: 2px;
            color: #001391;
            font-size: 1.1rem;
        }

        /* Alertas y botones corporativos */
        .alert-corporate {
           background-color: #001391;
color: #ffffff;
            border: none;
            border-radius: 15px;
            font-weight: 600;
        }

        .btn-corporate {
            background-color: #001391;
            color: #ffffff;
            font-weight: 600;
            padding: 10px 25px;
            border-radius: 30px; /* para coincidir con tu btn-round */
            border: 1px solid #001391;
            transition: all 0.3s;
        }

        .btn-corporate:hover {
            background-color: #ffffff;
            color: #001391;
        }
        
        .highlight-text {
            color: #001391;
            font-weight: 600;
        }

        /* Clases utilitarias que reemplazan los inline styles (style="") */
        .text-corporate-primary { color: #001391 !important; }
        .text-corporate-secondary { color: #85C8FF !important; }
        .border-corporate-primary { border-left: 4px solid #001391 !important; }

/* estilos para infografia del home instrucciones generales */
/* estilos para infografia del home instrucciones generales */

/* Media Queries para Mobile */
@media (max-width: 991.98px) {

    .block-2,
    .block-3 {
        margin-left: 0;
        margin-top: -1px;
    }

    .bg-shape {
        clip-path: none !important;
    }

    .content-inner {
        padding: 4rem 2rem !important;
    }

    .info-col {
        min-height: auto;
    }
}

/* tarjetas infografia */
/* tarjetas infografia */
.presentation-page .brand h3,
.index-page .brand h3 {
    font-size: 1rem;
}

h2,
.h2 {
    font-size: 1.75rem;
}

@media (min-width: 992px) {

    .presentation-page .brand h3,
    .index-page .brand h3 {
        font-size: 1.313rem;
    }

    h2,
    .h2 {
        font-size: 2.25rem;
    }
}

.btn.disabled,
.btn:disabled {
    box-shadow: none;
}

.opacity-6 {
    opacity: 0.6 !important;
}


.option-group label,
.btn-group-toggle label {
    position: relative !important;
    margin: 0;
    cursor: pointer;
    z-index: 1 !important;
}


.option-group input[type="radio"],
.btn-group-toggle input[type="radio"] {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;

    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 20px !important;
    height: 20px !important;
    margin: 0 !important;

    z-index: -1 !important;
}

.btn-option {
    position: relative !important;
    z-index: 2 !important;
}

.btn.btn-white, .btn.btn-white:focus, .btn.btn-white:hover {
background-color: #fff;
color: #000000;
}