body {
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    display: grid;
    grid-template-rows: auto 1fr auto;
    min-height: 100dvh;
    -webkit-font-smoothing: antialiased;
}

header {
    padding: 10px 0;
}

header .btn-header {
    width: 45px;
    height: 45px;
    border-radius: 100%;
    border: 1px solid #FFFFFF;
    background-color: #FFFFFF;
}

header .btn-header.btn-consulta:hover {
    background-color: #FFFFFF;
}

header .btn-header.btn-user-name {
    background-color: #4E5669;
    border: 1px solid #4E5669;
    color: #FFF;
    font-weight: bold;
}

main .main-content {
    border-radius: 20px;
    background-color: #FFFFFF;
    box-shadow: 15px 15px 20px 0px rgba(0, 0, 0, 0.35) inset;
}

.mi-input::placeholder {   
    font-size: 14px;
}

.btn-white-outline {
    border: 1px solid #FFF;
    color: #FFFF;
}

.btn-white-outline:hover {
    border: 1px solid #FFF;
    background-color: #FFFFFF;
    color: #212529;
}


.btn-white-outline svg path {
    fill: #FFFFFF;
}

.btn-white-outline:hover svg path {
    fill: #212529;
}

.btn-white-outline-i {
    border: 0px solid #FFF;
    color: #FFFF;
}

.btn-white-outline-i:hover {
    border: 0px solid #FFF;
    color: #FFF;
}


.btn-white-outline-i svg path {
    fill: #FFFFFF;
}

.btn-white-outline-i:hover svg path {
    fill: #FFF;
}

.fs-10 {
    font-size: 1rem !important;
}


.fs-9 {
    font-size: 0.875rem !important;
}

.fs-7 {
    font-size: 0.75rem !important;
}

.fs-8 {
    font-size: 0.5rem !important;
}

.btn-red,
.btn-red:hover {
    background-color: #C41221;
    color: #FFFFFF;
}

.btn-gray,
.btn-gray:hover {
    background-color: #B4B4B4;
    color: #FFFFFF;
}

.only-btn {
    background-color: transparent;
    border: none;
}

.text-primary {
    color: #C41221 !important;
}

.modal .modal-header {
    background: var(--Prim-Azul, linear-gradient(0deg, rgba(0, 0, 0, 0.20) 0%, rgba(0, 0, 0, 0.20) 100%), linear-gradient(0deg, rgba(0, 0, 0, 0.20) 0%, rgba(0, 0, 0, 0.20) 100%), #07354F);
    color: #FFF;
    padding: 20px 0;
}

.modal .modal-header svg {
    margin-bottom: 10px;
}

.modal .modal-header .btn-close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
}

.input-field {
    position: relative;
}

.input-field label {
    font-weight: bold;
}

.input-field input[type=text],
.input-field input[type=email],
.input-field input[type=date],
.input-field input[type=number],
.input-field input[type=password],
.input-field input[type=tel]{
    display: block;
    width: 100%;
    border: none;
    border-bottom: 1px solid #000;
    padding: 8px;
    font-size: 14px;
}

.input-field input[type=text]::placeholder,
.input-field input[type=email]::placeholder,
.input-field input[type=date]::placeholder,
.input-field input[type=number]::placeholder,
.input-field input[type=tel]::placeholder,
.input-field input[type=password]::placeholder {
    font-size: 14px;
}

.lb-text{
    display: block;
    width: 50%;
    border: none;
    border-bottom: 1px solid #000;
    padding: 8px 12px;
}

.input-field textarea {
    display: block;
    width: 100%;
    border: none;
    border-bottom: 1px solid #000;
    padding: 8px 12px;
}

.input-field.align-right input {
    text-align: right;
}

.input-field.with-icon {
    position: relative;
}

.input-field .icon {
    position: absolute;
    bottom: 10px;
    left: 15px;
}

.toggle-password-field {
    position: absolute;
    bottom: 10px;
    right: 5px;
    cursor: pointer;
}

