@font-face {
    font-family: "Roboto";
    src: url("../../fonts/roboto/roboto-400.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Roboto";
    src: url("../../fonts/roboto/roboto-500.woff2") format("woff2");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Roboto";
    src: url("../../fonts/roboto/roboto-700.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Montserrat";
    src: url("../../fonts/montserrat/montserrat-500.woff2") format("woff2");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Montserrat";
    src: url("../../fonts/montserrat/montserrat-600.woff2") format("woff2");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Montserrat";
    src: url("../../fonts/montserrat/montserrat-700.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --amarillo: #ffe600;
    --amarillo-hover: #f0d400;
    --lateral: #3e444a;
    --lateral-texto: #f3f3f3;
    --fondo: #f3f3f3;
    --texto: #2a2a2a;
}

body {
    display: flex;
    flex-direction: column;
    margin: 0;
    min-height: 100vh;
    background: var(--fondo);
    color: var(--texto);
    font-family: "Roboto", sans-serif;
    font-size: 1rem;
    line-height: 1.55;
}

h1,
h2,
legend,
.btn,
.menu-seccion,
.menu-item,
.titulo-pagina,
table thead th,
.aviso-obligatorio {
    font-family: "Montserrat", sans-serif;
}

.btn>.bi {
    margin-right: 0.4rem;
}

a {
    color: #1a1a1a;
}

.barra-uniandes {
    display: flex;
    align-items: center;
    min-height: 78px;
    padding: 0.45rem 1.4rem;
    background: var(--amarillo);
}

.marca {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    color: #111;
    text-decoration: none;
}

.marca img {
    height: 58px;
    width: auto;
    mix-blend-mode: multiply;
}

.marca-depto {
    font-size: 1.05rem;
    font-weight: 500;
    line-height: 1.15;
    color: #111;
}

.cuerpo-app {
    display: flex;
    flex: 1 1 auto;
    align-items: stretch;
    min-height: 0;
}

.menu-lateral {
    flex: 0 0 270px;
    width: 270px;
    background: var(--lateral);
    color: var(--lateral-texto);
    padding: 0.85rem 0.75rem 1.2rem;
}

.menu-tarjeta {
    margin-bottom: 0.85rem;
    padding: 0.7rem 0.7rem 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 6px;
}

.menu-seccion {
    margin: 0 0 0.55rem;
    padding: 0 0.15rem 0.35rem;
    border-bottom: 1px solid var(--amarillo);
    color: var(--amarillo);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.menu-item,
.menu-enlace {
    display: block;
    margin: 0.2rem 0.1rem;
    padding: 0.42rem 0.7rem;
    border-radius: 4px;
    color: #fff;
    text-decoration: none;
}

.menu-item:hover,
.menu-enlace:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.menu-item.activo {
    background: var(--amarillo);
    color: #1a1a1a;
    font-weight: 700;
    text-align: center;
}

.menu-item.activo:hover {
    background: var(--amarillo-hover);
    color: #1a1a1a;
}

.menu-subitem {
    font-size: 0.92rem;
}

.panel-pestanas {
    margin-bottom: 1.5rem;
}

.pestanas-oferta {
    border-bottom: 1px solid #e6cf00;
    gap: 0.35rem;
    margin-bottom: 0;
}

.pestanas-oferta .nav-link {
    background: #f6f6f6;
    border: 1px solid #e0e0e0;
    border-bottom: 0;
    border-radius: 0.45rem 0.45rem 0 0;
    color: #1a1a1a;
    font-family: Montserrat, sans-serif;
    margin-bottom: -1px;
}

.pestanas-oferta .nav-link:hover {
    background: #fff8b0;
    border-color: #e6cf00;
}

.pestanas-oferta .nav-link.active {
    background: #fff;
    border-color: #e6cf00 #e6cf00 #fff;
    color: #1a1a1a;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.panel-pestanas-cuerpo {
    background: #fff;
    border: 1px solid #e6cf00;
    border-radius: 0 0.5rem 0.5rem 0.5rem;
    border-top: 0;
    padding: 1.25rem 1.25rem 1.5rem;
}

.panel-pestanas-cuerpo.panel-suelto {
    border-top: 1px solid #e6cf00;
    border-radius: 0.5rem;
}

.panel-pestanas-cuerpo>.tarjeta {
    margin-bottom: 0;
}

.menu-nota {
    margin: 0.15rem 0.15rem 0.65rem;
    color: #f0f0f0;
    font-size: 0.92rem;
}

.form-lateral {
    padding: 0 0.1rem 0.15rem;
}

.form-lateral .form-label,
.aviso-lateral {
    display: block;
    margin: 0.55rem 0 0.25rem;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 500;
}

.aviso-lateral {
    margin-top: 0;
    font-family: "Montserrat", sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
}

.form-lateral .form-label span,
.aviso-lateral span {
    color: #ffe600;
}

.form-lateral .form-control {
    border: 0;
    border-radius: 2px;
    background: #fff;
    color: #222;
}

.form-lateral .form-control.is-invalid {
    border: 2px solid #ff4d4d;
    background: #fff5f5;
    box-shadow: 0 0 0 2px rgba(255, 77, 77, 0.35);
}

.form-lateral .form-control.is-invalid+.invalid-feedback {
    display: block;
    margin-top: 0.2rem;
    color: #ff9a9a;
    font-size: 0.82rem;
    font-weight: 600;
}

.form-lateral .btn {
    margin-top: 0.9rem;
}

.alerta-lateral {
    margin-bottom: 0.6rem;
    padding: 0.45rem 0.55rem;
    background: rgba(0, 0, 0, 0.25);
    color: #fff;
    font-size: 0.85rem;
}

.alerta-lateral ul {
    margin: 0;
    padding-left: 1.1rem;
}

.zona-contenido {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-width: 0;
    padding: 1.4rem 2rem 0.6rem;
    background: var(--fondo);
}

.titulo-pagina {
    margin: 0.2rem 0 1.2rem;
    color: #1c1c1c;
    font-size: 1.55rem;
    font-weight: 700;
    text-align: center;
}

.tarjeta {
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
}

.card-plazo {
    border: 1px solid #e2e2e2;
    border-radius: 0.6rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.introduccion p {
    margin-bottom: 1rem;
}

.aviso-obligatorio {
    font-size: 0.92rem;
    font-weight: 600;
}

.form-label:has(+ .is-invalid),
[data-grupo-obligatorio].is-invalid>.form-label {
    color: #dc3545;
}

.form-lateral .form-label:has(+ .is-invalid),
.form-lateral .form-label:has(+ .is-invalid) span {
    color: #ffb4b4;
}

[data-grupo-obligatorio].is-invalid>.invalid-feedback {
    display: block;
}

.btn {
    border-radius: 2px;
    font-weight: 700;
}

.btn-primary {
    --bs-btn-bg: var(--amarillo);
    --bs-btn-border-color: #e6cf00;
    --bs-btn-color: #1a1a1a;
    --bs-btn-hover-bg: var(--amarillo-hover);
    --bs-btn-hover-border-color: #d4be00;
    --bs-btn-hover-color: #111;
    --bs-btn-active-bg: #e6cf00;
    --bs-btn-active-border-color: #c9b400;
    --bs-btn-active-color: #111;
}

.btn-outline-secondary {
    --bs-btn-bg: #5a5a5a;
    --bs-btn-border-color: #5a5a5a;
    --bs-btn-color: #fff;
    --bs-btn-hover-bg: #3d3d3d;
    --bs-btn-hover-border-color: #3d3d3d;
    --bs-btn-hover-color: #fff;
    --bs-btn-active-bg: #333;
    --bs-btn-active-color: #fff;
}

.form-label {
    font-weight: 500;
}

div.dt-container {
    padding: 0.75rem 0.75rem 0.4rem;
    background: #fff;
    font-family: "Roboto", sans-serif;
}

div.dt-buttons {
    gap: 0.35rem;
    margin-bottom: 0.35rem;
}

div.dt-buttons .btn .bi {
    margin-right: 0.35rem;
}

div.dt-container table.dataTable.tabla-datos thead>tr>th {
    background-color: #fff4a8;
    color: #1c1c1c;
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
    border-bottom: 2px solid #e6cf00;
    vertical-align: middle;
}

.dt-container .dt-search input,
.dt-container .dt-length select,
.dt-container .dt-info,
.dt-container .dt-paging {
    font-family: "Roboto", sans-serif;
}

.page-item.active .page-link {
    background: var(--amarillo);
    border-color: #e6cf00;
    color: #1a1a1a;
}

.pie-app {
    margin-top: auto;
    padding-top: 1.5rem;
    color: #666;
    font-size: 0.8rem;
}

.pie-app p {
    margin: 0;
    padding: 0.8rem 0 0.4rem;
}

@media (max-width: 991.98px) {
    .cuerpo-app {
        flex-direction: column;
    }

    .menu-lateral {
        width: 100%;
        flex-basis: auto;
    }

    .marca img {
        height: 46px;
    }

    .marca-depto {
        font-size: 0.92rem;
    }

    .zona-contenido {
        padding: 1rem 0.9rem 0.4rem;
    }

    .titulo-pagina {
        font-size: 1.25rem;
    }
}