/* 
   Índice
     1. Tokens (:root)
     2. Base
     3. Navbar
     4. Botão de login + dropdown
     5. Top bar
     6. Hero
     7. BAQS — cabeçalho de secção
     8. Cards
     9. Botões
    10. Barra de filtros e barra de ações
    11. Dashboard mockup (hero)
    12. Cards section (landing)
    13. Footer
    14. Responsivo
    15. Password toggle
    17. Ecrã BAQS — regras específicas (equivalentes ao <style> do template)
   ════════════════════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Manrope:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400&display=swap');




/* ════════════════════════════════════════════════════════════════════════════
   1. TOKENS
   ════════════════════════════════════════════════════════════════════════════ */

:root {

  --footer-h: 64px;
  /* ── Paleta azul institucional ── */
  --blue-dark:   #006ab5;
  --blue-mid:    #0c72df;
  --blue-bright: #4aa9fc;
  --blue-light:  #e3f0fc;
  --blue-accent: #4fc3f7;

  /* ── Superfícies ── */
  --surface:     #f4f9ff;
  --border:      #d0e4f4;
  --bg:          #f1f5f9;          /* (acrescentado) usado por .btn-icon */

  /* ── Texto ── */
  --text-body:   #2d3a4a;
  --text-muted:  #5e7082;
  --text-1:      #0a3d6b;          /* (acrescentado) títulos — valor retirado
                                      do rgba(10,61,107,…) já usado no ficheiro */
  --text-2:      #2d3a4a;          /* (acrescentado) texto secundário */
  --text-3:      #5e7082;          /* (acrescentado) texto terciário */

  /* ── Marca ──
     --brand-500 é #0076c0: valor confirmado pelo box-shadow do .btn-modern
     (rgba(0,118,192,.28)). Os restantes seguem a mesma rampa. */
  --brand-50:    #eef7fe;          /* (acrescentado) */
  --brand-100:   #e3f0fc;          /* (acrescentado) = --blue-light */
  --brand-500:   #0076c0;          /* (acrescentado) */
  --brand-600:   #006ab5;          /* (acrescentado) = --blue-dark */
  --brand-700:   #005a99;          /* (acrescentado) */

  /* ── Semânticas ── (acrescentadas; emparelham com os fundos pastel já usados
     em .stat-icon.green/.amber/.red) */
  --success:     #16a34a;
  --warning:     #d97706;
  --danger:      #dc2626;
  --info:        #0284c7;

  /* ── Formas ── */
  --r-sm:        8px;              /* (acrescentado) */
  --r-md:        12px;             /* (acrescentado) */
  --r-lg:        16px;             /* (acrescentado) */

  /* ── Sombras ── (acrescentadas, com a cor do ficheiro: rgba(10,61,107,…)) */
  --sh-xs:       0 1px 2px rgba(10,61,107,.06);
  --sh-sm:       0 2px 8px rgba(10,61,107,.08);
  --sh-md:       0 8px 24px rgba(10,61,107,.12);

  /* ── Movimento ── */
  --ease:        .18s ease;        /* (acrescentado) */

  /* ── Tipografia ── */
  --font: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
}


/* ════════════════════════════════════════════════════════════════════════════
   2. BASE
   ════════════════════════════════════════════════════════════════════════════ */

body { font-family: var(--font); color: var(--text-body); background: #fff; }
h1,h2,h3,h4 { font-family: var(--font) }


/* ════════════════════════════════════════════════════════════════════════════
   3. NAVBAR
   ════════════════════════════════════════════════════════════════════════════ */

.navbar {
  background: #fff;
  border-bottom: 1px solid var(--border);
  min-height: 62px;
}
.navbar-brand-text {
  font-family: 'Sora', sans-serif;
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: .07em;
  text-transform: uppercase;
}
.navbar-brand-text strong { color: var(--blue-dark); font-weight: 700; }
.nav-logo {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--blue-dark);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Sora', sans-serif; font-weight: 700; font-size: 13px; color: #fff;
  flex-shrink: 0;
}
.lang-link {
  font-size: 12px; font-weight: 500; color: var(--text-muted);
  text-decoration: none; padding: 2px 0;
  transition: color .15s;
}
.lang-link:hover { color: var(--blue-bright); }
.lang-sep { color: var(--border); }


