    html, body {
      height: 100%;
    }
    body {
      display: flex;
      flex-direction: column;
      min-height: 100vh;
      margin: 0;
      background-color: #f8f9fa;
      color: #333;
      padding-top: 70px; /* para navbar fixa */
    }
    main {
      flex: 1; /* Main ocupa o espaço disponível */
      max-width: 600px;
      width: 100%;
      margin: 0 auto;
      padding: 1rem;
    }
    .footer {
      background-color: #363636;
      color: #fff;
      padding: 20px 0;
      text-align: center;
    }
    .footer a {
      color: #bbc7ff;
      text-decoration: none;
    }
    .footer a:hover {
      color: #fff;
      text-decoration: underline;
    }
	
/* Fundo com imagem */
.background-image {
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  min-height: 100vh; /* garante que cubra a tela */
}

.background-image::before {
  content: "";
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(105, 105, 105, 0.2); /* cinza semi-transparente */
  z-index: -1;
}


/* Fundo com cor sólida */
.background-solid {
  background-color: #696969; /* cor sólida azul bootstrap, mude para a desejada */
  min-height: 100vh;
}

.form-background {
    background: rgba(255, 255, 255, 0.85); /* fundo branco translúcido */
    border-radius: 12px;                   /* cantos arredondados */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); /* sombra suave */
    max-width: 500px;                      /* largura máxima para o formulário */
    margin: 0 auto;                        /* centralizar horizontalmente */
}

/* Estilo inicial - menu transparente */
.navbar {
  background-color: transparent;
  transition: background-color 0.3s ease;
}

