/* ============================================================
   WorkFlex — Design System Principal
   Cores: Verde #00E633 sobre Preto #0a0a0a (identidade PulseNet/WorkFlex)
   ============================================================ */

:root {
  /* Brand */
  --wf-green:       #00E633;
  --wf-green-dark:  #00b828;
  --wf-green-glow:  rgba(0, 230, 51, 0.25);
  --wf-green-light: rgba(0, 230, 51, 0.12);
  --wf-black:       #0a0a0a;
  --wf-surface:     #111111;
  --wf-surface2:    #1a1a1a;
  --wf-surface3:    #222222;
  --wf-border:      rgba(255,255,255,0.08);
  --wf-border-hover:rgba(0, 230, 51, 0.35);
  --wf-text:        #f0f0f0;
  --wf-text-muted:  #888888;
  --wf-text-faint:  #555555;

  /* Turnos */
  --shift-integral: #10b981;
  --shift-pm:       #3b82f6;
  --shift-pm2:      #0ea5e9;
  --shift-am:       #f59e0b;
  --shift-plt:      #22c55e;
  --shift-folga:    #64748b;
  --shift-ferias:   #ef4444;
  --shift-rps:      #a855f7;

  /* Semânticas */
  --success: #22c55e;
  --warning: #f59e0b;
  --danger:  #ef4444;
  --info:    #3b82f6;

  /* Layout */
  --radius-sm:  6px;
  --radius-md:  10px;
  --radius-lg:  16px;
  --radius-xl:  24px;
  --sidebar-w:  260px;
  --topbar-h:   64px;

  /* Transições */
  --ease:   cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --fast:   0.15s;
  --med:    0.25s;
  --slow:   0.4s;
}

/* TEMA CLARO */
[data-theme="light"] {
  --wf-black:    #f4f4f5;
  --wf-surface:  #ffffff;
  --wf-surface2: #f0f0f0;
  --wf-surface3: #e8e8e8;
  --wf-border:   rgba(0,0,0,0.08);
  --wf-border-hover: rgba(0, 180, 40, 0.4);
  --wf-text:     #111111;
  --wf-text-muted: #666666;
  --wf-text-faint: #aaaaaa;
  --wf-green-glow: rgba(0, 180, 40, 0.2);
  --wf-green-light:rgba(0, 180, 40, 0.1);
}

/* ─── RESET & BASE ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--wf-black);
  color: var(--wf-text);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  transition: background var(--med) var(--ease), color var(--med) var(--ease);
}

a { color: var(--wf-green); text-decoration: none; transition: color var(--fast); }
a:hover { color: var(--wf-green-dark); }

img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: inherit; }
input, select, textarea { font-family: inherit; }

/* ─── SCROLLBAR ─────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--wf-surface); }
::-webkit-scrollbar-thumb { background: var(--wf-surface3); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--wf-green); }

/* ─── LAYOUT PRINCIPAL ──────────────────────────────────────── */
.wf-layout { display: flex; min-height: 100vh; }

.wf-sidebar {
  width: var(--sidebar-w);
  background: var(--wf-surface);
  border-right: 1px solid var(--wf-border);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0; bottom: 0;
  z-index: 100;
  transition: transform var(--med) var(--ease);
}

.wf-main {
  flex: 1;
  margin-left: var(--sidebar-w);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.wf-topbar {
  height: var(--topbar-h);
  background: var(--wf-surface);
  border-bottom: 1px solid var(--wf-border);
  display: flex;
  align-items: center;
  padding: 0 1.5rem;
  gap: 1rem;
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
}

.wf-content {
  flex: 1;
  padding: 2rem 1.5rem;
  max-width: 1400px;
  width: 100%;
}

/* ─── LOGO / SIDEBAR ────────────────────────────────────────── */
.wf-logo {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--wf-border);
  display: flex;
  align-items: center;
  gap: 10px;
}

.wf-logo-icon {
  width: 36px; height: 36px;
  background: var(--wf-green);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-weight: 900;
  color: #000;
  font-size: 14px;
  letter-spacing: -0.5px;
  box-shadow: 0 0 16px var(--wf-green-glow);
  animation: pulse-logo 3s ease-in-out infinite;
}

