/* ==========================================
   DAY PLANNER - STYLE.CSS
   Premium SaaS Dashboard Design
   Complete Code - No Variable Dependencies
   ========================================== */

/* === RESET & BASE === */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* html {
  font-size: 15px;
  scroll-behavior: smooth;
} */

/* WP Coder Reset & App Base */
.day-planner-app {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: #080c1a;
  color: #f1f5f9;
  position: relative;
  display: flex;
  width: 100%;
  max-width: 100%;
  height: 800px;
  /* Fixed height for WP embed */
  max-height: 100vh;
  overflow: scroll;
  transition: background 0.3s cubic-bezier(0.4, 0, 0.2, 1), color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
/*   border-radius: 16px; */
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  margin: 0 auto;
  border: 1px solid #1e2d4a;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: #1e2d4a;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: #475569;
}

/* Buttons & Inputs */
button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

input,
textarea,
select {
  font-family: inherit;
  outline: none;
}

a {
  text-decoration: none;
  color: inherit;
}

/* === LAYOUT === */
.sidebar {
  width: 260px;
  background: #0f1629;
  border-right: 1px solid #1e2d4a;
  display: flex;
  flex-direction: column;
  height: 100vh;
  position: relative;
  z-index: 100;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.brand-logo{
    width:42px;
    height:42px;
    object-fit:contain;
    border-radius:10px;
}

.brand-name{
    font-size:20px;
    font-weight:700;
    color:#fff;
}

.main-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  min-width: 0;
  /* critical — prevents flex child from overflowing parent */
}

.content-area {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 20px 24px 100px;
  position: relative;
  min-width: 0;
  /* prevent flex children from overflowing */
}

/* === SIDEBAR === */
.sidebar-header {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  border-bottom: 1px solid #1e2d4a;
}

.sidebar-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.5px;
}

.logo-icon {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.15);
}

.sidebar-close-btn {
  display: none;
  font-size: 1.2rem;
  color: #94a3b8;
}

.sidebar-nav {
  padding: 24px 16px;
}

.nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px !important;
  border-radius: 12px !important;
  color: #94a3b8;
  font-weight: 500;
  transition: all 0.15s ease;
  cursor: pointer;
}

.nav-item:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #f1f5f9;
}

.nav-item.active {
  background: rgba(99, 102, 241, 0.1);
  color: #6366f1;
  font-weight: 600;
}

.nav-icon {
  font-size: 1.1rem;
}

.sidebar-section {
  padding: 0 16px 24px !important;
  flex: 1;
  overflow-y: auto;
}

.section-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  color: #475569;
  margin: 0 16px 12px;
}

.cat-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cat-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 16px !important;
  border-radius: 12px;
  color: #94a3b8;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.15s ease;
}

.cat-item:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #f1f5f9;
}

.cat-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.cat-count {
  margin-left: auto;
  font-size: 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  padding: 2px 8px !important;
  border-radius: 12px;
}

.sidebar-footer {
  padding: 16px 24px !important;
  border-top: 1px solid #1e2d4a;
}

.theme-toggle-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px !important;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  color: #94a3b8;
  font-weight: 500;
  transition: all 0.15s ease;
}

.theme-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #f1f5f9;
}

/* === TOPBAR === */
.topbar {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px !important;
  background: rgba(8, 12, 26, 0.7);
  /* Adjusted dynamically in JS maybe, but fallback here */
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid #1e2d4a;
  position: sticky;
  top: 0;
  z-index: 90;
}

.day-planner-app.light-mode .topbar {
  background: rgba(255, 255, 255, 0.8);
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.hamburger-btn {
  display: none;
  color: #94a3b8;
  padding: 8px !important;
  border-radius: 6px;
}

.hamburger-btn:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #f1f5f9;
}

.topbar-greeting {
  font-weight: 600;
  font-size: 1.1rem;
}

.topbar-date {
  font-size: 0.8rem;
  color: #94a3b8;
  margin-top: 2px;
}

.topbar-center {
  flex: 1;
  display: flex;
  justify-content: center;
  min-width: 0;
}

.live-clock {
  font-family: monospace;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 1px;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.03);
  padding: 6px 12px !important;
  border-radius: 20px;
  border: 1px solid #1e2d4a;
  white-space: nowrap;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.search-bar-wrap {
  position: relative;
}

