:root {
    --small-font-size: 14px;
    --font-size-small: 18px;
    --font-size-medium: 20px;
    --font-size-large: 24px;
    --color-header-form:#bedcff;
    --color-coas: #0056B8;
    --boxes-background: #fef1dd;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
}
html {
    font-family: 'Open Sans', sans-serif;
}
body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    /* zoom: 90%; */
}
.pointer {
    cursor: pointer;
}
label {
    text-align: center;
    font-size: 12px;
}
.nav-styles {
    position: relative;
    justify-content: center;
    width: 100%;
    height: 60px;
    background: var(--color-coas);
    box-shadow: 0 4px 8px rgb(89 73 30 / 56%);
}
.nav-users {
    display: flex;
    justify-content: space-evenly;
    width: 100%;
    height: 30px;
    color: var(--color-coas);
    background: linear-gradient(120deg, #a1c4fd 0%, #c2e9fb 100%);
    font-size: 12px;
    font-weight: 600;
}
.header-div {
    top: 5px;
    left: 30px;
    position: fixed;
    z-index: 7;
    background: var(--color-coas);
    padding: 10px;
    box-shadow: 0 4px 8px rgb(89 73 30 / 56%);
    border-radius: 5px;
}
nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.menu-icon {
    display: block;
}  
.bar {
    width: 25px;
    height: 3px;
    background: #fff;
    margin: 5px 0;
    transition: 0.4s;
}
.menu {
    display: flex;
    list-style-type: none;
}
.logo-Bsoft {
    width: 240px;
}
.nav-menu-container {
    width: 90%;
    height: 57px;
    border-bottom: 1px solid var(--color-coas);
    margin: 22px 0;
}
.menu li a {
    color: var(--color-coas);
    font-size: larger;
    text-decoration: none;
}
.menu-icon {
    display: block;
}
.container-span-bsoft {
    position: absolute;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}
.span-bsoft {
    width: 130px;
    color: white;
}
.menu-nav-up {
    font-size: 14px;
    display: none;
}
.caja {
    position: absolute;
    display: flex;
    z-index: 7;
    right: 10px;
    margin-right: 45px;
    padding: 10px;
    max-width: 300px;
}
.rotar180 {
    transition: transform 0.5s; /* Agrega una transición suave */
}

.rotar180.girado {
    transform: rotate(180deg); /* Aplica la rotación de 180 grados */
}
.titulo {
    width: 25px;
    height: 25px;
}
.contenido {
    position: absolute;
    display: none;
    z-index: 7;
    right: -20px;
    top: 52px;
    width: 244px;
    padding: 10px;
    border-radius: 5px;
    color: var(--color-coas);
    background: linear-gradient(120deg, #a1c4fd 0%, #c2e9fb 100%);
    box-shadow: 0 4px 8px rgb(89 73 30 / 56%);
}
.user-nav {
    padding: 5px;
}
.menu {
    position: fixed;
    z-index: 6;
    top: 60px;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(120deg, #a1c4fd 0%, #c2e9fb 100%);
    /* background: var(--color-coas); */
    padding: 20px;
    box-shadow: 0 4px 8px rgb(89 73 30 / 56%);

    transform: translateX(0%);
    transition: transform 0.3s ease;
}
.menu-relative {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100vh;
}
.logo-absolute {
    position: absolute;
    top: 35px;
}
.menu.active {
    transform: translateX(-101%);
    transition: transform 0.5s ease;
}
.menu li {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    border-bottom: 1px solid var(--color-coas);
}
.menu li:hover a{
    border-bottom: 3px solid #165499;
}
.disabled {
    display: none;
}
.margin-hero {
    width: 90%;
    margin-bottom: 20px;
}
.secondary-title-container {
    text-align: center;
    width: 100%;
    padding: 5px 0;
    margin: 30px 0 20px 0;
    color: black;
    background: #d0d0d0;
}
.secondary_title {
    font-size: var(--small-font-size);
}
.bnt-principal-container {
    position: relative;
    display: flex;
    justify-content: center;
    margin: 40px;
}
.loader {
    position: absolute;
    display: none;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 0.6s linear infinite;
  }
  
 @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.loader-hero1 {
    top: calc(50% - 15px);
    right: calc(50% - 20px);
}

/* styles header */
header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: 30px;
}
.margin-header {
    width: 33%;
    min-width: 200px;
    max-width: 300px;
    margin-bottom: 20px;
}
.container-logo-principal {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 33%;
    max-width: 300px;
    min-width: 280px;
    margin-bottom: 20px;
}
.logo {
    width: 80%;
}
h1 {
    text-align: center;
    color: black;
    font-size: var(--font-size-medium);
}
.fixed-values-container {
    display: flex;
    flex-direction: column;
    min-width: 280px;
    border: 1px solid grey;
}
.fixed-values-cards {
    display: flex;
    width: 100%;
    color: var(--color-coas);
    border-bottom: 1px solid grey;
}
.fixed-values-cards :nth-child(1) {
    width: 50%;
    border-right: 1px solid grey;
}
.fixed-values-cards :nth-child(2) {
    width: 80%;
    text-align:right;
}
.font-fixed-cards {
    font-size: 14px;
}


/* styles main - header-main */
.tipo-registro-container {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-bottom: 25px;
}
.consultas-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, 140px);
    grid-gap: 8px;
}
.consulta-constainer {
    display: flex;
    flex-direction: column;
    margin-right: 20px;
}
.consulta-constainer label {
    padding: 5px 0 5px 0;
    width: 140px;
    color: var(--color-coas);
    background: var(--color-header-form);
    font-weight: 500;
}
.btn-container-pdfExcel {
    position: relative;
}
.input-consulta {
    width: 100%;
    height: 25px;
    margin-bottom: 10px;
}
input[readonly] {
    cursor: default;
    /* color: rgb(160, 160, 160); */
    opacity: 0.7;
    border-color: rgba(118, 118, 118, 0.3);
}
#btnConsulta3 {
    margin-bottom: 15px;
}
.btn-consulta {
    width: 100%;
    height: 30px;
    color: white;
    background: var(--color-coas);
    border: none;
    border-radius: 3px;
}
.btn-consulta:hover {
    box-shadow: 5px 5px 5px #5b5b5b,
    -20px -20px 60px #ffffff;
}
.btn-consulta1 {
    width: 100px;
    height: 30px;
    color: white;
    background: var(--color-coas);
    border: none;
    border-radius: 3px;
}
.cards-filtros {
    margin: 0 0 20px 0;
    padding: 15px;
    min-width: 288px;
    max-width: 325px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgb(89 73 30 / 30%);
}
.div-containers-filtros {
    display: flex;
}
.title-filtro {
    text-align: center;
    color: var(--color-coas);
    font-size: var(--font-size-medium);
}
.limpiar {
    position: relative;
}
.btn-consulta-nuevo {
    position: absolute;
    text-align: center;
    color: red;
    background: white;
    padding: 5px;
    width: 65px;
    top: 3px;
    right: 5px;
    border: 1px solid red;
    border-radius: 5px;
    font-size: 14px;
}
.btn-consulta-nuevo:hover {
    box-shadow: 5px 5px 5px #5b5b5b,
    -20px -20px 60px #ffffff;
}
.filtros-container p {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 13px;
}
.filtros-container li {
    margin-bottom: 15px;
}
.title-filters {
    color: var(--color-coas);
}
#form-consulta {
    position: relative;
}
.header-form-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, 280px);
    grid-gap: 20px;
    justify-content: center;
    margin: 0 0 20px 0;
}
.header-form-cards {
    width: 280px;
}
.header-form-card-first {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 35px;
    border: 1px solid grey;
    border-radius: 5px 5px 0 0;
    font-weight: 700;
}
.pie-de-pagina {
    font-size: 9px;
}
.info-principal {
    margin: 20px 0;
    width: 100%;
    height: auto;
    font-size: 9px;
}
.p-principal {
    padding: 10px;
    font-size: 12px;
}
.titulos-separadores {
    text-align: center;
    margin-bottom: 20px;
    padding: 10px 0;
    width: 100%;
    font-size: 14px;
}
.visualizar-documento-container {
    position: relative;
    width: 100%;
}
.visualizar-documento {
    width: 100%;
    height: 30px;
    color: black;
    background: #f29100;
    border: none;
    border-radius: 3px;
}
.border {
    border: 1px solid black;
}
.secondary_title-info {
    font-size: 14px;
}
.header-form-card-second {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}
.btn-buscar {
    width: 35px;
    height: 35px;
    background: var(--boxes-background);
    border-top: 0;
    border-right: 1px solid grey;
    border-bottom: 1px solid grey;
    border-left: 0;
}
.btn-buscar:hover {
    box-shadow: 5px 5px 5px #5b5b5b;
}
.btn-buscar img {
    width: 35px;
    height: 35px;
}
.custom-select-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}
.custom-input {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
}
.custom-select-container img {
    position: absolute;
    right: 3px;
    width: 13px;
}
.custom-select {
    display: none;
    position: absolute;
    top: 40px;
    left: 0;
    width: 100%;
    max-height: 210px;
    overflow-y: auto;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: white;
    z-index: 10;
}
.custom-option {
    padding: 8px;
    cursor: pointer;
    font-size: 12px;
}
.custom-option:hover {
    background-color: #f1f1f1;
}
.search-select {
    width: 70% !important;
}
.header-form-card-second input,
.header-form-card-second select,
.header-form-card-second textarea {
    text-align: center;
    width: 100%;
    height: 35px;
    background: var(--boxes-background);
    border: 1px solid grey;
}
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
input[type="number"] {
    -moz-appearance: textfield;
    appearance: textfield;
}
.unico {
    margin-bottom: 25px;
}
.btn-up {
    position: fixed;
    width: 40px;
    height: 40px;
    bottom: 5px;
    right: 30px;
}
.btn-up img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

