﻿@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@100..900&display=swap");

/* Tema admin-nacional: copia base de admin-comfandi. Ajustar la paleta de marca aqui. */
:root {
    --nacional-primary: #011E41;
}

.text-danger-comfandi {
    color: #FF0909;
}

.error-input-validation {
    border: 1px solid #FF0909 !important;
}

.text-active {
    color: var(--nacional-primary) !important;
}

.input-container input {
    border: none;
    outline: none;
    box-shadow: none;
    background-color: transparent;
}

    .input-container input::placeholder {
        color: #adb5bd;
    }

.input-icon {
    color: var(--nacional-primary);
    font-size: 1.2rem;
    cursor: pointer;
}

.search-icon {
    width: 50px;
    height: 50px;
    margin-top: 24px;
    cursor: pointer;
}

.email-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.3rem 0;
    border-bottom: 1px solid #dee2e6;
}

.email-text {
    margin-left: 0.5rem;
}

.email-check {
    color: #6c757d;
}

.email-remove {
    color: #adb5bd;
    cursor: pointer;
}

.dropdown-toggle::after {
    display: none;
}

.progress-container {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.progress-label {
    width: 100px;
    text-align: right;
    margin-right: 20px;
}

.progress {
    height: 25px;
    border-radius: 15px;
    width: 200px;
}

.progress-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
}

.bar-1 {
    background-color: #5a5ab1;
}

.bar-2 {
    background-color: #a6d56e;
}

.bar-3 {
    background-color: #4ac2c2;
}

/*.table-responsive-custom {
    width: 100%;
    overflow-x: auto;
}

@media (max-width: 991.98px) {
    .table-responsive-custom {
        display: block;
    }
}*/

/* Ajustes opcionales */
/*.btn-detail {
    white-space: nowrap;
    min-width: 120px;
    background-color: var(--nacional-primary);
    border: none;
}

table {
    min-width: 1000px;*/ /* Para evitar compresión en pantallas pequeñas */
/*}*/

.table-container {
    width: 100%;
    overflow-x: auto;
}

.max-table {
    table-layout: fixed;
    width: 100%;
    min-width: 1100px; /* activa el scroll horizontal si se necesita */
}

    .max-table th,
    .max-table td {
        word-wrap: break-word;
        overflow-wrap: break-word;
        white-space: normal;
        vertical-align: middle;
        max-width: 180px;
    }

/* Para columna "Detalle" y el botón */
.no-wrap {
    white-space: nowrap;
    text-align: center;
}

/* Para que el botón no se corte */
.btn-primary {
    white-space: nowrap;
}


@media (max-width: 991.98px) {
    .table-container {
        display: block;
    }
}

@media (min-width: 992px) {
    .col-lg-3-1 {
        flex: 1 0 0%;
        width: 20%;
    }
}

.upload-container {
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 8px;
    width: 100%;
    max-width: 722.5px;
}

.upload-label {
    font-size: 14px;
    color: #6c757d;
}

.upload-box {
    width: 100%;
    max-width: 722.5px;
    height: 200px;
    border: 1px dashed #a5b1c2;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    cursor: pointer;
    color: #6c757d;
    transition: border 0.3s ease;
}

    .upload-box:hover {
        border-color: #495057;
    }

    .upload-box img {
        width: 30px;
        height: 30px;
        margin-bottom: 8px;
    }

    .upload-box span {
        font-weight: 600;
        color: #2C3948;
    }

    .upload-box p {
        font-size: 13px;
        color: #A5B1BF;
        margin-top: 7px;
    }

.upload-input {
    display: none;
}

.bg-tr-selected td {
    background-color: rgba(5, 195,221, 1) !important;
}

.dropdown-item:active {
    background-color: #f8f9fa !important;
}

.checkbox-sbs {
    accent-color: #E3E4E5 !important;
    width: 20px !important;
    height: 20px !important;
    border-radius: 5px !important;
    font-weight: 100 !important;
    background-color: #E3E4E5 !important;
    -webkit-appearance: none; /* Para navegadores WebKit (Safari, Chrome) */
    -moz-appearance: none; /* Para Firefox */
    appearance: none;
}

    /* Cambiar el diseño cuando está marcado */
    .checkbox-sbs:checked {
        background-color: var(--nacional-primary) !important;
        border-color: var(--nacional-primary);
    }

        /* Agregar el icono de check */
        .checkbox-sbs:checked::after {
            content: "\2713"; /* Código Unicode para check ✓ */
            font-size: 16px;
            color: #ffffff;
            font-weight: bold;
            position: relative;
            display: block;
            top: 50%;
            left: 65%;
            transform: translate(-50%, -50%);
        }

/*Icon ADMINISTRACION*/
.nav-link:has(+ #userAdminCollapse.show) .bi-chevron-down {
    display: none;
}

.nav-link:has(+ #userAdminCollapse.show) .bi-chevron-up {
    display: inline;
}

/*Icon CANALES*/
.nav-link:has(+ #channelsCollapse.show) .bi-chevron-down {
    display: none;
}

.nav-link:has(+ #channelsCollapse.show) .bi-chevron-up {
    display: inline;
}

