/* Tema GIPE — aplica degradês em header, sidebar e footer
   Ativo quando o <body> tem as classes: theme-gestor gipe-gradient
*/

.theme-gestor.gipe-gradient {
  --gipe-c1: #00b2a9;   /* turquesa GIPE */
  --gipe-c2: #1e88e5;   /* azul GIPE */
  --gipe-c3: #0f6ec9;   /* azul escuro p/ hover/bordas */
  --gipe-bg-grad: linear-gradient(135deg, var(--gipe-c1) 0%, var(--gipe-c2) 100%);
  --gipe-bg-grad-vert: linear-gradient(180deg, var(--gipe-c1) 0%, var(--gipe-c2) 100%);
  --gipe-text-on: #ffffff;
  --gipe-text-soft: rgba(255,255,255,.85);
  --gipe-text-dim: rgba(255,255,255,.65);
}

/* ===== TOPBAR ===== */
.theme-gestor.gipe-gradient .topbar{
  background: var(--gipe-bg-grad) !important;
  color: var(--gipe-text-on) !important;
  border-bottom: none !important;
  box-shadow: inset 0 -1px 0 rgba(255,255,255,.08);
}
.theme-gestor.gipe-gradient .topbar, 
.theme-gestor.gipe-gradient .topbar *{
  color: var(--gipe-text-on) !important;
}
.theme-gestor.gipe-gradient .topbar a{ 
  color: var(--gipe-text-soft) !important; 
  text-decoration: none;
}
.theme-gestor.gipe-gradient .topbar a:hover{
  color: #fff !important; 
  text-decoration: underline;
}

/* ===== SIDEBAR ===== */
.theme-gestor.gipe-gradient .sidebar{
  background: var(--gipe-bg-grad-vert) !important;
  border-right: none !important;
  box-shadow: 0 6px 24px rgba(16,24,40,.16) !important;
  color: var(--gipe-text-on);
}
.theme-gestor.gipe-gradient .sidebar nav a{
  color: var(--gipe-text-soft) !important;
  border-left-color: transparent !important;
}
.theme-gestor.gipe-gradient .sidebar nav a:hover{
  background: rgba(255,255,255,.08);
  color: #fff !important;
}
.theme-gestor.gipe-gradient .sidebar nav a.active{
  background: rgba(255,255,255,.14) !important;
  color: #fff !important;
  border-left: 3px solid #fff !important;
}

/* ícones do menu (se forem SVG/font) seguem a cor do texto */
.theme-gestor.gipe-gradient .sidebar nav a i,
.theme-gestor.gipe-gradient .sidebar nav a svg{
  color: currentColor !important;
  fill: currentColor !important;
}

/* ===== FOOTER ===== */
.theme-gestor.gipe-gradient .rw-footer.footer{
  background: var(--gipe-bg-grad) !important;
  color: var(--gipe-text-on) !important;
  border-top: none !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}

/* ===== CONTRASTES DO CONTEÚDO =====
   Mantemos cards/tabelas em fundo branco pra leitura boa
*/
.theme-gestor.gipe-gradient .card,
.theme-gestor.gipe-gradient .candidates-table,
.theme-gestor.gipe-gradient table.calendar{
  background:#fff;
}

/* Botão primário sobre fundo degradê */
.theme-gestor.gipe-gradient .btn-primary{
  background:#fff !important; 
  color: var(--gipe-c3) !important; 
  border-color:#fff !important;
}
.theme-gestor.gipe-gradient .btn-primary:hover{
  filter: brightness(.95);
}

/* Pequeno realce nos títulos das seções */
.theme-gestor.gipe-gradient h2, 
.theme-gestor.gipe-gradient h3{
  color:#1c2430;
}

/* Se houver badge/label azul, harmoniza com GIPE */
.theme-gestor.gipe-gradient .badge--entrevista,
.theme-gestor.gipe-gradient .calendar .event{
  background: rgba(30,136,229,.12);
  color: var(--gipe-c2);
  border-color: rgba(30,136,229,.25);
}
