/*!*************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[13].oneOf[12].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[13].oneOf[12].use[3]!./app/globals.css ***!
  \*************************************************************************************************************************************************************************************************************************************************************/
:root {
  /* Brand (sampled from provided logo + site screenshot)
     - Primary blue: #1e6796
     - Deep blue:    #1d5a7e
     - Teal:         #88c2c7
     - Link/text:    #2e2e2e (requested)
  */
  --bg: #f7fafb;
  --surface: #ffffff;
  --text: #111827;
  --muted: #6b7280;
  --border: #e6eef2;
  --link: #2e2e2e;

  --primary: #1e6796;
  --primary-700: #1d5a7e;
  --teal: #88c2c7;

  --success: #16a34a;
  --warning: #f59e0b;
  --danger: #dc2626;

  --shadow: 0 6px 18px rgba(17, 24, 39, 0.06);
  --radius: 14px;
}

* { box-sizing: border-box; }

html, body { height: 100%; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
}

a {
  color: var(--link);
  text-decoration: none;
}

a:hover { text-decoration: underline; }

button, input, select, textarea {
  font: inherit;
}

input, select, textarea {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
  background: var(--surface);
  outline: none;
}

input:focus, select:focus, textarea:focus {
  border-color: rgba(30, 103, 150, 0.5);
  box-shadow: 0 0 0 3px rgba(30, 103, 150, 0.12);
}

.btn {
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 10px 12px;
  border-radius: 12px;
  cursor: pointer;
}

.btn:hover { box-shadow: var(--shadow); }

.btnPrimary {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}

.btnPrimary:hover { background: var(--primary-700); }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
  background: var(--surface);
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.cardHeader {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
}

.cardBody { padding: 14px 16px; }

.grid {
  display: grid;
  grid-gap: 12px;
  gap: 12px;
}

.table {
  width: 100%;
  border-collapse: collapse;
}

.table th, .table td {
  text-align: left;
  padding: 10px 8px;
  border-bottom: 1px solid rgba(230, 238, 242, 0.8);
  vertical-align: top;
}

.table th {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.muted { color: var(--muted); }

.badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 12px;
  border: 1px solid var(--border);
  background: rgba(136, 194, 199, 0.22);
}

.layout {
  min-height: 100vh;
  display: grid;
  grid-template-columns: var(--sidebar-w, 260px) 1fr;
}

.layoutCollapsed {
  --sidebar-w: 72px;
}

.sidebar {
  padding: 18px 16px;
  border-right: 1px solid var(--border);
  background: var(--surface);
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}

.sidebarCollapsed {
  padding: 18px 10px;
}

.logoWrap {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(136, 194, 199, 0.10);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.logoImg {
  width: 28px;
  height: 28px;
  object-fit: contain;
  display: block;
}

.sidebarNav {
  margin-top: 18px;
  display: grid;
  grid-gap: 6px;
  gap: 6px;
}

.navItem {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 10px;
  border-radius: 12px;
}

.navItem:hover {
  background: rgba(136, 194, 199, 0.18);
  text-decoration: none;
}

.content {
  padding: 18px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.stack { display: grid; grid-gap: 10px; gap: 10px; }

.split {
  display: grid;
  grid-gap: 12px;
  gap: 12px;
  grid-template-columns: 1.7fr 1fr;
}

@media (max-width: 980px) {
  .layout { grid-template-columns: 1fr; }
  .sidebar { position: static; height: auto; border-right: none; border-bottom: 1px solid var(--border); }
  .split { grid-template-columns: 1fr; }
}

/* Kanban */
.kanban {
  display: grid;
  grid-template-columns: repeat(6, minmax(240px, 1fr));
  grid-gap: 12px;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 8px;
}

.kanbanCol {
  min-height: 60vh;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.55);
}

.kanbanColHeader {
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.kanbanCards { padding: 10px; display: grid; grid-gap: 10px; gap: 10px; }

.cardMini {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 10px 10px;
  cursor: pointer;
}

.cardMini:hover { box-shadow: var(--shadow); }

.drawerOverlay {
  position: fixed;
  inset: 0;
  background: rgba(17,24,39,0.35);
  z-index: 60;
}

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: min(520px, 100vw);
  background: var(--surface);
  border-left: 1px solid var(--border);
  z-index: 70;
  display: grid;
  grid-template-rows: auto 1fr;
}

.drawerHeader {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.drawerBody { padding: 14px 16px; overflow: auto; }

.kpi {
  padding: 14px 16px;
}

.kpiLabel { color: var(--muted); font-size: 12px; }
.kpiValue { font-weight: 900; font-size: 20px; margin-top: 6px; }

/* Simple modal (used for admin template creation) */
.modalOverlay { position: fixed; inset: 0; background: rgba(0,0,0,.35); display: flex; align-items: center; justify-content: center; padding: 18px; z-index: 80; }
.modal { width: min(760px, 96vw); background: var(--surface); border: 1px solid var(--border); border-radius: 16px; box-shadow: 0 14px 40px rgba(0,0,0,.18); overflow: hidden; }
.modalHeader { padding: 12px 14px; border-bottom: 1px solid var(--border); background: linear-gradient(180deg, #fff, rgba(0,0,0,.02)); }
.modalBody { padding: 14px; }



.kanban { align-items: start; }
.kanbanCol { display: grid; grid-template-rows: auto 1fr; min-height: 72vh; max-height: 78vh; }
.kanbanCards { padding: 10px; display: grid; grid-gap: 10px; gap: 10px; overflow-y: auto; min-height: 140px; }
.kanbanDropActive { background: rgba(30,103,150,0.04); }
.cardMiniDragging { opacity: .55; }

