/* ============================================================
   ProjectHub — Main Stylesheet
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --navy:        #0f172a;
  --navy-mid:    #1e293b;
  --navy-border: #334155;
  --indigo:      #1aa8c7;
  --indigo-lt:   #5ec8de;
  --violet:      #1593ad;
  --emerald:     #10b981;
  --amber:       #f59e0b;
  --rose:        #f43f5e;
  --slate-400:   #94a3b8;
  --slate-500:   #64748b;
  --slate-600:   #475569;
  --text-primary:#f1f5f9;
  --text-sec:    #94a3b8;
  --surface:     #1e293b;
  --surface-2:   #0f172a;
  --sidebar-w:   220px;
  --topbar-h:    64px;
  --radius:      10px;
  --radius-sm:   6px;
  --shadow:      0 2px 12px rgba(0,0,0,.35);
  --transition:  .18s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  height: 100%;
  font-family: 'Inter', sans-serif;
  background: var(--navy);
  color: var(--text-primary);
  font-size: 14px;
  line-height: 1.5;
}

a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; }
ul { list-style: none; }

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--navy-border); border-radius: 99px; }

/* ============================================================
   LOGIN PAGE
   ============================================================ */
#login-page {
  display: flex; align-items: center; justify-content: center;
  min-height: 100vh;
  background: radial-gradient(ellipse at 60% 40%, #1e1b4b 0%, var(--navy) 70%);
}

.login-card {
  background: var(--surface);
  border: 1px solid var(--navy-border);
  border-radius: 16px;
  padding: 40px 36px;
  width: 380px;
  box-shadow: 0 24px 60px rgba(0,0,0,.5);
}

.login-logo {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 28px;
}
.login-logo .logo-icon {
  width: 36px; height: 36px; border-radius: 9px;
  background: linear-gradient(135deg, var(--indigo), var(--violet));
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 700; color: #fff;
}
.login-logo span { font-size: 18px; font-weight: 700; }

.login-card h2 { font-size: 22px; font-weight: 700; margin-bottom: 6px; }
.login-card p  { color: var(--text-sec); margin-bottom: 28px; font-size: 13px; }

.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 12px; font-weight: 600; color: var(--text-sec); margin-bottom: 6px; text-transform: uppercase; letter-spacing: .5px; }
.form-group input {
  width: 100%; padding: 10px 14px;
  background: var(--navy); border: 1px solid var(--navy-border);
  border-radius: var(--radius-sm); color: var(--text-primary);
  font-size: 14px; font-family: inherit;
  transition: border-color var(--transition);
  outline: none;
}
.form-group input:focus { border-color: var(--indigo); }

.hint { font-size: 12px; color: var(--slate-400); margin-top: 4px; }

.btn-login {
  width: 100%; padding: 11px;
  background: linear-gradient(135deg, var(--indigo), var(--violet));
  border: none; border-radius: var(--radius-sm);
  color: #fff; font-size: 14px; font-weight: 600;
  margin-top: 8px;
  transition: opacity var(--transition), transform var(--transition);
}
.btn-login:hover { opacity: .9; transform: translateY(-1px); }

#login-error { color: var(--rose); font-size: 13px; margin-top: 12px; display: none; }

/* ============================================================
   APP SHELL
   ============================================================ */
#app { display: none; height: 100vh; overflow: hidden; }

/* ── Sidebar ── */
.sidebar {
  position: fixed; top: 0; left: 0; bottom: 0;
  width: var(--sidebar-w);
  background: var(--navy-mid);
  border-right: 1px solid var(--navy-border);
  display: flex; flex-direction: column;
  z-index: 100;
  overflow-y: auto;
}

.sidebar-logo {
  display: flex; align-items: center; gap: 10px;
  padding: 18px 18px 14px;
  border-bottom: 1px solid var(--navy-border);
}
.sidebar-logo .logo-icon {
  width: 32px; height: 32px; border-radius: 8px;
  background: linear-gradient(135deg, var(--indigo), var(--violet));
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700; color: #fff; flex-shrink: 0;
}
.sidebar-logo .logo-text { font-size: 15px; font-weight: 700; }

.sidebar-section { padding: 16px 10px 4px; }
.sidebar-section-label {
  font-size: 10px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 1px; color: var(--slate-500);
  padding: 0 8px 8px;
}

.nav-item {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 10px; border-radius: var(--radius-sm);
  color: var(--text-sec); font-size: 13.5px; font-weight: 500;
  cursor: pointer; transition: all var(--transition);
  position: relative;
}
.nav-item:hover  { background: rgba(26,168,199,.1); color: var(--text-primary); }
.nav-item.active { background: rgba(26,168,199,.18); color: var(--indigo-lt); }
.nav-item.active .nav-icon { color: var(--indigo); }
.nav-icon { font-size: 16px; width: 20px; text-align: center; flex-shrink: 0; }

.nav-badge {
  margin-left: auto;
  background: var(--rose); color: #fff;
  font-size: 10px; font-weight: 700; border-radius: 99px;
  padding: 1px 6px; min-width: 18px; text-align: center;
}

.sidebar-footer {
  margin-top: auto; padding: 14px;
  border-top: 1px solid var(--navy-border);
}
.theme-toggle {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 10px; border-radius: var(--radius-sm);
  color: var(--text-sec); font-size: 13px; cursor: pointer;
  transition: background var(--transition);
}
.theme-toggle:hover { background: rgba(255,255,255,.05); }
.theme-toggle span:last-child { font-size: 11px; color: var(--slate-500); }

/* ── Top Bar ── */
.topbar {
  position: fixed; top: 0; left: var(--sidebar-w); right: 0;
  height: var(--topbar-h);
  background: var(--navy-mid);
  border-bottom: 1px solid var(--navy-border);
  display: flex; align-items: center; padding: 0 24px;
  z-index: 90;
  gap: 16px;
}

