/* ════════════════════════════════════════════════════════════════════════════
   EduPlan Dashboard — Linear / Apple-Tier Surface Architecture
   ════════════════════════════════════════════════════════════════════════════ */

.dashboard-layout {
  display: flex;
  min-height: 100vh;
  background-color: var(--bg-main);
  color: var(--text);
}

/* ── SIDEBAR ────────────────────────────────────────── */
.sidebar {
  width: 270px;
  background: linear-gradient(180deg, #0A1128 0%, #0D1B3E 100%);
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 100;
  padding: 28px 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 4px 0 24px rgba(10, 17, 40, 0.15);
  transition: transform var(--transition);
}

.sidebar-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}

.sidebar-header .nav-logo {
  color: #FFFFFF;
  font-size: 20px;
}

.sidebar-user {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  margin-bottom: 28px;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.05);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
  position: relative;
}

.sidebar-user:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(13, 148, 136, 0.4);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25), inset 0 1px 1px rgba(255, 255, 255, 0.1);
}

.sidebar-user:active {
  transform: scale(0.98);
}

.sidebar-user .user-role {
  display: flex;
  align-items: center;
  gap: 4px;
}

.sidebar-user .user-role::after {
  content: '›';
  font-size: 14px;
  opacity: 0.6;
  margin-left: 2px;
  transition: transform 0.2s ease;
}

.sidebar-user:hover .user-role::after {
  opacity: 1;
  transform: translateX(2px);
  color: var(--primary);
}

.profile-avatar {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, #0D9488 0%, #0F766E 100%);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(13, 148, 136, 0.35);
}

.user-info {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  line-height: 1.2;
}

.user-name {
  font-size: 14px;
  font-weight: 600;
  color: #FFFFFF;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.user-role {
  font-size: 12px;
  color: var(--navy-muted);
  margin-top: 3px;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  color: #94A3B8;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: all var(--transition-fast);
  cursor: pointer;
  position: relative;
}

.nav-link:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.06);
}

.nav-link.active {
  color: #FFFFFF;
  background: rgba(13, 148, 136, 0.18);
  font-weight: 600;
  border: 1px solid rgba(20, 184, 166, 0.25);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1);
}

.nav-link.active .svg-icon {
  color: var(--primary-light);
}

.nav-badge {
  margin-left: auto;
  background: rgba(239, 68, 68, 0.25);
  color: #FCA5A5;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(239, 68, 68, 0.4);
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.35);
  transition: transform 0.2s ease, background 0.2s ease;
}

.nav-badge.live-pulse {
  animation: badgePop 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes badgePop {
  0% { transform: scale(0.6); opacity: 0; }
  50% { transform: scale(1.3); }
  100% { transform: scale(1); opacity: 1; }
}

.sidebar-footer {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.logout-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: transparent;
  border: 1px solid transparent;
  color: #94A3B8;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.logout-btn:hover {
  background: rgba(239, 68, 68, 0.12);
  color: #F87171;
  border-color: rgba(239, 68, 68, 0.2);
}

/* ── MAIN CONTENT ──────────────────────────────────── */
.main-content {
  margin-left: 270px;
  flex: 1;
  padding: 36px 40px;
  max-width: 1300px;
  min-height: 100vh;
}

/* ── TOPBAR ────────────────────────────────────────── */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
  gap: 20px;
}

.welcome-text h1 {
  font-size: 26px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}

.welcome-text p {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 2px;
}

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

.search-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.search-wrapper .search-icon {
  position: absolute;
  left: 12px;
  color: var(--text-muted);
  pointer-events: none;
}

.topbar-search {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  padding: 10px 14px 10px 36px;
  border-radius: var(--radius-full);
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--text);
  width: 240px;
  transition: all var(--transition);
  box-shadow: var(--shadow-xs);
  outline: none;
}

.topbar-search:focus {
  width: 290px;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-subtle);
}

/* ── STATS OVERVIEW (Double-Bezel Architecture) ──── */
.stats-overview {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 36px;
}

