.bg-maximo {
  background-color: var(--bs-success) !important;
  font-weight: bold;
}

.selected {
  font-weight: bolder !important;
  background-color: #f01d4a !important;
  color: #fff !important;
  text-align: center !important;
}

#notification-container {
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 1000;
}

.notification {
  background-color: #6ece5a;
  color: white;
  padding: 10px 20px;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  transform: translateX(-100%);
  opacity: 0;
  transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

.notification.show {
  transform: translateX(0);
  opacity: 1;
}

.notification.hide {
  transform: translateX(-100%);
  opacity: 0;
}

dialog {
  opacity: 0;
  transform: scale(0.8);
  padding: 15px;
  border-radius: 8px;
  border: 1px solid #ccc;
  max-width: 400px;
  width: 90%;
  background-color: var(--bs-body-bg);
  /*var(--bs-gray-400);*/
}

dialog[open] {
  animation: openDialog 0.3s ease forwards;
}

dialog.closing {
  animation: closeDialog 0.3s ease forwards;
}

@keyframes openDialog {
  from {
    opacity: 0;
    transform: scale(0.8);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes closeDialog {
  from {
    opacity: 1;
    transform: scale(1);
  }

  to {
    opacity: 0;
    transform: scale(0.8);
  }
}

.app-toast {
  text-align: center;
  font-weight: bold;
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background-color: #84d674;
  color: white;
  padding: 10px 10px;
  border-radius: 5px;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 1100;
}

.app-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.container-app {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 350px));
  gap: 20px;
  justify-content: center;
  padding: 20px;
}

.list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px;
  width: 350px;
  box-sizing: border-box;
}

.list-item img {
  width: 45px;
  height: 45px;
  object-fit: cover;
  border-radius: 4px;
  margin-right: 15px;
}

.list-item a {
  flex-grow: 1;
}

.list-item a:hover {
  cursor: pointer;
}

.search-box {
  width: 440px;
  position: relative;
}

.search-box input {
  padding-left: 40px;
  height: 36px;
  border-radius: 5px;
}

.search-box .bi-search {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #6c757d;
}

@media (max-width: 768px) {
  .search-box {
    width: auto;
    flex-grow: 1;
    margin-right: 10px;
  }

  .btn-app {
    white-space: nowrap;
  }
}

.logo {
  position: relative;
}

.logo::after {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-image: url("/logo.png");
  background-size: 50%;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.1;
  z-index: -200;
}

.overlay {
  display: none;
  position: fixed;
  padding: 0;
  margin: 0;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, .3);
  opacity: .8;
  pointer-events: none;
}

#dotnet-compile-error {
  display: none !important;
}

.table {
  --bs-table-bg: transparent !important;
}


.chart-container {
  background: #6c6c6c;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(8, 31, 134, 0.411);
  margin-bottom: 20px;
}

canvas {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 20px;
  font-size: 0.95rem;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.legend-color {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  flex-shrink: 0;
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.3rem;
  }

  .chart-container {
    padding: 16px;
  }

  select {
    width: 100%;
    max-width: 300px;
  }

  .legend {
    gap: 12px;
    font-size: 0.9rem;
  }
}

.logo-img {
  height: 120px;
}

.pago-body {
  height: 100%;
  margin: 0px;
  background: url('/fondos_pagos.jpeg');
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-attachment: fixed;
}

.pango-banco-titulo {
  font-weight: bold;
  font-size: 1.2rem;
}

.pago-titulo {
  display: inline-block;
  font-weight: 800;
  font-size: 1.4rem;
  margin: auto auto;
  padding: 1px 8px;
}

.pagos-mano-icono {
  position: absolute;
  top: 15px;
  left: 30%;
  font-size: 2rem;
  color: #fff;
}

.pulse {
  animation: pulse-animation 1s infinite;
}

@keyframes pulse-animation {
  0% {
    transform: scale(0.8);
  }

  50% {
    transform: scale(1.2);
  }

  100% {
    transform: scale(0.8);
  }
}

.fade-out {
  animation: fade-out 1s ease-out forwards;
}

@keyframes fade-out {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}