/*Icon PRODUCTOS*/
.nav-link:has(+ #productCollapse.show) .bi-chevron-down {
    display: none;
}

.nav-link:has(+ #productCollapse.show) .bi-chevron-up {
    display: inline;
}

.bi-chevron-up {
    display: none;
}


.container-sections {
    padding: 2rem 4rem;
}

.btn {
    border-color: var(--nacional-primary) !important;
    font-size: 14px !important;
    font-weight: 400 !important;
}

.btnDownload {
    border: none;
    background: transparent;
    padding: 0;
    cursor: pointer;
}

.btnDownload:focus {
    outline: none;
    box-shadow: none;
}

.btn-primary {
    background-color: var(--nacional-primary) !important;
}

.text-primary-sbs {
    font-weight: bold;
    font-size: 40px;
    color: black !important;
}

.text-secundary {
    font-weight: bold;
    font-size: 24px;
}

.text-subtitle {
    font-weight: 600;
    font-size: 14px;
    color: #6B737C;
}

.text-header-table {
    font-weight: bold;
    font-size: 14px;
}

.text-normal {
    font-weight: normal;
    font-size: 14px;
    max-width: 3000px;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.text-menu {
    font-weight: 500;
    font-size: 16px;
    color: #6B737C;
}

.text-bottons {
    font-weight: 700;
    font-size: 18px;
}

.text-modal-confirmation {
    font-weight: bold;
    font-size: 30px;
    color: var(--nacional-primary);
}

.custom-divider {
    border-right: #A5B1BF;
    background-color: #A5B1BF; /* Color de la línea */
    margin: 0px 10px; /* Espaciado */
    width: 2px;
}

.marging-rigth {
    margin-right: 10px;
}

.bg-color-icon {
    color: var(--nacional-primary) !important;
}

.marging-bottom-40 {
    margin-bottom: 40px;
}

.modal-confirmation {
    padding: 34px;
    text-align: center;
    align-content: center;
    padding-right: 0px !important;
}

.marging-bottom-60 {
    margin-bottom: 60px;
}

.marging-button-rigth {
    margin-right: 40px;
}

.marging-button-top {
    margin-top: 80px;
}

/*No modificar clases heredadas de Boostrap dado a que puede que existan modales
    con la misma clase y esto los afecta, mejor crear otra clase con las propiedades de 
    modal-content o estilos necesarios ;)
*/
/*.modal-content {
    justify-content: center;
    align-items: center;
    width: 445px !important;
    padding: 34px;
}*/

.text-aling-justify {
    text-align: justify;
}

.modal-content-form {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 1081px !important;
    background-color: white;
    padding: 34px;
    border-radius: 20px;
    pointer-events: auto;
    outline: 0;
}

/*No modificar clases heredadas de Boostrap dado a que puede que existan modales
    con la misma clase y esto los afecta, mejor crear otra clase con las propiedades de 
    modal-dialog-centered o el max-width necesario ;)
*/
/*.modal-dialog-centered {
    max-width: 1081px !important;
}*/

.w-bottms {
    width: 200px;
}

.w-bottms-modal {
    width: 150px;
}

.input-underline {
    border: none;
    border-bottom: 2px solid #2C3948;
    outline: none;
}

.input-underline-icon {
    border: none;
    border-bottom: 2px solid #2C3948;
    outline: none;
}

.w-inputs-modal {
    width: 90%;
}

.h-textarea-modal {
    height: 140px;
}


.rectangle-4747 {
    align-self: stretch;
    background-color: var(--gris-medio);
    position: relative;
    width: 1px;
    margin-right: 15px;
}

.perfil-container {
    display: flex;
    align-items: center;
    padding: 5px;
    border-radius: 10px;
    width: 300px;
}

.perfil-icono {
    width: 40px;
    height: 40px;
    background-color: #3A9900;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 500;
    border-radius: 50%;
    margin-right: 10px;
}

.perfil-info {
    flex-grow: 1;
}

.perfil-nombre {
    font-size: 16px;
    font-weight: bold;
    color: #2c3e50;
}

.perfil-rol {
    font-size: 14px;
    color: #7f8c8d;
}

.perfil-opciones {
    cursor: pointer;
    font-size: 18px;
    color: #2c3e50;
}

.pagination .page-link:hover {
    background-color: var(--nacional-primary) !important;
    color: #fff;
}

.pagination .page-item.active .page-link {
    background-color: var(--nacional-primary);
    border-color: var(--nacional-primary);
    color: white !important;
}

.btn-sbs-purple {
    background-color: var(--nacional-primary);
    color: #fff;
    border: var(--nacional-primary) 0.2em solid;
    border-radius: 7px;
    transition: all 0.6s ease;
}

    .btn-sbs-purple:hover {
        background-color: #04daf7;
        color: #fff;
    }

.center-loading {
    position: fixed;
    top: 50%;
    left: 50%;
}

.custom-modal .blazored-modal {
    background-color: rgba(255, 255, 255, 0.11);
    backdrop-filter: blur(2.5px);
}

.custom-modal .blazored-modal-container {
    max-width: 60%;
    border-radius: 10px;
    border: 0;
    box-shadow: 0px 0px 8px 1px rgb(0 0 0 / 13%);
    -webkit-box-shadow: 0px 0px 8px 1px rgb(0 0 0 / 13%);
    -moz-box-shadow: 0px 0px 8px 1px rgb(0 0 0 / 13%);
}

.custom-modal .blazored-modal-header {
    border: 0;
    margin-left: 20px;
    margin-right: 15px;
    margin-top: 15px;
    color: #003DA0;
    font-weight: bold;
}

.custom-modal .blazored-modal-close {
    background-position: right;
    margin-bottom: 15px;
}

::root {
    --primary: var(--nacional-primary);
    --gray: #7b848e;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Montserrat !important;
}

body {
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: var(--gray) !important;
}

.form-label,
.nav-link,
.dropdown-item {
    color: var(--gray);
    font-size: 14px;
    font-weight: 500;
    border: none;
}

    .nav-link:hover {
        color: var(--primary) !important;
    }

.card {
    border: none;
    border-radius: 20px !important;
}

    .card h5 {
        font-size: 18px;
        font-weight: 600;
    }

input,
select {
    color: var(--gray) !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    border: none;
    /*background-color: #f9f9f9 !important;*/
}

.toggle-nav {
    display: none;
}

@media only screen and (max-width: 330px) {
    .center-loading {
        position: fixed;
        top: 50%;
        left: 50%;
        -webkit-transform: translate(-50%, -50%);
        transform: translate(-50%, -50%);
    }

    .sidebar {
        display: none !important;
    }

    .toggle-nav {
        display: block;
    }
}

/* Style the active state for only the top-level nav-item */
.nav-item > .nav-link.active {
    position: relative;
    /*background-color: #f0f0f0;*/
    border-radius: 10px;
}

.nav-item .list-group-item .dropdown-item {
    border: none;
    background-color: transparent;
}

    .nav-item .list-group-item .dropdown-item.active {
        color: var(--nacional-primary) !important;
    }

/* Scrollbar styles */
.custom-box::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

/* Scrollbar handle */
.custom-box::-webkit-scrollbar-thumb {
    background: var(--nacional-primary) !important;
    border-radius: 10px;
}

    .custom-box::-webkit-scrollbar-thumb:hover {
        background: var(--nacional-primary);
    }

.table tbody tr:hover {
    background-color: #f8f8f8;
}

/* Custom styles */
.table-container {
    max-height: 300px;
    overflow-y: auto;
    padding: 20px;
}

.crm-comfandi-page .table-container.custom-box {
    max-height: none !important;
    height: auto !important;
    overflow-y: visible !important;
}

.tableContainerDestination {
    max-height: 700px;
    overflow-y: auto;
    padding: 20px;
}

.table-container::-webkit-scrollbar {
    width: 6px;
}

.table-container::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
}