/* styles - nota-container */
.nota-form-container{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-bottom: 25px;
}

/* slyles main - main-form */
.main-form-container {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    margin-bottom: 25px;
}
.spanUnidad {
    text-align: center;
    padding: 20px;
    width: 100%;
    border: 1px solid grey;
}
.tabla1-container {
    width: 100%;
}
.tablas-container { 
    display: grid;
    width: 100%;
}
.btn-referencias {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 30px;
    background: none;
    border: none;
}
.btn-referencias img {
    width: 30px;
}
.table {
    width: 100%;
    border-collapse: collapse;
    min-width: 750px;
}
.formula-container {
    padding: 15px;
    border: 1px solid grey;
}
.formula-title-container {
    text-align: center;
}
.formula-title-container span {
    font-size: var(--font-size-large);
}
.unique {
    padding: 0 !important;
    border: none;
    background: none;
}
th {
    padding: 0 10px;
    border: 1px solid grey;
    color: black;
    background: white;
    font-size: 14px;
}
tr {
    height: 36px;
    padding: 0 20px;
}
td {
    text-align: center;
    font-size: 14px;
}
.td-hero {
    position: relative;
    width: 33%;
}
.td-hero .loader-container{
    position: relative;
    width: 100%;
}
.information-td {
    width: 5%;
    text-align: center;
    border: 1px solid grey;
}
.vertical-td {
    writing-mode: vertical-lr; 
    direction: rtl;
}
.td-dis-con:nth-child(1) {
    width: 50%;
    height: 36px !important;
}
.td-dis-con:nth-child(2),
.td-dis-con:nth-child(3) {
    width: 20%;
}
.usuarios {
    display: flex;
}
.usuarios input {
    width: 50%;
}
td input {
    text-align: center;
    width: 100%;
    height: 40px;
    padding: 0 10px;
    border: 1px solid grey;
    background: var(--boxes-background);
}
td select {
    width: 100%;
    height: 40px;
    border-collapse: collapse;
    background: var(--boxes-background);
}
td textarea {
    text-align: center;
    width: 100%;
    height: 35px;
}
.td-dis-con div {
    display: flex;
    align-items: center;
    min-width: 504px;
    height: 35px;
    border: 1px solid grey;
}
.td-dis-con input,
.td-dis-con select {
    text-align: center;
    min-width: 150px;
    height: 35px;
    border: 1px solid grey;
}
.btn-main-container {
    position: fixed;
    top: calc(50% - 150px);
    left: calc(50% + 37px);
    transform: translate(-50%, -50%);
    text-align: center;
    width: 100%;
    max-width: 400px;
}
.principal-btn {
    width: 140px;
    height: 35px;
    color: black;
    background: #fef1dd;
    border: 1px solid black;
    border-radius: 3px;
    font-weight: 700;
}
.principal-btn:hover {
    box-shadow: 5px 5px 5px #5b5b5b;
}
.second-btn {
    width: 140px;
    height: 35px;
    color: white;
    background: red;
    border: none;
}
.second-btn:hover {
    box-shadow: 5px 5px 5px #5b5b5b;
}
.patron-container {
    margin-bottom: 25px;
}
.imgEdit {
    width: 40px;
    height: 40px;
    border: none;
}
.imgDevolver {
    transition: transform 1.2s ease;
}
.imgDevolver:hover {
    transform: rotate(-360deg);
}
.uniqueBottom {
    min-width: 50px;
    height: 50px;
    border: none;
    text-align: center;
  }
