.card-indicador {
    width: 230px;
    height: 130px;
    border-radius: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 8px rgba(0,0,0,0.15);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-align: center;
    color: white;
    font-weight: bold;
    font-size: 1.1rem;
}

.card-indicador i {
    font-size: 24px;
    margin-bottom: 8px;
}

.card-indicador span {
    font-size: 28px;
    font-weight: bold;
}

/* Cores específicas */
.bg-verde {
    background-color: #28a745;
}

.bg-amarelo {
    background-color: #ffc107;
    color: black;
}

.bg-azul {
    background-color: #007bff;
}

.bg-ciano {
    background-color: #17c3e5;
}

/* Animação ao passar o mouse */
.card-indicador:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

.mensagem .fw-bold .msg-hora{
  font-size: 0.75em;
  font-weight: 400;   /* normal */
  font-style: italic; /* opcional, deixa mais sutil */
  color: #8a8d91;
  margin-left: 4px;
}
/* Fundo escuro */
.menu-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  display: none;
  z-index: 2000;
}

/* Conteúdo do modal */
.menu-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #0077cc;
  color: white;
  padding: 20px;
  border-radius: 10px;
  display: none;
  flex-direction: column;
  align-items: center;
  z-index: 2001;
  width: 80%;
  max-width: 300px;
}

.menu-modal a {
  color: white;
  text-decoration: none;
  padding: 10px;
  width: 100%;
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,0.2);
}

.menu-modal a:last-child {
  border-bottom: none;
}

.menu-modal a:hover {
  background: #005fa3;
}

:root { --brand-blue: #0077cc; }

/* ==== MOBILE AJUSTADO ==== */
@media (max-width: 991px) {
  /* Menu lateral fixo, menor */
  .sidebar {
    width: 210px !important;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    background-color: #0077cc;
    overflow-y: auto;
    z-index: 1060;
    padding-top: 15px;
  }

  /* Conteúdo ajustado */
  .content {
    margin-left: 210px !important;
    padding: 15px;
  }

  /* Links do menu */
  .sidebar a {
    font-size: 14px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
  }

  .sidebar i {
    font-size: 18px;
    width: 22px;
    text-align: center;
  }

  .sidebar img {
    max-width: 150px;
  }

  /* Submenu (abre como painel lateral azul) */
  .submenu {
    position: fixed !important;
    top: 0;
    left: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: #0077cc;
    color: #fff;
    flex-direction: column;
    padding: 20px;
    border-radius: 0 1rem 1rem 0;
    box-shadow: 4px 0 12px rgba(0, 0, 0, 0.3);
    transition: left 0.3s ease;
    z-index: 2002;
  }

  .submenu.active {
    left: 0;
  }

  .submenu a {
    color: #fff;
    font-size: 16px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  }

  .submenu a:last-child {
    border-bottom: none;
  }

  /* Fundo escurecido atrás do submenu */
  .menu-modal-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2001;
  }

  .menu-modal-backdrop.active {
    display: block !important;
  }
}
