:root {

    /* Colors */
    --black: #000000;
    --white: #ffffff;
    --primary-black: #181C32;
    --secondary-white: #F5F8FA;
    --grey: #A1A5B7;

    --light-blue: #00E5BA;
    --aqua: #009A9C;
    --primary-blue: #006999;
    --purple: #29366D;
    --dark-blue: #00284C;


    /* Fonts */
    --primary-font-family: "Segoe UI";

    --close-button: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M18.984 6.422L13.406 12l5.578 5.578-1.406 1.406L12 13.406l-5.578 5.578-1.406-1.406L10.594 12 5.016 6.422l1.406-1.406L12 10.594l5.578-5.578z'/%3E%3C/svg%3E%0A");
    --loupe-icon: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"%3E%3Cpath fill="%23929292" d="M16.041 15.856a.995.995 0 00-.186.186A6.97 6.97 0 0111 18c-1.933 0-3.682-.782-4.95-2.05S4 12.933 4 11s.782-3.682 2.05-4.95S9.067 4 11 4s3.682.782 4.95 2.05S18 9.067 18 11a6.971 6.971 0 01-1.959 4.856zm5.666 4.437l-3.675-3.675A8.967 8.967 0 0020 11c0-2.485-1.008-4.736-2.636-6.364S13.485 2 11 2 6.264 3.008 4.636 4.636 2 8.515 2 11s1.008 4.736 2.636 6.364S8.515 20 11 20a8.967 8.967 0 005.618-1.968l3.675 3.675a.999.999 0 101.414-1.414z"/%3E%3C/svg%3E');
}

/* Backgrounds */

.bg-secondary-white {
    background-color: var(--secondary-white);
    border-color: var(--secondary-white);
}

.bg-primary-blue {
    background-color: var(--primary-blue) !important;
}

/* Texts */

.text-primary-black {
    color: var(--primary-black);
}

.color-aqua {
    color: var(--aqua);
}

.color-aqua {
    color: var(--purple);
}

.color-primary-blue {
    color: var(--primary-blue);
}

.border-purple {
    border-color: var(--aqua) !important;
}

.color-black {
    color: var(--black);
}

.color-white {
    color: var(--white) !important;
}

.fw-regular {
    font-weight: 400 !important;
}

/* Login */

.img-cover {
    background-image: url("../media/icons/logo-default.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: auto;
}

.letter-spacing {
    letter-spacing: 2px;
}

.remember-password-section {
    display: flex;
    justify-content: space-between;
}

.remember-checkbox {
    display: flex;
    align-items: center;
    column-gap: 0.5rem;
}

.btn-aqua {
    padding: 10.3px 19px;
    outline: 0;
    border: none;
    border-radius: 0.475rem;
    color: var(--white);
    background-color: var(--aqua);
    border-color: var(--aqua);
}

.btn-aqua:hover {
    background-color: var(--aqua);
    color: var(--white);
}

/* Template */

/* [data-kt-app-layout=dark-sidebar] .app-sidebar {
    background-color: var(--dark-blue) !important; */
/* width: 250px; */
/* } */

/* [data-kt-app-sidebar-hoverable=true] .app-sidebar .app-sidebar-wrapper{
    width: 250px;
} */

[data-kt-app-layout=dark-sidebar] .app-sidebar .menu .menu-item .menu-link {
    color: var(--white) !important;
}

[data-kt-app-layout=dark-sidebar] .app-sidebar .menu .menu-item .menu-link .menu-title {
    color: var(--white) !important;
}

[data-kt-app-layout=dark-sidebar] .app-sidebar .menu .menu-item .menu-link .menu-bullet .bullet {
    background-color: var(--white) !important;
}

[data-kt-app-layout=dark-sidebar] .app-sidebar .menu .menu-item .menu-link .menu-icon i {
    color: var(--white) !important;
}

[data-kt-app-layout=dark-sidebar] .app-sidebar .menu .menu-item .menu-link .menu-arrow::after {
    background-color: var(--white) !important;
}

/* .menu-state-bg .menu-item:not(.here) .menu-link:hover:not(.disabled):not(.active):not(.here) {
    color: var(--secondary-red) !important;
    background-color: var(--secondary-red-hover) !important;
} */

/* .menu-state-bg-light-primary .menu-item:not(.here) .menu-link:hover:not(.disabled):not(.active):not(.here) {
    color: var(--secondary-red) !important;
    background-color: var(--secondary-red-hover) !important;
} */
.menu-state-bg-light-primary .menu-item:not(.here) .menu-link:hover:not(.disabled):not(.active):not(.here) i {
    color: var(--secondary-red) !important;
}

.app-sidebar-menu .overflow-hidden .flex-column-fluid {
    width: 200px !important;
}

.btn-primary {
    background-color: var(--primary-blue) !important;
}

.title-icon {
    display: flex;
    align-items: center;
    column-gap: 5px;
}

.btn-bg-aqua {
    background-color: var(--aqua);
}

.btn-bg-aqua:hover {
    background-color: var(--aqua);
    color: var(--secondary-white);
}

.bg-light-secondary {
    background-color: #FBFFFE !important;
}


.card-client-info {
    display: flex;
    column-gap: 10px;
}

.card-client-info-l {
    width: 60%;
}

.card-client-info-r {
    width: 40%;
}

.image-content {
    display: flex;
    justify-content: space-between;
}

.content-l {
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.content-r {
    width: 50%;
}

.content-header {
    background-color: var(--primary-blue);
    border-top-right-radius: .475rem;
    border-top-left-radius: .475rem;
    padding: 5px;
    /* border-radius: .475rem 0  .475rem  0!important; */
}

.content-body {
    padding: 5px;
    display: flex;
    justify-content: space-between;
}

.content-body-textarea {
    padding: 5px;
    display: flex;
    column-gap: 5px;
}

.body-item-l {
    width: 50%;
}

.body-item-r {
    width: 50%;
}

.toolbar-top {
    display: flex;
    justify-content: space-between;
    /* align-items: center; */
}

.top-item {
    text-align: center;
}

.top-title {
    display: flex;
    justify-content: center;
    align-items: center;
}

/*
 CHARTS
*/

/* No Contact Result Pie Chart */
#chartdiv {
    width: 100%;
    height: 300px;
}

/* No Contact Result Pie Chart */

/* Contact Result Pie Chart */
#chartdiv2 {
    width: 100%;
    height: 300px;
}