@keyframes pulse-logo {
  0%, 100% { box-shadow: 0 0 16px var(--wf-green-glow); }
  50%       { box-shadow: 0 0 28px var(--wf-green-glow), 0 0 8px var(--wf-green); }
}

.wf-logo-text { font-size: 17px; font-weight: 700; letter-spacing: -0.3px; }
.wf-logo-text span { color: var(--wf-green); }

.wf-nav { flex: 1; padding: 1rem 0; overflow-y: auto; }

.wf-nav-group { margin-bottom: 1.5rem; }

.wf-nav-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--wf-text-faint);
  padding: 0 1.25rem;
  margin-bottom: 0.25rem;
}

.wf-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 1.25rem;
  border-radius: 0;
  color: var(--wf-text-muted);
  font-size: 14px;
  font-weight: 500;
  transition: all var(--fast) var(--ease);
  position: relative;
  margin: 1px 0.75rem;
  border-radius: var(--radius-sm);
}

.wf-nav-item:hover {
  color: var(--wf-text);
  background: var(--wf-surface2);
}

.wf-nav-item.active {
  color: var(--wf-green);
  background: var(--wf-green-light);
}

.wf-nav-item.active::before {
  content: '';
  position: absolute;
  left: 0; top: 4px; bottom: 4px;
  width: 3px;
  background: var(--wf-green);
  border-radius: 0 3px 3px 0;
  margin-left: -0.75rem;
}

.wf-nav-item i { font-size: 18px; flex-shrink: 0; }

.wf-nav-badge {
  margin-left: auto;
  background: var(--wf-green);
  color: #000;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 20px;
  min-width: 18px;
  text-align: center;
}

/* ─── CARDS ─────────────────────────────────────────────────── */
.wf-card {
  background: var(--wf-surface);
  border: 1px solid var(--wf-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: border-color var(--fast), transform var(--fast), box-shadow var(--fast);
}

.wf-card:hover {
  border-color: var(--wf-border-hover);
}

.wf-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.wf-card-title {
  font-size: 16px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ─── STAT CARDS (ANIMADOS) ─────────────────────────────────── */
.wf-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.wf-stat-card {
  background: var(--wf-surface);
  border: 1px solid var(--wf-border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  position: relative;
  overflow: hidden;
  transition: all var(--med) var(--spring);
  cursor: default;
}

.wf-stat-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--stat-color, var(--wf-green));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--med) var(--ease);
}

.wf-stat-card:hover { transform: translateY(-3px); border-color: var(--wf-border-hover); }
.wf-stat-card:hover::after { transform: scaleX(1); }

.wf-stat-icon {
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 0.75rem;
  font-size: 20px;
}

.wf-stat-value {
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 4px;
  font-variant-numeric: tabular-nums;
}

.wf-stat-label {
  font-size: 12px;
  color: var(--wf-text-muted);
  font-weight: 500;
}

/* Counter animation */
.wf-stat-value[data-count] { transition: all 0.5s var(--ease); }

/* ─── BOTÕES ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
  border: 1.5px solid transparent;
  transition: all var(--fast) var(--ease);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: white;
  opacity: 0;
  transition: opacity var(--fast);
}

.btn:active { transform: scale(0.96); }
.btn:active::after { opacity: 0.08; }

.btn-primary {
  background: var(--wf-green);
  color: #000;
  border-color: var(--wf-green);
  box-shadow: 0 0 0 0 var(--wf-green-glow);
}
.btn-primary:hover {
  background: var(--wf-green-dark);
  border-color: var(--wf-green-dark);
  box-shadow: 0 0 20px var(--wf-green-glow);
}

.btn-outline {
  background: transparent;
  color: var(--wf-text);
  border-color: var(--wf-border);
}
.btn-outline:hover {
  border-color: var(--wf-green);
  color: var(--wf-green);
  background: var(--wf-green-light);
}

.btn-danger {
  background: var(--danger);
  color: white;
  border-color: var(--danger);
}
.btn-danger:hover { background: #dc2626; }

.btn-ghost {
  background: var(--wf-surface2);
  color: var(--wf-text-muted);
  border-color: transparent;
}
.btn-ghost:hover { background: var(--wf-surface3); color: var(--wf-text); }

.btn-sm { padding: 6px 12px; font-size: 12px; border-radius: var(--radius-sm); }
.btn-lg { padding: 13px 28px; font-size: 16px; border-radius: var(--radius-lg); }
.btn-icon { width: 38px; height: 38px; padding: 0; flex-shrink: 0; }

/* Loading state */
.btn.loading { pointer-events: none; opacity: 0.7; }
.btn.loading i { animation: spin 0.8s linear infinite; }