.table-container::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.table tbody tr.selected {
    background-color: #f9f0ff;
}

input[type="checkbox"] {
    width: 17px;
    height: 17px;
    accent-color: var(--nacional-primary) !important;
    cursor: pointer;
}

.table-light th {
    font-size: 14px;
}

.table td {
    font-size: 13px;
    max-width: 150px; /* Ajusta el ancho máximo de cada celda */
}

.table tr {
    height: 60px;
    text-align: center;
}

/* From Uiverse.io by lenin55 */
.cl-toggle-switch {
    position: relative;
}

.cl-switch {
    position: relative;
    display: inline-block;
}
    /* Input */
    .cl-switch > input {
        appearance: none;
        -moz-appearance: none;
        -webkit-appearance: none;
        z-index: -1;
        position: absolute;
        right: 6px;
        top: -8px;
        display: block;
        margin: 0;
        border-radius: 50%;
        width: 40px;
        height: 40px;
        background-color: rgb(0, 0, 0, 0.38);
        outline: none;
        opacity: 0;
        transform: scale(1);
        pointer-events: none;
        transition: opacity 0.3s 0.1s, transform 0.2s 0.1s;
    }
    /* Track */
    .cl-switch > span::before {
        content: "";
        float: right;
        display: inline-block;
        margin: 5px 0 5px 0px;
        border-radius: 7px;
        width: 40px;
        height: 15px;
        background-color: rgb(0, 0, 0, 0.38);
        vertical-align: top;
        transition: background-color 0.2s, opacity 0.2s;
    }
    /* Thumb */
    .cl-switch > span::after {
        content: "";
        position: absolute;
        right: 16px;
        border-radius: 50%;
        width: 25px;
        height: 25px;
        background-color: #fff;
        box-shadow: 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
        transition: background-color 0.2s, transform 0.2s;
        border: 1px solid black;
    }
    /* Checked */
    .cl-switch > input:checked {
        right: -10px;
        background-color: #05C3DD6a;
    }

        .cl-switch > input:checked + span::before {
            background-color: var(--nacional-primary);
        }

        .cl-switch > input:checked + span::after {
            box-shadow: rgba(0, 0, 0, 0.12) 0px 1px 3px, rgba(0, 0, 0, 0.24) 0px 1px 2px;
            transform: translateX(16px);
            border: 1px solid rgb(209, 209, 209);
        }
    /* Hover, Focus */
    .cl-switch:hover > input {
        opacity: 0.04;
    }

    .cl-switch > input:focus {
        opacity: 0.12;
    }

    .cl-switch:hover > input:focus {
        opacity: 0.16;
    }
    /* Active */
    .cl-switch > input:active {
        opacity: 1;
        transform: scale(0);
        transition: transform 0s, opacity 0s;
    }

        .cl-switch > input:active + span::before {
            background-color: #8f8f8f;
        }

    .cl-switch > input:checked:active + span::before {
        background-color: var(--primary);
    }
    /* Disabled */
    .cl-switch > input:disabled {
        opacity: 0;
    }

        .cl-switch > input:disabled + span::before {
            background-color: #ddd;
        }

    .cl-switch > input:checked:disabled + span::before {
        background-color: #05C3DD6b;
    }

    .cl-switch > input:checked:disabled + span::after {
        background-color: #05C3DD3f;
    }