/* Contact Result Pie Chart */


/* Top 5 Executives Bar Chart */
#chartdiv3 {
    width: 100%;
    height: 500px;
}

/* Top 5 Executives Bar Chart */

/* Classification Status Bar Chart */
#chartdiv4 {
    width: 100%;
    height: 500px;
}

/* Classification Status Bar Chart */

/* Work Queue Segmentation Bar Chart */
#chartdiv5 {
    width: 100%;
    height: 400px;
}

/* Work Queue Segmentation Bar Chart */

/* Work Queue Bar Chart */
#chartdiv6 {
    width: 100%;
    height: 400px;
}

/* Work Queue Bar Chart */

/*  Work Queue Pie Chart */
#chartdiv7 {
    width: 100%;
    height: 350px;
}

/*  Work Queue Pie Chart */

/* Portfolio Segmentation Bar Chart */
#chartdiv8 {
    width: 100%;
    height: 800px;
}

/* Portfolio Segmentation Bar Chart */

/* % Advance */
#chartdiv9 {
    width: 100%;
    height: 400px;
}

/*
#chartdiv10 {
    width: 100%;
    height: 100%;
} */

/* Penetration total by status */
#ptotalByStatus {
    width: 100%;
    height: 450px;
    /* display: flex; */
    align-items: center;
    justify-content: center;
}

/* % Advance */

/*
 CHARTS
*/


.header__table__bg {
    background-color: #000000;
    color: white;
    text-align: center;
}

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


.sweet_loader {
    width: 140px;
    height: 140px;
    margin: 0 auto;
    animation-duration: 0.5s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    animation-name: ro;
    transform-origin: 50% 50%;
    transform: rotate(0) translate(0, 0);
}

@keyframes ro {
    100% {
        transform: rotate(-360deg) translate(0, 0);
    }
}

.img-fluidd {
    max-width: 100%;
    height: auto;
}

.settings_logoo {
    max-height: 200px;
    object-fit: contain;
}

.documents {
    width: 350px;
    height: 350px;
    padding-top: 5px;
}

.preview-container {
    display: none;
}

.settings-logo-login {
    max-width: 50px;
    max-height: 50px;
    margin-bottom: 20px;
}

html,
body {
    height: 100%;
    margin: 0;
}

#kt_app_root {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

#kt_app_page {
    flex: 1;
}

#kt_app_footer {
    background-color: #f8f9fa;
    /* Change this to your desired background color */
    border-top: 1px solid #dee2e6;
    /* Change this to your desired border color */
    padding: 10px 0;
}


/* Vistas Clientes */

