.btn-auth {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 22px;
  min-width: 200px;
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: #2c3e50;              /* texto azul-escuro / slate */
  background-color: #ffffff;
  border: 1px solid #d6dde5;   /* borda fina cinza-azulada */
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.btn-auth:hover {
  border-color: #b6c2cf;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.btn-auth .icone {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.auth-buttons {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-around;
}

.separador {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #8a98a8;          /* cor do texto "ou" */
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 14px;
  margin: 20px 0;
}

.separador::before,
.separador::after {
  content: "";
  flex: 1;                 /* cada linha ocupa o espaço disponível */
  height: 1px;
  background-color: #d6dde5;
}



.sel-grupo { margin-bottom: 2rem; }
.sel-grupo-titulo {
    display: flex; align-items: center; gap: .6rem;
    font-size: 1.05rem; font-weight: 600;
    margin-bottom: 1rem; padding-bottom: .5rem;
    border-bottom: 2px solid #e9ecef;
}
.sel-grupo-titulo .badge-tipo {
    width: 38px; height: 38px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 50%; color: #fff;
}
/* cores distintas por área */
.sel-supervisor    .badge-tipo { background: #2c6fbb; }
.sel-supervisor    .sel-grupo-titulo { border-color: #2c6fbb; }
.sel-classificador .badge-tipo { background: #1a9c7e; }
.sel-classificador .sel-grupo-titulo { border-color: #1a9c7e; }

/* o card é agora um <button> dentro de uma <form> — reset do estilo nativo */
.sel-card {
    display: block; width: 100%; height: 100%;
    text-align: left; font: inherit; cursor: pointer;
    padding: 1rem 1.1rem;
    border: 1px solid #e3e6ea; border-radius: 10px;
    background: #fff; color: #344;
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.sel-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0,0,0,.08);
}
.sel-card:focus { outline: 2px solid #2c6fbb33; outline-offset: 2px; }
.sel-supervisor    .sel-card:hover { border-color: #2c6fbb; }
.sel-classificador .sel-card:hover { border-color: #1a9c7e; }

.sel-card-form { height: 100%; margin: 0; }

.sel-card .sel-num {
    display: flex; align-items: center; gap: .4rem;
    font-size: 1.05rem; font-weight: 700; color: #2d3a45;
    padding-bottom: .5rem; margin-bottom: .6rem;
    border-bottom: 1px solid #eef1f4;
}
.sel-card .sel-linha {
    display: flex; align-items: baseline; gap: .4rem;
    font-size: .85rem; color: #6c757d;
    line-height: 1.4; margin: 0 0 .4rem;
}
.sel-card .sel-linha:last-child { margin-bottom: 0; }
.sel-card .sel-linha strong {
    flex: 0 0 84px;          /* coluna fixa para as etiquetas */
    color: #495057; font-weight: 600;
}
/* badge do nível alinhado com a etiqueta e a quebrar bem em cartões estreitos */
.sel-card .sel-linha.nivel { align-items: center; }
.sel-card .badge {
    white-space: normal; text-align: left; line-height: 1.2;
}

.sel-card .sel-linha.nome {
    display: block;
}
.sel-card .sel-linha.nome strong {
    display: block;
    flex: none;
    margin-bottom: .1rem;
}

.icone-sistema {
    display: inline-block;
    width: 72px;
    height: 72px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    background-image: url("data:image/svg+xml,<svg viewBox='0 0 164 164' xmlns='http://www.w3.org/2000/svg'><defs><linearGradient id='g' x1='0' y1='0' x2='1' y2='1'><stop offset='0' stop-color='%232c6fbb'/><stop offset='1' stop-color='%231a9c7e'/></linearGradient></defs><circle cx='82' cy='82' r='80' fill='url(%23g)'/><rect x='45' y='30' width='60' height='94' rx='7' fill='%23ffffff'/><rect x='55' y='45' width='40' height='4' rx='2' fill='%23b9cce6'/><rect x='55' y='56' width='40' height='4' rx='2' fill='%23b9cce6'/><rect x='55' y='67' width='26' height='4' rx='2' fill='%23b9cce6'/><line x1='112' y1='114' x2='128' y2='130' stroke='%232c6fbb' stroke-width='8' stroke-linecap='round'/><circle cx='97' cy='99' r='21' fill='%23ffffff' stroke='%232c6fbb' stroke-width='4'/><path d='M88 99 L95 107 L109 90' fill='none' stroke='%231a9c7e' stroke-width='5' stroke-linecap='round' stroke-linejoin='round'/></svg>");
}