.topbar-title { font-size: 18px; font-weight: 700; }
.topbar-welcome { font-size: 13px; color: var(--text-sec); margin-left: 4px; }

.topbar-search {
  flex: 1; max-width: 380px;
  position: relative;
}
.topbar-search input {
  width: 100%; padding: 8px 14px 8px 36px;
  background: var(--navy); border: 1px solid var(--navy-border);
  border-radius: 20px; color: var(--text-primary);
  font-size: 13px; outline: none; font-family: inherit;
  transition: border-color var(--transition);
}
.topbar-search input:focus { border-color: var(--indigo); }
.topbar-search .search-icon {
  position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
  color: var(--slate-500); font-size: 14px;
}
.search-kbd {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  font-size: 10px; color: var(--slate-500);
  background: var(--navy-border); padding: 2px 5px; border-radius: 4px;
}

.topbar-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.topbar-btn {
  position: relative; width: 36px; height: 36px;
  border-radius: 50%; background: var(--navy);
  border: 1px solid var(--navy-border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-sec); font-size: 16px;
  transition: all var(--transition); cursor: pointer;
}
.topbar-btn:hover { border-color: var(--indigo); color: var(--text-primary); }
.topbar-notif-badge {
  position: absolute; top: -3px; right: -3px;
  background: var(--rose); color: #fff; font-size: 9px; font-weight: 700;
  border-radius: 99px; padding: 1px 4px; min-width: 16px; text-align: center;
  border: 2px solid var(--navy-mid);
}

.user-chip {
  display: flex; align-items: center; gap: 10px;
  padding: 5px 12px 5px 5px;
  background: var(--navy); border: 1px solid var(--navy-border);
  border-radius: 99px; cursor: pointer;
  transition: border-color var(--transition);
}
.user-chip:hover { border-color: var(--indigo); }
.user-avatar-sm {
  width: 30px; height: 30px; border-radius: 50%;
  background: linear-gradient(135deg, var(--indigo), var(--violet));
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; color: #fff; flex-shrink: 0;
}
.user-chip-info { line-height: 1.2; }
.user-chip-name  { font-size: 13px; font-weight: 600; }
.user-chip-title { font-size: 11px; color: var(--text-sec); }

/* ── Main Content ── */
.main-content {
  margin-left: var(--sidebar-w);
  margin-top: var(--topbar-h);
  height: calc(100vh - var(--topbar-h));
  overflow-y: auto;
  padding: 24px;
}

/* ============================================================
   VIEWS
   ============================================================ */
.view { display: none; }
.view.active { display: block; }

/* ── Stat Cards ── */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}
@media (max-width: 1200px) { .stat-grid { grid-template-columns: repeat(3, 1fr); } }

.stat-card {
  background: var(--surface);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius);
  padding: 18px 20px;
  display: flex; flex-direction: column; gap: 8px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.stat-card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.3); }
.stat-header { display: flex; align-items: center; justify-content: space-between; }
.stat-label { font-size: 12px; color: var(--text-sec); font-weight: 500; }
.stat-icon {
  width: 36px; height: 36px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center; font-size: 16px;
}
.stat-value { font-size: 28px; font-weight: 700; line-height: 1; }
.stat-change { font-size: 12px; display: flex; align-items: center; gap: 4px; }
.stat-change.up   { color: var(--emerald); }
.stat-change.down { color: var(--rose); }
.stat-change.flat { color: var(--slate-400); }
.stat-link { font-size: 12px; color: var(--indigo); margin-top: 4px; }
.stat-link:hover { text-decoration: underline; }

/* ── Dashboard Grid ── */
.dashboard-grid {
  display: grid;
  grid-template-columns: 1fr 340px 300px;
  grid-template-rows: auto auto;
  gap: 20px;
  margin-bottom: 24px;
}
@media (max-width: 1300px) { .dashboard-grid { grid-template-columns: 1fr 1fr; } }

.card {
  background: var(--surface);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius);
  overflow: hidden;
}
.card-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--navy-border);
}
.card-title { font-size: 14px; font-weight: 600; }
.card-body { padding: 20px; }

/* ── Chart ── */
.chart-legend {
  display: flex; gap: 16px; flex-wrap: wrap;
}
.legend-item { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text-sec); }
.legend-dot  { width: 8px; height: 8px; border-radius: 50%; }

canvas.ph-chart { width: 100% !important; }

/* ── Donut chart container ── */
.donut-wrap {
  position: relative; display: flex; align-items: center; justify-content: center;
  padding: 12px 0;
}
.donut-center {
  position: absolute; text-align: center; pointer-events: none;
}
.donut-center-value { font-size: 26px; font-weight: 700; }
.donut-center-label { font-size: 11px; color: var(--text-sec); }

.donut-legend { padding: 0 20px 16px; }
.donut-legend-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 6px 0; font-size: 13px;
}
.donut-legend-left  { display: flex; align-items: center; gap: 10px; }
.donut-legend-dot   { width: 10px; height: 10px; border-radius: 50%; }
.donut-legend-pct   { font-weight: 600; color: var(--text-sec); font-size: 12px; }