.uniqueBottom button {
    border: none;
}
.tooltip {
    display: none;
    position: absolute;
    z-index: 1;
    padding: 5px;
    background: var(--color-coas);
    color: #fff;
    border-radius: 3px;
}
.uniqueBottom button:hover {
    display: block;
    box-shadow: 1px 1px 1px #5b5b5b;
}
.uniqueBottom button:hover + .tooltip {
    display: block;
    box-shadow: 5px 5px 5px #5b5b5b;
}

/* styles rutulos */
.reportes {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}
.pdf{
    border: 1px solid red;
    background: white;
    color: red;
    font-weight: 600;
    box-shadow: 0 4px 8px rgb(89 73 30 / 30%);
}
.excel{
    border: 1px solid rgb(0, 196, 0);
    background: white;
    color: rgb(0, 196, 0);
    font-weight: 600;
    box-shadow: 0 4px 8px rgb(89 73 30 / 30%);
}

/* styles registrados */
.h2-hero {
    text-align: center;
    margin-bottom: 20px;
    color: var(--color-coas);
    font-size: var(--font-size-medium);
}
.container-filtros {
    display: flex;
    justify-content: center;
}
.listaregistrados {
    width: 100%;
  }
.btn-m {
    padding: 5px;
    background: var(--color-coas);
    color: white;
    border: none;
}
.btn-m:hover {
    box-shadow: 5px 5px 5px #5b5b5b,
    -20px -20px 60px #ffffff;
}
.warning1 {
    position: absolute;
    z-index: 6;
    text-align: center;
    width: 300px;
    height: 75px;
    color: var(--color-coas);
    box-shadow: rgb(91, 91, 91) 8px 8px 8px, rgb(255, 255, 255) 0px 0px 0px;
    padding-right: 13px;
    background: rgb(247, 244, 244);
    border-radius: 5px;
}
.espacio {
    width: 5%;
    background: #1BA25B;
    border-radius: 5px 0 0 5px;
}
.espacio1 {
    width: 5%;
    background: #F44336;
    border-radius: 5px 0 0 5px;
}
.warning1 div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}
.warning1 div h4 {
    font-size: 700;
}
.valores {
    position: relative;
    display: flex;
    justify-content: center;
    width: 100%;
}
.valor-masa {
    position: relative;
}
.valorstyle {
    position: absolute;
    bottom: 0;
    font-size: 15px;
}
/* .error-message {
} */