.stat-card {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 22px 24px;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: transparent;
  transition: background var(--transition);
}

.stat-card.card-active::before { background: var(--primary); }
.stat-card.card-overdue::before { background: var(--danger); }
.stat-card.card-today::before { background: var(--warning); }
.stat-card.card-completed::before { background: var(--success); }

.stat-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: #CBD5E1;
}

.stat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.stat-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.stat-icon-wrap {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-icon-wrap.active-icon { background: var(--primary-subtle); color: var(--primary); }
.stat-icon-wrap.overdue-icon { background: var(--danger-subtle); color: var(--danger); }
.stat-icon-wrap.today-icon { background: var(--warning-subtle); color: var(--warning); }
.stat-icon-wrap.completed-icon { background: var(--success-subtle); color: var(--success); }

.stat-value {
  font-size: 32px;
  font-weight: 800;
  line-height: 1;
  color: var(--text);
  letter-spacing: -0.03em;
  margin-bottom: 6px;
}

.stat-sub {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}

/* ── SECTION CARDS ─────────────────────────────────── */
.section-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 32px;
}

.section-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}

.section-header-bar h2 {
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.filter-group {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.filter-select {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  outline: none;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px var(--primary-subtle);
}

.view-mode-toggle {
  display: inline-flex;
  padding: 3px;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  gap: 2px;
}

.view-btn {
  background: transparent;
  border: none;
  padding: 6px 10px;
  border-radius: var(--radius-xs);
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.view-btn.active {
  background: var(--bg-surface);
  color: var(--primary);
  box-shadow: var(--shadow-xs);
  font-weight: 600;
}

/* ── TASK LIST & GRID ──────────────────────────────── */
.task-container-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.task-container-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 16px;
}

/* Single Task Item (List Mode) */
.task-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  box-shadow: var(--shadow-xs);
  transition: all var(--transition);
  cursor: pointer;
}

.task-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: #CBD5E1;
}

.task-item.priority-high { border-left-color: var(--danger); }
.task-item.priority-medium { border-left-color: var(--warning); }
.task-item.priority-low { border-left-color: var(--success); }

.task-item.completed {
  opacity: 0.6;
  background: var(--bg-subtle);
}

.task-item.completed .task-title {
  text-decoration: line-through;
  color: var(--text-muted);
}

.task-check-custom {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  border: 2px solid var(--border);
  background: var(--bg-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.task-check-custom:hover {
  border-color: var(--primary);
}

.task-check-custom.checked {
  background: var(--primary);
  border-color: var(--primary);
  color: #FFFFFF;
}

.task-main-details {
  flex: 1;
  min-width: 0;
}

.task-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.task-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--text-muted);
}

.task-course-tag {
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--bg-subtle);
  padding: 2px 8px;
  border-radius: var(--radius-xs);
  border: 1px solid var(--border);
}

.task-due-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 600;
}

.task-due-chip.danger { color: var(--danger); font-weight: 700; }
.task-due-chip.warning { color: var(--warning); font-weight: 700; }

.task-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0.6;
  transition: opacity var(--transition-fast);
}

.task-item:hover .task-actions {
  opacity: 1;
}

.action-btn {
  background: transparent;
  border: none;
  width: 30px;
  height: 30px;
  border-radius: var(--radius-xs);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.action-btn:hover {
  background: var(--bg-subtle);
  color: var(--text);
}

.action-btn.delete-btn:hover {
  background: var(--danger-subtle);
  color: var(--danger);
}

/* Single Task Card (Grid Mode) */
.task-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  border-top: 4px solid var(--primary);
  padding: 20px;
  box-shadow: var(--shadow-xs);
  display: flex;
  flex-direction: column;
  transition: all var(--transition);
  cursor: pointer;
}

.task-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: #CBD5E1;
}

.task-card.priority-high { border-top-color: var(--danger); }
.task-card.priority-medium { border-top-color: var(--warning); }
.task-card.priority-low { border-top-color: var(--success); }