.title_table {
    background: #006999;
    color: white;
}

.table-bordered {
    border: 1px solid #ddd;
    /* Color gris para los bordes de toda la tabla */
}

.table-bordered th,
.table-bordered td {
    border: 1px solid #ddd;
    /* Color gris para los bordes de las celdas */
}

#searchdataTable tbody td {
    width: 20%;
    box-sizing: border-box;
}

#acciones .dt-buttons .btn {
    padding: 4px 2px;
    margin-left: 2px;
    margin-right: 2px;
    font-size: 13px;
    width: 70px;
    background-color: #F36C33;
    color: white;
}

#accionesExpG .dt-buttons .btn {
    padding: 4px 2px;
    margin-left: 2px;
    margin-right: 2px;
    font-size: 13px;
    width: 70px;
    background-color: #F36C33;
    color: white;
}

#accionesExpE .dt-buttons .btn {
    padding: 12px 2px;
    margin-left: 2px;
    margin-right: 2px;
    font-size: 13px;
    width: 70px;
    background-color: #F36C33;
    color: white;
}

#exportarGestion .dt-buttons .btn {
    padding: 12px 2px;
    margin-left: 2px;
    margin-right: 2px;
    font-size: 13px;
    width: 70px;
    background-color: #F36C33;
    color: white;
}

*,
:after,
:before {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

.auto-search-wrapper {
    position: relative;
    display: block;
    width: 100%;
}

.auto-search-wrapper input {
    font-size: 16px;
    width: 100%;
    box-shadow: none;
    box-sizing: border-box;
    padding-right: 25px;
}

.auto-search-wrapper input:focus {
    border: 1px solid #858585;
    outline: none;
}

.auto-search-wrapper input::-ms-clear {
    display: none;
}

.auto-search-wrapper ul {
    list-style: none;
    padding: 0;
    margin: 0;
    overflow: auto;
}

.auto-search-wrapper ul li {
    position: relative;
    cursor: pointer;
    margin: 0;
    padding: 10px;
    overflow: hidden;
}

.auto-search-wrapper ul li:not(:last-child) {
    border-top: none;
}

.auto-search-wrapper ul li[disabled] {
    pointer-events: none;
    opacity: 0.5;
    background: #ececec;
}

.auto-search-wrapper .auto-expanded {
    border: 1px solid #858585;
    outline: none;
}

.auto-search-wrapper.loupe:before {
    filter: invert(60%);
}

.auto-is-loading:after {
    content: "";
    box-sizing: border-box;
    position: absolute;
    top: 0px;
    bottom: 0;
    margin: auto;
    right: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #808080;
    border-left-color: #d9d9d9;
    border-top-color: #d9d9d9;
    animation: auto-spinner 0.6s linear infinite;
}

.auto-is-loading .auto-clear {
    display: none;
}

@keyframes auto-spinner {
    to {
        transform: rotate(1turn);
    }
}

li.loupe:before {
    top: 15px;
    bottom: auto;
}

.loupe input {
    padding: 12px 45px 12px 40px;
}

.loupe:before {
    position: absolute;
    content: "";
    width: 17px;
    height: 17px;
    top: 0;
    bottom: 0;
    left: 10px;
    margin: auto;
    background-image: var(--loupe-icon);
}

.auto-selected:before {
    opacity: 1;
}

.auto-clear {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    top: 0;
    bottom: 0;
    right: -10px;
    margin: auto;
    width: 40px;
    height: auto;
    cursor: pointer;
    background-color: transparent;
    border: none;
}

.auto-clear:before {
    content: var(--close-button);
    line-height: 100%;
    height: 24px;
    width: 24px;
}

.auto-clear span {
    display: none;
}

.auto-results-wrapper {
    display: none;
    border: 1px solid #858585;
    border-top: none;
    overflow: hidden;
    box-sizing: border-box;
    background-color: #fff;
}

.auto-results-wrapper ul>.loupe {
    padding-left: 40px;
}

.auto-results-wrapper.auto-is-active {
    display: block;
    position: absolute;
    width: 100%;
    z-index: 99999;
}

.auto-selected {
    background-color: #e6e6e6;
}

.auto-selected+li:before {
    border-top: none;
}

.auto-error {
    border: 1px solid #ff3838;
}

.auto-error::placeholder {
    color: #ff6666;
    opacity: 1;
}

.hidden {
    display: none;
}

.leaflet-search {
    width: 17px;
    height: 17px;
}

.leaflet-autocomplete {
    background: #fff;
    padding: 5px;
    width: 26px;
    height: 26px;
    border: 1px solid #ccc;
    display: flex;
    cursor: pointer;
    justify-content: center;
    align-items: center;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.65);
    border-radius: 4px;
    transition: width 200ms ease-in;
}

