/* ─── Design tokens (aligned with Grade Analytics) ─── */
.bsplus-overview-host,
.bsplus-overview-root,
#grid-view-container.bsplus-overview-root {
  --bsplus-overview-radius: 16px;
  --bsplus-overview-radius-sm: 12px;
  --bsplus-overview-ease: cubic-bezier(0.4, 0, 0.2, 1);
  --bsplus-overview-surface: var(--background-primary, #ffffff);
  --bsplus-overview-surface-2: var(--background-secondary, #f8fafc);
  --bsplus-overview-text: var(--text-primary, #1a1a1a);
  --bsplus-overview-muted: color-mix(
    in srgb,
    var(--bsplus-overview-text) 55%,
    transparent
  );
  --bsplus-overview-border: color-mix(
    in srgb,
    var(--theme-offset-bg, var(--background-secondary, #e2e8f0)) 78%,
    transparent
  );
  --bsplus-overview-shadow: 0 5px 16px 6px rgba(0, 0, 0, 0.08);
  --bsplus-overview-shadow-hover: 0 8px 24px 8px rgba(0, 0, 0, 0.12);
  --bsplus-overview-accent: var(--better-main, #007bff);
}

.bsplus-overview-root.dark {
  --bsplus-overview-shadow: 0 5px 20px 6px rgba(0, 0, 0, 0.35);
  --bsplus-overview-shadow-hover: 0 10px 28px 10px rgba(0, 0, 0, 0.45);
}

@keyframes bsplus-overview-fade-in-up {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.99);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.bsplus-overview-animate {
  animation: bsplus-overview-fade-in-up 0.5s var(--bsplus-overview-ease) forwards;
}

@media (prefers-reduced-motion: reduce) {
  .bsplus-overview-animate {
    animation: none;
  }
}

.bsplus-overview-delay-1 {
  animation-delay: 80ms;
}

.bsplus-overview-icon {
  flex-shrink: 0;
}

#grid-view-container,
.bsplus-overview-root {
  background: transparent;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  width: 100%;
  min-height: min(100%, calc(100vh - 6rem));
  box-sizing: border-box;
  padding: 1.5rem 1.25rem 2rem;
  font-family: Rubik, system-ui, sans-serif;
  font-size: 0.875rem;
  color: var(--bsplus-overview-text);
  gap: 1.25rem;
}

.grid-view-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.25rem;
  flex-shrink: 0;
  padding: 0;
}

.grid-view-header-text {
  min-width: 0;
}

.grid-view-title {
  font-size: 1.875rem !important;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--bsplus-overview-text);
  margin: 0 0 0.35rem;
}

.grid-view-subtitle {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--bsplus-overview-muted);
}

.grid-view-filters,
.bsplus-overview-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  padding: 0.85rem 1rem;
  border-radius: var(--bsplus-overview-radius);
  background: var(--bsplus-overview-surface);
  border: 1px solid var(--bsplus-overview-border);
  box-shadow: var(--bsplus-overview-shadow);
}

.filter-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background: var(--bsplus-overview-surface-2) !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%2364748b'%3E%3Cpath fill-rule='evenodd' d='M5.23 7.21a.75.75 0 0 1 1.06.02L10 11.168l3.71-3.938a.75.75 0 1 1 1.08 1.04l-4.25 4.5a.75.75 0 0 1-1.08 0l-4.25-4.5a.75.75 0 0 1 .02-1.06Z' clip-rule='evenodd'/%3E%3C/svg%3E") !important;
  background-position: right 0.75rem center !important;
  background-repeat: no-repeat !important;
  background-size: 1rem !important;
  border: 2px solid var(--bsplus-overview-border);
  border-radius: var(--bsplus-overview-radius-sm);
  color: var(--bsplus-overview-text);
  color-scheme: light;
  padding: 0.65rem 2.25rem 0.65rem 0.9rem;
  font-size: 0.875rem;
  font-weight: 500;
  font-family: inherit;
  line-height: 1.2;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s var(--bsplus-overview-ease);
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  min-width: 11rem;
  min-height: 2.75rem;
}

.filter-select::-ms-expand {
  display: none;
}

.filter-select option {
  background: var(--bsplus-overview-surface);
  color: var(--bsplus-overview-text);
}

.filter-select:focus {
  outline: none;
  border-color: var(--bsplus-overview-accent);
  box-shadow: 0 0 0 3px
    color-mix(in srgb, var(--bsplus-overview-accent) 22%, transparent);
}