/* ── Upcoming Deadlines ── */
.deadline-list { padding: 8px 0; }
.deadline-item {
  display: flex; align-items: center; gap: 14px;
  padding: 10px 20px;
  border-bottom: 1px solid rgba(255,255,255,.04);
  transition: background var(--transition);
}
.deadline-item:last-child { border-bottom: none; }
.deadline-item:hover { background: rgba(255,255,255,.03); }
.deadline-date {
  text-align: center; min-width: 38px;
}
.deadline-month { font-size: 9px; font-weight: 700; text-transform: uppercase; color: var(--indigo); letter-spacing: 1px; }
.deadline-day   { font-size: 18px; font-weight: 700; line-height: 1; }
.deadline-info  { flex: 1; min-width: 0; }
.deadline-title { font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.deadline-proj  { font-size: 11px; color: var(--text-sec); }
.priority-badge {
  font-size: 10px; font-weight: 600; padding: 3px 8px; border-radius: 99px;
  text-transform: capitalize; white-space: nowrap; flex-shrink: 0;
}
.priority-high   { background: rgba(244,63,94,.15);   color: #f87171; }
.priority-medium { background: rgba(245,158,11,.15);  color: #fbbf24; }
.priority-low    { background: rgba(16,185,129,.15);  color: #34d399; }

/* ── Recent Projects Table ── */
.projects-table-wrap {
  background: var(--surface);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 24px;
}
.section-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--navy-border);
}
.section-title { font-size: 15px; font-weight: 600; }
.view-all-link { font-size: 12px; color: var(--indigo); }
.view-all-link:hover { text-decoration: underline; }

.ph-table { width: 100%; border-collapse: collapse; }
.ph-table th {
  padding: 10px 16px; text-align: left;
  font-size: 11px; font-weight: 600; text-transform: uppercase;
  letter-spacing: .5px; color: var(--text-sec);
  border-bottom: 1px solid var(--navy-border);
}
.ph-table td {
  padding: 12px 16px; font-size: 13px;
  border-bottom: 1px solid rgba(255,255,255,.04);
}
.ph-table tbody tr:last-child td { border-bottom: none; }
.ph-table tbody tr:hover td { background: rgba(255,255,255,.02); }

.proj-name-cell { display: flex; align-items: center; gap: 10px; }
.proj-icon {
  width: 28px; height: 28px; border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; flex-shrink: 0;
}
.manager-cell { display: flex; align-items: center; gap: 8px; }
.avatar-xs {
  width: 24px; height: 24px; border-radius: 50%;
  background: linear-gradient(135deg, var(--indigo), var(--violet));
  display: flex; align-items: center; justify-content: center;
  font-size: 9px; font-weight: 700; color: #fff; flex-shrink: 0;
}
.progress-cell { min-width: 120px; }
.progress-bar-wrap { display: flex; align-items: center; gap: 8px; }
.progress-track {
  flex: 1; height: 6px; background: var(--navy-border); border-radius: 99px; overflow: hidden;
}
.progress-fill { height: 100%; border-radius: 99px; background: var(--indigo); }
.progress-fill.green { background: var(--emerald); }
.progress-pct { font-size: 11px; color: var(--text-sec); min-width: 28px; text-align: right; }

.status-badge {
  display: inline-flex; align-items: center;
  font-size: 11px; font-weight: 600; padding: 3px 10px; border-radius: 99px;
}
.status-inprogress   { background: rgba(26,168,199,.15);  color: #5ec8de; }
.status-underreview  { background: rgba(245,158,11,.15);  color: #fbbf24; }
.status-notstarted   { background: rgba(148,163,184,.12); color: #94a3b8; }
.status-completed    { background: rgba(16,185,129,.15);  color: #34d399; }

.action-btn {
  background: none; border: none;
  color: var(--slate-500); font-size: 16px; padding: 4px 8px;
  border-radius: 4px; transition: all var(--transition);
}
.action-btn:hover { background: var(--navy-border); color: var(--text-primary); }

/* ── Bottom 2-col ── */
.dashboard-bottom {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 20px; margin-bottom: 24px;
}

/* ── Activity ── */
.activity-list { padding: 8px 0; }
.activity-item {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 10px 20px; position: relative;
  border-bottom: 1px solid rgba(255,255,255,.04);
  transition: background var(--transition);
}
.activity-item:last-child { border-bottom: none; }
.activity-item:hover { background: rgba(255,255,255,.03); }
.activity-avatar {
  width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; color: #fff; flex-shrink: 0; margin-top: 2px;
}
.activity-dot {
  position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  width: 8px; height: 8px; border-radius: 50%;
}
.activity-info { flex: 1; min-width: 0; }
.activity-user   { font-size: 13px; font-weight: 600; }
.activity-action { font-size: 12px; color: var(--text-sec); }
.activity-item-name { font-size: 12px; color: var(--indigo-lt); }
.activity-time { font-size: 11px; color: var(--slate-500); margin-top: 2px; }

/* ── Assigned Tasks ── */
.assigned-list { padding: 8px 0; }
.assigned-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 20px;
  border-bottom: 1px solid rgba(255,255,255,.04);
  transition: background var(--transition);
}
.assigned-item:last-child { border-bottom: none; }
.assigned-item:hover { background: rgba(255,255,255,.03); }
.assigned-left { min-width: 0; }
.assigned-title { font-size: 13px; font-weight: 600; }
.assigned-proj  { font-size: 11px; color: var(--text-sec); }
.assigned-due   { display: flex; align-items: center; gap: 6px; font-size: 12px; flex-shrink: 0; margin-left: 12px; }
.due-icon-high   { color: var(--rose); }
.due-icon-medium { color: var(--amber); }

/* ── Feature Cards ── */
.feature-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 16px; margin-bottom: 8px;
}
@media (max-width: 1100px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }

.feature-card {
  background: var(--surface); border: 1px solid var(--navy-border);
  border-radius: var(--radius); padding: 18px;
  display: flex; align-items: flex-start; gap: 14px;
  transition: border-color var(--transition), transform var(--transition);
  cursor: pointer;
}
.feature-card:hover { border-color: var(--indigo); transform: translateY(-2px); }
.feature-icon {
  width: 40px; height: 40px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; flex-shrink: 0;
}
.feature-icon.indigo  { background: rgba(26,168,199,.15); }
.feature-icon.violet  { background: rgba(21,147,173,.15);  }
.feature-icon.amber   { background: rgba(245,158,11,.15);  }
.feature-icon.emerald { background: rgba(16,185,129,.15);  }
.feature-info { min-width: 0; }
.feature-title { font-size: 13px; font-weight: 600; }
.feature-desc  { font-size: 11px; color: var(--text-sec); margin-top: 2px; }

/* ── Select filter ── */
.select-sm {
  background: var(--navy); border: 1px solid var(--navy-border);
  border-radius: var(--radius-sm); color: var(--text-primary);
  font-size: 12px; padding: 5px 10px; outline: none; cursor: pointer;
}

/* ============================================================
   KANBAN VIEW
   ============================================================ */
.kanban-board {
  display: grid;
  grid-template-columns: repeat(4, minmax(240px, 1fr));
  gap: 16px;
  padding-bottom: 24px;
  overflow-x: auto;
}

.kanban-col {
  background: var(--surface);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius);
  overflow: hidden;
}
.kanban-col-header {
  padding: 12px 14px;
  border-bottom: 1px solid var(--navy-border);
  display: flex; align-items: center; justify-content: space-between;
}
.kanban-col-title { font-size: 13px; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.kanban-count {
  background: var(--navy-border); color: var(--text-sec);
  font-size: 11px; padding: 1px 7px; border-radius: 99px; font-weight: 600;
}
.kanban-cards { padding: 10px; display: flex; flex-direction: column; gap: 10px; min-height: 120px; }
.kanban-card {
  background: var(--navy-mid); border: 1px solid var(--navy-border);
  border-radius: var(--radius-sm); padding: 12px;
  cursor: grab; transition: box-shadow var(--transition);
}
.kanban-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,.3); }
.kanban-card-title { font-size: 13px; font-weight: 600; margin-bottom: 8px; }
.kanban-card-meta  { display: flex; align-items: center; justify-content: space-between; font-size: 11px; color: var(--text-sec); }
.kanban-card-proj  { color: var(--indigo-lt); font-size: 11px; margin-bottom: 4px; }

/* ============================================================
   APPROVALS VIEW
   ============================================================ */
.approvals-grid {
  display: grid; grid-template-columns: 1fr; gap: 12px;
}
.approval-card {
  background: var(--surface); border: 1px solid var(--navy-border);
  border-radius: var(--radius); padding: 16px 20px;
  display: flex; align-items: center; gap: 16px;
  transition: transform var(--transition);
}
.approval-card:hover { transform: translateX(3px); border-color: var(--indigo); }
.approval-type-badge {
  font-size: 10px; font-weight: 600; padding: 3px 8px; border-radius: 4px;
  background: rgba(26,168,199,.15); color: var(--indigo-lt);
  min-width: 64px; text-align: center; flex-shrink: 0;
}
.approval-info  { flex: 1; min-width: 0; }
.approval-title { font-size: 14px; font-weight: 600; }
.approval-meta  { font-size: 12px; color: var(--text-sec); }
.approval-actions { display: flex; gap: 8px; flex-shrink: 0; }
.btn-approve { background: rgba(16,185,129,.2);  color: #34d399; border: none; padding: 6px 14px; border-radius: var(--radius-sm); font-size: 12px; font-weight: 600; transition: background var(--transition); }
.btn-approve:hover { background: rgba(16,185,129,.35); }
.btn-reject  { background: rgba(244,63,94,.15);   color: #f87171; border: none; padding: 6px 14px; border-radius: var(--radius-sm); font-size: 12px; font-weight: 600; transition: background var(--transition); }
.btn-reject:hover  { background: rgba(244,63,94,.3); }

/* ── Page header ── */
.page-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 20px;
}
.page-title { font-size: 22px; font-weight: 700; }
.btn-primary {
  display: flex; align-items: center; gap: 6px;
  background: linear-gradient(135deg, var(--indigo), var(--violet));
  color: #fff; border: none; padding: 9px 16px;
  border-radius: var(--radius-sm); font-size: 13px; font-weight: 600;
  transition: opacity var(--transition);
}
.btn-primary:hover { opacity: .85; }

/* ── Toast ── */
.toast {
  position: fixed; bottom: 24px; right: 24px;
  background: var(--surface); border: 1px solid var(--navy-border);
  border-radius: var(--radius); padding: 12px 18px;
  font-size: 13px; box-shadow: var(--shadow);
  transform: translateY(80px); opacity: 0;
  transition: all .3s ease; z-index: 9999;
  display: flex; align-items: center; gap: 10px;
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast.success { border-left: 3px solid var(--emerald); }
.toast.error   { border-left: 3px solid var(--rose); }

/* ── Empty / placeholder ── */
.placeholder-view {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; padding: 80px 20px; text-align: center; color: var(--text-sec);
}
.placeholder-view .ph-icon { font-size: 48px; margin-bottom: 16px; opacity: .4; }
.placeholder-view h3 { font-size: 18px; color: var(--text-primary); margin-bottom: 8px; }
.placeholder-view p  { font-size: 13px; max-width: 320px; }

/* ============================================================
   TENANT DETAIL PANEL
   ============================================================ */
#tenant-panel { transition: transform .25s ease; }
#tenant-panel.open { display: flex !important; }

/* Reuse login form-group inside panels */
.card-body .form-group { margin-bottom: 0; }
.card-body .form-group label {
  display: block; font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .5px;
  color: var(--text-sec); margin-bottom: 5px;
}
.card-body .form-group input,
.card-body .form-group select {
  width: 100%; padding: 9px 12px;
  background: var(--navy); border: 1px solid var(--navy-border);
  border-radius: var(--radius-sm); color: var(--text-primary);
  font-size: 13px; font-family: inherit; outline: none;
  transition: border-color var(--transition);
}
.card-body .form-group input:focus { border-color: var(--indigo); }

#change-password-page {
  display: flex; align-items: center; justify-content: center;
  min-height: 100vh;
  background: radial-gradient(ellipse at 60% 40%, #1e1b4b 0%, var(--navy) 70%);
}

/* ============================================================
   MODALS
   ============================================================ */
#modal-backdrop.open { display: flex !important; }

.ph-modal {
  background: var(--navy-mid);
  border: 1px solid var(--navy-border);
  border-radius: 14px;
  box-shadow: 0 32px 80px rgba(0,0,0,.6);
  overflow: hidden;
  animation: modalIn .18s ease;
}
@keyframes modalIn {
  from { opacity:0; transform:translateY(-12px) scale(.97); }
  to   { opacity:1; transform:translateY(0)    scale(1);    }
}

.modal-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 22px;
  border-bottom: 1px solid var(--navy-border);
}
.modal-title { font-size: 16px; font-weight: 700; }
.modal-close {
  background: none; border: none;
  color: var(--text-sec); font-size: 18px; cursor: pointer;
  padding: 4px 8px; border-radius: 4px;
  transition: background var(--transition);
}
.modal-close:hover { background: rgba(255,255,255,.07); }

.modal-body {
  padding: 20px 22px;
  display: flex; flex-direction: column; gap: 14px;
}

.modal-footer {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  border-top: 1px solid var(--navy-border);
}
.modal-btn-cancel {
  background: none; border: 1px solid var(--navy-border);
  color: var(--text-sec); padding: 9px 16px; border-radius: var(--radius-sm);
  font-size: 13px; font-weight: 500;
  transition: all var(--transition);
}
.modal-btn-cancel:hover { border-color: var(--text-sec); color: var(--text-primary); }

/* Context menu */
.ctx-item {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 16px; font-size: 13px; cursor: pointer;
  transition: background var(--transition);
  color: var(--text-primary);
}
.ctx-item:hover { background: rgba(255,255,255,.06); }
.ctx-item.danger { color: var(--rose); }
.ctx-item.danger:hover { background: rgba(244,63,94,.1); }
.ctx-divider { height: 1px; background: var(--navy-border); margin: 4px 0; }

/* ── Kanban drag-and-drop ── */
.kanban-card.dragging {
  opacity: .4;
  transform: rotate(2deg);
  cursor: grabbing;
}
.kanban-cards.drag-over {
  background: rgba(26,168,199,.08);
  border-radius: var(--radius-sm);
  outline: 2px dashed var(--indigo);
  outline-offset: -2px;
}

/* ============================================================
   GANTT / TIMELINE
   ============================================================ */
.gantt-wrap { min-width: 900px; }
.gantt-header { display: flex; border-bottom: 1px solid var(--navy-border); }
.gantt-label-col { width: 220px; flex-shrink: 0; padding: 10px 16px; font-size: 11px; font-weight: 600; text-transform: uppercase; color: var(--text-sec); }
.gantt-dates { flex: 1; display: flex; }
.gantt-date-cell { flex: 1; text-align: center; font-size: 11px; color: var(--text-sec); padding: 10px 4px; border-left: 1px solid rgba(255,255,255,.05); white-space: nowrap; }
.gantt-date-cell.today { color: var(--indigo-lt); font-weight: 700; background: rgba(26,168,199,.08); }

.gantt-row { display: flex; border-bottom: 1px solid rgba(255,255,255,.04); min-height: 40px; align-items: center; }
.gantt-row:hover { background: rgba(255,255,255,.02); }
.gantt-row.project-row { background: rgba(26,168,199,.06); }
.gantt-row-label { width: 220px; flex-shrink: 0; padding: 8px 16px; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gantt-row-label.task-label { padding-left: 32px; font-size: 12px; color: var(--text-sec); }
.gantt-track { flex: 1; position: relative; height: 40px; }
.gantt-bar {
  position: absolute; height: 20px; top: 10px; border-radius: 4px;
  display: flex; align-items: center; padding: 0 8px;
  font-size: 11px; font-weight: 600; color: #fff; white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis; min-width: 4px;
  transition: opacity .15s;
}
.gantt-bar:hover { opacity: .85; }
.gantt-today-line {
  position: absolute; top: 0; bottom: 0; width: 2px;
  background: var(--indigo); opacity: .7; pointer-events: none;
  z-index: 2;
}

/* ============================================================
   CALENDAR
   ============================================================ */
.cal-cell {
  min-height: 100px; padding: 6px;
  border-right: 1px solid rgba(255,255,255,.05);
  border-bottom: 1px solid rgba(255,255,255,.05);
  vertical-align: top; position: relative;
}
.cal-cell:nth-child(7n) { border-right: none; }
.cal-day-num {
  font-size: 12px; font-weight: 600;
  width: 24px; height: 24px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 4px;
}
.cal-day-num.today { background: var(--indigo); color: #fff; }
.cal-day-num.other-month { color: var(--slate-500); }
.cal-event {
  font-size: 11px; padding: 2px 6px; border-radius: 3px;
  margin-bottom: 2px; cursor: pointer; white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis;
  transition: opacity .15s;
}
.cal-event:hover { opacity: .8; }
.cal-event.high   { background: rgba(244,63,94,.2);  color: #f87171; }
.cal-event.medium { background: rgba(26,168,199,.2); color: #5ec8de; }
.cal-event.low    { background: rgba(16,185,129,.2); color: #34d399; }

/* ============================================================
   TIMESHEETS
   ============================================================ */
.ts-cell {
  text-align: center; cursor: pointer; position: relative;
  transition: background var(--transition);
}
.ts-cell:hover { background: rgba(26,168,199,.1); }
.ts-cell input {
  width: 56px; padding: 5px; text-align: center;
  background: var(--navy); border: 1px solid var(--indigo);
  border-radius: 4px; color: var(--text-primary);
  font-size: 13px; outline: none;
}
.ts-hours { font-size: 13px; font-weight: 500; color: var(--text-primary); }
.ts-hours.has-hours { color: var(--indigo-lt); }
.ts-hours.empty { color: var(--slate-500); font-size: 11px; }
.ts-total { font-weight: 700; color: var(--indigo-lt); }
.ts-weekend { background: rgba(255,255,255,.02); }

/* ============================================================
   APPROVALS
   ============================================================ */
.appr-tab {
  background: none; border: none; border-bottom: 2px solid transparent;
  color: var(--text-sec); font-size: 13px; font-weight: 500;
  padding: 8px 16px; cursor: pointer; transition: all var(--transition);
  margin-bottom: -1px;
}
.appr-tab:hover  { color: var(--text-primary); }
.appr-tab.active { color: var(--indigo-lt); border-bottom-color: var(--indigo); }

.approval-card {
  background: var(--surface); border: 1px solid var(--navy-border);
  border-radius: var(--radius); padding: 16px 20px;
  display: flex; align-items: center; gap: 16px;
  transition: border-color var(--transition), transform var(--transition);
  margin-bottom: 10px;
}
.approval-card:hover { border-color: var(--indigo); transform: translateX(3px); }

.approval-type-badge {
  font-size: 10px; font-weight: 600; padding: 3px 8px; border-radius: 4px;
  background: rgba(26,168,199,.15); color: var(--indigo-lt);
  min-width: 64px; text-align: center; flex-shrink: 0;
}
.approval-info  { flex: 1; min-width: 0; }
.approval-title { font-size: 14px; font-weight: 600; }
.approval-meta  { font-size: 12px; color: var(--text-sec); margin-top: 2px; }

.btn-approve { background:rgba(16,185,129,.2);  color:#34d399; border:none; padding:6px 14px; border-radius:var(--radius-sm); font-size:12px; font-weight:600; cursor:pointer; transition:background var(--transition); }
.btn-approve:hover { background:rgba(16,185,129,.35); }
.btn-reject  { background:rgba(244,63,94,.15);   color:#f87171; border:none; padding:6px 14px; border-radius:var(--radius-sm); font-size:12px; font-weight:600; cursor:pointer; transition:background var(--transition); }
.btn-reject:hover  { background:rgba(244,63,94,.3); }

.template-card {
  background: var(--surface); border: 1px solid var(--navy-border);
  border-radius: var(--radius); padding: 14px 18px;
  display: flex; align-items: center; gap: 14px; margin-bottom: 8px;
  cursor: pointer; transition: border-color var(--transition);
}
.template-card:hover { border-color: var(--indigo); }

/* ============================================================
   TEAM
   ============================================================ */
.team-card {
  background: var(--surface); border: 1px solid var(--navy-border);
  border-radius: var(--radius); padding: 20px;
  display: flex; flex-direction: column; gap: 14px;
  cursor: pointer; transition: transform var(--transition), border-color var(--transition);
}
.team-card:hover { transform: translateY(-3px); border-color: var(--indigo); }

.team-avatar {
  width: 52px; height: 52px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 700; color: #fff; flex-shrink: 0;
}
.team-member-tasks .task-chip {
  font-size: 11px; padding: 3px 8px; border-radius: 4px;
  background: rgba(26,168,199,.12); color: var(--indigo-lt);
  margin: 2px 0; display: block; white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis;
}

/* ============================================================
   WORKLOAD
   ============================================================ */
.workload-row {
  background: var(--surface); border: 1px solid var(--navy-border);
  border-radius: var(--radius); padding: 18px 22px;
}
.workload-header { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.workload-name   { font-size: 14px; font-weight: 600; flex: 1; }
.workload-stats  { display: flex; gap: 16px; font-size: 12px; color: var(--text-sec); }
.workload-stat   { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.workload-stat strong { font-size: 16px; font-weight: 700; color: var(--text-primary); }

.workload-bars { display: flex; flex-direction: column; gap: 8px; }
.workload-bar-row { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--text-sec); }
.workload-bar-label { width: 120px; flex-shrink: 0; }
.workload-bar-track { flex: 1; height: 8px; background: var(--navy-border); border-radius: 99px; overflow: hidden; }
.workload-bar-fill  { height: 100%; border-radius: 99px; transition: width .5s ease; }
.workload-bar-val   { width: 60px; text-align: right; }

/* ── Toggle switch ── */
.toggle-track {
  position: absolute; inset: 0; border-radius: 99px;
  background: var(--navy-border); transition: background .2s;
}
.toggle-track::after {
  content: ''; position: absolute; top: 3px; left: 3px;
  width: 18px; height: 18px; border-radius: 50%;
  background: #fff; transition: transform .2s;
}
input:checked + .toggle-track { background: var(--indigo); }
input:checked + .toggle-track::after { transform: translateX(20px); }

/* ── Integration card ── */
.integration-card {
  background: var(--surface); border: 1px solid var(--navy-border);
  border-radius: var(--radius); padding: 16px 20px;
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 10px;
  transition: border-color var(--transition);
}
.integration-card:hover { border-color: var(--indigo); }
.integration-card.inactive { opacity: .5; }
.int-type-badge {
  font-size: 11px; font-weight: 700; padding: 4px 10px;
  border-radius: 4px; text-transform: uppercase; flex-shrink: 0;
}
.int-type-slack   { background: rgba(74,144,226,.2);  color: #93c5fd; }
.int-type-webhook { background: rgba(26,168,199,.2);  color: #5ec8de; }

/* ============================================================
   LIGHT MODE
   ============================================================ */
body.light-mode {
  --navy:        #f1f5f9;
  --navy-mid:    #ffffff;
  --navy-border: #e2e8f0;
  --surface:     #f8fafc;
  --surface-2:   #f1f5f9;
  --text-primary:#0f172a;
  --text-sec:    #64748b;
  --slate-400:   #94a3b8;
  --slate-500:   #64748b;
}
body.light-mode .sidebar   { background: #fff; }
body.light-mode .topbar    { background: #fff; }
body.light-mode .ph-modal  { background: #fff; }
body.light-mode .stat-card { background: #fff; }
body.light-mode .card      { background: #fff; }
body.light-mode #login-page,
body.light-mode #change-password-page { background: #e2e8f0; }
body.light-mode .login-card { background: #fff; }
body.light-mode .kanban-card { background: #f8fafc; }
body.light-mode #ctx-menu { background: #fff; }
body.light-mode #notif-panel,
body.light-mode #msg-panel { background: #fff; }

/* ============================================================
   NOTIFICATIONS
   ============================================================ */
.notif-item {
  display: flex; gap: 12px; padding: 12px 18px;
  border-bottom: 1px solid var(--navy-border);
  cursor: pointer; transition: background var(--transition);
  position: relative;
}
.notif-item:hover  { background: rgba(255,255,255,.04); }
.notif-item.unread { background: rgba(26,168,199,.06); }
.notif-item.unread::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px; background: var(--indigo); border-radius: 0 2px 2px 0;
}
.notif-icon {
  width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 16px;
}
.notif-content { flex: 1; min-width: 0; }
.notif-title   { font-size: 13px; font-weight: 600; }
.notif-body    { font-size: 12px; color: var(--text-sec); margin-top: 2px; }
.notif-time    { font-size: 11px; color: var(--slate-500); margin-top: 3px; }

/* ============================================================
   MESSAGES
   ============================================================ */
.msg-convo-item {
  display: flex; gap: 10px; padding: 12px 18px;
  border-bottom: 1px solid var(--navy-border);
  cursor: pointer; transition: background var(--transition);
}
.msg-convo-item:hover  { background: rgba(255,255,255,.04); }
.msg-convo-item.unread { background: rgba(26,168,199,.06); }
.msg-convo-preview { font-size:12px; color:var(--text-sec); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.msg-convo-time    { font-size:11px; color:var(--slate-500); white-space:nowrap; }

.msg-bubble {
  max-width: 75%; padding: 8px 12px; border-radius: 12px;
  font-size: 13px; line-height: 1.5; word-break: break-word;
}
.msg-bubble.mine  { background: var(--indigo); color: #fff; align-self: flex-end; border-bottom-right-radius: 3px; }
.msg-bubble.theirs { background: var(--navy-border); color: var(--text-primary); align-self: flex-start; border-bottom-left-radius: 3px; }
.msg-meta { font-size: 10px; color: var(--slate-500); margin-top: 2px; }
.msg-meta.mine  { text-align: right; }

/* ============================================================
   RESPONSIVE — MOBILE & TABLET
   ============================================================ */

/* Hamburger button — hidden on desktop */
.hamburger-btn {
  display: none;
  background: none; border: none;
  color: var(--text-primary); font-size: 20px;
  cursor: pointer; padding: 4px 8px; margin-right: 8px;
  border-radius: 6px; line-height: 1;
  transition: background var(--transition);
}
.hamburger-btn:hover { background: rgba(255,255,255,.08); }

/* Session timeout warning banner */
#session-warning {
  position: fixed; top: 0; left: 0; right: 0; z-index: 9999;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #000; padding: 10px 20px;
  display: none; align-items: center; justify-content: space-between;
  font-size: 13px; font-weight: 600;
}
#session-warning.show { display: flex; }

/* ── Tablet (≤ 1024px) ── */
@media (max-width: 1024px) {
  :root { --sidebar-w: 200px; }

  .stat-grid { grid-template-columns: repeat(3, 1fr) !important; }
  .dashboard-grid { grid-template-columns: 1fr 1fr !important; }
  .dashboard-bottom { grid-template-columns: 1fr !important; }
  .feature-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .kanban-board { grid-template-columns: repeat(2, minmax(220px, 1fr)) !important; }
}

/* ── Mobile (≤ 768px) ── */
@media (max-width: 768px) {
  :root { --sidebar-w: 260px; --topbar-h: 56px; }

  /* Hamburger visible */
  .hamburger-btn { display: block; }

  /* Sidebar slides in/out */
  .sidebar {
    transform: translateX(-100%);
    transition: transform .25s ease;
    z-index: 100;
  }
  .sidebar.open {
    transform: translateX(0);
    box-shadow: 4px 0 24px rgba(0,0,0,.4);
  }
  #sidebar-overlay { z-index: 99; }

  /* Main content fills full width */
  .main-content {
    margin-left: 0 !important;
    padding: 16px;
  }

  /* Topbar full width */
  .topbar {
    left: 0 !important;
    padding: 0 12px;
    gap: 8px;
  }
  .topbar-welcome { display: none; }
  .topbar-search { max-width: none; flex: 1; }
  .search-kbd { display: none; }
  .user-chip-info { display: none; }

  /* Stat grid single column */
  .stat-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .stat-value { font-size: 22px !important; }

  /* Dashboard grid stack */
  .dashboard-grid { grid-template-columns: 1fr !important; }
  .dashboard-bottom { grid-template-columns: 1fr !important; }

  /* Feature grid 2 col */
  .feature-grid { grid-template-columns: repeat(2, 1fr) !important; }

  /* Kanban single column */
  .kanban-board { grid-template-columns: 1fr !important; min-width: unset !important; }

  /* Tables scroll horizontally */
  .projects-table-wrap { overflow-x: auto; }
  .ph-table { min-width: 600px; }

  /* Modal full width */
  .ph-modal { width: calc(100vw - 32px) !important; margin: 16px; }

  /* Tenant/team panels full width */
  #tenant-panel,
  #team-panel { width: 100% !important; }

  /* Reports grid stack */
  #view-reports > div[style*="grid-template-columns:1fr 1fr"] {
    display: flex !important; flex-direction: column !important;
  }

  /* Topbar panels full width */
  #notif-panel,
  #msg-panel,
  #help-panel { right: 8px !important; left: 8px !important; width: auto !important; }

  /* User dropdown */
  #user-menu-dropdown { right: 8px !important; left: 8px !important; }

  /* Timesheets scroll */
  #ts-table { min-width: 700px; }

  /* Gantt scroll */
  .gantt-wrap { min-width: 600px; }

  /* Page header wrap on mobile */
  .page-header { flex-wrap: wrap; gap: 10px; }
  .page-header h1 { font-size: 18px; }
}

/* ── Small mobile (≤ 480px) ── */
@media (max-width: 480px) {
  .stat-grid { grid-template-columns: 1fr 1fr !important; }
  .feature-grid { grid-template-columns: 1fr !important; }
  .topbar-btn:not(#btn-help) { display: none; }
  .topbar-actions { gap: 4px; }
}

/* ============================================================
   RESPONSIVE CARD FIXES
   ============================================================ */

/* Stat cards — always wrap cleanly */
.stat-card { min-width: 0; }
.stat-value { font-size: clamp(20px, 4vw, 28px); }

/* Dashboard grid — don't overflow on medium screens */
@media (max-width: 1200px) {
  .dashboard-grid {
    grid-template-columns: 1fr 300px !important;
  }
}
@media (max-width: 1024px) {
  .dashboard-grid {
    grid-template-columns: 1fr !important;
  }
  .dashboard-grid > .card[style*="grid-row:span 2"] {
    grid-row: auto !important;
  }
}

/* Kanban cards on mobile */
@media (max-width: 768px) {
  .kanban-board {
    grid-template-columns: 1fr !important;
    overflow-x: visible !important;
  }
  .kanban-col { min-width: 0; }

  /* Approval cards stack */
  .approval-card {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 10px;
  }
  .approval-card > div:last-child {
    align-self: flex-end;
  }

  /* Team grid single column on mobile */
  #team-grid {
    grid-template-columns: 1fr !important;
  }

  /* Workload bars label shorter */
  .workload-bar-label { width: 80px !important; font-size: 11px; }
  .workload-stats { gap: 8px !important; flex-wrap: wrap; }

  /* Stat grid */
  .stat-grid {
    grid-template-columns: 1fr 1fr !important;
  }

  /* Reports charts stack */
  #view-reports > div > .card { width: 100%; }

  /* Deadline items wrap */
  .deadline-item { flex-wrap: wrap; gap: 6px; }

  /* Activity dots hide */
  .activity-dot { display: none; }

  /* Login card full width */
  .login-card { width: calc(100vw - 32px) !important; padding: 24px 20px; }

  /* Platform stats 2 col */
  #view-platform .stat-grid { grid-template-columns: 1fr 1fr !important; }

  /* Timesheet table */
  #ts-thead th, #ts-tbody td, #ts-tfoot td {
    padding: 6px 4px !important;
    font-size: 11px !important;
  }
}

/* Fix topbar on mobile to not overflow */
@media (max-width: 480px) {
  .topbar { padding: 0 8px; gap: 6px; }
  #topbar-title { font-size: 15px; }
  .stat-grid { grid-template-columns: 1fr 1fr !important; }
  .stat-value { font-size: 20px !important; }

  /* Hide secondary topbar buttons on very small screens */
  .topbar-btn[title="Help"],
  .topbar-btn[title="Notifications"],
  .topbar-btn[title="Messages"] {
    width: 30px; height: 30px; font-size: 13px;
  }
}

/* ── Ensure feature-cards never overflow ── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}

/* ── Cards always shrink on small screens ── */
.ph-modal {
  max-width: calc(100vw - 32px);
  max-height: calc(100vh - 80px);
  overflow-y: auto;
}

/* Bulk actions */
.task-checkbox, #bulk-select-all {
  width: 16px; height: 16px; accent-color: var(--indigo); cursor: pointer;
}
#bulk-action-bar select.select-sm {
  background: var(--navy); border: 1px solid var(--navy-border);
  color: var(--text-primary); border-radius: 6px;
}

/* ── Subscription locked state ──────────────────────────────── */
/* When an org is expired or suspended, all write actions are   */
/* disabled. Navigation, read views, and logout still work.     */
[data-subscription="locked"] .btn-primary,
[data-subscription="locked"] .btn-login,
[data-subscription="locked"] button[onclick*="save"],
[data-subscription="locked"] button[onclick*="Save"],
[data-subscription="locked"] button[onclick*="create"],
[data-subscription="locked"] button[onclick*="Create"],
[data-subscription="locked"] button[onclick*="invite"],
[data-subscription="locked"] button[onclick*="Invite"],
[data-subscription="locked"] button[onclick*="delete"],
[data-subscription="locked"] button[onclick*="Delete"],
[data-subscription="locked"] #btn-new-project,
[data-subscription="locked"] #btn-new-task,
[data-subscription="locked"] #btn-kanban-add-card,
[data-subscription="locked"] .kanban-card {
  opacity: 0.35 !important;
  pointer-events: none !important;
  cursor: not-allowed !important;
}
[data-subscription="locked"] .kanban-col-add,
[data-subscription="locked"] .bulk-action-bar,
[data-subscription="locked"] #bulk-action-bar {
  display: none !important;
}