.task-card.completed {
  opacity: 0.6;
  background: var(--bg-subtle);
}

.task-card.completed .task-title {
  text-decoration: line-through;
  color: var(--text-muted);
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.card-footer {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ── EMPTY STATE ──────────────────────────────────── */
.empty-state {
  text-align: center;
  padding: 50px 20px;
  background: var(--bg-surface);
  border: 1px dashed var(--border);
  border-radius: var(--radius-lg);
}

.empty-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--primary-subtle);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.empty-state h3 {
  font-size: 17px;
  margin-bottom: 6px;
}

.empty-state p {
  font-size: 14px;
  color: var(--text-muted);
  max-width: 360px;
  margin: 0 auto 20px;
}

/* ── CALENDAR VIEW ────────────────────────────────── */
.calendar-wrapper {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.calendar-header-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.calendar-month-title {
  font-size: 20px;
  font-weight: 700;
}

.cal-nav-btn {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text);
  transition: all var(--transition-fast);
}

.cal-nav-btn:hover {
  background: #E2E8F0;
  border-color: #CBD5E1;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
}

.cal-day-label {
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding-bottom: 10px;
}

.cal-cell {
  min-height: 84px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-fast);
  cursor: pointer;
  position: relative;
}

.cal-cell:hover:not(.empty) {
  border-color: var(--primary);
  background: var(--primary-subtle);
  transform: translateY(-2px);
}

.cal-cell.empty {
  background: transparent;
  border: 1px dashed transparent;
  cursor: default;
}

.cal-cell.today {
  border-color: var(--primary);
  background: rgba(13, 148, 136, 0.06);
}

.cal-cell.today .cal-date-num {
  color: var(--primary);
  font-weight: 800;
}

.cal-date-num {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 4px;
}

.cal-task-chips {
  display: flex;
  flex-direction: column;
  gap: 3px;
  overflow: hidden;
}

.cal-task-chip {
  font-size: 10px;
  font-weight: 600;
  padding: 2px 5px;
  border-radius: 4px;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  line-height: 1.2;
}

.cal-task-chip.high { background: var(--danger-subtle); color: #DC2626; }
.cal-task-chip.medium { background: var(--warning-subtle); color: #D97706; }
.cal-task-chip.low { background: var(--success-subtle); color: #059669; }

/* Day Inspection Drawer */
.day-drawer {
  margin-top: 24px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-md);
  border-top: 4px solid var(--primary);
  animation: drawerSlide 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes drawerSlide {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.day-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

/* ── ANALYTICS VIEW ───────────────────────────────── */
.analytics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.analytics-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.analytics-card h3 {
  font-size: 16px;
  margin-bottom: 20px;
  color: var(--text);
}

.radial-progress-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 0;
}

.radial-svg {
  transform: rotate(-90deg);
  width: 140px;
  height: 140px;
}

.radial-bg {
  fill: none;
  stroke: var(--bg-subtle);
  stroke-width: 10;
}

.radial-bar {
  fill: none;
  stroke: var(--primary);
  stroke-width: 10;
  stroke-linecap: round;
  transition: stroke-dashoffset 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.radial-text {
  font-size: 28px;
  font-weight: 800;
  color: var(--text);
  margin-top: 12px;
}

.breakdown-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.breakdown-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  background: var(--bg-subtle);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 500;
}

/* ── NOTIFICATIONS VIEW ───────────────────────────── */
.notif-tabs {
  display: flex;
  border-bottom: 2px solid var(--border);
  margin-bottom: 24px;
}

.notif-tab-btn {
  padding: 12px 20px;
  background: transparent;
  border: none;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all var(--transition-fast);
}

.notif-tab-btn:hover {
  color: var(--primary);
}

.notif-tab-btn.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.notif-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px;
  margin-bottom: 12px;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.notif-card:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-sm);
  border-color: #CBD5E1;
}

.notif-card.unread {
  background: rgba(13, 148, 136, 0.04);
  border-left: 3px solid var(--primary);
}

.notif-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.notif-icon.deadline { background: var(--warning-subtle); color: var(--warning); }
.notif-icon.overdue { background: var(--danger-subtle); color: var(--danger); }
.notif-icon.complete { background: var(--success-subtle); color: var(--success); }

.notif-body {
  flex: 1;
}

.notif-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}