/* Add User Button  */
.button {
    background-color: var(--nacional-primary);
    color: #fff;
    width: 12em;
    height: 2.9em;
    border: var(--nacional-primary) 0.2em solid;
    border-radius: 7px;
    text-align: right;
    transition: all 0.6s ease;
}

    .button:hover {
        cursor: pointer;
    }

    .button svg {
        width: 1.6em;
        position: absolute;
        margin-left: 20px !important;
        margin-top: 2px !important;
        display: flex;
        transition: all 0.6s ease;
    }


.create-promotion-btn svg {
    width: 1.6em;
    position: absolute;
    margin-left: 10px !important;
    margin-top: 2px !important;
    display: flex;
    transition: all 0.6s ease;
}

.textCreatePromotion {
    margin: 0px 10px 0px 0.5em;
    font-weight: 600;
}

.text {
    margin: 0 1.5em;
    font-weight: 600;
}

/* Styles for positioning the modal in the center of the page */
.modal-container {
    margin-top: 40px;
    height: 700px;
    width: 80%;
    padding: 50px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Input Design  */
.input-box {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.input-container {
    width: 30%;
}

    .input-container span {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .input-container input {
        width: 250px;
        padding: 10px;
        outline: none;
        background-color: #ffffff !important;
        border-bottom: 1px solid #000;
        font-weight: 500 !important;
        color: rgb(0, 0, 0);
    }

    .input-container img {
        transform: translateX(-20px);
    }

@media only screen and (max-width: 750px) {
    .input-box {
        flex-direction: column;
    }

    .input-container {
        width: 100%;
    }

        .input-container input {
            width: 500px !important;
        }

    .check {
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }
}

/* Alert  */
.alert {
    margin: auto;
    width: 70%;
}

.alert-danger {
    border: 1px solid #ff1d08;
    color: #ff1d08;
    background-color: #f3dcdd;
}

.max-table th {
    font-size: 14px !important;
    background-color: #fff !important;
}

.max-table td {
    font-size: 12px !important;
}

/* bottom-navigation */
.pagination {
    margin-top: 20px;
    gap: 20px;
}

.page-link {
    border: none !important;
    outline: none !important;
}

.page-link {
    border-radius: 8px;
}

    .page-link:hover {
        background-color: var(--nacional-primary);
        color: #fff !important;
    }

.paginationButton {
    border: none !important;
    outline: none !important;
    border-radius: 8px;
    color: black !important;
    background-color: #fff !important;
}

    .paginationButton:focus,
    .paginationButton:active {
        color: #fff !important;
        background-color: var(--nacional-primary) !important;
    }

.alert {
    align-items: center;
    padding: 15px;
    border-radius: 10px;
    font-family: Arial, sans-serif;
    width: 100%;
    max-width: 500px;
}

.alertFailed {
    align-items: center;
    border: 1px solid #ff1d08;
    background-color: #E80B0B1A;
    color: black;
    padding: 15px;
    border-radius: 10px;
    font-family: Arial, sans-serif;
    width: 100%;
    max-width: 500px;
}

.alertWarning {
    align-items: center;
    border: 1px solid #FD9F07;
    background-color: #FD9F071A;
    color: black;
    padding: 15px;
    border-radius: 10px;
    font-family: Arial, sans-serif;
    width: 100%;
    max-width: 500px;
}

.icon {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: limegreen;
    color: white;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    font-size: 18px;
    margin-right: 10px;
}
/* Sidebar en pantallas grandes */
.sidebar {
    width: 320px;
    min-width: 320px;
    background-color: white;
    position: fixed;
    height: 100vh;
    transition: transform 0.3s ease-in-out;
}

/* Ocultar sidebar en móviles (cuando está cerrado) */
.sidebar-hidden {
    transform: translateX(-100%);
}

/* Ajustar contenido cuando el sidebar está abierto */
.content {
    margin-left: 320px;
    width: calc(100% - 320px);
    transition: margin-left 0.3s ease-in-out;
}

/* Estilo por defecto: móviles (sin margen) */
/*.content {
    margin-left: 0;
    width: 100%;
    transition: margin-left 0.3s ease-in-out;
}*/

/* A partir de pantallas medianas (≥768px), aplica margen y ancho reducido */
/*@media (min-width: 768px) {
    .content {
        margin-left: 320px;
        width: calc(100% - 320px);
    }
}*/


.table-container {
    width: 100%;
    overflow-x: auto; /* Activa la barra de desplazamiento horizontal */
    -webkit-overflow-scrolling: touch; /* Mejora la experiencia en dispositivos móviles */
}

.table {
    width: 100%;
    /*min-width: 900px; Ajusta según el contenido mínimo que quieres mostrar sin que se rompa */
    white-space: nowrap; /* Evita que los textos se partan en varias líneas */
}

.table-responsive {
    width: 100%;
    max-width: 1100px;
}

    .table-responsive table {
        width: 100%; /* Asegura que la tabla ocupe todo el espacio disponible */
    }

.table {
    width: 100%;
}

.buttonExport {
    background-color: white;
    color: black;
    width: 12em;
    height: 2.9em;
    border: black 1px solid;
    border-radius: 7px;
    text-align: right;
    transition: all 0.6s ease;
}

.modal-content {
    border: 0;
    border-radius: 20px;
}

.alert-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.alert-content {
    margin-top: 50px; /* Ajusta este valor para bajar el contenido */
}


/* Ajustes en móviles */
@media (max-width: 300px) {
    .sidebar {
        transform: translateX(-100%);
    }

        .sidebar.show {
            transform: translateX(0);
        }

    .content {
        margin-left: 0;
        width: 100%;
    }
}

@media only screen and (max-width: 768px) {
    .bottom-navigation {
        flex-direction: column;
        gap: 10px !important;
    }

    .custom-card {
        height: 550px !important;
    }

    .lens {
        margin-top: 0px !important;
    }
}


:root {
    --blanco: #ffffff;
    --mercury-4: #e6e6e6;
    --mercury: #e3e4e5;
    --gris-oscuro: #6a727c;
    --gris-medio: #a5b1bf;
    --azul-p: #007bff;
    --blue-bell: #a5b1c2;
    --disco: #90195b;
    --log-cabin: #333;
    --gap-custom: 12px;
    --icon-size: 24px;
    --font-family-montserrat: 'Montserrat', sans-serif;
    --font-size-m: 14px;
    --font-size-xl: 16px;
    --font-size-xxl: 18px;
}

.pop-up {
    min-height: 716px;
    width: 822px;
    padding: 33px 48.5px !important;
}

.carga-masiva {
    height: 40px;
    width: 720px;
    line-height: 32px;
    margin-top: -1px;
    position: relative;
}

.montserrat-bold-outer-space-28px {
    font-size: 28px;
    font-weight: 700;
    color: #2C3948;
    font-family: var(--font-family-montserrat);
}

.iconos-documentos {
    width: var(--icon-size);
    height: var(--icon-size);
}

.plantilla {
    color: var(--log-cabin);
    width: 383px;
    margin-bottom: 0px !important;
}

.texto-de-ayuda {
    font-family: var(--font-family-montserrat);
    font-size: var(--font-size-m);
}

.texto-de-ayuda-2 {
    color: var(--gris-medio);
    font-size: var(--font-size-m);
    font-weight: 500;
}

.campo-de-adjuntar {
    align-items: center;
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-top: 62px;
    width: 100%;
}

.adjunte-los-documentos {
    color: var(--gris-oscuro);
    font-weight: 400;
    line-height: 18px;
    width: 100%;
    max-width: 702px;
    margin-bottom: 0px !important;
}

.adjuntar-evidencias {
    background-color: var(--blanco);
    border: 1px dashed var(--blue-bell);
    border-radius: 5px;
    height: 200px;
    width: 100%;
    max-width: 722.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    cursor: pointer;
}

.txt-1 p {
    font-weight: 600;
    font-family: var(--font-family-montserrat);
    font-size: var(--font-size-xl);
}

.custom-button {
    border-radius: 8px;
    height: 58px;
    padding: 0px 40px;
    font-family: var(--font-family-montserrat);
    font-size: var(--font-size-xxl);
    font-weight: 600;
    text-align: center;
    width: 100%;
}

.terciario {
    color: var(--disco) !important;
    border: 2px solid var(--disco) !important;
    background-color: transparent;
}

.primario {
    background-color: var(--disco) !important;
    border: 2px solid var(--disco) !important;
    color: var(--blanco);
}

.invisible-file-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0; /* Hace el InputFile invisible */
    z-index: 10; /* Asegura que el input esté encima del área clicable */
}

.file-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    align-self: center;
}

.invisible-file-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: 10;
}

