/* ============================================================
   BH FÁCIL - Design System (paleta AC Solução, claro/corporativo)
   Usado no painel e no fluxo de solicitação.
   ============================================================ */
:root{
  --brand:        #015AF2;   /* azul primário */
  --brand-600:    #0d47d9;
  --brand-700:    #0b3bb3;
  --brand-2:      #605BE5;   /* indigo secundário */
  --navy:         #0D2754;
  --navy-deep:    #081738;
  --navy-darkest: #00092A;

  --bg:           #ffffff;
  --bg-soft:      #f6f8fc;
  --bg-soft-2:    #eef3fb;
  --surface:      #ffffff;
  --line:         #e4e9f2;
  --line-2:       #d3dcea;
  --blue-soft:    #C0DAFF;
  --tint:         #eef4ff;

  --text:         #14203a;
  --text-soft:    #4a5670;
  --muted:        #7a869c;

  --ok:           #1a9b5c;
  --ok-soft:      #e5f6ee;
  --warn:         #c47f00;
  --warn-soft:    #fbf1dc;
  --danger:       #d33a3a;
  --danger-soft:  #fbe7e7;
  --info-soft:    #e7f0ff;

  --radius:       12px;
  --radius-sm:    8px;
  --radius-lg:    18px;
  --radius-pill:  999px;
  --shadow-sm:    0 1px 2px rgba(16,32,64,.06), 0 1px 3px rgba(16,32,64,.05);
  --shadow:       0 8px 30px -12px rgba(16,32,64,.18);
  --shadow-lg:    0 24px 60px -24px rgba(11,59,179,.28);
  --ease:         cubic-bezier(.16,1,.3,1);
  --font:         "Inter",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
  --font-head:    "Sora","Inter",sans-serif;
}

*{ box-sizing:border-box; }
html{ -webkit-text-size-adjust:100%; }
body{
  margin:0; background:var(--bg-soft); color:var(--text);
  font-family:var(--font); font-size:15px; line-height:1.55;
  -webkit-font-smoothing:antialiased;
}
a{ color:var(--brand); text-decoration:none; }
a:hover{ text-decoration:underline; }
h1,h2,h3,h4{ font-family:var(--font-head); font-weight:600; letter-spacing:-.02em; margin:0; color:var(--navy); }
img{ max-width:100%; display:block; }
p{ margin:0; }

/* ---- Botões ---- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  font-family:var(--font-head); font-weight:600; font-size:14.5px; line-height:1;
  padding:11px 18px; border-radius:var(--radius-pill); cursor:pointer;
  border:1px solid transparent; white-space:nowrap; text-decoration:none;
  transition:transform .15s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease), border-color .2s, color .2s;
}
.btn:hover{ text-decoration:none; }
.btn:active{ transform:translateY(1px); }
.btn svg{ width:17px; height:17px; }
.btn-primary{ background:var(--brand); color:#fff; box-shadow:0 10px 24px -12px rgba(1,90,242,.6); }
.btn-primary:hover{ background:var(--brand-600); color:#fff; }
.btn-ghost{ background:#fff; color:var(--navy); border-color:var(--line-2); }
.btn-ghost:hover{ border-color:var(--brand); color:var(--brand); }
.btn-soft{ background:var(--tint); color:var(--brand-700); }
.btn-soft:hover{ background:var(--blue-soft); }
.btn-danger{ background:var(--danger); color:#fff; }
.btn-danger:hover{ background:#b93030; color:#fff; }
.btn-ok{ background:var(--ok); color:#fff; }
.btn-ok:hover{ background:#158a50; color:#fff; }
.btn-sm{ padding:8px 13px; font-size:13px; }
.btn-lg{ padding:15px 26px; font-size:16px; }
.btn-block{ width:100%; }
.btn[disabled]{ opacity:.55; cursor:not-allowed; }

/* ---- Cartões / superfícies ---- */
.card{ background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-lg); box-shadow:var(--shadow-sm); }
.card-pad{ padding:22px 24px; }

/* ---- Badges de status ---- */
.badge{ display:inline-flex; align-items:center; gap:6px; font-size:12px; font-weight:600; padding:5px 11px; border-radius:var(--radius-pill); line-height:1; }
.badge .dot{ width:6px; height:6px; border-radius:50%; background:currentColor; }
.badge-neutral{ background:var(--bg-soft-2); color:var(--text-soft); }
.badge-info{ background:var(--info-soft); color:var(--brand-700); }
.badge-ok{ background:var(--ok-soft); color:var(--ok); }
.badge-warn{ background:var(--warn-soft); color:var(--warn); }
.badge-danger{ background:var(--danger-soft); color:var(--danger); }

/* ---- Formulários ---- */
label{ display:block; font-size:13px; font-weight:600; color:var(--text-soft); margin-bottom:6px; }
.input, input[type=text], input[type=email], input[type=password], input[type=number], input[type=date], input[type=tel], select, textarea{
  width:100%; font-family:var(--font); font-size:14.5px; color:var(--text);
  background:#fff; border:1px solid var(--line-2); border-radius:var(--radius-sm);
  padding:11px 13px; transition:border-color .18s, box-shadow .18s;
}
.input:focus, input:focus, select:focus, textarea:focus{
  outline:none; border-color:var(--brand); box-shadow:0 0 0 3px rgba(1,90,242,.14);
}
textarea{ resize:vertical; min-height:90px; }
.field{ margin-bottom:16px; }
.field .hint{ font-size:12px; color:var(--muted); margin-top:5px; }
.row-2{ display:grid; grid-template-columns:1fr 1fr; gap:16px; }
@media (max-width:640px){ .row-2{ grid-template-columns:1fr; } }

/* ---- Tabelas ---- */
.table{ width:100%; border-collapse:collapse; font-size:14px; }
.table th{ text-align:left; font-size:12px; text-transform:uppercase; letter-spacing:.04em; color:var(--muted); font-weight:600; padding:12px 14px; border-bottom:1px solid var(--line); }
.table td{ padding:13px 14px; border-bottom:1px solid var(--line); color:var(--text-soft); }
.table tr:last-child td{ border-bottom:none; }
.table tbody tr{ transition:background .15s; }
.table tbody tr:hover{ background:var(--bg-soft); }
.table .num{ font-variant-numeric:tabular-nums; }

/* ---- Alertas ---- */
.alert{ padding:13px 16px; border-radius:var(--radius); font-size:14px; margin-bottom:18px; display:flex; gap:10px; align-items:flex-start; }
.alert-ok{ background:var(--ok-soft); color:#0f6b3e; }
.alert-err{ background:var(--danger-soft); color:#a52828; }
.alert-info{ background:var(--info-soft); color:var(--brand-700); }

.muted{ color:var(--muted); }
.text-soft{ color:var(--text-soft); }
.mono{ font-variant-numeric:tabular-nums; }