.notif-text {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.4;
  margin-bottom: 6px;
}

.notif-time {
  font-size: 11px;
  color: var(--text-muted);
}

/* ── FOCUS / POMODORO TIMER COMPONENT ──────────────── */
.pomodoro-widget {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px 20px 20px;
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all var(--transition);
}

.pomodoro-widget::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #0D9488 0%, #06B6D4 50%, #38BDF8 100%);
}

.pomodoro-modes {
  display: inline-flex;
  padding: 4px;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  gap: 4px;
  margin-bottom: 18px;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.15);
  max-width: 100%;
}

.pomo-mode-btn {
  background: transparent;
  border: none;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  font-family: var(--font-sans);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.pomo-mode-btn:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.pomo-mode-btn.active {
  background: linear-gradient(135deg, rgba(13, 148, 136, 0.2) 0%, rgba(6, 182, 212, 0.15) 100%);
  color: #2DD4BF;
  box-shadow: 0 1px 6px rgba(13, 148, 136, 0.25), inset 0 0 0 1px rgba(45, 212, 191, 0.3);
  font-weight: 700;
}

.pomo-timer-display {
  position: relative;
  width: 170px;
  height: 170px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.pomo-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
  filter: drop-shadow(0 0 10px rgba(13, 148, 136, 0.15));
}

.pomo-ring-bg {
  fill: none;
  stroke: var(--bg-subtle);
  stroke-width: 8;
  opacity: 0.8;
}

.pomo-ring-progress {
  fill: none;
  stroke: #14B8A6;
  stroke-width: 8;
  stroke-linecap: round;
  transition: stroke-dashoffset 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  filter: drop-shadow(0 0 6px rgba(20, 184, 166, 0.5));
}

.pomo-time-text {
  font-size: 38px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: 1;
  font-family: var(--font-sans);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.pomo-status-text {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  background: var(--bg-subtle);
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
}

.pomodoro-widget.is-running .pomo-status-text,
#view-pomodoro.is-running .pomo-status-text {
  color: #2DD4BF;
  border-color: rgba(45, 212, 191, 0.25);
  background: rgba(13, 148, 136, 0.08);
}

.pomodoro-widget.is-running .pomo-status-text::before,
#view-pomodoro.is-running .pomo-status-text::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #2DD4BF;
  box-shadow: 0 0 8px #2DD4BF;
  animation: pomoPulse 1.8s infinite;
}

@keyframes pomoPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.pomo-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 14px;
  width: 100%;
}

.pomo-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 18px;
  border-radius: var(--radius-full);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  border: 1px solid var(--border);
  background: var(--bg-subtle);
  color: var(--text);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.pomo-btn:hover {
  background: var(--bg-surface-hover, rgba(255, 255, 255, 0.06));
  border-color: var(--primary);
  color: var(--primary);
}

.pomo-btn:active {
  transform: scale(0.97);
}

.pomo-btn.primary {
  background: linear-gradient(135deg, #0D9488 0%, #0891B2 100%);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 9px 24px;
  font-size: 13.5px;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(13, 148, 136, 0.35);
}

.pomo-btn.primary:hover {
  background: linear-gradient(135deg, #0F766E 0%, #0E7490 100%);
  box-shadow: 0 6px 18px rgba(13, 148, 136, 0.45);
  transform: translateY(-1px);
}

.pomo-btn.primary:active {
  transform: scale(0.97) translateY(0);
}

.pomo-btn.alarm-active {
  background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%) !important;
  color: #FFFFFF !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  box-shadow: 0 0 20px rgba(239, 68, 68, 0.6) !important;
  animation: alarmPulse 1s infinite alternate;
}

@keyframes alarmPulse {
  0% { transform: scale(1); box-shadow: 0 0 12px rgba(239, 68, 68, 0.5); }
  100% { transform: scale(1.05); box-shadow: 0 0 24px rgba(239, 68, 68, 0.85); }
}

.pomodoro-widget.is-ringing,
#view-pomodoro.is-ringing .section-card {
  border-color: rgba(239, 68, 68, 0.5) !important;
  box-shadow: 0 8px 32px rgba(239, 68, 68, 0.2) !important;
}