.search-bar {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.05) !important;
  color: #f1f5f9 !important;
  padding: 8px 16px 8px 36px !important;
  border-radius: 20px;
  width: clamp(120px, 25vw, 200px);
  font-size: 0.9rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.search-bar:focus {
  width: clamp(140px, 30vw, 260px);
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

.icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  position: relative;
  transition: all 0.15s ease;
}

.icon-btn:hover {
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-2px);
}

.notif-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  background: #ef4444;
  color: white;
  font-size: 0.65rem;
  font-weight: bold;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 2px solid #080c1a;
}

.user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f59e0b, #ef4444);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.1rem;
  border: 2px solid rgba(255, 255, 255, 0.05);
  cursor: pointer;
}

.add-task-btn,
.add-task-btn-sm {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: white;
  border: none;
  padding: 10px 20px !important;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  gap: 8px;
}

.add-task-btn:hover,
.add-task-btn-sm:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(99, 102, 241, 0.4);
}

.add-task-btn:active {
  transform: translateY(0);
}

.add-task-btn-sm {
  padding: 6px 14px;
  font-size: 0.85rem;
  border-radius: 6px;
}

/* === VIEWS === */
.view {
  display: none;
  animation: fadeIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.view.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* === DASHBOARD LAYOUT === */
.dashboard-layout {
  display: grid;
  grid-template-columns: 1fr clamp(240px, 28vw, 340px);
  gap: 24px;
}

/* --- STATS ROW --- */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.stat-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid #1e2d4a;
  border-radius: 16px;
  padding: 16px !important;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  background: rgba(255, 255, 255, 0.06);
}

.stat-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: white;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.stat-card-body {
  flex: 1;
}

.stat-card-num {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 4px;
}

.stat-card-lbl {
  font-size: 0.8rem;
  color: #94a3b8;
  font-weight: 500;
}

.stat-card-sub {
  font-size: 0.7rem;
  color: #475569;
  margin-top: 4px;
}

/* --- CENTER PANEL: TIMELINE --- */
.section-header,
.view-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.section-title,
.view-title {
  font-size: 1.25rem !important;
  font-weight: 600 !important;
  letter-spacing: -0.5px;
	color:#c3bbbb !important;
}

.view-toggle-btns {
  display: flex;
  background: rgba(255, 255, 255, 0.05);
  padding: 4px !important;
  border-radius: 12px;
}

.vtoggle-btn {
  padding: 6px 16px !important;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 500;
  color: #94a3b8 !important;
}

.vtoggle-btn.active {
  background: rgba(255, 255, 255, 0.03);
  color: #f1f5f9;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.timeline-container {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid #1e2d4a;
  border-radius: 16px;
  padding: 24px 0 !important;
  position: relative;
  min-height: 600px;
  overflow-y: auto;
  max-height: 70vh;
}

/* Time slot row */
.time-slot {
  display: flex;
  position: relative;
  min-height: 60px;
  /* 1 hour = 60px */
}

.time-label {
  width: clamp(50px, 15vw, 70px);
  flex-shrink: 0;
  text-align: right;
  padding-right: 8px !important;
  font-size: clamp(0.6rem, 2vw, 0.75rem);
  color: #94a3b8;
  font-weight: 500;
  transform: translateY(-8px);
  /* Align with line */
  user-select: none;
}

.time-line {
  flex: 1;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
}

.time-line.drag-over {
  background: rgba(99, 102, 241, 0.05);
  border-top-color: #6366f1;
}

/* Current Time Indicator */
.current-time-indicator {
  position: absolute;
  left: 70px;
  right: 0;
  height: 2px;
  background: #ef4444;
  z-index: 10;
  pointer-events: none;
}

.current-time-indicator::before {
  content: '';
  position: absolute;
  left: -4px;
  top: -4px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 8px #ef4444;
}

/* Task Block in Timeline */
.timeline-task {
  position: absolute;
  left: 8px;
  right: 16px ;
  border-radius: 12px;
  padding: 8px 12px !important;
  font-size: 0.85rem;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  cursor: grab;
  z-index: 5;
  border-left: 4px solid;
  color: white;
  /* Text is always white on colored background */
}

.timeline-task:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  z-index: 6;
}

.timeline-task:active {
  cursor: grabbing;
}

.timeline-task.completed {
  opacity: 0.6;
  text-decoration: line-through;
}

