:root {
    --color-principal: #1f2b53;
    --color-secundario: #ffff;
    --color-panel: #f5f5f7;
    --color-letra-parrafo: #b3a6ad;
    --color-letra-title: #6c757d;
    --hover-menu: #dedede30;
    --bg-p-red: #fa5c7c;
    --bg-p-blue: #727cf5;
    --bg-p-green: #0acf97;
    --bg-p-black: #6c757d;
    --width-panel: 280px;
    --activeli: #c8c8c86b;
    --verde: #7ab324;
    --gris: #4a4a4a;
    --azul-granete: #1f2b53;
    --azul-prototipo: #004aad;
    --activo-li-navegacion: #76b21f;
    --color-titulos: #1f2b53;
}
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}
/* PARA QUE FUNCIONE CON TAILWIND Y BOOTSTRAP */
.collapse {
    visibility: visible !important;
}
label {
    color: var(--color-letra-title);
    font-size: 15px;
}
.btn-outline-primary {
    box-shadow: none !important;
    color: var(--activo-li-navegacion) !important;
    border-color: var(--activo-li-navegacion) !important;
}
.btn-primary {
    background-color: var(--activo-li-navegacion) !important;
    border-color: var(--activo-li-navegacion) !important;
    box-shadow: none !important;
}
.btn-outline-primary:active {
    background: var(--activo-li-navegacion) !important;
    color: var(--color-secundario) !important;
}
.btn-outline-primary:hover {
    color: var(--color-secundario) !important;
    border-color: var(--activo-li-navegacion) !important;
    background: var(--activo-li-navegacion) !important;
}
.text-primary {
    color: var(--color-titulos) !important;
}
/* Forzar que el diálogo ocupe el 95% o 100% de la pantalla */
.custom-modal-full {
    max-width: 95%; /* O 100% si lo prefieres pegado a los bordes */
    margin: 1.75rem auto;
    height: 90vh; /* Alto del 90% de la ventana */
}

/* Hacer que el contenido se expanda */
.custom-modal-full .modal-content {
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* El body crece para llenar el espacio */
.custom-modal-full .modal-body {
    flex: 1;
    display: flex;
}

/* El iframe llena todo el body */
.custom-modal-full #frame-pdf-cotizacion {
    width: 100%;
    height: 100%;
    border: none;
}
.btn-import {
    display: flex;
    outline: none;
    justify-content: center;
    border-radius: 50%;
    width: 50px;
    align-items: center;
}
form label {
    font-weight: bold !important;
}
.btn-import .material-icons {
    font-size: 23px;
    color: var(--color-secundario);
}
.btn-danger {
    background: var(--bg-p-red) !important;
}
form fieldset legend {
    color: var(--color-letra-title) !important;
}
table thead tr th {
    color: var(--color-letra-title) !important;
    font-weight: 500;
}
.navegacion {
    background: var(--color-principal);
    position: fixed;
    top: 0;
    left: 0;
    width: var(--width-panel);
    bottom: 0;
    overflow: hidden;
}
.mi-perfil .info-perfil {
    color: white;
    font-size: 12px;
}
.navegacion .mi-logo {
    height: 50px;
}
.sub-menu .activeli {
    background: var(--activeli) !important;
}
.menu .activesub {
    background: var(--activo-li-navegacion) !important;
}
.menu .activesub .title + span {
    transform: rotate(180deg) !important;
}
.navegacion ul {
    list-style: none;
}
.navegacion ul > li {
    /* border-top-left-radius: 30px; */
    /* border-bottom-left-radius: 30px; */
    padding: 10px 15px;
    position: relative;
}
.navegacion ul li a {
    color: var(--color-secundario);
    display: flex;
    align-items: center;
    font-weight: 200;
    font-size: 12px;
    text-decoration: none;
    position: relative;
}
.navegacion ul li a .title {
    width: calc(100% - 35px);
}
.menu .material-icons {
    font-size: 20px;
    margin-right: 10px;
}
.navegacion ul .hover-menu:hover {
    background: var(--hover-menu);
}
label:has(> .material-icons) {
    display: flex;
    align-items: center;
    gap: 3px;
}
.panel {
    width: calc(100% - var(--width-panel));
    margin-left: var(--width-panel);
}
.sub-menu li {
    padding-left: 20px !important;
    /* display: none; */
}
.info-person {
    display: flex;
    justify-content: space-between;
}
.btn-info-menu {
    outline: none;
    border: none;
    padding: 10px 5px;
    background: transparent;
    transition: background 0.3s ease-in-out;
    cursor: pointer;
}
.dropdown-menu .active {
    background-color: var(--activo-li-navegacion) !important;
}
.dropdown-menu .dropdown-item:active {
    background-color: var(--activo-li-navegacion) !important;
}
.btn-info-menu span {
    color: var(--activo-li-navegacion);
    font-size: 30px;
}
.btn-info-menu:hover {
    background: rgba(206, 206, 206, 0.247);
}
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
table thead tr th {
    text-align: center;
}
table tbody tr td {
    vertical-align: middle !important;
}
button i,
button span {
    pointer-events: none;
    user-select: none;
}
#menuDesplegable {
    display: none;
}
.menu-activos {
    display: none;
}
.avatar-menu-img {
    object-fit: contain;
    border-radius: 100%;
}
@media screen and (max-width: 950px) {
    #menuDesplegable {
        display: inline-block;
    }
    .menu-activos {
        display: none;
        position: fixed;
        width: calc(100% - 280px);
        top: 0;
        left: 0;
        right: 0;
        z-index: 2;
        bottom: 0;
        margin-left: 280px;
        background: rgba(0, 0, 0, 0.733);
    }
    .navegacion {
        position: fixed;
        left: -280px;
        z-index: 2;
    }
    .nav-active {
        left: 0 !important;
    }
    .cuerpo-panel {
        width: 100% !important;
        margin-left: 0 !important;
    }
    .panel {
        width: 100%;
        margin-left: 0;
    }
}
input[type="number"] {
    -moz-appearance: textfield;
}
.cuerpo-panel {
    height: calc(100vh - 57px);
    width: calc(100% - var(--width-panel));
    overflow-y: auto;
    margin-left: var(--width-panel);
    padding: 20px 10px;
    background: var(--color-panel);
}
.legend-add {
    font-size: 0.8rem;
    font-weight: bold;
}
button small,
button small i {
    user-select: none;
    pointer-events: none;
}
.form-group:has(input:required, select:required, textarea:required)
    > label::after {
    content: "*";
    color: red;
}
.box-my {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
}
.dropdown-menu a {
    font-size: 13px;
}
.cargar-general {
    position: fixed;
    left: 0;
    z-index: 9999;
    top: 0;
    right: 0;
    height: 100vh;
    background: rgba(11, 11, 11, 0.598);
    display: grid;
    place-items: center;
}
.dropdown-item > * {
    pointer-events: none;
    user-select: none;
}
.img-vistas-pequena {
    width: 130px;
    height: 100px;
    object-fit: contain;
    display: block;
    margin: auto;
}
.loader-baner {
    width: 48px;
    height: 48px;
    border: 5px solid #fff;
    border-bottom-color: var(--activo-li-navegacion);
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
}
@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