.pomodoro-widget.is-ringing .pomo-ring-progress,
#view-pomodoro.is-ringing .pomo-ring-progress {
  stroke: #EF4444 !important;
}

.pomodoro-widget.is-ringing .pomo-status-text,
#view-pomodoro.is-ringing .pomo-status-text {
  color: #F87171 !important;
  font-weight: 700;
}

.pomo-btn.icon-only {
  width: 38px;
  height: 38px;
  padding: 0;
  border-radius: 50%;
}

.pomo-btn.icon-only:hover svg {
  transform: rotate(45deg);
  transition: transform 0.3s ease;
}

.pomo-session-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding-top: 12px;
  border-top: 1px solid var(--border-subtle);
  font-size: 12px;
  color: var(--text-muted);
}

.pomo-streak-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-weight: 700;
  color: #2DD4BF;
  background: rgba(13, 148, 136, 0.12);
  padding: 3px 8px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(45, 212, 191, 0.2);
}

/* ── SUBJECT PROGRESSION & STUDY TIME TRACKER ──────── */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.course-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.course-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: #CBD5E1;
}

.course-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 12px;
}

.course-icon-badge {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--primary-subtle);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  box-shadow: var(--shadow-xs);
}

.course-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
  line-height: 1.3;
}

.course-code {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.course-stats-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 12px;
}

.course-stat-item {
  display: flex;
  flex-direction: column;
}

.course-stat-num {
  font-size: 16px;
  font-weight: 800;
  color: var(--text);
}

.course-stat-label {
  font-size: 11px;
  color: var(--text-muted);
}

.course-progress-bar-wrap {
  width: 100%;
  height: 6px;
  background: var(--bg-subtle);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-bottom: 16px;
}

.course-progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: var(--radius-full);
  transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.course-actions-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--border-subtle);
}

.log-btn {
  padding: 5px 10px;
  font-size: 11px;
  font-weight: 700;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.log-btn:hover {
  background: var(--primary-subtle);
  color: var(--primary);
  border-color: var(--primary);
}

.log-btn.custom {
  margin-left: auto;
  background: transparent;
  color: var(--primary);
  border-color: transparent;
}

.log-btn.custom:hover {
  background: var(--primary-subtle);
}

/* ── KANBAN BOARD VIEW ────────────────────────────── */
.kanban-board {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: flex-start;
}

.kanban-col {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px;
  min-height: 480px;
  display: flex;
  flex-direction: column;
}

.kanban-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--border);
}

.kanban-title {
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.kanban-col-count {
  font-size: 11px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  background: var(--bg-surface);
  color: var(--text-secondary);
  border: 1px solid var(--border);
}

.kanban-cards-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.kanban-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow-xs);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.kanban-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: #CBD5E1;
}

/* ── RESPONSIVENESS ───────────────────────────────── */
@media (max-width: 1100px) {
  .kanban-board {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .kanban-col {
    min-height: auto;
  }
}

/* ── Direct-Support & Affiliate Promo Cards (Zero CLS Layout) ── */
.promo-slot-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 16px 0 24px;
  position: relative;
  width: 100%;
}

.promo-banner {
  width: 100%;
  max-width: 970px;
  height: 90px;
  min-height: 90px;
  position: relative;
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.promo-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: inherit;
}

.promo-card {
  width: 100%;
  height: 140px;
  min-height: 140px;
  position: relative;
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.promo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: inherit;
}