/* Classe para o menu com fundo colorido após scroll */
.navbar.scrolled {
  background-color: #363636; /* cor azul exemplo, substitua conforme desejar */
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.nav-link.active {
  font-weight: bold;
  font-style: italic;
  
  color: #ffffff !important; /* exemplo: amarelo para destaque */

}

.navbar .navbar-brand img {
  transition: all 0.9s ease;
  height: 48px; /* tamanho padrão da logo */
}

.navbar.scrolled .navbar-brand img {
  height: 32px; /* logo menor ao rolar */
}

/* Fonte do menu normal */
.navbar .nav-link {
  font-weight: 500;
  transition: font-weight 0.3s;
}

.navbar.scrolled .nav-link {
  font-weight: bold;
}

/* Remove o destaque inferior da Home quando estiver ativo dentro do painel */
/* .navbar .nav-link.active, */
.navbar .nav-link:focus,
.navbar .nav-link:active {
  border: none !important;
  box-shadow: 0 2px 20px rgba(0, 224, 255, 4.7)!important;
  text-decoration: none !important;
}

/* Fundo sólido simples */
.h2-background-solid {
  background-color: #0d6efd; /* azul bootstrap como exemplo */
  padding: 0.3em 0.6em;
  border-radius: 8px;
  color: white;
}

/* Fundo sólido com transparência */
.h2-background-translucid {
  background-color: rgba(13, 110, 253, 0.85);
  padding: 0.3em 0.6em;
  border-radius: 8px;
  color: white;
  max-width: 480px;
  margin: 0 auto;
}

/* Fundo com efeito sombra para destaque */
.h2-background-shadow {
  background-color: #0d6efd;
  padding: 1em;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  color: white;
}

.login-box {
  border: 2px solid #0d47a1;
  border-radius: 15px;
  background-color: white;
  max-width: 450px;
}
.login-box p {
	color: #202a7f;
	font-size: 18px;
	font-family: 'Roboto Condensed', sans-serif;
	width:100%;
	margin:5px auto 5px;
	line-height:24px;
}
.form-box {
  border: 2px solid #0d47a1;
  border-radius: 15px;
  background-color: white;
  max-width: 550px;
}
.login-legend {
  background-color: #1976d2;
  color: white;
  font-weight: bold;
  font-family: 'Courier New', Courier, monospace;
  padding: 10px 0;
  border-radius: 12px 12px 0 0;
  font-size: 1.25rem;
  margin-bottom: 15px;
}

.form-input {
  border-radius: 10px;
  font-weight: 600;
  padding-left: 15px;
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.975rem;
}

.btn-access {
  background-color: #0d22a1;
  color: white;
  font-weight: bold;
  font-family: 'Courier New', Courier, monospace;
  font-size: 1.25rem;
  border-radius: 10px;
  padding: 10px 0;
}

.btn-access:hover {
  background-color: #001979;
  color: #cbd5f7;
  transition: 0.3s ease;
}

.copyright {
  background-color: #1a252f;
}

.text-center {
  text-align: center !important;
}

.py-4 {
  padding-top: 1.5rem !important;
  padding-bottom: 1.5rem !important;
}

.text-white {
  --bs-text-opacity: 1;
  color: rgba(var(--bs-white-rgb), var(--bs-text-opacity)) !important;
}
small, .small {
  font-size: 0.875em;
}

.container {
  --bs-gutter-x: 1.5rem;
  --bs-gutter-y: 0;
  width: 100%;
  padding-right: calc(var(--bs-gutter-x) * 0.5);
  padding-left: calc(var(--bs-gutter-x) * 0.5);
  margin-right: auto;
  margin-left: auto;

.visit-statistics {
    max-width: 350px;
    color: #eee;
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 12px;
    background-color: #243447;
    border-radius: 10px;
    padding: 15px 20px;
    box-shadow: 0 6px 14px rgb(0 0 0 / 0.25);
}

.visit-statistics h3 {
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 1rem;
    color: #ffc107;
    letter-spacing: 1.6px;
    text-transform: uppercase;
}

.visit-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.visit-list li {
    padding: 0px 0;
    border-bottom: 1px solid #314659;
    font-weight: 300;
    display: flex;
    justify-content: space-between;
    color: #f1f1f1;
}

.visit-list li strong {
    color: #ffa500;
    text-transform: uppercase;
}

.container-flex {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}

.container-flex ul.visit-list {
    flex: 1 1 180px;
    min-width: 150px;
}

.container-flex canvas {
    flex: 1 1 150px;
    max-width: 150px;
    border-radius: 8px;
    background-color: #13202f;
    box-shadow: 0 4px 10px rgb(250 128 0 / 0.3);
}

/* Mobile */
@media (max-width: 480px) {
    .container-flex {
        flex-direction: column;
        align-items: stretch;
    }

    .container-flex ul.visit-list,
    .container-flex canvas {
        flex: 1 1 100%;
        max-width: 100%;
        margin-bottom: 2rem;
    }
}

/* Botões Rede Social */
.social-container {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-container a {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    font-size: 28px;
    transition: transform 0.3s, opacity 0.3s;
}

.social-container a:hover {
    transform: scale(1.1);
    opacity: 0.8;
}

/* Cores de cada rede */
.facebook { background-color: #3b5998; }
.whatsapp { background-color: #25d366; }
.instagram { background-color: #c32aa3; }
.youtube { background-color: #ff0000; }

/* Links normais */
.nav-link,
.dropdown-toggle {
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 30px;
  padding: 6px 14px;
  color: #ccc !important; /* cor neutra enquanto não clicado */
}

/* Hover (passar o mouse) */
.nav-link:hover,
.dropdown-toggle:hover {
  background-color: rgba(13, 110, 253, 0.15); /* leve fundo azul translúcido */
  color: #0d6efd !important; /* azul moderno */
  transform: translateY(-1px);
}

/* Quando o link for o da página atual */
.active-pill {
  background: linear-gradient(135deg, #0d6efd, #00e0ff); /* degradê azul */
  color: #ffffff !important; /* texto branco */
  font-weight: 600;
  box-shadow: 0 2px 20px rgba(0, 224, 255, 0.4);
  border-radius: 30px;
  padding: 6px 14px;
  transition: all 0.3s ease;
  border: none !important;
}

/* Hover sobre o link ativo */
.active-pill:hover {
  box-shadow: 0 0 15px rgba(0, 224, 255, 2.7);
  transform: translateY(-1px);
  color: #ffffff !important;
}

/* Itens dos menus suspensos */
.dropdown-menu .dropdown-item {
  color: #ccc !important; /* cor neutra inicial */
  transition: all 0.3s ease;
}

/* Hover em dropdown */
.dropdown-menu .dropdown-item:hover {
  background: linear-gradient(135deg, #0d6efd, #00e0ff);
  color: #ffffff !important;
  border-radius: 8px;
}

.avatar-img {
  width: 40px;
  height: 40px;
  border-radius: 50%; /* Makes the image round */
  object-fit: cover;  /* Ensures the image fits well */
}

.chat-box {
    background-image: url(/assets/images/wp.png);
    height: 300px;
    overflow-y: auto;
    padding: 10px;
    border-radius: 10px;
}

.msg {
    padding: 8px 12px;
    margin: 6px 0;
    max-width: 75%;
    border-radius: 12px;
    font-size: 14px;
}

.msg.enviada {
    background: #d9fdd3;
    color: #000;
    margin-left: auto;
}

.msg.recebida {
    background: #ffffff;
    color: #0a0a0a;
}

.msg .hora {
    display: block;
    font-size: 11px;
    opacity: 0.7;
    margin-top: 3px;
}

.chat-box-wrapper {
    display: flex;
    flex-direction: column;
}

/* Container geral */
.digitando-wrap {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    margin: 6px 0;
}

/* Avatar pequeno */
.digitando-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
}

/* Balão */
.digitando-bubble {
    background: #2b2f33;
    color: #ccc;
    font-size: 13px;
    padding: 6px 10px;
    border-radius: 10px;
    max-width: 200px;
}

/* Pontinhos animados */
.digitando-bubble .dots::after {
    content: '';
    animation: dots 1.5s steps(3, end) infinite;
}

@keyframes dots {
    0%   { content: ''; }
    33%  { content: '.'; }
    66%  { content: '..'; }
    100% { content: '...'; }
}

.chat-topo {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px;
    margin-bottom: 8px;
    border-bottom: 1px solid rgba(255,255,255,.2);
}

.chat-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
}

.chat-info {
    text-align: left;
}

.chat-status {
    font-size: 12px;
}

.chat-status.online {
    color: #00ff9c;
}

.chat-status.offline {
    color: #aaa;
}