.tt-title {
  font-weight: 600;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.tt-time {
  font-size: 0.75rem;
  opacity: 0.8;
}

.tt-icon {
  font-size: 1rem;
}

.tt-actions {
  position: absolute;
  top: 8px;
  right: 8px;
  display: flex;
  gap: 4px;
  opacity: 0;
  transition: opacity 0.15s ease;
}

.timeline-task:hover .tt-actions {
  opacity: 1;
}

.tt-btn {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
}

.tt-btn:hover {
  background: rgba(0, 0, 0, 0.4);
}

/* --- RIGHT PANEL --- */
.right-panel {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.panel-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid #1e2d4a;
  border-radius: 16px;
  padding: 20px !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.panel-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.panel-card-title {
  font-weight: 600;
  font-size: 1.05rem;
}

.panel-card-sub {
  font-size: 0.8rem;
  color: #94a3b8;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.05);
  padding: 2px 8px !important;
  border-radius: 12px;
}

.icon-btn-sm {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.icon-btn-sm:hover {
  background: #1e2d4a;
}

/* Mini Calendar */
.cal-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 500;
}

.cal-nav-btn {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
}

.cal-nav-btn:hover {
  background: #1e2d4a;
}

.mini-calendar {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  text-align: center;
  font-size: 0.75rem;
}

.cal-day-name {
  font-size: 0.65rem;
  color: #475569;
  margin-bottom: 4px;
  font-weight: 600;
}

.cal-day {
  width: clamp(24px, 5vw, 32px);
  height: clamp(24px, 5vw, 32px);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin: auto;
  cursor: pointer;
  transition: all 0.15s ease;
  position: relative;
  font-size: clamp(0.65rem, 2vw, 0.8rem);
}

.cal-day:hover {
  background: rgba(255, 255, 255, 0.05);
}

.cal-day.other-month {
  color: #475569;
}

.cal-day.today {
  background: #6366f1;
  color: white;
  font-weight: 600;
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.15);
}

.cal-day.has-tasks::after {
  content: '';
  position: absolute;
  bottom: 4px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #06b6d4;
}

.cal-day.today.has-tasks::after {
  background: white;
}

/* Habits */
.habit-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.habit-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  border: 1px solid transparent;
  transition: all 0.15s ease;
  cursor: pointer;
}

.habit-item:hover {
  border-color: #1e2d4a;
}

.habit-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.habit-icon {
  width: 32px;
  height: 32px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  background: rgba(0, 0, 0, 0.1);
}

.habit-name {
  font-weight: 500;
  font-size: 0.9rem;
}

.habit-streak {
  font-size: 0.75rem;
  color: #f59e0b;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 2px;
}

.habit-check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid #1e2d4a;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  color: transparent;
}

.habit-item.done .habit-check {
  background: #ef4444;
  /* Using health/green color */
  border-color: #ef4444;
  color: white;
}

.habit-item.done {
  opacity: 0.8;
}