.filter-select:hover {
  border-color: color-mix(
    in srgb,
    var(--bsplus-overview-accent) 35%,
    var(--bsplus-overview-border)
  );
}

.dark .filter-select {
  background: var(--bsplus-overview-surface-2) !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='rgba(255,255,255,0.72)'%3E%3Cpath fill-rule='evenodd' d='M5.23 7.21a.75.75 0 0 1 1.06.02L10 11.168l3.71-3.938a.75.75 0 1 1 1.08 1.04l-4.25 4.5a.75.75 0 0 1-1.08 0l-4.25-4.5a.75.75 0 0 1 .02-1.06Z' clip-rule='evenodd'/%3E%3C/svg%3E") !important;
  color-scheme: dark;
}

.dark .filter-select option {
  background: var(--bsplus-overview-surface);
  color: var(--bsplus-overview-text);
}

.bsplus-overview-page {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  flex: 1;
  min-height: 0;
}

#main-grid-content {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

/* Kanban Board Layout */
.kanban-board {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  padding: 1rem;
  flex: 0 1 auto;
}

.kanban-column-parent {
  flex: 0 0 320px;
}

.kanban-column {
  max-height: 100%;
  background: color-mix(in srgb, var(--bsplus-overview-surface-2) 88%, transparent);
  border-radius: var(--bsplus-overview-radius);
  display: flex;
  flex-direction: column;
  min-height: 0;
  border: 1px solid var(--bsplus-overview-border);
  box-shadow: var(--bsplus-overview-shadow);
  overflow: hidden;
  transition:
    box-shadow 0.25s var(--bsplus-overview-ease),
    transform 0.25s var(--bsplus-overview-ease);
}

.kanban-column:hover {
  box-shadow: var(--bsplus-overview-shadow-hover);
}

.column-header {
  padding: 1rem 1.15rem;
  border-bottom: 1px solid var(--bsplus-overview-border);
  border-radius: var(--bsplus-overview-radius) var(--bsplus-overview-radius) 0 0;
  position: sticky;
  top: 0;
  z-index: 10;
}

.column-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--bsplus-overview-text);
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.column-title-main {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
}

.column-count {
  background: color-mix(in srgb, var(--bsplus-overview-muted) 18%, transparent);
  color: var(--bsplus-overview-muted);
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  flex-shrink: 0;
}

.column-cards {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-height: 0;
  overflow-y: auto;
}

/* Assessment Cards */
.assessment-card {
  background: var(--bsplus-overview-surface);
  border-radius: var(--bsplus-overview-radius-sm);
  padding: 1rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  transition:
    transform 0.2s var(--bsplus-overview-ease),
    box-shadow 0.2s var(--bsplus-overview-ease),
    border-color 0.2s ease;
  cursor: pointer;
  position: relative;
  border: 1px solid var(--bsplus-overview-border);
  border-left: 4px solid var(--subject-color, var(--bsplus-overview-accent));
}

.assessment-card:hover {
  box-shadow: var(--bsplus-overview-shadow-hover);
  transform: translateY(-2px);
  border-color: color-mix(
    in srgb,
    var(--bsplus-overview-accent) 22%,
    var(--bsplus-overview-border)
  );
}

.card-labels {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

.card-label {
  padding: 0.25rem 0.75rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.025em;
}

.label-subject {
  background: color-mix(in srgb, var(--subject-color, var(--bsplus-overview-accent)) 88%, transparent);
}

.label-student {
  background: rgba(99, 102, 241, 0.9);
  text-transform: none;
}

.dark .label-student {
  background: rgba(99, 102, 241, 0.75);
}

.card-menu {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 20;
}

.menu-button {
  background: transparent !important;
  border: none !important;
  padding: 0.25rem !important;
  cursor: pointer;
  border-radius: 8px;
  color: var(--bsplus-overview-muted);
  transition:
    background 0.2s ease,
    color 0.2s ease,
    transform 0.2s var(--bsplus-overview-ease);
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 28px !important;
  height: 28px !important;
  margin: 0 !important;
  position: static !important;
  transform: none !important;
  box-shadow: none !important;
  outline: none !important;
}

.menu-button:hover {
  background: color-mix(
    in srgb,
    var(--bsplus-overview-surface-2) 90%,
    transparent
  ) !important;
  color: var(--bsplus-overview-text);
  transform: scale(1.05) !important;
}

.menu-button:focus-visible {
  box-shadow: 0 0 0 2px
    color-mix(in srgb, var(--bsplus-overview-accent) 35%, transparent) !important;
}

.menu-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  background: var(--bsplus-overview-surface);
  border: 1px solid var(--bsplus-overview-border);
  border-radius: var(--bsplus-overview-radius-sm);
  box-shadow: var(--bsplus-overview-shadow-hover);
  min-width: 160px;
  z-index: 30;
  margin-top: 4px;
  padding: 0.25rem;
}

