/* ---- Sidebar background override ---- */
.left-sidebar,
.left-sidebar .scroll-sidebar,
.left-sidebar .sidebar-nav,
.left-sidebar #sidebarnav,
.left-sidebar #sidebarnav ul {
  background: #0d2137 !important;
}

.left-sidebar .sidebar-item .sidebar-link,
.left-sidebar .sidebar-item .sidebar-link i,
.left-sidebar .sidebar-item .sidebar-link .hide-menu {
  color: rgba(255, 255, 255, .65) !important;
}

.left-sidebar .sidebar-item .sidebar-link:hover,
.left-sidebar .sidebar-item .sidebar-link:hover i,
.left-sidebar .sidebar-item .sidebar-link:hover .hide-menu,
.left-sidebar .sidebar-item.selected > .sidebar-link,
.left-sidebar .sidebar-item.selected > .sidebar-link i,
.left-sidebar .sidebar-item.selected > .sidebar-link .hide-menu,
.left-sidebar .sidebar-item .sidebar-link.active,
.left-sidebar .sidebar-item .sidebar-link.active i,
.left-sidebar .sidebar-item .sidebar-link.active .hide-menu {
  color: #ffffff !important;
  opacity: 1 !important;
}

.left-sidebar .sidebar-item.selected > .sidebar-link {
  background: rgba(255, 255, 255, .08) !important;
  border-radius: 4px;
}

.left-sidebar .nav-small-cap {
  color: rgba(255, 255, 255, .35) !important;
  letter-spacing: .8px;
}

.left-sidebar .devider {
  border-color: rgba(255, 255, 255, .1) !important;
}

/* ---- Navbar background override ---- */
.topbar .top-navbar .navbar-collapse[data-navbarbg='skin5'],
.topbar .top-navbar .navbar-header[data-logobg='skin5'] {
  background: #0d2137 !important;
}

/* ---- Logo en navbar ---- */
.nav-logo-icon {
  height: 38px;
  width: auto;
  object-fit: contain;
}
.nav-logo-text {
  height: 34px;
  width: auto;
  object-fit: contain;
}

.loadingicon{
  z-index:1;
  background-color: rgba(255, 255, 255, .9);
  height: 100%;
  width: 100%;
  position: absolute !important;
}



.div-report{
  overflow: hidden;
}

.img-report{
  width: 100%;
  height: auto;

  transition: all .5s ease;
  -webkit-transition: all .5s ease;
  -moz-transition: all .5s ease;
  -ms-transition: all .5s ease;
}

.div-report:hover .img-report{

  filter: none;
  -webkit-transform:scale(1.1);
  -moz-transform:scale(1.1);
  -ms-transform:scale(1.1);
  -o-transform:scale(1.1);

  transition: all .5s ease;
  -webkit-transition: all .5s ease;
  -moz-transition: all .5s ease;
  -ms-transition: all .5s ease;
}


/* ============================================================
   Tabla de Montos Fijos
   ============================================================ */

.montos-toolbar {
  background: #f0f4f8;
  border: 1px solid #c5d5e8;
  border-radius: 8px;
  padding: 10px 16px;
  margin-bottom: 16px;
}

.montos-wrapper {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 3px 14px rgba(13, 33, 55, .13);
  border: 1px solid #c5d5e8;
}

#tablaMontos {
  font-size: 13px;
  margin-bottom: 0 !important;
  border-collapse: collapse !important;
}

#tablaMontos thead th {
  background: #0d2137;
  color: #e8f0f8;
  font-weight: 600;
  text-align: center;
  padding: 10px 8px;
  border: none !important;
  white-space: nowrap;
  letter-spacing: .3px;
}
#tablaMontos thead th .th-lbl {
  color: #7fb3d3;
}

#tablaMontos tbody tr:nth-child(odd)  { background-color: #fff; }
#tablaMontos tbody tr:nth-child(even) { background-color: #f0f5fb; }
#tablaMontos tbody tr:hover           { background-color: #ddeaf7 !important; transition: background .12s; }

#tablaMontos tbody td {
  vertical-align: middle;
  padding: 6px 8px;
  border-top: 1px solid #e2eaf4 !important;
  border-bottom: none !important;
  border-left: none !important;
  border-right: none !important;
}

#tablaMontos tbody td:first-child {
  border-left: 4px solid #1a6aa8 !important;
  background-color: rgba(13, 33, 55, .04);
}

/* Etiquetas del encabezado de período */
.th-num  { font-size: 15px; font-weight: 700; line-height: 1.2; }
.th-lbl  { font-size: 9px;  font-weight: 400; opacity: .8;
           text-transform: uppercase; letter-spacing: .5px; }

/* Input de monto (primera columna) */
.input-monto-fila {
  border: none !important;
  border-bottom: 2px solid #1a6aa8 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  font-weight: 700;
  color: #0d2137;
  padding: 2px 4px;
  width: 90px;
  text-align: right;
  outline: none;
}
.input-monto-fila:focus { border-bottom-color: #0d2137 !important; }

/* Inputs de pago (celdas de período) */
.input-pago-fila {
  border: 1.5px solid #c5d5e8 !important;
  border-radius: 5px !important;
  background: #fff !important;
  box-shadow: none !important;
  text-align: right;
  width: 85px;
  margin: 0 auto;
  display: block;
  font-size: 12px;
  padding: 3px 7px;
  transition: border-color .15s, box-shadow .15s;
}
.input-pago-fila:focus {
  border-color: #1a6aa8 !important;
  box-shadow: 0 0 0 2px rgba(26, 106, 168, .15) !important;
  outline: none;
}

/* Botones de acción circulares */
.btn-accion-monto {
  border-radius: 50%;
  width: 30px; height: 30px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  border: none;
  cursor: pointer;
  transition: opacity .15s, transform .1s;
}
.btn-accion-monto:active { transform: scale(.9); }

.btn-guardar-monto       { background: #1a6aa8; color: #fff; }
.btn-guardar-monto:hover { background: #0d2137; color: #fff; }

.btn-eliminar-monto       { background: #fff; border: 1.5px solid #dc3545 !important; color: #dc3545; }
.btn-eliminar-monto:hover { background: #dc3545; color: #fff; }