.promo-tag {
  position: absolute;
  top: 8px;
  right: 8px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: rgba(15, 23, 42, 0.82);
  color: #94A3B8;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 3px 8px;
  border-radius: var(--radius-full);
  pointer-events: none;
  z-index: 2;
  transition: color var(--transition), border-color var(--transition);
}

.promo-banner:hover,
.promo-card:hover {
  transform: translateY(-2px);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.promo-banner:hover .promo-tag,
.promo-card:hover .promo-tag {
  color: #F8FAFC;
  border-color: var(--primary);
}

/* ── Direct Developer Support (Tip Jar Styles) ── */
.nav-link-support {
  margin-top: 10px;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.15) 0%, rgba(217, 119, 6, 0.1) 100%);
  border: 1px solid rgba(245, 158, 11, 0.28) !important;
  color: #FBBF24 !important;
  font-weight: 600;
}

.nav-link-support:hover {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.25) 0%, rgba(217, 119, 6, 0.2) 100%);
  border-color: #F59E0B !important;
  color: #FEF3C7 !important;
  transform: translateY(-1px);
}

.nav-support-icon {
  font-size: 15px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
}

.dashboard-footer {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  width: 100%;
}

.dashboard-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--text-muted);
}

.footer-support-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.14) 0%, rgba(217, 119, 6, 0.08) 100%);
  border: 1px solid rgba(245, 158, 11, 0.25);
  color: #FBBF24;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition);
}

.footer-support-btn:hover {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.24) 0%, rgba(217, 119, 6, 0.18) 100%);
  border-color: #F59E0B;
  color: #FEF3C7;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.15);
}

@media (max-width: 1024px) {
  .sidebar {
    width: 72px;
    padding: 20px 10px;
    align-items: center;
  }
  .sidebar-header .nav-logo span,
  .user-info,
  .nav-link span:not(.svg-icon),
  .logout-btn span:not(.svg-icon) {
    display: none;
  }
  .sidebar-user {
    padding: 6px;
    justify-content: center;
  }
  .main-content {
    margin-left: 72px;
    padding: 24px;
  }
  .stats-overview {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .dashboard-layout {
    flex-direction: column;
  }
  .sidebar {
    position: relative;
    width: 100%;
    height: auto;
    flex-direction: row;
    justify-content: space-between;
    padding: 14px 20px;
  }
  .sidebar-user {
    display: none;
  }
  .sidebar-nav {
    flex-direction: row;
    gap: 4px;
    overflow-x: auto;
  }
  .sidebar-footer {
    display: none;
  }
  .main-content {
    margin-left: 0;
    padding: 20px 16px;
  }
  .topbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .topbar-actions {
    width: 100%;
    justify-content: space-between;
  }
  .topbar-search {
    width: 100%;
  }
  .stats-overview {
    grid-template-columns: 1fr;
  }
}

/* ── USER PROFILE MODAL ENHANCEMENTS (Awwwards / Agency-Grade) ── */
.profile-modal-content {
  background: linear-gradient(180deg, #0E172F 0%, #080E20 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.05), inset 0 1px 1px rgba(255, 255, 255, 0.2) !important;
  border-radius: 20px !important;
  padding: 24px 28px !important;
}

.profile-card-hero {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.15) 0%, rgba(15, 23, 42, 0.7) 100%);
  border: 1px solid rgba(20, 184, 166, 0.3);
  border-radius: 14px;
  margin-bottom: 20px;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1), 0 4px 16px rgba(0, 0, 0, 0.2);
}