.menu-item {
  display: block;
  width: 100%;
  padding: 0.5rem 0.75rem;
  background: transparent;
  border: none;
  text-align: left;
  cursor: pointer;
  font-size: 0.8125rem;
  color: var(--bsplus-overview-text);
  transition: background-color 0.15s ease;
  white-space: nowrap;
  border-radius: 8px;
}

.menu-item:hover {
  background: color-mix(
    in srgb,
    var(--bsplus-overview-surface-2) 90%,
    transparent
  );
}

.menu-item.mark-completed {
  color: #059669;
  font-weight: 500;
}

.dark .menu-item.mark-completed {
  color: #10b981;
}

.menu-item.mark-not-completed {
  color: #dc2626;
  font-weight: 500;
}

.dark .menu-item.mark-not-completed {
  color: #ef4444;
}

.menu-item.menu-item-hide {
  color: #64748b;
}

.dark .menu-item.menu-item-hide {
  color: var(--text-primary);
  opacity: 0.8;
}

.visibility-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.65rem 0.9rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--bsplus-overview-radius-sm);
  border: 2px solid var(--bsplus-overview-border);
  background: var(--bsplus-overview-surface-2);
  color: var(--bsplus-overview-muted);
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    color 0.2s ease,
    transform 0.2s var(--bsplus-overview-ease);
  min-height: 2.75rem;
}

.visibility-toggle:hover {
  border-color: color-mix(
    in srgb,
    var(--bsplus-overview-accent) 35%,
    var(--bsplus-overview-border)
  );
  color: var(--bsplus-overview-text);
  transform: scale(1.02);
}

.visibility-toggle.active {
  border-color: color-mix(
    in srgb,
    var(--bsplus-overview-accent) 45%,
    var(--bsplus-overview-border)
  );
  background: color-mix(
    in srgb,
    var(--bsplus-overview-accent) 10%,
    var(--bsplus-overview-surface-2)
  );
  color: var(--bsplus-overview-accent);
}

.visibility-panel {
  padding: 1rem 1.15rem;
  margin: 0;
  background: var(--bsplus-overview-surface);
  border-radius: var(--bsplus-overview-radius);
  border: 1px solid var(--bsplus-overview-border);
  box-shadow: var(--bsplus-overview-shadow);
}

.visibility-panel-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--bsplus-overview-text);
  margin: 0 0 0.75rem;
}

.visibility-section {
  margin-bottom: 0.5rem;
}

.visibility-section:last-child {
  margin-bottom: 0;
}

.visibility-label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--bsplus-overview-muted);
  display: block;
  margin-bottom: 0.35rem;
}

.visibility-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.visibility-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.5rem;
  background: color-mix(in srgb, var(--bsplus-overview-surface-2) 92%, transparent);
  border: 1px solid var(--bsplus-overview-border);
  border-radius: 999px;
  font-size: 0.8125rem;
  color: var(--bsplus-overview-text);
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.visibility-unhide {
  padding: 0.125rem 0.55rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 999px;
  border: none;
  background: var(--bsplus-overview-accent);
  color: var(--text-color, #fff);
  cursor: pointer;
  transition: transform 0.2s var(--bsplus-overview-ease);
  flex-shrink: 0;
}

.visibility-unhide:hover {
  transform: scale(1.05);
}

.assessment-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--bsplus-overview-text);
  margin: 0 0 0.75rem;
  line-height: 1.45;
  padding-right: 2rem;
}

.assessment-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.75rem;
  font-size: 0.75rem;
  color: var(--bsplus-overview-muted);
}

.due-date {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-weight: 500;
}

.due-date.overdue {
  color: #dc2626;
}

.due-date.due-soon {
  color: #d97706;
}