.leaflet-autocomplete svg {
    position: absolute;
    width: 17px;
    left: 3px;
}

.leaflet-autocomplete .auto-search-wrapper {
    display: none;
    padding-left: 5px;
}

.leaflet-autocomplete .loupe:before {
    left: 0;
    top: 4px;
    width: 15px;
    background-repeat: no-repeat;
}

.leaflet-autocomplete .auto-search-wrapper ul li {
    padding: 5px;
    border-top: 1px solid rgb(240, 240, 240);
    font-size: 14px;
}

.leaflet-autocomplete.active-autocomplete {
    width: 295px;
}

.leaflet-autocomplete.active-autocomplete .auto-results-wrapper.auto-is-active {
    margin-top: 9px;
    border-top: 1px solid #858585;
    border-radius: 0 0 5px 5px;
}

.leaflet-autocomplete.active-autocomplete .auto-search-wrapper {
    display: block;
}

.leaflet-touch .leaflet-autocomplete {
    padding: 15px;
}

.leaflet-touch .leaflet-autocomplete svg {
    width: 20px;
    left: 5px;
    top: 5px;
}

#marker {
    height: 16px;
}

#zoneChart {
    width: 100%;
    height: 300px;
}

#walletChart {
    width: 100%;
    height: 300px;
}

.weatherIcon {
    /* position: absolute; */
    background-color: rgba(255, 255, 255, 0.8);
    /* Fondo semitransparente */
    border-radius: 10px;
    /* Bordes redondeados */
    padding: 10px;
    /* Espaciado interno */
    backdrop-filter: blur(5px);
    /* Efecto de desenfoque */
}

#chartdiv8 {
    width: 100%;
    height: 800px;
}

.custom-color-input {
    padding: 8px;
    border: 1px solid #e3e1e1;
    border-radius: 5px;
    background-color: #ffffff;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
}

.foot {
    padding-top: 205px;
}

.color-btn {
    color: var(--white) !important;
}

.rounded {
    border-radius: 10px;
}

#infoGeneralCuentas tbody tr {
    cursor: pointer;
}

.custom-card {
    border: 1px solid #dee2e6;
    border-radius: 0.25rem;
    overflow: hidden;
}

.custom-card-body {
    padding: 1rem;
}

.custom-image-container {
    height: 250px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-img {
    height: 100%;
    width: auto;
    object-fit: cover;
    border-radius: 0.25rem;
    cursor: pointer;
}

.zoom {
    transform: scale(1.5);
    cursor: zoom-out;
    transition: transform 0.2s ease-in-out;
}

.ver-mas {
    color: #007bff;
    cursor: pointer;
    text-decoration: underline;
}

.ver-mas:hover {
    color: #0056b3;
}

.custom-file-label {
    border: 2px dashed #d1d5db;
    padding: 40px;
    border-radius: 5px;
    background-color: #f9fafb;
    width: 100%;
    height: 100%;
}

.custom-file-input {
    opacity: 0;
    position: absolute;
    z-index: -1;
}

.custom-file-label span {
    font-weight: 500;
    color: #6366f1;
}

.custom-file-label small {
    font-size: 12px;
}

.custom-file-label i {
    color: #6366f1;
    margin-bottom: 10px;
}

.custom-table-header {
    padding: 12px;
    max-width: 300px;
    word-wrap: break-word;
}

.custom-table-cell {
    padding: 12px;
    max-width: 300px;
    word-wrap: break-word;
}

.solicitud-aprobada-color {
    background-color: #28a745;
    color: white;
}

.solicitud-pendiente-color {
    background-color: #ffc107;
    color: white;
}

.solicitud-rechazada-color {
    background-color: #dc3545;
    color: white;
}

.solicitud-historico-color {
    background-color: #43425d;
    color: white;
}

.icon-size {
    width: 40px;
    height: 40px;
}

.reloj {
    font-weight: bold;
    /* background-color: rgba(0, 0, 0, 0.75); Fondo semi-transparente */
    padding: 5px 10px;
    border-radius: 5px;
    color: #fff;
}

.reloj-icono {
    width: 50px;
    /* Ajusta el tamaño del icono según tus necesidades */
    height: auto;
}


#expenses-info {
    width: 100%;
    padding: 30px;
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 8px;
}