/* Pomodoro */
.pomodoro-widget {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pomodoro-ring-wrap {
  position: relative;
  width: 120px;
  height: 120px;
  margin-bottom: 16px;
}

.pomodoro-ring {
  transform: rotate(-90deg);
}

.pomo-track {
  fill: none;
  stroke: rgba(255, 255, 255, 0.05);
  stroke-width: 8;
}

.pomo-fill {
  fill: none;
  stroke: #f59e0b;
  stroke-width: 8;
  stroke-linecap: round;
  transition: stroke-dashoffset 1s linear;
}

.pomodoro-time-display {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  font-weight: 700;
  font-family: monospace;
}

.pomodoro-label {
  font-size: 0.9rem;
  color: #94a3b8;
  font-weight: 500;
  margin-bottom: 16px;
}

.pomodoro-controls {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

.pomo-btn {
  padding: 8px 16px;
  border-radius: 24px;
  font-weight: 600;
  font-size: 0.85rem;
  background: #f59e0b;
  color: white;
  transition: all 0.15s ease;
}

.pomo-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.pomo-btn-ghost {
  background: rgba(255, 255, 255, 0.05);
  color: #f1f5f9;
}

.pomo-btn-ghost:hover {
  background: #1e2d4a;
  box-shadow: none;
  color: white;
}

.pomo-session-count {
  font-size: 0.8rem;
  color: #475569;
}

/* Quick Notes */
.add-note-btn {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: background 0.15s ease;
}

.add-note-btn:hover {
  background: #1e2d4a;
}

.quick-notes-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.quick-note {
  padding: 16px !important;
  border-radius: 12px;
  font-size: 0.85rem;
  line-height: 1.4;
  color: #f1f5f9;
  position: relative;
  transition: transform 0.15s ease;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.quick-note:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.quick-note-actions {
  position: absolute;
  top: 8px;
  right: 8px;
  display: flex;
  gap: 4px;
  opacity: 0;
  transition: opacity 0.15s ease;
}

.quick-note:hover .quick-note-actions {
  opacity: 1;
}

/* === WEEKLY VIEW === */
.week-nav-ctrl {
  display: flex;
  align-items: center;
  gap: 12px;
}

.week-nav-btn {
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid #1e2d4a !important;
  border-radius: 6px !important;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}

.week-nav-btn:hover {
  background: rgba(255, 255, 255, 0.06);
}

.week-range-lbl {
  font-weight: 600;
  font-size: 1rem;
  min-width: 150px;
  text-align: center;
}

.today-btn {
  padding: 6px 16px !important;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  font-weight: 500;
  font-size: 0.85rem;
  transition: background 0.15s ease;
}

.today-btn:hover {
  background: #1e2d4a;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.03);
  padding: 12px 20px !important;
  border-radius: 16px;
  margin-bottom: 24px;
  border: 1px solid #1e2d4a;
}

.filter-lbl {
  font-size: 0.8rem;
  font-weight: 600;
  color: #94a3b8;
  text-transform: uppercase;
  margin-right: 8px;
}

.filter-btn {
  padding: 6px 16px !important;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.05);
  color: #94a3b8;
  transition: all 0.15s ease;
  border: 1px solid transparent;
}

.filter-btn:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #f1f5f9;
}

.filter-btn.active {
  background: rgba(99, 102, 241, 0.1);
  color: #6366f1;
  border-color: rgba(99, 102, 241, 0.3);
}

.weekly-board {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 16px;
  min-height: 60vh;
}

.day-col {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid #1e2d4a;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.15s ease;
}

.day-col.drag-over {
  border-color: #6366f1;
  background: rgba(99, 102, 241, 0.02);
}

.day-header {
  padding: 16px;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.day-header.is-today {
  background: rgba(99, 102, 241, 0.1);
  border-radius: 16px 16px 0 0;
}

.dh-name {
  font-size: 0.8rem;
  font-weight: 600;
  color: #94a3b8;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.dh-num {
  font-size: 1.5rem;
  font-weight: 700;
}

.day-header.is-today .dh-num {
  color: #6366f1;
}

.day-tasks {
  padding: 12px !important;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 100px;
}

/* Weekly Task Card */
.task-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 12px !important;
  border-left: 3px solid #64748b;
  cursor: grab;
  position: relative;
  transition: all 0.15s ease;
}

.task-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  background: rgba(255, 255, 255, 0.06);
}

.task-card:active {
  cursor: grabbing;
}

.task-card.completed {
  opacity: 0.5;
}

.task-card.completed .tc-title {
  text-decoration: line-through;
}

.tc-title {
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 8px;
  padding-right: 20px !important;
  line-height: 1.3;
}

.tc-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: #94a3b8;
}

.tc-check {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 18px;
  height: 18px;
  border-radius: 6px;
  border: 1.5px solid #94a3b8;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: transparent;
}

.task-card.completed .tc-check {
  background: #ef4444;
  border-color: #ef4444;
  color: white;
}

/* === FULL CALENDAR === */
.cal-full-nav {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 1.2rem;
  font-weight: 600;
}

.full-calendar {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid #1e2d4a;
  border-radius: 16px;
  overflow: hidden;
}

.fc-header {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  background: rgba(255, 255, 255, 0.05);
  text-align: center;
  font-weight: 600;
  font-size: 0.85rem;
  color: #94a3b8;
  padding: 12px 0;
}

.fc-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  grid-auto-rows: minmax(100px, auto);
}

.fc-cell {
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 8px !important;
  display: flex;
  flex-direction: column;
  transition: background 0.15s ease;
  cursor: pointer;
}

.fc-cell:hover {
  background: rgba(255, 255, 255, 0.06);
}

.fc-cell:nth-child(7n) {
  border-right: none;
}