.due-date.upcoming {
  color: #059669;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--bsplus-overview-border);
}

.grade-display {
  font-weight: 700;
  font-size: 0.875rem;
  padding: 0.375rem 0.75rem;
  border-radius: 6px;
}

.grade-good {
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.grade-average {
  background: rgba(245, 158, 11, 0.1);
  color: #d97706;
  border: 1px solid rgba(245, 158, 11, 0.2);
}

.grade-bad {
  background: rgba(239, 68, 68, 0.1);
  color: #dc2626;
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.grade-empty {
  color: #64748b;
  font-style: italic;
  font-weight: 500;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
}

.dark .grade-empty {
  color: var(--text-primary);
  opacity: 0.7;
  background: var(--background-secondary);
  border-color: var(--background-secondary);
}

/* Column header gradients — softer tints, same status colours */
.column-upcoming .column-header {
  background: linear-gradient(
    135deg,
    var(--bsplus-overview-surface) 0%,
    color-mix(in srgb, #38bdf8 9%, var(--bsplus-overview-surface)) 100%
  );
}

.column-due-soon .column-header {
  background: linear-gradient(
    135deg,
    var(--bsplus-overview-surface) 0%,
    color-mix(in srgb, #fbbf24 10%, var(--bsplus-overview-surface)) 100%
  );
}

.column-overdue .column-header {
  background: linear-gradient(
    135deg,
    var(--bsplus-overview-surface) 0%,
    color-mix(in srgb, #f87171 10%, var(--bsplus-overview-surface)) 100%
  );
}

.column-submitted .column-header {
  background: linear-gradient(
    135deg,
    var(--bsplus-overview-surface) 0%,
    color-mix(in srgb, #f59e0b 9%, var(--bsplus-overview-surface)) 100%
  );
}

.column-marked .column-header {
  background: linear-gradient(
    135deg,
    var(--bsplus-overview-surface) 0%,
    color-mix(in srgb, #34d399 10%, var(--bsplus-overview-surface)) 100%
  );
}

.column-custom .column-header {
  background: linear-gradient(
    135deg,
    var(--bsplus-overview-surface) 0%,
    color-mix(in srgb, var(--bsplus-overview-accent) 8%, var(--bsplus-overview-surface)) 100%
  );
}

.dark .column-upcoming .column-header {
  background: linear-gradient(
    135deg,
    var(--bsplus-overview-surface) 0%,
    color-mix(in srgb, #3b82f6 14%, var(--bsplus-overview-surface-2)) 100%
  );
}

.dark .column-due-soon .column-header {
  background: linear-gradient(
    135deg,
    var(--bsplus-overview-surface) 0%,
    color-mix(in srgb, #f59e0b 14%, var(--bsplus-overview-surface-2)) 100%
  );
}

.dark .column-overdue .column-header {
  background: linear-gradient(
    135deg,
    var(--bsplus-overview-surface) 0%,
    color-mix(in srgb, #ef4444 13%, var(--bsplus-overview-surface-2)) 100%
  );
}

.dark .column-submitted .column-header {
  background: linear-gradient(
    135deg,
    var(--bsplus-overview-surface) 0%,
    color-mix(in srgb, #d97706 12%, var(--bsplus-overview-surface-2)) 100%
  );
}

.dark .column-marked .column-header {
  background: linear-gradient(
    135deg,
    var(--bsplus-overview-surface) 0%,
    color-mix(in srgb, #10b981 13%, var(--bsplus-overview-surface-2)) 100%
  );
}

.dark .column-custom .column-header {
  background: linear-gradient(
    135deg,
    var(--bsplus-overview-surface) 0%,
    color-mix(in srgb, var(--bsplus-overview-accent) 12%, var(--bsplus-overview-surface-2)) 100%
  );
}

/* Subject filter view */
.subject-section {
  margin-bottom: 2rem;
}

.subject-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  padding: 1rem;
  background: #ffffff;
  border-radius: 8px;
  border: 2px solid #e2e8f0;
  border-left: 4px solid var(--subject-color, #d41e3a);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.dark .subject-header {
  background: var(--background-secondary);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.subject-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}

.subject-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0;
}

.dark .subject-title {
  color: var(--text-primary);
}

.subject-code {
  font-size: 0.875rem;
  color: #64748b;
}

.dark .subject-code {
  color: var(--text-primary);
  opacity: 0.7;
}

/* Loading and error states */
.loading-container,
.error-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 3rem 2rem;
  background: var(--bsplus-overview-surface);
  border-radius: var(--bsplus-overview-radius);
  border: 1px solid var(--bsplus-overview-border);
  box-shadow: var(--bsplus-overview-shadow);
}

.loading-spinner {
  width: 3rem;
  height: 3rem;
  border: 4px solid var(--bsplus-overview-border);
  border-top-color: var(--bsplus-overview-accent);
  border-radius: 50%;
  animation: spin 0.75s linear infinite;
}

.loading-text {
  margin-top: 1rem;
  color: var(--bsplus-overview-muted);
  font-size: 0.875rem;
  font-weight: 500;
}

.error-icon {
  color: #ef4444;
  margin-bottom: 0.75rem;
  opacity: 0.85;
}

.error-text {
  color: #ef4444;
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 0.35rem;
}

.error-detail {
  color: var(--bsplus-overview-muted);
  font-size: 0.875rem;
  margin: 0;
  text-align: center;
  max-width: 28rem;
}

.empty-state {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  padding: 3rem 2rem;
  color: var(--bsplus-overview-muted);
  font-size: 0.9375rem;
  text-align: center;
  border-radius: var(--bsplus-overview-radius);
  background: var(--bsplus-overview-surface);
  border: 1px solid var(--bsplus-overview-border);
  box-shadow: var(--bsplus-overview-shadow);
}

.empty-icon {
  color: var(--bsplus-overview-muted);
  opacity: 0.55;
}

.empty-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  color: #64748b;
  font-size: 0.875rem;
  text-align: center;
  min-height: 200px;
}

.dark .empty-column {
  color: var(--text-primary);
  opacity: 0.7;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

.skeleton-element {
  background: linear-gradient(
    90deg,
    #f1f5f9 0%,
    #e2e8f0 50%,
    #f1f5f9 100%
  );
  background-size: 1000px 100%;
  animation: shimmer 2s infinite linear;
  border-radius: 4px;
}

.dark .skeleton-element {
  background: linear-gradient(
    90deg,
    var(--background-primary) 0%,
    var(--background-secondary) 50%,
    var(--background-primary) 100%
  );
  background-size: 1000px 100%;
}

.skeleton-label {
  height: 20px;
  width: 60px;
  margin-bottom: 0.75rem;
  border-radius: 6px;
}

.skeleton-title {
  height: 16px;
  width: 80%;
  margin-bottom: 0.5rem;
}

.skeleton-title-line2 {
  height: 16px;
  width: 60%;
  margin-bottom: 0.75rem;
}

.skeleton-meta {
  height: 12px;
  width: 40%;
  margin-top: 0.75rem;
}

.skeleton-footer {
  height: 8px;
  width: 100%;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid #e5e7eb;
}

.dark .skeleton-footer {
  border-top-color: rgba(255, 255, 255, 0.1);
}

/* Responsive design */
@media (max-width: 768px) {
  #grid-view-container,
  .bsplus-overview-root {
    padding: 1.25rem 1rem 1.5rem;
    gap: 1rem;
  }

  .grid-view-header {
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
  }

  .grid-view-filters,
  .bsplus-overview-toolbar {
    justify-content: stretch;
  }

  .kanban-board {
    flex-direction: column;
    gap: 1rem;
    padding: 0;
  }

  .kanban-column-parent {
    flex: none;
    width: 100%;
  }

  .kanban-column {
    max-height: none;
  }

  .filter-select {
    min-width: 0;
    flex: 1 1 140px;
  }
}

@media (max-width: 480px) {
  .grid-view-title {
    font-size: 1.5rem !important;
  }
  
  .filter-select {
    padding: 0.5rem 0.75rem;
    font-size: 0.8rem;
    min-width: 120px;
  }
  
  .assessment-card {
    padding: 0.75rem;
  }
  
  .card-footer {
    flex-direction: column;
    gap: 0.5rem;
    align-items: stretch;
  }
}

/* Scrollbar styling for webkit browsers */
.column-cards::-webkit-scrollbar {
  width: 6px;
}

.column-cards::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 3px;
}

.column-cards::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 3px;
}

.column-cards::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Dark mode scrollbars */
.dark .column-cards::-webkit-scrollbar-track {
  background: var(--background-secondary);
}

.dark .column-cards::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
}

.dark .column-cards::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.3);
}