#expenses-info h3 {
    font-size: 1.75rem;
    color: #333;
}

#expenses-info h4 {
    font-size: 1.2rem;
    margin: 0;
}

#expenses-info .text-muted {
    color: #6c757d;
}

#expenses-info .text-success {
    color: #28a745;
}

#expenses-info .border-bottom {
    border-bottom: 1px solid #e9ecef !important;
}

.container-fluid .col-md-4 {
    padding: 20px 10px;
}

.custom-file-labell {
    background-color: #f8f9fa;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    color: #495057;
    padding: 0.375rem 0.75rem;
}

.custom-file-inputt {
    cursor: pointer;
}

.required-asterisk {
    font-size: 1.2em;
    font-weight: bold;
}

/* Modulo solicitudes prospecto */

.subrayado-nombre {
    display: inline-block;
    width: 500px;
    border-bottom: 2px solid black;
    text-align: center;
}

.subrayado-firma {
    display: inline-block;
    width: 200px;
    border-bottom: 2px solid black;
    text-align: left;
}

/* Estilos para los checkboxes */
input[type="checkbox"] {
    width: 16px;
    height: 16px;
    vertical-align: middle;
    cursor: pointer;
}

/* Estilos para las etiquetas de los checkboxes */
label {
    font-size: 1rem;
    cursor: pointer;
    user-select: none;
}

@media print {

    /* Configuración básica de la página */
    @page {
        size: letter portrait;
        margin: 0cm;
    }

    input[type="checkbox"] {
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        width: 16px;
        height: 16px;
        border: 1px solid black;
        display: inline-block;
        vertical-align: middle;
        margin-right: 4px;
    }

    input[type="checkbox"]:checked {
        background-color: white;
        border: 1px solid black;
        position: relative;
    }

    input[type="checkbox"]:checked::after {
        content: "✓";
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        color: black;
    }

    /* Resetear todos los elementos */
    * {
        background: white !important;
        color: black !important;
        margin: 0 !important;
        padding: 0 !important;
        visibility: hidden;
    }

    .ocultar-firma {
        display: none !important;
    }

    /* Ocultar elementos del header */
    header,
    .app-toolbar,
    .card-header,
    .page-title,
    .breadcrumb,
    .nav,
    .btn,
    .d-print-none {
        display: none !important;
    }

    /* Configuración del contenedor principal */
    #declaracion .border {
        visibility: visible !important;
        position: relative !important;
        background: white !important;
        border: none !important;
        padding: 0 !important;
        margin: 0 auto !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    /* Hacer visible el contenido de la declaración */
    #declaracion .border * {
        visibility: visible !important;
        background: white !important;
    }

    /* Estilos específicos para el texto */
    #declaracion p {
        font-size: 12pt !important;
        line-height: 1.3 !important;
        margin-bottom: 2em !important;
        text-align: justify !important;
    }

    /* Ajustes para el título */
    #declaracion p:first-of-type {
        font-size: 14pt !important;
        text-align: center !important;
        margin-bottom: 2em !important;
    }

    /* Ajustes para la sección de firma */
    #declaracion p:last-of-type {
        margin-top: 2em !important;
    }

    /* Eliminar cualquier fondo gris residual */
    .border-gray-300,
    .bg-gray-100,
    .bg-gray-200,
    .bg-gray-300,
    .bg-light {
        background: white !important;
        border: none !important;
    }

    /* Ocultar todos los botones */
    button,
    .btn,
    .mt-4,
    .hstack {
        display: none !important;
    }

    /* Mostrar el canvas de firma */
    #firmaContainer {
        /* display: block !important;
        visibility: visible !important;
        position: relative !important;
        border: none !important;
        outline: none !important;
        background: transparent !important;
        resize: none !important;
        box-shadow: none !important;
        margin-top: 2rem !important; */
        border: none !important;
        outline: none !important;
        background: transparent !important;
        resize: none !important;
        box-shadow: none !important;
    }

    #canvasFirma {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        border: none !important;
        background: transparent !important;
    }

    /* Ocultar botón "Limpiar firma" */
    #limpiarFirma {
        display: none !important;
    }

    /* Quitar bordes del textarea */
    textarea#comentarios {
        border: none !important;
        outline: none !important;
        background: transparent !important;
        resize: none !important;
        box-shadow: none !important;
    }

    /* Asegurar que todo lo demás no oculte la firma */
    /* .ocultar-firma {
        display: block !important;
        visibility: visible !important;
    } */
}

/* fin modulo solicitudes prospecto */