.bootstrap-select:not([class*=col-]):not([class*=form-control]):not(.input-group-btn) {
    width: 100%;
}

.bootstrap-select>.dropdown-toggle.bs-placeholder,
.bootstrap-select>.dropdown-toggle {
    color: #000;
    background: #FFF;
    border-bottom: 1px solid #000000;
    border-top: none;
    border-left: none;
    border-right: none;
    border-radius: 0;
    font-size: 14px;
}

.bootstrap-select>.dropdown-toggle.bs-placeholder:hover,
.bootstrap-select>.dropdown-toggle.bs-placeholder:active {
    border: none;
    border-bottom: 1px solid #000000;
    color: #000 !important;
}

.bootstrap-select .dropdown-toggle:focus {
    outline: none !important;
    outline-offset: 0;
    color: #000 !important;
}

.dropdown-toggle::after,
.dropup .dropdown-toggle::after {
    background-image: url(data:image/xml;base64,iVBORw0KGgoAAAANSUhEUgAAAA8AAAAJCAYAAADtj3ZXAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAC1SURBVHgBlZFBCsIwFEQnFfduBRddis0iR7A38AZ6k/YIHsGbqCewG8FdC1W6bPclxIlE0JJq+2EgyZ95/E+QQ82sMKLe/mCK9mJVQYVDghWiLf11iVUa8H6mQo32+A/wgEw0cLBnA5O9HkvI/R2RofI+gA06j9Xuq0lA6ho1pfxByXHl2juWD/AZ7EKFDyBgEh4bAXHibhvaGm4ZL3DNfoY7AFvFBDqe41ZgaLkV+IXLsM/zBOecV/UWxKJxAAAAAElFTkSuQmCC);
    height: 10px;
    width: 15px;
    background-repeat: no-repeat;
}

.dropdown-toggle::after,
.dropup .dropdown-toggle::after {
    border: none;
}

.init-menu-option,
.inner-menu-option {
    text-decoration: none;
    color: #07354F;
}

.inner-menu-option.active {
    text-decoratin: none;
    color: #C41221;
}

.init-menu-option svg path {
    fill: #07354F;
}

.init-menu-option:hover svg path {
    fill: #C41221;
}

.inner-menu-option:hover svg path {
    fill: #fff;
}

.init-menu-option:hover {
    color: #C41221;
}

.inner-menu-option svg path {
    fill: #07354F;
}

.inner-menu-option .rounded-circle {
    background-color: #D2D6E1;
}

.inner-menu-option .rounded-circle:hover{
    background-color: #C41221;
}

.inner-menu-option.active svg path {
    fill: #FFFFFF;
}

.inner-menu-option.active img {
    filter: brightness(0) invert(1);
}

.inner-menu-option.active .rounded-circle {
    background-color: #C41221;
}

@media only screen and (min-width: 600px) {
    .custom-h-box-1 {
        height: 600px;
    }
}

@media only screen and (max-width: 600px) {
    .inner-menu-option .rounded-circle {
        background-color: transparent;
    }

    
    .inner-menu-option.active .rounded-circle {
        background-color: #C41221;
    }

    .inner-menu-option.active svg path {
        fill: #fff;
    }

    .bootstrap-select > .dropdown-toggle {
        white-space: normal;
    }

    .icon-medium-white.icon-mobile {
        width: 46px !important;
        height: 44px !important;
        padding: 4px;
    }
}

.menu a.btn,
.mobile-menu a.btn {
    background-color: #657084;
    border: 1px solid #657084;
    color: #FFF;
}

.menu a.btn.active,
.mobile-menu a.btn.active {
    position: relative;
    background-color: #C41221;
    border: 1px solid #C41221;
    color: #FFF;
}

.menu a.btn.active:after {
    content: "";
    position: absolute;
    top: 25%;
    left: 94%;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 30px 25px 25px;
    border-color: transparent transparent #C41221 transparent;
    transform: rotate(90deg);
}

