/* ---------- Layout base ---------- */
:root{
  --soft-bg:#f6f8fb;
  --sidebar-w: 250px;
}

body.bg-soft{
  background: var(--soft-bg);
}

.app{
  min-height:100vh;
}

/* ---------- Sidebar ---------- */
.sidebar{
  width: var(--sidebar-w);
  background:#fff;
  border-right:1px solid #e8edf3;
  display:flex;
  flex-direction:column;
}

.sidebar-top{
  padding:18px 16px;
}

.brand{
  display:flex;
  align-items:center;
  gap:10px;
  text-decoration:none;
  margin-bottom:14px;
}

.brand span{
  font-weight:700;
  color:#ff7f32;
}

.brand img{
  height:28px;
}

.menu{
  display:flex;
  flex-direction:column;
  gap:6px;
  margin-top:8px;
}

.menu-item{
  display:flex;
  align-items:center;
  gap:10px;
  padding:10px 12px;
  border-radius:10px;
  text-decoration:none;
  color:#334155;
  transition:.2s;
}

.menu-item i{
  width:18px;
  text-align:center;
}

.menu-item:hover{
  background: rgba(255,127,50,.12);
  color:#111827;
}

.menu-item.active{
  background:#ff7f32;
  color:#fff;
}

.sidebar-bottom{
  padding:14px 16px;
  margin-top:auto;
}

/* link do rodapé (domriqueoficial) herda a cor e só sublinha no hover */
.sidebar-bottom a{
  color: inherit;
  text-decoration: none;
}

.sidebar-bottom a:hover{
  text-decoration: underline;
}

/* ---------- Topbar ---------- */
.topbar{
  background:#fff;
  border-bottom:1px solid #e8edf3;
  padding:12px 24px;                /* um pouco mais afastado das bordas */
  display:flex;
  align-items:center;
  justify-content:space-between;
  border-top-left-radius:14px;
  border-top-right-radius:14px;
}

/* container do usuário no canto direito */
.userbar{
  display:flex;
  align-items:center;
  gap:12px;                         /* espaço entre nome e botão */
}

/* nome do usuário */
.topbar-user{
  font-size:.875rem;
  color:#64748b;
}

/* remover margin default do form */
.userbar form{
  margin:0;
}

/* ---------- Cards soft ---------- */
.card-soft{
  border:1px solid #e8edf3;
  background:#fff;
  box-shadow:0 6px 20px rgba(0,0,0,.04);
  border-radius:14px;
}

/* ---------- Title with icon ---------- */
.title-with-icon{
  display:flex;
  align-items:center;
  gap:12px;
}

.title-icon{
  width:44px;
  height:44px;
  border-radius:12px;
  display:grid;
  place-items:center;
  background: rgba(255,127,50,.12);
  color:#ff7f32;
  font-size:18px;
}

/* ---------- Tables ---------- */
.table-soft thead th{
  font-weight:600;
  color:#475569;
  background:#f9fbfe;
  border-bottom:1px solid #e8edf3;
}

.table-soft td,
.table-soft th{
  vertical-align:middle;
}

/* util */
.badge-soft{
  background:#fff4ec;
  color:#b84f0d;
  border:1px solid #ffd9c2;
}

/* container genérico que você comentou como "pode ser usada em alguma tela antiga de auth" */
.auth-main{
  min-height: 100vh;
  padding: 32px 16px;
}
