/* ================================================================
   KST Task Manager — Custom Styles
   ================================================================ */

/* -- Base ----------------------------------------------------------*/
body {
  background-color: #f5f6fa;
  font-size: 0.925rem;
}

.container-fluid {
  max-width: 1600px;
}

/* -- Navbar --------------------------------------------------------*/
.navbar-brand {
  font-size: 1.1rem;
  letter-spacing: 0.5px;
}

/* -- Cards ---------------------------------------------------------*/
.card {
  border-radius: 10px;
}

.card-header {
  border-radius: 10px 10px 0 0 !important;
}

/* -- Avatar --------------------------------------------------------*/
.avatar-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* -- Kanban Board --------------------------------------------------*/
.kanban-board {
  min-height: calc(100vh - 240px);
  padding-bottom: 20px;
  align-items: flex-start;
}

.kanban-column {
  width: 280px;
  min-width: 280px;
  display: flex;
  flex-direction: column;
}

.kanban-col-header {
  font-size: 0.875rem;
  border-radius: 8px 8px 0 0;
  position: sticky;
  top: 0;
  z-index: 1;
}

.kanban-tasks {
  min-height: 80px;
  border-radius: 0;
  background: #f8f9fa;
  border-left: 1px solid #dee2e6;
  border-right: 1px solid #dee2e6;
  flex: 1;
}

.kanban-col-footer {
  border-top: 1px solid #dee2e6;
}

.kanban-card {
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
  border-radius: 8px !important;
  font-size: 0.875rem;
}

.kanban-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1) !important;
}

.kanban-ghost {
  opacity: 0.4;
  background: #cfe2ff;
  border: 2px dashed #0d6efd;
}

/* -- Dot indicator -------------------------------------------------*/
.dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  vertical-align: middle;
}

/* -- Tables --------------------------------------------------------*/
.table > :not(caption) > * > * {
  padding: 0.6rem 0.75rem;
}

/* -- Priority badges -----------------------------------------------*/
.badge {
  font-weight: 500;
}

/* -- Admin icon box ------------------------------------------------*/
.icon-box {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* -- Color swatch --------------------------------------------------*/
.color-swatch {
  border: 2px solid rgba(0,0,0,0.15);
}

/* -- Footer --------------------------------------------------------*/
.footer {
  margin-top: 3rem;
}

/* -- Scrollbar (webkit) -------------------------------------------*/
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: #f1f1f1; border-radius: 3px; }
::-webkit-scrollbar-thumb { background: #c1c1c1; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #888; }

/* -- Responsive ----------------------------------------------------*/
@media (max-width: 767px) {
  .kanban-column { width: 240px; min-width: 240px; }
  .container-fluid { padding-left: 0.75rem; padding-right: 0.75rem; }
}