/* ─── FORMS ─────────────────────────────────────────────────── */
.wf-form-group {
  margin-bottom: 1.25rem;
}

.wf-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--wf-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}

.wf-input,
.wf-select,
.wf-textarea {
  width: 100%;
  background: var(--wf-surface2);
  border: 1.5px solid var(--wf-border);
  border-radius: var(--radius-md);
  color: var(--wf-text);
  font-size: 14px;
  padding: 10px 14px;
  transition: all var(--fast) var(--ease);
  outline: none;
  -webkit-appearance: none;
}

.wf-input:focus,
.wf-select:focus,
.wf-textarea:focus {
  border-color: var(--wf-green);
  box-shadow: 0 0 0 3px var(--wf-green-light);
  background: var(--wf-surface);
}

.wf-input::placeholder { color: var(--wf-text-faint); }
.wf-textarea { resize: vertical; min-height: 100px; }

.wf-input-wrapper {
  position: relative;
}

.wf-input-wrapper .wf-input { padding-left: 40px; }
.wf-input-wrapper .input-icon {
  position: absolute;
  left: 12px; top: 50%;
  transform: translateY(-50%);
  color: var(--wf-text-faint);
  font-size: 16px;
  pointer-events: none;
}

.wf-input-wrapper .input-toggle {
  position: absolute;
  right: 12px; top: 50%;
  transform: translateY(-50%);
  color: var(--wf-text-faint);
  background: none;
  border: none;
  font-size: 16px;
  padding: 4px;
  transition: color var(--fast);
}
.wf-input-wrapper .input-toggle:hover { color: var(--wf-green); }

/* ─── TABELA ─────────────────────────────────────────────────── */
.wf-table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--wf-border);
}

.wf-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.wf-table th {
  background: var(--wf-surface2);
  padding: 11px 14px;
  text-align: left;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--wf-text-muted);
  border-bottom: 1px solid var(--wf-border);
  white-space: nowrap;
}

.wf-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--wf-border);
  vertical-align: middle;
}

.wf-table tr:last-child td { border-bottom: none; }

.wf-table tbody tr {
  transition: background var(--fast);
}
.wf-table tbody tr:hover { background: var(--wf-surface2); }