.montserrat-bold-disco-30px {
    font-family: var(--font-family-montserrat);
    font-size: 30px;
    font-weight: 700;
    color: var(--disco) !important;
}

.montserrat-normal-black-14px {
    font-family: var(--font-family-montserrat);
    font-size: 14px;
    font-weight: 400;
    color: #000;
}

.font-weight-bold {
    font-weight: 600;
}

.confirmacion-cargue-masivo-total .frame-5806 {
    background-color: var(--blanco);
    border-color: var(--mercury);
}

.custom-button-2 {
    border-radius: 8px;
    font-family: var(--font-family-montserrat);
    font-size: var(--font-size-m);
    text-align: center;
    height: 39px;
    justify-content: center;
    padding: 5px 25px;
    position: relative;
    width: 141px;
}

.button-peticion {
    background-color: #fff;
    color: #2C3948;
    width: 12em;
    height: 2.9em;
    border: #2C3948 1.5px solid;
    border-radius: 7px;
    text-align: right;
    transition: all 0.6s ease;
}




.pagination .page-link:hover {
    background-color: var(--nacional-primary);
}

.pagination .page-item.active .page-link {
    background-color: var(--nacional-primary); /* Fondo cuando está seleccionado */
    color: white; /* Texto blanco cuando está seleccionado */
    border-color: var(--nacional-primary); /* Borde también cambia */
}