/* seccion done.html */
.done-body {
    width: 100%;
    height: 100vh;
    margin: 30px 0;
    background: white;
}
.done-header {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-bottom: 30px;
}
.done-header img {
    width: 250px;
}
.main-done {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    text-align: center;
}
.done-h1 {
    margin-bottom: 30px;
    font-size: 25px;
}
.a-retorno {
    width: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, 280px);
    grid-gap: 25px;
}
.a-retorno a {
    width: auto;
    padding: 5px;
    color: black;
    border: 1px solid black;
    border-radius: 8px;
    text-decoration: none;
}
.a-retorno a:hover {
    box-shadow: 5px 5px 5px #5b5b5b,
    -20px -20px 60px #ffffff;
    transform: scale(1.1);
    transition: transform ease-in 0.2s;
}
.special-background-input {
    background: #fef1dd;
}

/* Loader Container */
.loader-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.9);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    animation: fadeOut 1s ease forwards;
    animation-delay: 2s; /* 4 segundos de carga + 0.5 segundos de margen */
}

/* Loader Title */
.loader-title {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}
.loader-title img {
    width: 80%;
    height: auto;
}

/* Load Container */
.load-container {
    width: 80%;
    max-width: 400px;
    height: 4px;
    background: #e0e0e0;
    border-radius: 50px;
    overflow: hidden;
    position: relative;
}
.load {
    width: 100%;
    height: 100%;
    background: #f29100;
    transform: translateX(-100%);
    animation: slideIn 1.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Animations */
@keyframes slideIn {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(0);
    }
}

