body {
  font-family: "Segoe UI", Tahoma, sans-serif;
  background: #f4f6fb;
}

.icon-brand { color: #2563eb; }
.icon-dashboard { color: #0ea5e9; }
.icon-project { color: #f59e0b; }
.icon-card { color: #10b981; }
.icon-admin { color: #ef4444; }
.icon-security { color: #7c3aed; }
.icon-neutral { color: #475569; }

.hidden {
  display: none !important;
}

.auth-screen {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 20px;
}

.auth-card {
  width: min(560px, 96vw);
  border-radius: 16px;
}

.app-shell {
  display: grid;
  grid-template-columns: 230px 1fr;
  min-height: 100vh;
}

.sidebar {
  border-right: 1px solid #dbe3ef;
  background: #fff;
  padding: 16px;
}

.main-area {
  padding: 16px;
}

.top-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid #dbe3ef;
  background: #fff;
}

.board {
  display: grid;
  grid-template-columns: repeat(4, minmax(220px, 1fr));
  gap: 12px;
}

.column {
  border: 1px solid #dbe3ef;
  border-radius: 10px;
  background: #fff;
  padding: 10px;
}

.dropzone {
  min-height: 280px;
  display: grid;
  gap: 8px;
}

.kanban-card {
  border: 1px solid #dbe3ef;
  border-left: 6px solid #cbd5e1;
  border-radius: 8px;
  background: #fff;
  padding: 8px;
  cursor: grab;
}

.card-clip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: #475569;
  margin-left: 6px;
}

.kanban-card.priority-low {
  border-left-color: #22c55e;
}

.kanban-card.priority-medium {
  border-left-color: #f59e0b;
}

.kanban-card.priority-high {
  border-left-color: #ef4444;
}

.kanban-card.dragging {
  opacity: 0.5;
}

.kanban-card .actions {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 6px;
}

.card-attachments {
  margin-top: 8px;
  display: grid;
  gap: 6px;
}

.attachment-item {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 6px;
  background: #f8fafc;
}

.attachment-item img,
.attachment-item video {
  width: 100%;
  max-height: 180px;
  object-fit: contain;
  border-radius: 6px;
  background: #fff;
}

.attachment-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 6px;
}

.detail-attachments {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 8px;
}

.detail-attachments .attachment-item {
  margin: 0;
}

.dashboard-row,
.pending-user-item,
.admin-user-item,
.project-item-row {
  border: 1px solid #dbe3ef;
  border-radius: 8px;
  background: #fff;
  padding: 8px;
  margin-bottom: 8px;
}

.project-item-row.active {
  border-color: #3b82f6;
  background: #eff6ff;
}

@media (max-width: 980px) {
  .app-shell {
    grid-template-columns: 1fr;
  }

  .board {
    grid-template-columns: 1fr;
  }
}
