/* =========================
   Base
========================= */

*{
  box-sizing:border-box;
}

body{
  margin:0;
  font-family:Inter,system-ui,Segoe UI,Roboto,Arial;
  background:#f5f7fb;
  color:#111827;
}

/* =========================
   Containers
========================= */

.container{
  max-width:1200px;
  margin:auto;
  padding:20px;
}

/* =========================
   Cards
========================= */

.card{
  background:#ffffff;
  border-radius:16px;
  border:1px solid #e5e7eb;
  box-shadow:0 6px 20px rgba(0,0,0,.05);
  padding:20px;
}

/* =========================
   Toolbar
========================= */

.toolbar{
  display:flex;
  justify-content:space-between;
  align-items:center;
  flex-wrap:wrap;
  gap:10px;
  margin-bottom:16px;
}

.card__title{
  font-weight:800;
  font-size:20px;
}

.card__sub{
  font-size:13px;
  color:#6b7280;
}

/* =========================
   Buttons
========================= */

.btn{
  background:#1F5ED9;
  color:#fff;
  border:none;
  border-radius:10px;
  padding:10px 14px;
  font-weight:700;
  cursor:pointer;
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  gap:6px;
}

.btn:hover{
  opacity:.9;
}

.btn--ghost{
  background:#eef2ff;
  color:#1F5ED9;
}

.btn--danger{
  background:#ef4444;
}

.btn--small{
  padding:6px 10px;
  font-size:13px;
}

/* =========================
   Pills
========================= */

.pill{
  padding:4px 10px;
  border-radius:999px;
  font-size:12px;
  font-weight:700;
}

.pill--ok{
  background:#dcfce7;
  color:#166534;
}

.pill--warn{
  background:#fef3c7;
  color:#92400e;
}

.pill--off{
  background:#e5e7eb;
  color:#374151;
}

/* =========================
   Tables
========================= */

.tableWrap{
  overflow-x:auto;
}

table{
  width:100%;
  border-collapse:collapse;
}

thead{
  background:#f9fafb;
}

th,td{
  padding:12px;
  border-bottom:1px solid #e5e7eb;
  text-align:left;
  font-size:14px;
}

th{
  font-weight:700;
  color:#374151;
}

/* =========================
   Responsive
========================= */

@media (max-width: 768px){

  .toolbar{
    flex-direction:column;
    align-items:flex-start;
  }

  table{
    display:none;
  }

  .mobileCards{
    display:flex;
    flex-direction:column;
    gap:12px;
  }

  .mobileCard{
    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:12px;
    padding:14px;
  }

  .mobileCard strong{
    display:block;
    margin-bottom:6px;
  }

}


input,
select,
textarea{
  width:100%;
  padding:12px;
  border-radius:10px;
  border:1px solid #e5e7eb;
  font-size:14px;
}

label{
  font-weight:600;
  font-size:13px;
  margin-bottom:4px;
  display:block;
}

.field{
  margin-bottom:14px;
}