.modal-lg-plus {
    max-width: 600px;
}
/* ==========================================================================
   Login admin-nacional (/nacional/Account/Login)
   ========================================================================== */
:root {
    --nac-navy: #011E41;
    --nac-footer: #295061;
    --nac-text: #1F2A37;
    --nac-muted: #6B7280;
    --nac-error: #D92D20;
}

.nac-login {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: #FFFFFF;
    font-family: Montserrat, Arial, sans-serif;
}

.nac-login__main {
    flex: 1;
    display: flex;
    min-height: 528px;
}

.nac-login__form-side {
    position: relative;
    flex: 0 0 56%;
    display: flex;
    align-items: center;
    padding: 110px 24px 40px 220px;
}

.nac-login__logo {
    position: absolute;
    top: 8px;
    left: 10px;
    background: var(--nac-navy);
    border-radius: 6px;
    padding: 10px 8px;
}

    .nac-login__logo img {
        display: block;
        height: 62px;
        width: auto;
    }

.nac-login__form-wrapper {
    width: 100%;
    max-width: 331px;
}

.nac-field {
    margin-bottom: 26px;
}

.nac-field__label {
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 700;
    color: var(--nac-navy);
}

.nac-field__control {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 45px;
    padding: 0 12px;
    border: 1px solid var(--nac-navy);
    border-radius: 6px;
    background: #FFFFFF;
}

    .nac-field__control:focus-within {
        box-shadow: 0 0 0 3px rgba(1, 30, 65, 0.15);
    }

.nac-field__icon,
.nac-field__toggle svg {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    fill: none;
    stroke: var(--nac-muted);
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.nac-field__input {
    flex: 1;
    min-width: 0;
    height: 100%;
    border: none;
    outline: none;
    background: transparent;
    font-size: 13px;
    color: var(--nac-text);
}

    .nac-field__input::placeholder {
        color: #4B5563;
    }

.nac-field__toggle {
    display: flex;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
}

    .nac-field__toggle[aria-pressed="true"] svg {
        stroke: var(--nac-navy);
    }

.nac-field__hint {
    margin: 6px 0 0;
    font-size: 11px;
    line-height: 1.4;
    color: var(--nac-muted);
}

.nac-field__error {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    color: var(--nac-error);
}

.nac-login__forgot {
    margin: -6px 14px 34px 0;
    text-align: right;
}

    .nac-login__forgot a {
        font-size: 13px;
        font-weight: 700;
        color: var(--nac-navy) !important;
        text-decoration: none;
    }

        .nac-login__forgot a:hover {
            text-decoration: underline;
        }

.nac-login__actions {
    text-align: center;
}

.nac-btn,
a.nac-btn,
a.nac-btn:hover,
a.nac-btn:focus {
    color: #FFFFFF !important;
}

.nac-btn {
    min-width: 117px;
    height: 41px;
    padding: 0 14px;
    border: none;
    border-radius: 6px;
    background: var(--nac-navy);
    color: #FFFFFF;
    font-size: 14px;
    cursor: pointer;
}

    .nac-btn:hover {
        background: #0A2D5C;
    }

.nac-login__hero {
    flex: 1;
    background: #E5E7EB url("img/login-hero.jpg") center / cover no-repeat;
}

.nac-footer {
    background: var(--nac-footer);
    color: #D6E1E6;
    padding: 34px 0 18px 84px;
    font-size: 10px;
}

.nac-footer__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    padding-bottom: 28px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.nac-footer__brand {
    align-self: center;
}

    .nac-footer__brand p {
        margin: 0 0 4px;
    }

.nac-footer__col h4 {
    margin: 0 0 12px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #FFFFFF;
}

.nac-footer__col ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.nac-footer__col li {
    margin-bottom: 8px;
}

.nac-footer__col a {
    color: inherit !important;
    text-decoration: none;
}

.nac-footer__copy {
    padding-top: 16px;
    text-align: center;
    font-size: 8px;
    color: #9FB3BD;
}

/* Login admin-nacional: modales y paso del código de verificación - WI 16972 */
.nac-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.nac-login--blur-logo .nac-login__logo,
.nac-login--blurred .nac-login__form-wrapper,
.nac-login--blurred .nac-login__hero,
.nac-login--blurred .nac-footer {
    filter: blur(5px);
    pointer-events: none;
    user-select: none;
}

.nac-modal {
    position: fixed;
    inset: 0;
    z-index: 1050;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: rgba(255, 255, 255, 0.15);
}

.nac-modal__card {
    position: relative;
    width: 100%;
    max-width: 335px;
    padding: 16px 16px 22px;
    background: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 6px 24px rgba(1, 30, 65, 0.18);
}

.nac-modal__close {
    position: absolute;
    top: 16px;
    right: 16px;
    display: flex;
    width: 20px;
    height: 20px;
}

    .nac-modal__close svg {
        width: 100%;
        height: 100%;
        fill: none;
        stroke: #4B5563;
        stroke-width: 1.8;
        stroke-linecap: round;
    }

.nac-modal__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    margin-bottom: 10px;
    border-radius: 50%;
    background: var(--nac-navy);
}

    .nac-modal__icon svg {
        width: 20px;
        height: 20px;
        fill: none;
        stroke: #FFFFFF;
        stroke-width: 1.4;
        stroke-linejoin: round;
    }