/* ════════════════════════════════════════════════════════════════════════════
   4. BOTÃO DE LOGIN + DROPDOWN
   ════════════════════════════════════════════════════════════════════════════ */

/* Login button */
.btn-login {
  background: var(--blue-dark); color: #fff; border: none;
  font-family: 'DM Sans', sans-serif; font-size: 13px; font-weight: 500;
  padding: 7px 18px; border-radius: 7px;
  display: flex; align-items: center; gap: 7px;
  transition: background .15s;
}
.btn-login:hover, .btn-login:focus { background: var(--blue-mid); color: #fff; }
.btn-login .ti-chevron-down { font-size: 11px; transition: transform .2s; }
.btn-login[aria-expanded="true"] .ti-chevron-down { transform: rotate(180deg); }

/* Dropdown login */
.login-dropdown {
  min-width: 320px;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 12px 36px rgba(10,61,107,.13);
  right: 0 !important;
  left: auto !important;
  margin-top: 12px !important;
}
.login-dropdown .dropdown-title {
  font-family: 'Sora', sans-serif; font-size: 14px; font-weight: 600;
  color: var(--blue-dark); margin-bottom: 1.25rem;
  display: flex; align-items: center; gap: 8px;
}
.login-dropdown .form-label {
  font-size: 11px; font-weight: 500; letter-spacing: .06em;
  text-transform: uppercase; color: var(--text-muted); margin-bottom: 5px;
}
.login-dropdown .form-control {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 7px; font-size: 13px; color: var(--text-body);
  padding: 8px 12px;
}
.login-dropdown .form-control:focus {
  border-color: var(--blue-bright);
  box-shadow: 0 0 0 3px rgba(30,136,229,.12);
  background: #fff;
}
.btn-entrar {
  background: var(--blue-dark); color: #fff; border: none;
  font-family: 'Sora', sans-serif; font-size: 13px; font-weight: 600;
  letter-spacing: .05em; padding: 10px; border-radius: 7px; width: 100%;
  transition: background .15s;
}
.btn-entrar:hover { background: var(--blue-mid); }
.forgot-link {
  display: block; text-align: center; font-size: 11px; color: var(--text-muted);
  text-decoration: underline; text-decoration-color: var(--border);
  cursor: pointer; margin-top: 8px;
}
.forgot-link:hover { color: var(--blue-bright); }


/* ════════════════════════════════════════════════════════════════════════════
   5. TOP BAR
   ════════════════════════════════════════════════════════════════════════════ */

.top-bar {
  background: var(--blue-mid);
  padding: 9px 1rem;
  font-family: 'Sora', sans-serif; font-size: 11px;
  color: #fff; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  text-align: center;
}


/* ════════════════════════════════════════════════════════════════════════════
   6. HERO
   ════════════════════════════════════════════════════════════════════════════ */

.hero-section {
  background: linear-gradient(135deg, var(--blue-dark) 0%, #0262c1 55%, #125f9e 100%);
  padding: 4rem 0 0;
  position: relative; overflow: hidden;
}
.hero-section::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 40%, rgba(79,195,247,.12) 0%, transparent 65%);
  pointer-events: none;
}
.hero-eyebrow {
  display: inline-block;
  background: rgba(79,195,247,.18); color: var(--blue-accent);
  font-size: 11px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 4px; margin-bottom: 1rem;
}
.hero-h1 {
  font-size: clamp(1.5rem, 4vw, 2.1rem); font-weight: 700; color: #fff; line-height: 1.25;
  margin-bottom: 1rem;
}
.hero-h1 span { color: var(--blue-accent); }
.hero-desc {
  font-size: 14px; color: rgba(255,255,255,.7); line-height: 1.7; margin-bottom: 1.75rem;
}
.btn-hero-primary {
  background: var(--blue-accent); color: var(--blue-dark); border: none;
  font-size: 13px; font-weight: 600; padding: 10px 22px; border-radius: 6px;
  transition: opacity .15s;
}
.btn-hero-primary:hover { opacity: .88; color: var(--blue-dark); }
.btn-hero-outline {
  background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.35);
  font-size: 13px; padding: 10px 22px; border-radius: 6px;
  transition: border-color .15s;
}
.btn-hero-outline:hover { border-color: rgba(255,255,255,.7); color: #fff; }


/* ════════════════════════════════════════════════════════════════════════════
   7. BAQS — CABEÇALHO DE SECÇÃO
   ════════════════════════════════════════════════════════════════════════════ */

/* Section header */
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

/* O ficheiro original declarava .section-title duas vezes (20px/800 aqui e
   clamp(1.25rem,3vw,1.6rem)/700 na secção "Cards section"), pelo que a segunda
   ganhava também nos cabeçalhos de página. Aqui o cabeçalho fica com a variante
   declarada para ele, com escopo — a variante da landing page mantém-se
   intacta na secção 12. */
.section-header .section-title {
  font-size: 20px;
  font-weight: 800;
  line-height: 1.25;
  color: var(--text-1);
}

.section-sub { font-size: 13px; color: var(--text-3); margin-top: 3px; }

/* Acrescentado: largura de linha legível no subtítulo do cabeçalho */
.section-header .section-sub {
  line-height: 1.5;
  margin-top: 4px;
  max-width: 70ch;
}


/* ════════════════════════════════════════════════════════════════════════════
   8. CARDS
   ════════════════════════════════════════════════════════════════════════════ */

.card-base {
  background: var(--surface);
  border-radius: var(--r-lg);
  padding: 24px 26px;
  box-shadow: var(--sh-sm);
  border: 1px solid var(--border);
  margin-bottom: 20px;
  animation: fadeUp .3s ease both;
}

/* Acrescentado: o conteúdo do formulário não empurra as margens do cartão */
.card-base > form > :first-child { margin-top: 0; }
.card-base > form > :last-child  { margin-bottom: 0; }

.cards-side {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
    align-items: stretch;
}

.card-base-side {
  background: var(--surface);
  border-radius: var(--r-lg);
  padding: 24px 26px;
  box-shadow: var(--sh-sm);
  border: 1px solid var(--border);
  margin-bottom: 20px;
  animation: fadeUp .3s ease both;
}

.stat-card {
  background: var(--surface);
  border-radius: var(--r-lg);
  padding: 20px 22px;
  box-shadow: var(--sh-sm);
  border: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  transition: box-shadow var(--ease), transform var(--ease);
  animation: fadeUp .3s ease both;
}

.stat-card:hover { box-shadow: var(--sh-md); transform: translateY(-2px); }

.stat-label { font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--text-3); margin-bottom: 6px; }
.stat-value { font-size: 28px; font-weight: 800; color: var(--text-1); line-height: 1; }
.stat-sub   { font-size: 12px; color: var(--text-3); margin-top: 5px; }