.mobile-menu a.btn.active:after {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 45px 25px 45px;
    border-color: transparent transparent #C41221 transparent;
    transform: rotate(180deg);
}

@media (max-width: 410px) {
    .mobile-menu a.btn.active:after {
        border-width: 0 40px 20px 40px;
    }
}

@media only screen and (min-width: 510px) and (max-width: 575px)  {
    .mobile-menu a.btn.active:after {
        border-width: 0 62px 25px 62px;
    }
}

@media only screen and (min-width: 576px) and (max-width: 767px)  {
    .mobile-menu a.btn.active:after {
        border-width: 0 58px 25px 58px;
    }
}

@media only screen and (min-width: 768px) and (max-width: 992px)  {
    .mobile-menu a.btn.active:after {
        border-width: 0 80px 25px 80px;
    }
}

.mobile-menu {
    padding: 0 25px;
}

.bg-red {
    background-color: #C41221;
}

.bg-gray {
    background-color: #F0F0F0;
}

.bg-gray-1 {
    background-color: #D9D9D9;
}

.bg-gray-2 {
    background-color: #B4B4B4;
}

.bg-gray-3{
    background-color: #F0F1F5;
}

.bg-dark-blue {
    background: var(--Prim-Azul, linear-gradient(0deg, rgba(0, 0, 0, 0.20) 0%, rgba(0, 0, 0, 0.20) 100%), linear-gradient(0deg, rgba(0, 0, 0, 0.20) 0%, rgba(0, 0, 0, 0.20) 100%), #07354F);
}

.bg-bluegray{
    background-color: #657084;
}

.border-table{
    border-color:#D2D6E1;
}
.custom-tabs {

}

.custom-tabs .nav-tabs {
    border-bottom: 5px solid #C41221;
}

.custom-tabs .nav-tabs button.nav-link {
    border-radius: 0;
    border: none;
    background: #F0F0F0;
    color: #000;
    font-weight: 700;
    font-size: 16px;
    margin: 0;
}

.custom-tabs .nav-tabs button.nav-link.active {
    background: #C41221;
    color: #FFF;
}

select.select-table {
    border: 1px solid #d9d9d9;
}

.form-check-input {
    width: 18px;
    height: 18px;
}

.form-check-input:checked {
    background-color: #FFFFFF;
    border-color: #B4B4B4;
}

.form-check-input:checked[type=checkbox] {
    --bs-form-check-bg-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTMiIGhlaWdodD0iMTMiIHZpZXdCb3g9IjAgMCAxMyAxMyIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxwYXRoIGQ9Ik0xLjMwMDA1IDYuNTY4MjNMNS4wMTQzMyAxMC4zOTk4TDExLjcgMS4yOTk4IiBzdHJva2U9IiNDNDEyMjEiIHN0cm9rZS13aWR0aD0iMyIvPgogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8L3N2Zz4=);
}

/* Contenedor del select */
.custom-select-wrapper {
    position: relative;
    width: 100%;
  }

.custom-select {
    appearance: none; 
    -webkit-appearance: none;
    -moz-appearance: none;
    border: none; 
    border-bottom: 1px solid #000000; 
    padding: 8px 30px 8px 0;
    font-size: 14px;
    background-color: transparent;
    width: 100%;
}

/* Personalización de la flecha*/
.custom-select-wrapper::after {
    content: "";
    position: absolute;
    right: 10px;
    top: 70%;
    transform: translateY(-50%) rotate(45deg);
    width: 9px;
    height: 9px;
    border: solid #C41221;
    border-width: 0 2px 2px 0;
    pointer-events: none;
}

  /* Efecto al enfocar */
.custom-select:focus {
    outline: none; /* Elimina el contorno azul */
}

.text-footer-movil{
    color: #B4B4B4;
}