.fc-date {
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 8px;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.fc-cell.other-month {
  opacity: 0.3;
}

.fc-cell.today .fc-date {
  background: #6366f1;
  color: white;
}

.fc-tasks {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.fc-task-dot {
  font-size: 0.7rem;
  padding: 2px 6px !important;
  border-radius: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: white;
}

/* === NOTES VIEW === */
.notes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.note-card {
  padding: 24px !important;
  border-radius: 16px;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #f1f5f9;
  position: relative;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  transition: all 0.15s ease;
  cursor: pointer;
  min-height: 200px;
  display: flex;
  flex-direction: column;
}

.note-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.note-content {
  flex: 1;
  white-space: pre-wrap;
}

.note-date {
  font-size: 0.75rem;
  opacity: 0.7;
  margin-top: 16px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  padding-top: 12px !important;
}

.note-pin {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 1.2rem;
  opacity: 0.5;
}

.note-card.pinned .note-pin {
  opacity: 1;
}

.note-actions {
  position: absolute;
  bottom: 12px;
  right: 12px;
  display: flex;
  gap: 8px;
  opacity: 0;
  transition: opacity 0.2s;
}

.note-card:hover .note-actions {
  opacity: 1;
}

/* === STATISTICS VIEW === */
.stats-overview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 24px;
}

.stats-big-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid #1e2d4a;
  border-radius: 16px;
  padding: 24px;
}

.stats-card-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 24px;
  color: #94a3b8;
}

.big-progress-ring-wrap {
  position: relative;
  width: 160px;
  height: 160px;
  margin: 0 auto 32px;
}

.big-ring {
  transform: rotate(-90deg);
}

.big-ring-track {
  fill: none;
  stroke: rgba(255, 255, 255, 0.05);
  stroke-width: 12;
}

.big-ring-fill {
  fill: none;
  stroke: #6366f1;
  stroke-width: 12;
  stroke-linecap: round;
  transition: stroke-dashoffset 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.big-ring-label {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.big-ring-pct {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
}

.big-ring-sub {
  font-size: 0.9rem;
  color: #94a3b8;
  margin-top: 4px;
}

.stats-row-items {
  display: flex;
  justify-content: space-around;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 24px;
}

.stats-item {
  text-align: center;
}

.stats-num {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.stats-lbl {
  font-size: 0.8rem;
  color: #94a3b8;
}

/* Progress bars for categories/priorities */
.stat-bar-row {
  margin-bottom: 16px;
}

.sbr-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  margin-bottom: 8px;
  font-weight: 500;
}

.sbr-track {
  height: 8px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  overflow: hidden;
}

.sbr-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 1s ease;
}

/* === SETTINGS VIEW === */
.settings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 24px;
  max-width: 1000px;
}

.settings-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid #1e2d4a;
  border-radius: 16px;
  padding: 24px !important;
}

.settings-group-title {
  font-size: 1rem !important;
  font-weight: 600 !important;
  color: #6366f1 !important;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.settings-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
}

.settings-label {
  font-weight: 500;
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.settings-hint {
  font-size: 0.8rem;
  color: #94a3b8;
}

.settings-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.05);
  margin: 8px 0;
}

.danger-text {
  color: #ef4444;
}

/* Custom Toggle Switch */
.toggle-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: #475569;
  transition: .4s;
  border-radius: 34px;
}

.toggle-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}

input:checked+.toggle-slider {
  background-color: #6366f1;
}

input:checked+.toggle-slider:before {
  transform: translateX(20px);
}

#taskPriority option{
	background:#7e85b0 !important;
}

.settings-select {
  background: rgba(255, 255, 255, 0.05);
  color: #f1f5f9;
  border: 1px solid #1e2d4a;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 0.9rem;
	width:auto;
}

.settings-action-btn {
  background: rgba(255, 255, 255, 0.05);
  color: #f1f5f9;
  border: 1px solid #1e2d4a;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.15s ease;
  display: inline-block;
  cursor: pointer;
}

.settings-action-btn:hover {
  background: rgba(255, 255, 255, 0.06);
}

.settings-danger-btn {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.3);
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.15s ease;
}

.settings-danger-btn:hover {
  background: #ef4444;
  color: white;
}

/* Goals Manager */
.goal-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  margin-bottom: 8px;
}

.add-goal-btn {
  width: 100%;
  padding: 12px;
  background: none;
  border: 2px dashed #1e2d4a;
  border-radius: 12px;
  color: #94a3b8;
  font-weight: 500;
  margin-top: 12px;
  transition: all 0.15s ease;
}

