/* Core layout inspired by monitor1.html */
:root {
  --bg: #f5f7fb;
  --card: #ffffff;
  --border: #e5e7eb;
  --text: #0f172a;
  --muted: #6b7280;
  --shadow-soft: 0 12px 30px rgba(15, 23, 42, 0.08);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  display: flex;
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }

.light-sidebar {
  width: 260px;
  background: var(--card);
  border-right: 1px solid var(--border);
  box-shadow: 6px 0 24px rgba(15, 23, 42, 0.06);
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sidebar-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img {
  height: 44px;
  width: auto;
  display: block;
}

.sidebar-subtitle {
  font-size: 12px;
  color: var(--muted);
}

.sidebar-nav {
  display: grid;
  gap: 8px;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  color: #1f2937;
  border: 1px solid transparent;
  border-radius: 12px;
  font-weight: 600;
  transition: all 0.15s ease;
}

.nav-link:hover {
  background: #f1f5f9;
  border-color: var(--border);
}

.sidebar-foot {
  margin-top: auto;
  padding: 12px;
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 12px;
}

.main-shell {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.topbar {
  padding: 16px 24px;
  background: var(--card);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.topbar-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin: 0;
}

.topbar-sub {
  font-size: 12px;
  color: var(--muted);
  margin: 2px 0 0 0;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.search-wrap {
  width: 260px;
}

.search-input {
  width: 100%;
  background: #f8fafc;
  border: 1px solid #d5d9e1;
  border-radius: 999px;
  padding: 10px 14px;
  color: var(--text);
  outline: none;
}

.avatar-pill {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: linear-gradient(135deg, #3b82f6, #22d3ee);
  display: grid;
  place-items: center;
  font-weight: 700;
  color: #0b1224;
}

.panel-content {
  padding: 24px;
  max-width: 1220px;
  margin: 0 auto;
  width: 100%;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 16px;
  box-shadow: var(--shadow-soft);
}

.glass-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 16px;
  box-shadow: var(--shadow-soft);
}

.soft-button {
  background: linear-gradient(135deg, #3b82f6, #22d3ee);
  color: #0b1224;
  font-weight: 700;
  border-radius: 12px;
  padding: 10px 16px;
  border: none;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.soft-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(96, 165, 250, 0.3);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #eef2ff;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  color: #475569;
}

.link {
  color: #2563eb;
}

.grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.gradient-card {
  background: linear-gradient(135deg, rgba(90, 208, 255, 0.18), rgba(116, 255, 194, 0.16), rgba(120, 169, 255, 0.18));
  border: 1px solid #d7e8ff;
  border-radius: 18px;
  padding: 16px;
  color: var(--text);
  box-shadow: var(--shadow-soft);
}

.timeline-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 16px;
  box-shadow: var(--shadow-soft);
}

.timeline-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 10px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
}

.timeline-icon {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #0f172a;
  font-weight: 700;
}

.icon-blue { background: linear-gradient(135deg, #a5b4fc, #60a5fa); }
.icon-orange { background: linear-gradient(135deg, #fbbf24, #fb7185); }
.icon-teal { background: linear-gradient(135deg, #34d399, #22d3ee); }
.icon-purple { background: linear-gradient(135deg, #c084fc, #a855f7); }

.muted { color: var(--muted); font-size: 13px; }
