/* FULCRUM-SCP shared styles */
:root {
  --brand: #29B6F6;          /* Fulcrum cyan (logo checkmark) */
  --brand-dark: #0288D1;     /* hover */
  --brand-darker: #01579B;   /* pressed / strong text on cyan */
  --brand-light: #E1F5FE;    /* subtle backgrounds */
  --sidebar: #082F49;        /* sky-950 — brand-tinted dark */
  --sidebar-hover: #0C4A6E;  /* sky-900 */
  --bg: #f8fafc;
}

html, body {
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, sans-serif;
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0.875rem;
  border-radius: 0.5rem;
  color: #cbd5e1;
  font-size: 0.875rem;
  transition: all 0.15s;
}
.sidebar-link:hover {
  background: var(--sidebar-hover);
  color: #fff;
}
.sidebar-link.active {
  background: var(--brand);
  color: #fff;
}
.sidebar-link svg { width: 18px; height: 18px; }

/* Hide the scrollbar on admin sidebar navs while keeping scroll behaviour
   (the bg-sky-950 sidebar gets crowded once Maintenance is added). */
aside.bg-sky-950 nav::-webkit-scrollbar { width: 0; height: 0; }
aside.bg-sky-950 nav { scrollbar-width: none; -ms-overflow-style: none; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-weight: 500;
  font-size: 0.875rem;
  transition: all 0.15s;
  cursor: pointer;
  border: 1px solid transparent;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); }
.btn-secondary { background: #fff; color: #334155; border-color: #e2e8f0; }
.btn-secondary:hover { background: #f1f5f9; }
.btn-danger { background: #dc2626; color: #fff; }
.btn-danger:hover { background: #b91c1c; }

.input {
  width: 100%;
  padding: 0.5rem 0.75rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  transition: all 0.15s;
  background: #fff;
}
.input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(41, 182, 246, 0.18); }

.label { display: block; font-size: 0.8125rem; font-weight: 500; color: #475569; margin-bottom: 0.375rem; }

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.125rem 0.5rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
}
.badge-green { background: #dcfce7; color: #166534; }
.badge-red { background: #fee2e2; color: #991b1b; }
.badge-amber { background: #fef3c7; color: #92400e; }
.badge-blue { background: #dbeafe; color: #1e40af; }
.badge-slate { background: #f1f5f9; color: #475569; }

.card { background: #fff; border-radius: 0.75rem; box-shadow: 0 1px 2px rgba(0,0,0,0.04), 0 0 0 1px rgba(0,0,0,0.05); }

table.data { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
table.data th { text-align: left; font-weight: 600; color: #475569; padding: 0.75rem 1rem; background: #f8fafc; border-bottom: 1px solid #e2e8f0; }
table.data td { padding: 0.875rem 1rem; border-bottom: 1px solid #f1f5f9; color: #334155; }
table.data tr:hover { background: #f8fafc; }

/* Kiosk-specific */
.kiosk-btn {
  background: var(--brand-dark);              /* calmer default — #0288D1 */
  color: #fff;
  padding: 1.125rem 1.75rem;
  border-radius: 0.75rem;
  font-size: 1.25rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-height: 80px;
  border: none;
  cursor: pointer;
  transition: all 0.15s;
  box-shadow: 0 4px 12px rgba(2, 136, 209, 0.25);
}
.kiosk-btn:hover { background: var(--brand); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(41, 182, 246, 0.35); }
.kiosk-btn-secondary { background: #11365C; box-shadow: 0 4px 12px rgba(5, 20, 39, 0.4); }
.kiosk-btn-secondary:hover { background: #1F4878; box-shadow: 0 6px 16px rgba(5, 20, 39, 0.55); }

.priority-high { border-left: 4px solid #dc2626; }
.priority-medium { border-left: 4px solid #f59e0b; }
.priority-low { border-left: 4px solid #10b981; }