@keyframes fadeOut {
    0% {
        visibility: visible;
        opacity: 1;
    }
    100% {
        visibility: hidden;
        opacity: 0;
    }
}

@media (min-width: 530px) {
    .menu {
        width: 50%;
    }
}

@media (max-width: 760px) {
    .tablas-container {
        display: flex;
        flex-direction: column;
        overflow-x: scroll;
        overscroll-behavior-x: contain;
        scroll-snap-type: x proximity;
    }
}

@media (min-width: 760px) {
    .header-form-container {
        justify-content: space-between;
    }
    .menu {
        left: 0;
        width: 40%;
    
        transform: translateX(0%);
        transition: transform 0.3s ease;
    }
    .menu.active {
        transform: translateX(-101%);
        transition: transform 0.5s ease;
    }
    .fixed-values-container {
        width: 33%;
        max-width: 300px;
    }
    .division-hero {
        display: flex;
        flex-direction: row;
        justify-content: space-around;
    }
    .second {
        order: 2;
    }
    .table-errors {
        order: 1;
        width: 490px;
    }
    .todo {
        height: 150vh;
    }
    .principal-btn {
        width: 160px;
    }
    .second-btn {
        width: 160px;
    }
}

@media (min-width: 920px) {
    header {
        flex-direction:row;
        justify-content: space-between;
    }
    .header-div {
        display: none;
    }
    .margin-header {
        margin-bottom: 0;
    }
    .container-span-bsoft {
        justify-content: left;
        width: 90%;
    }
    .menu {
        display: none;
    }
    .menu-nav-up {
        position: absolute;
        z-index: 2;
        display: flex;
        justify-content: right;
        width: 90%;
    }
    .container-filtros {
        justify-content: left;
    }
    .container-logo-principal {
        justify-content: left;
        margin-bottom: 0;
    }
    .div-nav-up {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100px;
        height: 38px;
        border-radius: 5px;
    }
    .div-nav-up a {
        color: white; /* Color de texto normal */
    }
    .div-nav-up:hover {
        background: linear-gradient(120deg, #a1c4fd 0%, #c2e9fb 100%);
        transition: background 0.3s ease;
    }
    .div-nav-up:hover a {
        color: var(--color-coas);
    }
    .div-nav-up.clicked {
        background: linear-gradient(120deg, #a1c4fd 0%, #c2e9fb 100%);
    }
    .div-nav-up a.clicked {
        background: linear-gradient(120deg, #a1c4fd 0%, #c2e9fb 100%);
        color: var(--color-coas);
    }
}

@media (min-width: 1050px) {
    .row-change {
        flex-direction: row;
    }
    /* .tabla1-container {
        width: 41%;
        height: 360px;
    } */
    .formula-container {
        width: 59%;
        height: 360px;
    }
}

@media (min-width: 950px) {
    .img-warnings1 {
        position: absolute;
        display: block;
        right: 0;
        bottom: -140px;
        width: 225px;
        transform: scale(1);
        transform-origin: top right;

        transition: transform 0.2s ease-out;
    }
    .img-warnings1:hover {
        transform: scale(2.5);
        transform-origin: top right;

        transition: transform 0.2s ease-in;
    }
    .img-warnings2 {
        position: absolute;
        display: block;
        left: 0;
        bottom: -140px;
        width: 225px;
        transform: scale(1);
        transform-origin: top left;

        transition: transform 0.2s ease-out;
    }
    .img-warnings2:hover {
        transform: scale(2.5);
        transform-origin: top left;

        transition: transform 0.2s ease-in;
    }
}