/* ─── BADGES / CHIPS ─────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 9px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}

.badge-green  { background: rgba(34,197,94,0.15);  color: #22c55e; }
.badge-red    { background: rgba(239,68,68,0.15);  color: #ef4444; }
.badge-blue   { background: rgba(59,130,246,0.15); color: #3b82f6; }
.badge-amber  { background: rgba(245,158,11,0.15); color: #f59e0b; }
.badge-purple { background: rgba(168,85,247,0.15); color: #a855f7; }
.badge-gray   { background: rgba(100,116,139,0.15);color: #64748b; }

/* ─── SHIFT BADGES ───────────────────────────────────────────── */
.shift-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 68px;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.shift-INTEGRAL { background: rgba(16,185,129,0.2); color: #10b981; border: 1px solid rgba(16,185,129,0.3); }
.shift-PM       { background: rgba(59,130,246,0.2);  color: #3b82f6; border: 1px solid rgba(59,130,246,0.3); }
.shift-PM2      { background: rgba(14,165,233,0.2);  color: #0ea5e9; border: 1px solid rgba(14,165,233,0.3); }
.shift-AM       { background: rgba(245,158,11,0.2);  color: #f59e0b; border: 1px solid rgba(245,158,11,0.3); }
.shift-PLT      { background: rgba(34,197,94,0.2);   color: #22c55e; border: 1px solid rgba(34,197,94,0.3); }
.shift-FOLGA    { background: rgba(100,116,139,0.2); color: #94a3b8; border: 1px solid rgba(100,116,139,0.3); }
.shift-FERIAS   { background: rgba(239,68,68,0.2);   color: #ef4444; border: 1px solid rgba(239,68,68,0.3); }
.shift-RPS      { background: rgba(168,85,247,0.2);  color: #a855f7; border: 1px solid rgba(168,85,247,0.3); }

/* ─── MODAL / POPUP ──────────────────────────────────────────── */
.wf-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--med) var(--ease);
}

.wf-modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.wf-modal {
  background: var(--wf-surface);
  border: 1px solid var(--wf-border);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(0.92) translateY(20px);
  transition: transform var(--med) var(--spring), opacity var(--med);
  opacity: 0;
}

.wf-modal-overlay.open .wf-modal {
  transform: scale(1) translateY(0);
  opacity: 1;
}

.wf-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--wf-border);
}

.wf-modal-title {
  font-size: 17px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.wf-modal-close {
  width: 32px; height: 32px;
  border-radius: var(--radius-sm);
  background: var(--wf-surface2);
  border: none;
  color: var(--wf-text-muted);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  transition: all var(--fast);
}
.wf-modal-close:hover { background: var(--wf-surface3); color: var(--wf-text); }

.wf-modal-body { padding: 1.5rem; }
.wf-modal-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--wf-border);
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

/* ─── TOAST NOTIFICATIONS ────────────────────────────────────── */
#wf-toasts {
  position: fixed;
  top: 1.25rem;
  right: 1.25rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 360px;
}

.wf-toast {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--radius-lg);
  background: var(--wf-surface2);
  border: 1px solid var(--wf-border);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  transform: translateX(120%);
  opacity: 0;
  animation: toast-in var(--med) var(--spring) forwards;
  max-width: 360px;
}

.wf-toast.removing {
  animation: toast-out var(--med) var(--ease) forwards;
}

@keyframes toast-in {
  to { transform: translateX(0); opacity: 1; }
}
@keyframes toast-out {
  to { transform: translateX(120%); opacity: 0; }
}

.wf-toast-icon {
  font-size: 20px;
  flex-shrink: 0;
  margin-top: 1px;
}

.wf-toast-content { flex: 1; }
.wf-toast-title { font-weight: 600; font-size: 14px; }
.wf-toast-msg   { font-size: 13px; color: var(--wf-text-muted); margin-top: 2px; }

.wf-toast.success { border-color: rgba(34,197,94,0.3); }
.wf-toast.success .wf-toast-icon { color: #22c55e; }
.wf-toast.error   { border-color: rgba(239,68,68,0.3); }
.wf-toast.error   .wf-toast-icon { color: #ef4444; }
.wf-toast.warning { border-color: rgba(245,158,11,0.3); }
.wf-toast.warning .wf-toast-icon { color: #f59e0b; }
.wf-toast.info    { border-color: rgba(59,130,246,0.3); }
.wf-toast.info    .wf-toast-icon { color: #3b82f6; }

/* ─── AVATAR ─────────────────────────────────────────────────── */
.wf-avatar {
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.wf-avatar-init {
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 14px;
  background: var(--wf-green-light);
  color: var(--wf-green);
  flex-shrink: 0;
}

/* ─── CALENDÁRIO DA ESCALA ───────────────────────────────────── */
.wf-schedule-grid {
  overflow-x: auto;
}

.wf-schedule-table {
  border-collapse: collapse;
  font-size: 12px;
  min-width: 900px;
}

.wf-schedule-table th {
  background: var(--wf-surface2);
  padding: 8px 6px;
  text-align: center;
  font-size: 10px;
  font-weight: 600;
  color: var(--wf-text-muted);
  border: 1px solid var(--wf-border);
  position: sticky;
  top: 0;
}

.wf-schedule-table th.holiday-col {
  background: rgba(245,158,11,0.15);
  color: #f59e0b;
}

.wf-schedule-table td {
  border: 1px solid var(--wf-border);
  padding: 6px;
  text-align: center;
  vertical-align: middle;
}

.wf-schedule-table .user-col {
  text-align: left;
  padding: 8px 12px;
  white-space: nowrap;
  font-weight: 600;
  background: var(--wf-surface);
  position: sticky;
  left: 0;
  z-index: 1;
  min-width: 160px;
}

.wf-schedule-cell {
  cursor: pointer;
  transition: all var(--fast);
  border-radius: var(--radius-sm);
}
.wf-schedule-cell:hover { transform: scale(1.1); z-index: 1; position: relative; }

/* ─── ANIMAÇÕES GERAIS ───────────────────────────────────────── */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes scaleIn { from { opacity: 0; transform: scale(0.9); } to { opacity: 1; transform: scale(1); } }
@keyframes shimmer { 0%,100% { opacity: 0.6; } 50% { opacity: 1; } }

.animate-fade-in  { animation: fadeIn  var(--med) var(--ease) forwards; }
.animate-slide-up { animation: slideUp var(--med) var(--ease) forwards; }
.animate-scale-in { animation: scaleIn var(--med) var(--spring) forwards; }

/* Stagger para listas */
.stagger-children > * { opacity: 0; animation: slideUp var(--med) var(--ease) forwards; }
.stagger-children > *:nth-child(1) { animation-delay: 0.05s; }
.stagger-children > *:nth-child(2) { animation-delay: 0.10s; }
.stagger-children > *:nth-child(3) { animation-delay: 0.15s; }
.stagger-children > *:nth-child(4) { animation-delay: 0.20s; }
.stagger-children > *:nth-child(5) { animation-delay: 0.25s; }
.stagger-children > *:nth-child(n+6) { animation-delay: 0.30s; }

/* Skeleton loader */
.skeleton {
  background: linear-gradient(90deg, var(--wf-surface2) 25%, var(--wf-surface3) 50%, var(--wf-surface2) 75%);
  background-size: 200% 100%;
  animation: skeleton-wave 1.5s ease-in-out infinite;
  border-radius: var(--radius-sm);
}
@keyframes skeleton-wave {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ─── PAGE HEADER ────────────────────────────────────────────── */
.wf-page-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.75rem;
  flex-wrap: wrap;
}

.wf-page-title {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.wf-page-subtitle {
  font-size: 14px;
  color: var(--wf-text-muted);
  margin-top: 2px;
}

/* ─── EMPTY STATE ────────────────────────────────────────────── */
.wf-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  color: var(--wf-text-muted);
  text-align: center;
  gap: 1rem;
}
.wf-empty i { font-size: 48px; opacity: 0.3; }
.wf-empty p { font-size: 15px; max-width: 280px; }

/* ─── RESPONSIVO ─────────────────────────────────────────────── */
@media (max-width: 768px) {
  .wf-sidebar {
    transform: translateX(-100%);
  }
  .wf-sidebar.mobile-open {
    transform: translateX(0);
    box-shadow: 4px 0 24px rgba(0,0,0,0.5);
  }
  .wf-main { margin-left: 0; }
  .wf-content { padding: 1.25rem 1rem; }
  .wf-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .wf-page-header { flex-direction: column; }
  .wf-modal { max-height: 95vh; }
}

@media (max-width: 480px) {
  .wf-stats-grid { grid-template-columns: 1fr 1fr; }
  .btn-lg { padding: 11px 20px; font-size: 15px; }
}

/* ─── UTILITÁRIOS ────────────────────────────────────────────── */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 4px; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }
.mt-1 { margin-top: 4px; }
.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 12px; }
.mt-4 { margin-top: 16px; }
.mb-4 { margin-bottom: 16px; }
.text-muted { color: var(--wf-text-muted); }
.text-green { color: var(--wf-green); }
.text-sm { font-size: 13px; }
.text-xs { font-size: 11px; }
.font-bold { font-weight: 700; }
.w-full { width: 100%; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
@media (max-width: 640px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
}