.stat-icon {
  width: 44px; height: 44px;
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; flex-shrink: 0;
}

.stat-icon.blue  { background: var(--brand-100); color: var(--brand-600); }
.stat-icon.green { background: #dcfce7; color: var(--success); }
.stat-icon.amber { background: #fef3c7; color: var(--warning); }
.stat-icon.red   { background: #fee2e2; color: var(--danger); }


/* ════════════════════════════════════════════════════════════════════════════
   9. BOTÕES
   ════════════════════════════════════════════════════════════════════════════ */

.btn-modern {
  background: var(--brand-500); border: none; color: white;
  padding: 9px 18px; border-radius: var(--r-sm);
  font-family: var(--font); font-weight: 600; font-size: 13.5px;
  cursor: pointer; display: inline-flex; align-items: center; gap: 7px;
  transition: background var(--ease), box-shadow var(--ease), transform .12s;
  text-decoration: none;
}

.btn-modern:hover {
  background: var(--brand-700);
  box-shadow: 0 6px 18px rgba(0,118,192,.28);
  transform: translateY(-1px);
  color: white;
}

.btn-modern-outline {
  background: transparent; border: 1.5px solid var(--brand-500); color: var(--brand-500);
  padding: 8px 16px; border-radius: var(--r-sm);
  font-family: var(--font); font-weight: 600; font-size: 13.5px;
  cursor: pointer; display: inline-flex; align-items: center; gap: 7px;
  transition: all var(--ease);
}

.btn-modern-outline:hover { background: var(--brand-50); border-color: var(--brand-700); color: var(--brand-700); }

.btn-upload {
  border: 1.5px solid var(--info); background: transparent; color: var(--info);
  padding: 8px 16px; border-radius: var(--r-sm);
  font-family: var(--font); font-weight: 600; font-size: 13px;
  cursor: pointer; display: inline-flex; align-items: center; gap: 7px;
  transition: all var(--ease);
}
.btn-upload:hover { background: var(--info); color: white; }

.btn-download {
  border: 1.5px solid var(--success); background: transparent; color: var(--success);
  padding: 8px 16px; border-radius: var(--r-sm);
  font-family: var(--font); font-weight: 600; font-size: 13px;
  cursor: pointer; display: inline-flex; align-items: center; gap: 7px;
  transition: all var(--ease);
}
.btn-download:hover { background: var(--success); color: white; }

.btn-icon {
  background: var(--bg); border: none; border-radius: 7px;
  width: 32px; height: 32px;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background var(--ease), color var(--ease);
  color: var(--text-2); font-size: 14px; text-decoration: none;
}
.btn-icon:hover { background: var(--brand-100); color: var(--brand-600); }
.btn-icon.danger:hover { background: #fee2e2; color: var(--danger); }


/* ════════════════════════════════════════════════════════════════════════════
   10. BARRA DE FILTROS E BARRA DE AÇÕES
   ════════════════════════════════════════════════════════════════════════════ */

/* Filter bar */
.filter-bar {
  background: var(--surface);
  border-radius: var(--r-md);
  padding: 16px 20px;
  border: 1px solid var(--border);
  box-shadow: var(--sh-xs);
  margin-bottom: 18px;
  animation: fadeUp .3s ease both;
}

/* Grelha de filtros: campos alinhados pela base, para que etiquetas, selects
   e botões partilhem a mesma linha de horizonte. */
.filter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px 18px;
  align-items: end;
}

.filter-grid > * { min-width: 0; }   /* evita estoiro da grelha */

.filter-grid .form-label {
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .03em;
  color: var(--text-3);
}

.filter-grid .form-select,
.filter-grid .form-control {
  width: 100%;
  min-height: 38px;      /* altura uniforme com .btn-login */
}

/* Campo de filtro: etiqueta sobre o controlo, empilhados */
.filter-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

/* Barra de ações: linha própria, separada dos campos, com o botão à direita.
   */
.filter-actions {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 4px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.filter-actions .btn-login,
.filter-actions .btn-modern,
.filter-actions .btn-modern-outline,
.filter-actions .btn-upload,
.filter-actions .btn-download {
  min-height: 38px;
  justify-content: center;
}

/* Alertas dentro de cartões: linha inteira, sem empurrar a grelha */
.card-base .alert {
  grid-column: 1 / -1;
  margin: 0 0 4px;
}


/* ════════════════════════════════════════════════════════════════════════════
   11. DASHBOARD MOCKUP (HERO)
   ════════════════════════════════════════════════════════════════════════════ */

.hero-visual {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-bottom: none; border-radius: 12px 12px 0 0;
  padding: 1.25rem;
  margin-top: 2rem;
}
.dash-kpi {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px; padding: 12px 14px;
}
.dash-kpi-label { font-size: 10px; color: rgba(255,255,255,.5); letter-spacing: .06em; text-transform: uppercase; margin-bottom: 5px; }
.dash-kpi-val { font-family: 'Sora', sans-serif; font-size: 1.35rem; font-weight: 700; color: #fff; }
.dash-kpi-sub { font-size: 10px; color: var(--blue-accent); margin-top: 2px; }
.dash-chart {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px; padding: 12px 14px; flex: 2;
}
.dash-chart-label { font-size: 10px; color: rgba(255,255,255,.5); letter-spacing: .06em; text-transform: uppercase; margin-bottom: 8px; }
.chart-bars { display: flex; align-items: flex-end; gap: 5px; height: 50px; }
.bar { flex: 1; border-radius: 3px 3px 0 0; background: rgba(79,195,247,.35); }
.bar.hi { background: var(--blue-accent); }
.dash-list {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px; padding: 10px 12px; flex: 1;
}
.dash-list-label { font-size: 10px; color: rgba(255,255,255,.5); letter-spacing: .06em; text-transform: uppercase; margin-bottom: 7px; }
.list-row { display: flex; justify-content: space-between; align-items: center; padding: 4px 0; border-bottom: 1px solid rgba(255,255,255,.06); }
.list-row:last-child { border-bottom: none; }
.lr-name { font-size: 10px; color: rgba(255,255,255,.7); }
.lr-val { font-size: 10px; font-weight: 600; color: var(--blue-accent); }
.dot { width: 5px; height: 5px; border-radius: 50%; background: var(--blue-accent); margin-right: 5px; display: inline-block; }


/* ════════════════════════════════════════════════════════════════════════════
   12. CARDS SECTION (LANDING)
   ════════════════════════════════════════════════════════════════════════════ */

.cards-section { padding: 3.5rem 0; background: var(--surface); }
.section-label {
  font-size: 11px; font-weight: 500; letter-spacing: .12em;
  text-transform: uppercase; color: var(--blue-mid);
}
.section-title { font-size: clamp(1.25rem, 3vw, 1.6rem); font-weight: 700; color: var(--blue-dark); }
.section-desc { font-size: 14px; color: var(--text-muted); line-height: 1.7; max-width: 520px; margin: 0 auto; }
.feature-card {
  background: #fff; border: 1px solid var(--border); border-radius: 12px;
  padding: 1.5rem; height: 100%;
  transition: box-shadow .2s, transform .2s; cursor: pointer;
}
.feature-card:hover { box-shadow: 0 8px 28px rgba(21,101,168,.12); transform: translateY(-3px); }
.card-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--blue-light); display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
}
.card-icon i { font-size: 20px; color: var(--blue-mid); }
.card-title { font-family: 'Sora', sans-serif; font-size: 1rem; font-weight: 600; color: var(--blue-dark); margin-bottom: .4rem; }
.card-text { font-size: 13px; color: var(--text-muted); line-height: 1.6; margin-bottom: 1rem; }
.card-link { font-size: 12px; font-weight: 500; color: var(--blue-bright); text-decoration: none; }
.card-link i { font-size: 12px; vertical-align: -1px; margin-left: 3px; }
.card-link:hover { color: var(--blue-dark); }


/* ════════════════════════════════════════════════════════════════════════════
   13. FOOTER
   ════════════════════════════════════════════════════════════════════════════ */



footer {
  background: var(--blue-dark);
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 1020;
  box-shadow: 0 -6px 20px rgba(10,61,107,.18);
  padding: .9rem 0;
}
body { padding-bottom: var(--footer-h); } 
.footer-item { display: flex; align-items: center; gap: 7px; font-size: 12px; color: rgba(255,255,255,.55); }
.footer-item i { font-size: 14px; color: var(--blue-accent); }
.footer-copy { font-size: 11px; color: rgba(255,255,255,.3); }


/* ════════════════════════════════════════════════════════════════════════════
   14. RESPONSIVO
   ════════════════════════════════════════════════════════════════════════════ */

@media (max-width: 991.98px) {
  .hero-visual { margin-top: 2.5rem; }
  .hero-section { padding-bottom: 0; }
}

@media (max-width: 767.98px) {
  .hero-section { padding: 2.5rem 0 0; }
  .hero-visual { display: none; }        /* hide mock dashboard on small phones */
  .top-bar { font-size: 10px; letter-spacing: .08em; }
  .cards-section { padding: 2.5rem 0; }
  .footer .d-flex { flex-direction: column; gap: .75rem !important; }
  .footer-copy { text-align: center; }
  .login-dropdown { min-width: 260px; right: 0; left: auto; }

  /* Acrescentado: cabeçalho de página mais compacto */
  .section-header { margin-bottom: 16px; }
  .section-header .section-title { font-size: 18px; }

  /* Acrescentado: um filtro por linha e botão a toda a largura */
  .filter-grid { grid-template-columns: 1fr; gap: 14px; }
  .filter-actions { justify-content: stretch; }
  .filter-actions > .btn-login,
  .filter-actions > .btn-modern,
  .filter-actions > .btn-modern-outline,
  .filter-actions > .btn-upload,
  .filter-actions > .btn-download { width: 100%; }
}

@media (max-width: 575.98px) {
  .navbar-brand-text { display: none; }
}


/* ════════════════════════════════════════════════════════════════════════════
   15. PASSWORD TOGGLE
   ════════════════════════════════════════════════════════════════════════════ */

.input-group .btn-pwd {
  background: var(--surface); border: 1px solid var(--border); border-left: none;
  border-radius: 0 7px 7px 0; color: var(--text-muted); padding: 0 10px;
}
.input-group .btn-pwd:hover { color: var(--blue-bright); }
.input-group .form-control { border-radius: 7px 0 0 7px !important; }


/* ════════════════════════════════════════════════════════════════════════════
   16. ABAS DO BAQS  (opcional)
   ────────────────────────────────────────────────────────────────────────────
   O JavaScript do ecrã BAQS usa .tab-btn / .tab-content / .tab-nav, que não
   estavam definidos no ficheiro original. Se já existirem noutro ficheiro do
   tema, deixe este bloco comentado; caso contrário descomente-o.
   ════════════════════════════════════════════════════════════════════════════

.tab-nav { display: flex; flex-wrap: wrap; gap: 8px; }
.tab-btn {
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-sm);
  color: var(--text-muted); font-family: var(--font); font-weight: 600; font-size: 13px;
  padding: 8px 16px; cursor: pointer; transition: all var(--ease);
}
.tab-btn:hover { border-color: var(--blue-bright); color: var(--blue-dark); }
.tab-btn.active {
  background: var(--blue-dark); border-color: var(--blue-dark); color: #fff;
  box-shadow: 0 4px 12px rgba(0,118,192,.22);
}
.tab-content { display: none; }
.tab-content.active { display: block; animation: fadeUp .3s ease both; }
*/


/* Contentor da página: largura confortável de leitura */
.baq-container {
  max-width: 1520px;
  margin: 0 auto;
  padding: 20px 20px 40px;
}

/* Área de gráficos */
.chart-box {
  width: 100%;
  max-width: 100%;
  min-height: 0;
  margin: 32px auto;
  padding: 0;
  overflow: visible;    
}

#chartGrupos,
#chartOperacional,
#chartGlobal {
  width: 100% !important;
  max-width: 100%;
  height: clamp(320px, 46vh, 460px) !important;
}

@media (max-width: 991.98px) {
  .baq-container { padding: 18px 16px 32px; }
}

@media (max-width: 767.98px) {
  .baq-container { padding: 16px 14px 28px; }
}