/* Custom Scrollbar for cleaner look */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: #d6d3d1;
  border-radius: 4px;
}
.dark ::-webkit-scrollbar-thumb {
  background: #44403c;
}

/* Chart Container Styling - MANDATORY for responsiveness */
.chart-container {
  position: relative;
  width: 100%;
  height: 300px;
  max-height: 400px;
}

/* Smooth transitions for theme switching */
body,
div,
nav,
aside {
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Focus Mode Pulse Animation */
@keyframes pulse-soft {
  0% {
    box-shadow: 0 0 0 0 rgba(132, 204, 22, 0.4);
  }
  70% {
    box-shadow: 0 0 0 20px rgba(132, 204, 22, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(132, 204, 22, 0);
  }
}
.focus-pulse {
  animation: pulse-soft 2s infinite;
}

/* Notes Editor Styles */
[contenteditable]:empty:before {
  content: attr(placeholder);
  color: #a8a29e;
  cursor: text;
}

/* Hide scrollbar for cleaner look in small boxes */
.custom-scrollbar::-webkit-scrollbar {
  height: 4px;
  width: 4px;
}
.custom-scrollbar::-webkit-scrollbar-thumb {
  background: #e7e5e4;
  border-radius: 4px;
}
.dark .custom-scrollbar::-webkit-scrollbar-thumb {
  background: #44403c;
}
.custom-scrollbar::-webkit-scrollbar {
  width: 6px;
}
.custom-scrollbar::-webkit-scrollbar-track {
  background: transparent;
}
.custom-scrollbar::-webkit-scrollbar-thumb {
  background: #e7e5e4;
  border-radius: 10px;
}
.dark .custom-scrollbar::-webkit-scrollbar-thumb {
  background: #44403c;
}

.download-btn {
  display: none;
  align-items: center;
  gap: 6px;

  padding: 6px 12px;
  font-size: 12px; /* Small text */
  font-weight: 500;

  background: #f3f4f6;
  color: #333;

  border: 1px solid #e5e7eb;
  border-radius: 6px;

  cursor: pointer;
  transition: all 0.2s ease;
}

.download-btn:hover {
  background: #e5e7eb;
}

.download-btn span {
  opacity: 0.85; /* soft text */
}

