body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #f1f5f9;
}

/* .login-overlay redefinido no bloco de identidade visual abaixo */

.login-overlay.hidden {
  display: none;
}

.login-card {
  width: min(92vw, 360px);
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.login-card h2 {
  margin: 0 0 8px 0;
}

.login-card p {
  margin: 0 0 14px 0;
}

.mobile-topbar {
  display: none;
}

.container {
  display: flex;
  min-height: 100vh;
  position: relative;
}

.sidebar {
  width: 220px;
  background-color: #193F63;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  min-height: 100vh;
  transition: width 0.2s ease;
  overflow: hidden;
}

.sidebar h2 {
  text-align: center;
  padding: 20px 0;
  border-bottom: 1px solid #0C172B;
  margin: 0;
}

.sidebar ul {
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
}

.sidebar ul li {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 15px;
  cursor: pointer;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  white-space: nowrap;
  text-align: left;
}

.sidebar ul li:hover {
  background-color: #0C172B;
}

.sidebar .bottom {
  padding: 10px;
  border-top: 1px solid #0C172B;
  margin-top: auto;
}

.sidebar .bottom button {
  width: 100%;
  margin-top: 5px;
  padding: 10px;
  border: none;
  cursor: pointer;
  border-radius: 8px;
}

.content {
  flex: 1;
  padding: 20px;
  background-color: #f1f5f9;
  box-sizing: border-box;
  max-width: 100%;
}

.desktop-menu-toggle {
  position: fixed;
  top: 14px;
  left: 12px;
  z-index: 1100;
  border: 1px solid #0C172B;
  background: #0f172a;
  color: #fff;
  border-radius: 8px;
  width: 40px;
  height: 40px;
  cursor: pointer;
  font-size: 18px;
  display: none;
}

.sidebar-hotzone {
  display: none;
}

.kpi-container {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.kpi-card {
  background: white;
  padding: 20px;
  border-radius: 10px;
  flex: 1;
  min-width: 200px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.kpi-card h3 {
  margin: 0;
  font-size: 14px;
  color: #A9A099;
}

.kpi-card p {
  font-size: 28px;
  font-weight: bold;
  margin-top: 10px;
  margin-bottom: 0;
}

.grafico-box,
.form-card,
.table-card {
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  margin-bottom: 20px;
  overflow-x: auto;
}

.grafico-box {
  height: 350px;
}

.grafico-box h2,
.form-card h2,
.table-card h2 {
  margin-top: 0;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 15px;
  margin-bottom: 15px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: bold;
  color: #0C172B;
}

.form-group input,
.form-group select {
  padding: 10px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 14px;
  box-sizing: border-box;
}

.btn-primary {
  background-color: #193F63;
  color: white;
  border: none;
  padding: 12px 18px;
  border-radius: 8px;
  cursor: pointer;
}

.btn-secondary {
  background-color: #6B737E;
  color: white;
  border: none;
  padding: 12px 18px;
  border-radius: 8px;
  cursor: pointer;
}

.btn-danger {
  background-color: #b91c1c;
  color: white;
  border: none;
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
}

.btn-small {
  padding: 6px 10px;
  font-size: 12px;
  margin: 2px;
}

.mensagem-sucesso {
  color: #166534;
  font-weight: bold;
  margin-top: 12px;
}

.mensagem-erro {
  color: #b91c1c;
  font-weight: bold;
  margin-top: 12px;
}

.tabela {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  min-width: 680px;
}

.tabela th,
.tabela td {
  padding: 12px;
  border-bottom: 1px solid #e2e8f0;
  text-align: left;
  vertical-align: middle;
  white-space: nowrap;
}

.tabela th {
  background-color: #e2e8f0;
}

.header-content {
  margin-bottom: 20px;
}

.header-content h1 {
  margin: 0 0 8px 0;
}

.status-badge {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  background: #e2e8f0;
  font-size: 12px;
  font-weight: bold;
  color: #0f172a;
}

.kanban-board {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.kanban-column {
  flex: 1;
  min-width: 240px;
  background: #f8fafc;
  border-radius: 10px;
  padding: 12px;
  border: 1px solid #e2e8f0;
  min-height: 200px;
}

.kanban-column h3 {
  margin: 0 0 12px 0;
  font-size: 15px;
  color: #0f172a;
}

.kanban-card {
  background: #fff;
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 10px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  cursor: grab;
}

.kanban-card:active {
  cursor: grabbing;
}

.kanban-titulo {
  margin: 8px 0 6px 0;
  font-size: 15px;
  color: #0f172a;
}

.kanban-projeto {
  margin: 0 0 6px 0;
  font-size: 12px;
  color: #A9A099;
}

.kanban-desc {
  margin: 0 0 8px 0;
  font-size: 13px;
  color: #0C172B;
  line-height: 1.35;
}

.kanban-resp {
  margin: 0 0 10px 0;
  font-size: 12px;
  color: #6B737E;
}

.kanban-card-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.kanban-prioridade {
  display: inline-block;
  font-size: 11px;
  font-weight: bold;
  padding: 2px 8px;
  border-radius: 999px;
}

.kanban-prioridade-alta {
  background: #fee2e2;
  color: #991b1b;
}

.kanban-prioridade-media {
  background: #fef3c7;
  color: #92400e;
}

.kanban-prioridade-baixa {
  background: #e0f2fe;
  color: #0369a1;
}

.kanban-msg {
  font-size: 13px;
  color: #A9A099;
  margin: 8px 0;
}

.subtitulo-modulo {
  color: #A9A099;
  margin: 0 0 16px 0;
  font-size: 14px;
}

.hint-text {
  font-size: 13px;
  color: #6B737E;
  margin: 0 0 16px 0;
  line-height: 1.4;
}

.input-readonly {
  background: #f1f5f9;
  color: #0f172a;
  font-weight: 600;
}

.filtros-mp {
  margin-bottom: 20px;
}

@media (min-width: 769px) {
  .desktop-menu-toggle {
    display: block;
  }

  .sidebar.collapsed { width: 64px; }
  .sidebar.collapsed.expanded-temp { width: 230px; }

  .sidebar-hotzone {
    display: block;
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    width: 10px;
    z-index: 1005;
  }

  .container .content {
    min-width: 0;
  }
}

@media (max-width: 768px) {
  body {
    padding: 0;
  }

  .mobile-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    background: #0f172a;
    color: #fff;
    padding: 12px;
    position: sticky;
    top: 0;
    z-index: 1000;
  }

  .mobile-topbar h1 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
  }

  .menu-toggle {
    background: #193F63;
    color: #fff;
    border: 1px solid #0C172B;
    border-radius: 8px;
    padding: 10px 12px;
    cursor: pointer;
    font-weight: 700;
  }

  .container {
    flex-direction: column;
    min-height: 100vh;
  }

  .desktop-menu-toggle {
    display: none;
  }

  .sidebar-hotzone {
    display: none;
  }

  .sidebar {
    width: 100%;
    min-height: auto;
    display: none;
  }

  .sidebar.sidebar-open {
    display: flex;
  }

  .content {
    padding: 12px;
  }

  .form-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }

  input,
  select,
  button {
    font-size: 16px !important;
    padding: 12px !important;
    height: auto !important;
    box-sizing: border-box;
  }

  .tabela {
    min-width: 760px;
  }

  .kpi-container {
    flex-direction: column;
  }

  .grafico-box {
    height: 320px;
  }

  .sidebar .bottom {
    padding-bottom: 14px;
  }
}

/* ===== Painel PCP - Capacidade de Produção ===== */
.badge { padding: 2px 8px; border-radius: 10px; font-size: 10.5px; font-weight: 700; color: white; white-space: nowrap; }
.badge-critica { background: #c0392b; }
.badge-alta { background: #d9711b; }
.badge-media { background: #b8860b; }
.badge-planejada { background: #6B737E; }
.atraso-ok { color: #1e8e5a; font-weight: 700; }
.atraso-warn { color: #c0392b; font-weight: 700; }
.del-x { color: #c0392b; cursor: pointer; font-weight: 700; }

/* Kanban - seletor de status (alternativa ao drag-and-drop pra celular/tablet) */
.kanban-card-move {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed #d7dbe0;
}
.kanban-card-move label {
  display: block;
  color: #6B737E;
  margin-bottom: 3px;
}
.kanban-card-move select {
  width: 100%;
  padding: 6px;
  border-radius: 6px;
  border: 1px solid #d7dbe0;
  font-size: 13px;
}

/* Wrapper de altura fixa pros gráficos do Painel PCP (canvas com maintainAspectRatio:false) */
.chart-wrap { position: relative; height: 280px; width: 100%; }
.chart-wrap canvas { position: absolute; top: 0; left: 0; width: 100% !important; height: 100% !important; }

/* ===== Kanban Scrumban: semáforo de prazo, WIP, pontos ===== */
.wip-badge {
  font-size: 11px;
  font-weight: 700;
  background: #6B737E;
  color: #fff;
  padding: 2px 8px;
  border-radius: 10px;
  margin-left: 6px;
  vertical-align: middle;
}
.wip-badge.wip-excedido {
  background: #c0392b;
  animation: wipPulse 1.4s infinite;
}
@keyframes wipPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.55; }
}

.kanban-card.prazo-atrasado { border-left: 5px solid #c0392b; background: #fdecea; }
.kanban-card.prazo-atencao { border-left: 5px solid #e8912d; }
.kanban-card.prazo-agendado { border-left: 5px solid #A99E9A; opacity: 0.82; }
.kanban-card.prazo-ok { border-left: 5px solid #1e8e5a; }
.kanban-card.prazo-concluido { border-left: 5px solid #457B6E; opacity: 0.9; }

.kanban-datas {
  font-size: 11.5px;
  color: #6B737E;
  margin: 4px 0 2px;
}
.kanban-prazo-txt {
  font-size: 12px;
  font-weight: 600;
  margin: 2px 0 4px;
}
.kanban-pontos {
  font-size: 11px;
  font-weight: 700;
  background: #193F63;
  color: #fff;
  padding: 2px 7px;
  border-radius: 10px;
}

/* ===== Kanban: colunas com rolagem (quadro não estica com muitos cards) ===== */
.kanban-column > div[id^="kanban"] {
  max-height: 62vh;
  overflow-y: auto;
  padding-right: 4px;
}
.kanban-column > div[id^="kanban"]::-webkit-scrollbar { width: 7px; }
.kanban-column > div[id^="kanban"]::-webkit-scrollbar-thumb {
  background: #A99E9A; border-radius: 4px;
}

/* Card compacto: descrição truncada em 2 linhas */
.kanban-card .kanban-desc {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 12px;
}

/* Comentários no modal */
.comentario-item {
  border-left: 3px solid #193F63;
  background: #f7f9fb;
  border-radius: 6px;
  padding: 8px 10px;
  margin-bottom: 8px;
}
.comentario-cabecalho {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  color: #6B737E;
  margin-bottom: 4px;
}
.comentario-cabecalho .del-x { margin-left: auto; }
.comentario-texto { font-size: 13px; white-space: pre-wrap; }

/* ==========================================================
   SIDEBAR — layout profissional
   ========================================================== */

/* Sidebar em coluna: logo fixa, menu rolável, rodapé fixo.
   Corrige o corte dos últimos itens em telas 1366x768. */
.sidebar {
  height: 100vh;
  max-height: 100vh;
  overflow: hidden;
}
.sidebar h2 {
  flex-shrink: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  margin-bottom: 0;
}
.sidebar-nav {
  flex: 1 1 auto;
  overflow-y: auto;
  overflow-x: hidden;
  min-height: 0;
}
.sidebar-nav::-webkit-scrollbar { width: 6px; }
.sidebar-nav::-webkit-scrollbar-track { background: transparent; }
.sidebar-nav::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.22);
  border-radius: 3px;
}
.sidebar-nav::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, 0.4); }

/* Itens mais compactos, cabem mais módulos sem rolagem */
.sidebar ul li {
  padding: 11px 14px;
  font-size: 13.5px;
  gap: 10px;
  border-bottom: none;
  border-left: 3px solid transparent;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}
.sidebar ul li .ico {
  width: 20px;
  text-align: center;
  flex-shrink: 0;
  font-size: 15px;
}
.sidebar ul li .rot {
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Cabeçalho de grupo */
.sidebar ul li.menu-grupo {
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: rgba(255, 255, 255, 0.45);
  padding: 14px 14px 5px;
  cursor: default;
  font-weight: 700;
  border-left: none;
}
.sidebar ul li.menu-grupo:hover { background: transparent; }

/* Item ativo — o usuário sabe onde está */
.sidebar ul li.ativo {
  background-color: #0C172B;
  border-left-color: #457B6E;
  font-weight: 600;
}
.sidebar ul li.ativo .rot { color: #fff; }

/* Rodapé fixo */
.sidebar .bottom {
  flex-shrink: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 10px 12px;
}
.usuario-logado {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 4px 12px;
}
.usuario-logado .avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #457B6E;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
}
.usuario-logado .dados {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  line-height: 1.25;
}
.usuario-logado .dados b {
  font-size: 12.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.usuario-logado .dados small {
  font-size: 10.5px;
  color: rgba(255, 255, 255, 0.55);
  text-transform: capitalize;
}


/* ==========================================================
   SIDEBAR RECOLHIDA — modo ícones (desktop)
   ========================================================== */
@media (min-width: 769px) {
  .sidebar { transition: width 0.22s cubic-bezier(0.4, 0, 0.2, 1); }

  /* Logo: encolhe, nunca some (mantém a marca visível) */
  .sidebar.collapsed h2 { padding: 12px 6px; }
  .sidebar.collapsed h2 img {
    max-width: 40px;
    transition: max-width 0.22s ease;
  }
  .sidebar.collapsed.expanded-temp h2 img { max-width: 90%; }

  /* Esconde textos, mantém ícones centralizados */
  .sidebar.collapsed .rot,
  .sidebar.collapsed .usuario-logado .dados,
  .sidebar.collapsed .bottom button .btn-txt {
    opacity: 0;
    width: 0;
    overflow: hidden;
    display: inline-block;
    white-space: nowrap;
    transition: opacity 0.15s ease;
  }
  .sidebar.collapsed.expanded-temp .rot,
  .sidebar.collapsed.expanded-temp .usuario-logado .dados,
  .sidebar.collapsed.expanded-temp .bottom button .btn-txt {
    opacity: 1;
    width: auto;
  }

  .sidebar.collapsed ul li {
    justify-content: center;
    padding: 12px 0;
    gap: 0;
  }
  .sidebar.collapsed.expanded-temp ul li {
    justify-content: flex-start;
    padding: 11px 14px;
    gap: 10px;
  }

  /* Título de grupo vira um traço separador discreto */
  .sidebar.collapsed ul li.menu-grupo {
    font-size: 0;
    padding: 0;
    height: 1px;
    margin: 9px 16px;
    background: rgba(255, 255, 255, 0.16);
  }
  .sidebar.collapsed.expanded-temp ul li.menu-grupo {
    font-size: 10.5px;
    padding: 14px 14px 5px;
    height: auto;
    margin: 0;
    background: transparent;
  }

  /* Rodapé continua acessível (antes sumia por completo) */
  .sidebar.collapsed .bottom { display: block; padding: 10px 6px; }
  .sidebar.collapsed .usuario-logado { justify-content: center; padding: 6px 0 10px; }
  .sidebar.collapsed .bottom button {
    text-align: center;
    padding: 10px 0;
    font-size: 15px;
  }
  .sidebar.collapsed.expanded-temp .bottom { padding: 10px 12px; }
  .sidebar.collapsed.expanded-temp .bottom button {
    text-align: left;
    padding: 10px 12px;
    font-size: 13.5px;
  }
  .sidebar.collapsed.expanded-temp .usuario-logado {
    justify-content: flex-start;
    padding: 8px 4px 12px;
  }

  /* Tooltip ao passar o mouse no modo ícone */
  .sidebar.collapsed ul li[data-module] { position: relative; }
  .sidebar.collapsed ul li[data-module]::after {
    content: attr(data-tooltip);
    position: absolute;
    left: calc(100% + 10px);
    top: 50%;
    transform: translateY(-50%);
    background: #0C172B;
    color: #fff;
    padding: 6px 11px;
    border-radius: 6px;
    font-size: 12.5px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.12s ease;
    z-index: 1200;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
  }
  .sidebar.collapsed ul li[data-module]:hover::after { opacity: 1; }
  .sidebar.collapsed.expanded-temp ul li[data-module]::after { display: none; }

  /* Item ativo continua legível no modo ícone */
  .sidebar.collapsed ul li.ativo {
    border-left-color: transparent;
    box-shadow: inset 3px 0 0 #457B6E;
  }
}

/* ==========================================================
   TELA DE LOGIN — identidade visual Delta
   Opaca: nenhum módulo aparece por trás antes da autenticação
   ========================================================== */
.login-overlay {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  background: #fff;
}
.login-overlay.hidden { display: none; }

/* --- Lado da marca --- */
.login-brand {
  position: relative;
  background:
    radial-gradient(circle at 18% 22%, rgba(69, 123, 110, 0.35) 0%, transparent 45%),
    radial-gradient(circle at 82% 78%, rgba(169, 158, 154, 0.22) 0%, transparent 50%),
    linear-gradient(145deg, #193F63 0%, #0C172B 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
  overflow: hidden;
}

/* Triângulos sutis, ecoando o símbolo da marca */
.login-brand::before,
.login-brand::after {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  opacity: 0.05;
  pointer-events: none;
}
.login-brand::before {
  border-left: 210px solid transparent;
  border-right: 210px solid transparent;
  border-bottom: 340px solid #fff;
  top: -90px;
  right: -110px;
  transform: rotate(18deg);
}
.login-brand::after {
  border-left: 150px solid transparent;
  border-right: 150px solid transparent;
  border-bottom: 250px solid #457B6E;
  bottom: -70px;
  left: -80px;
  transform: rotate(-14deg);
  opacity: 0.14;
}

.login-brand-conteudo {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  animation: loginEntrada 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes loginEntrada {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.login-logo {
  width: min(78%, 400px);
  height: auto;
  filter: brightness(0) invert(1);
  margin-bottom: 26px;
}
.login-brand-conteudo h1 {
  font-size: 30px;
  font-weight: 300;
  letter-spacing: 4px;
  margin: 0;
  text-transform: uppercase;
}
.login-tagline {
  font-size: 12.5px;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin: 8px 0 0;
}
.login-linha {
  width: 64px;
  height: 3px;
  background: #457B6E;
  margin: 26px auto;
  border-radius: 2px;
}
.login-setor {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
}
.login-rodape-marca {
  position: absolute;
  bottom: 26px;
  z-index: 2;
  font-size: 11.5px;
  letter-spacing: 1.2px;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
}

/* --- Lado do formulário --- */
.login-form-lado {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  background: #f7f9fb;
}
.login-card {
  width: min(100%, 380px);
  background: #fff;
  border-radius: 14px;
  padding: 34px 30px;
  box-shadow: 0 8px 34px rgba(12, 23, 43, 0.1);
  border: 1px solid #e8ecf0;
  animation: loginEntrada 0.6s 0.1s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}
.login-card h2 {
  margin: 0 0 5px;
  color: #193F63;
  font-size: 21px;
}
.login-card .login-sub {
  margin: 0 0 22px;
  color: #6B737E;
  font-size: 13.5px;
}
.login-card .form-group { margin-bottom: 15px; }
.login-card label {
  font-size: 12px;
  font-weight: 600;
  color: #6B737E;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.login-card input {
  width: 100%;
  padding: 11px 13px;
  border: 1.5px solid #dde3e9;
  border-radius: 8px;
  font-size: 14px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.login-card input:focus {
  outline: none;
  border-color: #193F63;
  box-shadow: 0 0 0 3px rgba(25, 63, 99, 0.1);
}

.campo-senha { position: relative; }
.campo-senha input { padding-right: 42px; }
.ver-senha {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  font-size: 15px;
  padding: 5px 7px;
  opacity: 0.55;
}
.ver-senha:hover { opacity: 1; }

.btn-login {
  width: 100%;
  padding: 12px;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.4px;
  margin-top: 6px;
  border-radius: 8px;
}

.bloco-licenca {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid #eef1f4;
}
.bloco-licenca summary {
  cursor: pointer;
  font-size: 12.5px;
  color: #6B737E;
  user-select: none;
}
.bloco-licenca summary:hover { color: #193F63; }

/* --- Responsivo: só a marca no topo em telas pequenas --- */
@media (max-width: 900px) {
  .login-overlay { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
  .login-brand { padding: 26px 20px; }
  .login-logo { width: min(62%, 240px); margin-bottom: 14px; }
  .login-brand-conteudo h1 { font-size: 21px; letter-spacing: 2.5px; }
  .login-linha { margin: 14px auto; }
  .login-tagline, .login-setor, .login-rodape-marca { display: none; }
  .login-brand::before, .login-brand::after { display: none; }
  .login-form-lado { padding: 24px 18px; }
  .login-card { box-shadow: none; border: none; background: transparent; padding: 10px 0; }
}