.nac-modal__title {
    margin: 0 0 18px;
    font-size: 21px;
    font-weight: 700;
    color: var(--nac-navy);
}

.nac-modal__text {
    margin: 0 0 12px;
    font-size: 10.5px;
    line-height: 1.35;
    text-align: justify;
    color: var(--nac-text);
}

.nac-modal__card--center {
    max-width: 275px;
    padding: 30px 30px 32px;
    text-align: center;
}

    .nac-modal__card--center .nac-modal__title {
        margin-bottom: 14px;
        font-size: 19px;
    }

    .nac-modal__card--center .nac-modal__text {
        margin-bottom: 26px;
        font-size: 9px;
        line-height: 1.3;
    }

.nac-modal__icon--center {
    width: 36px;
    height: 36px;
    margin: 0 auto 14px;
}

    .nac-modal__icon--center svg {
        width: 22px;
        height: 22px;
        stroke-width: 3;
        stroke-linecap: round;
    }

.nac-btn--link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 152px;
    height: 36px;
    margin-top: 4px;
    font-size: 13px;
    text-decoration: none;
}

.nac-alert {
    margin-bottom: 18px;
    padding: 10px 12px;
    border-radius: 6px;
    font-size: 12px;
    line-height: 1.4;
}

.nac-alert--error {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-left: -20px;
    margin-right: -20px;
    margin-bottom: 40px;
    padding: 8px 12px 8px 8px;
    border: 1px solid #FF0808;
    background: #FCE6E6;
    color: #FF0808;
    font-size: 10.5px;
}

.nac-alert__icon {
    display: flex;
    flex: 0 0 46px;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #FF0808;
}

    .nac-alert__icon svg {
        width: 22px;
        height: 22px;
        fill: none;
        stroke: #FFFFFF;
        stroke-width: 3.2;
        stroke-linecap: round;
    }

.nac-alert__text {
    flex: 1;
    text-align: justify;
}

.nac-alert--success {
    border: 1px solid #ABEFC6;
    background: #ECFDF3;
    color: #067647;
}

.nac-login__lead {
    margin: 0 0 18px -46px;
    font-size: 14px;
    color: var(--nac-navy);
    white-space: nowrap;
}

.nac-field--disabled .nac-field__label {
    color: #6B7280;
}

.nac-field--disabled .nac-field__control {
    border-color: #E5E7EB;
    background: #FFFFFF;
}

.nac-field--disabled .nac-field__input {
    color: #374151;
    cursor: not-allowed;
}

.nac-login__resend {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
    margin: -6px 0 30px;
    font-size: 11px;
    color: var(--nac-text);
}

    .nac-login__resend .nac-link-btn {
        font-size: 14px;
    }

.nac-login__resend--confirm {
    margin: -8px 0 22px;
}

.nac-link-btn {
    padding: 0;
    border: none;
    background: transparent;
    font-size: 13px;
    font-weight: 700;
    color: var(--nac-navy);
    cursor: pointer;
}

    .nac-link-btn:hover {
        text-decoration: underline;
    }

/* Doble autenticación con app autenticadora (vinculación, código y recuperación) - WI 16972 */
.nac-2fa__title {
    margin: 0 0 10px;
    font-size: 20px;
    font-weight: 700;
    color: var(--nac-navy);
}

.nac-2fa__text,
.nac-2fa__steps {
    margin: 0 0 16px;
    font-size: 12.5px;
    line-height: 1.5;
    color: var(--nac-text);
}

.nac-2fa__steps {
    padding-left: 18px;
}

.nac-2fa__qr {
    display: flex;
    justify-content: center;
    margin-bottom: 8px;
}

    .nac-2fa__qr img {
        padding: 8px;
        border: 1px solid #E5E7EB;
        border-radius: 8px;
        background: #FFFFFF;
    }

.nac-2fa__key {
    margin: 0 0 22px;
    font-size: 11px;
    text-align: center;
    color: var(--nac-muted);
}

    .nac-2fa__key code {
        font-size: 12px;
        letter-spacing: 0.04em;
        color: var(--nac-navy);
        word-break: break-all;
    }