.menu-button {
    background: none;
    border: none;
    cursor: pointer;
  }

  .menu-icon {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  .menu-icon div {
    width: 25px;
    height: 3px;
    background-color: #C41221;
  }

  /* Opciones del menú */
  .menu-item {
    padding: 10px 20px;
    cursor: pointer;
    font-size: 16px;
  }

  /* Línea roja vertical en hover o activo */
  .menu-item:hover, .menu-item.active {
    border-left: 4px solid #C41221;
    background-color: #FFFF;
    color: #C41221;
  }

  /* Estilo especial para el dropdown en desktop */
  .dropdown-menu {
    min-width: 200px;
  }

  /* Mostrar el dropdown en desktop */
  @media (max-width: 991px) {
    .desktop-menu {
      display: none; /* Oculta el menú desktop en móviles */
    }
  }

  /* Mostrar el offcanvas en móviles */
  @media (min-width: 992px) {
    .mobile-menu {
      display: none; /* Oculta el menú móvil en pantallas grandes */
    }
  }

.diagnostic-table input[type=number]:focus-visible {
    outline: none;
}

.badge-yellow {
    display: flex;
    width: 124px;
    padding: 10px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    border-radius: 10px;
    background: #FFC000;
}

/* Toggle tabs */
.custom-tabs .nav-tabs {
    display: none;
}

button.accordion-button .index {
    color: #C41221;
    font-weight: bold;
    padding: 10px 20px;
    background: #F0F0F0;
}

button.accordion-button .name {
    background: #B4B4B4;
    padding: 10px 20px;
    width: 100%;
    color: #000;
    font-weight: bold;
}

button.accordion-button[aria-expanded="true"] .name {
    color: #FFFFFF;
    background: #000000;
}

.icon-small-white {
  height: 40px;       /* altura fija */
  width: auto;        /* mantiene proporción */
  filter: brightness(0) invert(1);  /* lo vuelve blanco */
}

.icon-small {
  height: 40px;       /* altura fija */
  width: auto;        /* mantiene proporción */
}

.icon-medium-white {
  width: 60px;
  height: auto;
  filter: brightness(0) invert(1);
  display: block;      /* para que margenes automáticos centren correctamente */
  margin: 0 auto;      /* centra el img horizontalmente */
}

.icon-medium {
  width: 60px;
  height: auto;
  display: block;      /* para que margenes automáticos centren correctamente */
  margin: 0 auto;      /* centra el img horizontalmente */
}

.icon-medium:hover {
  filter: brightness(0) invert(1);
}

.icon-large {
  width: 99px;    /* idéntico al ancho del SVG */
  height: 93px;   /* idéntico a la altura del SVG */
  object-fit: contain; /* mantiene proporción si cambias el ratio */
  display: block; /* para que mx-auto funcione centrándolo */
}

#bank-selector + .dropdown-toggle .filter-option-inner-inner {
    white-space: normal !important;
  }

@media (min-width: 768px) {
    .custom-tabs .diagnostic-table .collapse {
        display: block;
    }

    .custom-tabs .nav-tabs {
        display: flex;
    }

    .custom-tabs .diagnostic-table .card-header {
        display: none;
    }
}

@media (max-width: 767px) {
    .custom-tabs .tab-content > .tab-pane {
        display: block !important;
        opacity: 1;
        margin-bottom: 10px;
    }

    .init-menu-option svg {
        height: 50px;
    }

    .icon-large {
        width: 57px;    /* idéntico al ancho del SVG */
        height: 52px;   /* idéntico a la altura del SVG */
    }
}



/*Tooltip Boostrap*/

.red-marked{
    color:#ff0000;
}

.tooltip-red .tooltip-inner {
  background-color:#C41221;
  color: #fff;
  font-size: 12px;
  padding: 6px 6px;
  border-radius: 6px;
}

.tooltip:not(.tooltip-red) .tooltip-inner {
  font-size: 11px; /* aquí ajustas el tamaño */
}

.tooltip-red .tooltip-arrow {
  display: none !important;
}

.tooltip:not(.tooltip-red) .tooltip-arrow {
  display: none !important;
}