.add-goal-btn:hover {
  border-color: #6366f1;
  color: #6366f1;
  background: rgba(99, 102, 241, 0.05);
}


/* === MODALS === */
.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 20px;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-box {
  background: #080c1a;
  border: 1px solid #1e2d4a;
  border-radius: 24px;
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
  transform: scale(0.95);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-overlay.open .modal-box {
  transform: scale(1);
}

.confirm-modal {
  max-width: 400px;
}

.modal-header {
  padding: 20px 24px !important;
  border-bottom: 1px solid #1e2d4a;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-title {
  font-size: 1.25rem !important;
  font-weight: 600 !important;
	color:#c3bbbb !important;
}

.modal-close {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
}

.modal-close:hover {
  background: #1e2d4a;
}

.modal-body {
  padding: 24px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.modal-footer {
  padding: 20px 24px;
  border-top: 1px solid #1e2d4a;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

/* Forms */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.form-row {
  display: flex;
  gap: 16px;
}

.form-label {
  font-size: 0.85rem;
  font-weight: 600 !important;
  color: #94a3b8 !important;
}

.req {
  color: #ef4444;
}

.form-input {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.05) !important;
  color: #f1f5f9 !important;
  padding: 10px 14px !important;
  border-radius: 12px;
  font-size: 0.95rem;
  transition: border-color 0.15s ease;
}

.form-input:focus {
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-textarea {
  resize: vertical;
  min-height: 80px;
}

.note-textarea {
  min-height: 200px;
  font-size: 1.05rem;
  line-height: 1.5;
}

.color-picker {
  padding: 2px 4px !important;
  height: 42px;
  width: 100%;
  cursor: pointer;
}

.note-color-picker {
  display: flex;
  gap: 12px;
}

.note-color-opt {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 3px solid transparent;
  transition: transform 0.15s ease;
	padding: 15px 30px !important;
}

.note-color-opt:hover {
  transform: scale(1.1);
}

.note-color-opt.active {
  border-color: white;
  box-shadow: 0 0 0 2px #6366f1;
}

.modal-cancel-btn {
  padding: 10px 20px !important;
  border-radius: 12px;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.05);
  transition: background 0.15s ease;
}

.modal-cancel-btn:hover {
  background: #1e2d4a;
}

.modal-save-btn {
  padding: 10px 20px !important;
  border-radius: 12px;
  font-weight: 600;
  background: #6366f1 !important;
  color: white;
  transition: background 0.15s ease;
}

.modal-save-btn:hover {
  background: #4f46e5;
}

.modal-danger-btn {
  padding: 10px 20px !important;
  border-radius: 12px;
  font-weight: 600;
  background: #ef4444;
  color: white;
}

.confirm-text {
  font-size: 1.05rem;
  line-height: 1.5;
  color: #94a3b8;
}

/* === TOAST === */
.toast-container {
  position: absolute;
  bottom: 24px;
  right: 24px;
  z-index: 300;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid #1e2d4a;
  color: #f1f5f9;
  padding: 16px 20px !important;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 280px;
  transform: translateX(120%);
  animation: slideIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.toast.hide {
  animation: slideOut 0.3s ease forwards;
}

.toast-icon {
  font-size: 1.2rem;
}

.toast-success .toast-icon {
  color: #10b981;
}

.toast-error .toast-icon {
  color: #ef4444;
}

@keyframes slideIn {
  to {
    transform: translateX(0);
  }
}

@keyframes slideOut {
  to {
    transform: translateX(120%);
    opacity: 0;
  }
}

/* === MOBILE RESPONSIVE === */
.mobile-nav {
  display: none;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 70px;
  background: #0f1629 !important;
  border-top: 1px solid #1e2d4a;
  z-index: 90;
  padding: 0px;
  justify-content: space-between;
  align-items: center;
}

.mob-nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: #94a3b8 !important;
  font-size: 1.2rem;
  flex: 1;
  height: 100%;
  border-radius: 12px !important;
	padding:7px !important
}

.mob-nav-btn span {
  font-size: 0.65rem;
  font-weight: 500;
}

.mob-nav-btn.active {
  color: #6366f1;
}

.fab-btn {
  display: none;
  position: absolute;
  bottom: 90px;
  right: 20px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: white;
  font-size: 2rem;
  font-weight: 300;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  z-index: 90;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.fab-btn:active {
  transform: scale(0.9);
}

@media (max-width: 1200px) {
  .dashboard-layout {
    grid-template-columns: 1fr;
  }

  .right-panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .stats-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .weekly-board {
    grid-template-columns: repeat(3, 1fr);
  }

  .fc-grid {
    grid-template-columns: repeat(7, 1fr);
  }

  .fc-cell {
    padding: 4px;
  }

  .fc-date {
    width: 20px;
    height: 20px;
    font-size: 0.75rem;
  }
}

/* === MOBILE: ≤768px === */
@media (max-width: 768px) {
  .sidebar {
    position: absolute;
    transform: translateX(-100%);
    width: 85vw;
    max-width: 300px;
    height: 100%;
    z-index: 100;
  }

  .sidebar.open {
    transform: translateX(0);
  }
	#toastContainer{
		display:none !important
	}

  .sidebar-overlay {
    display: none;
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(2px);
    z-index: 90;
  }

  .sidebar-overlay.active {
    display: block;
  }

  .sidebar-close-btn {
    display: flex;
  }

  .hamburger-btn {
    display: flex;
  }

  .topbar {
    padding: 0 12px;
    height: 60px;
  }

  .topbar-date-block {
    display: none;
  }

  .search-bar-wrap {
    display: none;
  }

  .add-task-btn {
    display: none;
  }

  .topbar-center {
    display: none;
  }

  /* hide clock on mobile for space */

  .content-area {
    padding: 12px 12px 90px;
  }

  /* All layouts go single-column */
  .dashboard-layout {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .right-panel {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .stats-row {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .stats-overview-grid,
  .settings-grid,
  .notes-grid {
    grid-template-columns: 1fr;
  }

  .weekly-board {
    grid-template-columns: 1fr;
  }

  /* Panels and cards: make sure they fill width without overflow */
  .panel-card,
  .stat-card,
  .day-col,
  .timeline-container,
  .full-calendar {
    width: 100%;
    max-width: 100%;
  }

  /* Stat cards: shrink icon and text */
  .stat-card {
    padding: 12px;
    gap: 10px;
  }

  .stat-card-icon {
    width: 36px;
    height: 36px;
    font-size: 1.1rem;
    flex-shrink: 0;
  }

  .stat-card-num {
    font-size: 1.2rem;
  }

  .stat-card-lbl {
    font-size: 0.7rem;
  }

  /* Modal: full width on tiny screens */
  .modal-box {
    max-width: calc(100vw - 24px);
    border-radius: 12px;
  }

  .modal-body {
    padding: 16px;
    gap: 14px;
  }

  .modal-header,
  .modal-footer {
    padding: 14px 16px;
  }

  .form-row {
    flex-direction: column;
    gap: 8px;
  }

  /* Toast */
  .toast-container {
    right: 12px;
    left: 12px;
    bottom: 86px;
    align-items: center;
  }

  .toast {
    min-width: 0;
    width: 100%;
    max-width: 100%;
  }

  /* Week header bar */
  .week-nav-ctrl {
    gap: 6px;
  }

  .week-range-lbl {
    font-size: 0.8rem;
    min-width: 0;
  }

  .filter-bar {
    padding: 10px 12px;
    gap: 6px;
  }

  .filter-btn {
    padding: 5px 10px;
    font-size: 0.8rem;
  }

  /* Mobile nav & FAB */
  .mobile-nav {
    display: flex;
  }

  .fab-btn {
    display: flex;
  }
}

/* === SMALL MOBILE: ≤390px (iPhone SE, Galaxy A) === */
@media (max-width: 390px) {
  .topbar-greeting {
    font-size: 0.9rem;
  }

  /* Stats: fully single column on ≤375 so cards don't squish */
  .stats-row {
    grid-template-columns: 1fr;
  }

  /* Reduce padding further */
  .content-area {
    padding: 10px 10px 86px;
  }

  .panel-card {
    padding: 14px;
  }

  /* Section headers wrap neatly */
  .section-header,
  .view-header-bar {
    flex-wrap: wrap;
    gap: 8px;
  }

  .section-title,
  .view-title {
    font-size: 1rem;
  }

  /* Timeline: reduce time label further */
  .time-label {
    width: 46px;
    font-size: 0.6rem;
    padding-right: 6px;
  }

  .timeline-task {
    padding: 6px 8px;
    font-size: 0.78rem;
  }

  /* Calendar cells */
  .fc-cell {
    padding: 3px;
  }

  .fc-date {
    font-size: 0.7rem;
    width: 18px;
    height: 18px;
  }

  .fc-task-dot {
    font-size: 0.6rem;
    padding: 1px 4px;
  }

  /* Mini calendar */
  .cal-day {
    width: 22px;
    height: 22px;
    font-size: 0.65rem;
  }

  /* Notes grid */
  .notes-grid {
    gap: 14px;
  }

  .note-card {
    padding: 16px;
    font-size: 0.88rem;
    min-height: 160px;
  }

  /* Sidebar width on very small screens */
  .sidebar {
    width: 90vw;
  }

  /* Forms */
  .form-input {
    padding: 8px 10px;
    font-size: 0.9rem;
  }
}

/* ==========================================
   LIGHT MODE
   ========================================== */

.day-planner-app.light-mode {
  background: #f8fafc;
  color: #0f172a;
  border-color: #dbe2ea;
}

/* Sidebar */
.day-planner-app.light-mode .sidebar,
.day-planner-app.light-mode .mobile-nav {
  background: #ffffff;
  border-color: #dbe2ea;
}

/* Cards & Panels */
.day-planner-app.light-mode .panel-card,
.day-planner-app.light-mode .timeline-container,
.day-planner-app.light-mode .stat-card,
.day-planner-app.light-mode .day-col,
.day-planner-app.light-mode .full-calendar,
.day-planner-app.light-mode .stats-big-card,
.day-planner-app.light-mode .settings-card,
.day-planner-app.light-mode .filter-bar,
.day-planner-app.light-mode .modal-box,
.day-planner-app.light-mode .toast {
  background: #ffffff;
  border-color: #dbe2ea;
  color: #0f172a;
}

/* Topbar */
.day-planner-app.light-mode .topbar {
  background: rgba(255,255,255,0.9);
  border-color: #dbe2ea;
}

/* Text */
.day-planner-app.light-mode .section-title,
.day-planner-app.light-mode .view-title,
.day-planner-app.light-mode .modal-title,
.day-planner-app.light-mode .topbar-greeting,
.day-planner-app.light-mode .panel-card-title,
.day-planner-app.light-mode .stat-card-num,
.day-planner-app.light-mode .dh-num,
.day-planner-app.light-mode .settings-label {
  color: #0f172a !important;
}

/* Secondary text */
.day-planner-app.light-mode .topbar-date,
.day-planner-app.light-mode .stat-card-lbl,
.day-planner-app.light-mode .stat-card-sub,
.day-planner-app.light-mode .settings-hint,
.day-planner-app.light-mode .filter-lbl,
.day-planner-app.light-mode .dh-name,
.day-planner-app.light-mode .time-label {
  color: #64748b !important;
}

/* Inputs */
.day-planner-app.light-mode .form-input,
.day-planner-app.light-mode .settings-select,
.day-planner-app.light-mode .search-bar {
  background: #f1f5f9 !important;
  border-color: #dbe2ea !important;
  color: #0f172a !important;
}

/* Buttons */
.day-planner-app.light-mode .icon-btn,
.day-planner-app.light-mode .icon-btn-sm,
.day-planner-app.light-mode .theme-toggle-btn,
.day-planner-app.light-mode .filter-btn,
.day-planner-app.light-mode .today-btn,
.day-planner-app.light-mode .week-nav-btn {
  background: #f1f5f9;
  border-color: #dbe2ea;
  color: #0f172a;
}

/* Hover */
.day-planner-app.light-mode .nav-item:hover,
.day-planner-app.light-mode .cat-item:hover,
.day-planner-app.light-mode .task-card:hover,
.day-planner-app.light-mode .fc-cell:hover {
  background: #f8fafc;
}

/* Timeline lines */
.day-planner-app.light-mode .time-line {
  border-color: #e2e8f0;
}

/* Calendar headers */
.day-planner-app.light-mode .fc-header {
  background: #f8fafc;
}

/* Modal */
.day-planner-app.light-mode .modal-header,
.day-planner-app.light-mode .modal-footer,
.day-planner-app.light-mode .sidebar-header,
.day-planner-app.light-mode .sidebar-footer {
  border-color: #dbe2ea;
}

/* Notes & task cards */
.day-planner-app.light-mode .task-card,
.day-planner-app.light-mode .habit-item,
.day-planner-app.light-mode .goal-item {
  background: #f8fafc;
  color: #0f172a;
}