.nac-2fa__recovery-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin: 0 0 26px;
    padding: 12px;
    border: 1px solid #5295ED;
    border-radius: 6px;
    background: #F5F9FF;
    list-style: none;
}

    .nac-2fa__recovery-list code {
        font-size: 13px;
        color: #333333;
    }

.nac-2fa__back {
    margin-top: 14px;
    text-align: center;
}

    .nac-2fa__back a {
        font-size: 12px;
        color: var(--nac-muted) !important;
    }

a.nac-link-btn {
    text-decoration: none;
    color: var(--nac-navy) !important;
}

/* Pantallas de resultado admin-nacional (confirmación de correo) - WI 16972 */
.nac-result {
    text-align: center;
}

.nac-result__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin: 0 auto 16px;
    border-radius: 50%;
}

    .nac-result__icon svg {
        width: 28px;
        height: 28px;
        fill: none;
        stroke: #FFFFFF;
        stroke-width: 3;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

.nac-result__icon--success {
    background: var(--nac-navy);
}

.nac-result__icon--error {
    background: #FF0808;
}

.nac-result__title {
    margin: 0 0 12px;
    font-size: 21px;
    font-weight: 700;
    color: var(--nac-navy);
}

.nac-result__text {
    margin: 0 0 26px;
    font-size: 13px;
    line-height: 1.5;
    text-align: justify;
    color: var(--nac-text);
}

/* Restablecer contraseña admin-nacional - WI 17351 */
.nac-login__title {
    margin: 0 0 22px;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    color: var(--nac-navy);
}

.nac-login__text {
    margin: 0 -28px 14px;
    font-size: 12.5px;
    line-height: 1.4;
    text-align: justify;
    color: var(--nac-text);
}

.nac-login__text--last {
    margin-bottom: 40px;
}

/* Requisitos y medidor de seguridad de la contraseña - WI 17351 */
.nac-pwd-rules {
    margin-bottom: 26px;
    padding-left: 0;
    list-style: none;
    text-align: left;
}

.nac-pwd-rules__item {
    position: relative;
    margin-bottom: 4px;
    padding-left: 20px;
}

    .nac-pwd-rules__item::before {
        content: "";
        position: absolute;
        top: 4px;
        left: 2px;
        width: 9px;
        height: 9px;
        border: 1.5px solid var(--nac-muted);
        border-radius: 50%;
    }

.nac-pwd-rules__item--met {
    color: #067647;
}

    .nac-pwd-rules__item--met::before {
        top: 2px;
        left: 4px;
        width: 5px;
        height: 10px;
        border: solid #067647;
        border-width: 0 2px 2px 0;
        border-radius: 0;
        transform: rotate(45deg);
    }

.nac-pwd-meter {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
}

    .nac-pwd-meter[hidden] {
        display: none;
    }

.nac-pwd-meter__bar {
    flex: 1;
    height: 6px;
    overflow: hidden;
    border-radius: 3px;
    background: #E5E7EB;
}

.nac-pwd-meter__fill {
    display: block;
    width: 0;
    height: 100%;
    border-radius: 3px;
    transition: width 0.2s ease, background-color 0.2s ease;
}

.nac-pwd-meter__label {
    flex: 0 0 auto;
    font-size: 11px;
    font-weight: 700;
}

.nac-pwd-meter[data-level="weak"] .nac-pwd-meter__fill { background: var(--nac-error); }
.nac-pwd-meter[data-level="weak"] .nac-pwd-meter__label { color: var(--nac-error); }
.nac-pwd-meter[data-level="medium"] .nac-pwd-meter__fill { background: #F79009; }
.nac-pwd-meter[data-level="medium"] .nac-pwd-meter__label { color: #B54708; }
.nac-pwd-meter[data-level="strong"] .nac-pwd-meter__fill { background: #067647; }
.nac-pwd-meter[data-level="strong"] .nac-pwd-meter__label { color: #067647; }

.nac-login__actions--split {
    display: flex;
    justify-content: center;
    gap: 48px;
}

    .nac-login__actions--split .nac-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
    }

.nac-btn--outline,
a.nac-btn.nac-btn--outline,
a.nac-btn.nac-btn--outline:hover,
a.nac-btn.nac-btn--outline:focus {
    border: 1px solid var(--nac-navy);
    background: #FFFFFF;
    color: var(--nac-navy) !important;
}

    .nac-btn--outline:hover {
        background: #F3F5F8;
    }

@media (max-width: 991.98px) {
    .nac-login__hero {
        display: none;
    }

    .nac-login__text {
        margin-left: 0;
        margin-right: 0;
    }

    .nac-login__form-side {
        flex: 1;
        justify-content: center;
        padding: 130px 16px 40px;
    }

    .nac-login__lead {
        margin-left: 0;
        white-space: normal;
    }

    .nac-alert--error {
        margin-left: 0;
        margin-right: 0;
    }

    .nac-footer {
        padding: 28px 16px 16px;
    }

    .nac-footer__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575.98px) {
    .nac-footer__grid {
        grid-template-columns: 1fr;
    }
}