.profile-modal-avatar {
  width: 58px;
  height: 58px;
  border-radius: 12px;
  background: linear-gradient(135deg, #14B8A6 0%, #0F766E 100%);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 24px;
  flex-shrink: 0;
  border: 2px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 20px rgba(20, 184, 166, 0.45), inset 0 1px 1px rgba(255, 255, 255, 0.3);
}

.profile-modal-details {
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow: hidden;
}

.profile-modal-name {
  font-size: 20px;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.profile-modal-badges {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.profile-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2px;
}

.profile-badge.primary {
  background: rgba(20, 184, 166, 0.2);
  color: #5EEAD4;
  border: 1px solid rgba(20, 184, 166, 0.4);
}

.profile-badge.status {
  background: rgba(16, 185, 129, 0.15);
  color: #34D399;
  border: 1px solid rgba(16, 185, 129, 0.35);
}

.pulse-dot-sm {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #34D399;
  box-shadow: 0 0 8px #34D399;
  animation: pulseLight 2s infinite ease-in-out;
}

@keyframes pulseLight {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

.profile-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.profile-info-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.03);
}

.profile-info-item.full-width {
  grid-column: 1 / -1;
}

.profile-info-item .info-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--navy-muted, #94A3B8);
}

.profile-info-item .info-value {
  font-size: 14px;
  font-weight: 600;
  color: #FFFFFF;
  word-break: break-all;
}

.info-value-copyable {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 2px;
}

.info-id-code {
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
  font-size: 12px;
  color: #E2E8F0;
  background: rgba(0, 0, 0, 0.35);
  padding: 6px 10px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex-grow: 1;
}

.copy-id-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #F8FAFC;
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}

.copy-id-btn:hover {
  background: var(--primary, #14B8A6);
  color: #FFFFFF;
  border-color: var(--primary, #14B8A6);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(20, 184, 166, 0.3);
}

.copy-id-btn:active {
  transform: scale(0.96);
}

.copy-id-btn.copied {
  background: #10B981 !important;
  color: #FFFFFF !important;
  border-color: #10B981 !important;
}

.profile-stats-container {
  padding: 16px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.03);
}

.profile-stats-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  color: var(--navy-muted, #94A3B8);
  margin-bottom: 12px;
}

.profile-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.profile-stat-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 6px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
  overflow: hidden;
  transition: all 0.2s ease;
}

.profile-stat-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #14B8A6, #06B6D4);
  opacity: 0.6;
}

.profile-stat-box:hover {
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-2px);
  border-color: rgba(20, 184, 166, 0.3);
}

.profile-stat-box .stat-number {
  font-size: 17px;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -0.02em;
}

.profile-stat-box .stat-caption {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--navy-muted, #94A3B8);
  margin-top: 3px;
  text-align: center;
}

/* ── BACKUP DATA DROPDOWN & IMPORT HUB STYLES ──────── */
.dropdown-menu-card {
  background: linear-gradient(180deg, #0E1733 0%, #090E22 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.6), inset 0 1px 1px rgba(255, 255, 255, 0.08);
  padding: 6px;
  backdrop-filter: blur(16px);
  animation: dropdownFadeIn 0.15s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes dropdownFadeIn {
  from { opacity: 0; transform: translateY(-6px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.dropdown-item:hover {
  background: rgba(255, 255, 255, 0.06) !important;
}

.dropdown-item:active {
  transform: scale(0.98);
}

.import-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.import-tab-btn:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.import-tab-btn.active {
  color: #2DD4BF;
  background: rgba(13, 148, 136, 0.18);
  border-color: rgba(13, 148, 136, 0.35);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.08);
}

.import-dropzone {
  border: 2px dashed rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.015);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.import-dropzone:hover,
.import-dropzone.dragover {
  border-color: var(--primary, #14B8A6);
  background: rgba(13, 148, 136, 0.08);
  transform: translateY(-1px);
}

.import-preview-table-wrap {
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}

.import-preview-table-wrap::-webkit-scrollbar {
  width: 6px;
}

.import-preview-table-wrap::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
}

.import-preview-table tr:hover {
  background: rgba(255, 255, 255, 0.03);
}

.import-kpi-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 9999px;
  background: rgba(13, 148, 136, 0.15);
  color: #2DD4BF;
  border: 1px solid rgba(13, 148, 136, 0.3);
}