/* CUSTOM STYLES FOR TRADING JOURNAL APP */

:root {
  --color-bg: #0f172a;
  --color-card-bg: rgba(30, 41, 59, 0.9);
  --color-border: rgba(51, 65, 85, 0.8);
  --color-text: #f8fafc;
  --color-subtext: #94a3b8;
}

/* LIGHT MODE OVERRIDES */
html.light {
  --color-bg: #f8fafc;
  --color-card-bg: #ffffff;
  --color-border: #e2e8f0;
  --color-text: #0f172a;
  --color-subtext: #64748b;
}

html.light body {
  background-color: var(--color-bg);
  color: var(--color-text);
}

html.light header {
  background-color: rgba(255, 255, 255, 0.9);
  border-color: #e2e8f0;
}

html.light header h1 {
  color: #0f172a;
}

html.light nav {
  background-color: rgba(255, 255, 255, 0.95);
  border-color: #e2e8f0;
}

html.light .tab-content > div {
  background-color: #ffffff;
  border-color: #e2e8f0;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

html.light input, 
html.light select, 
html.light textarea {
  background-color: #f1f5f9 !important;
  color: #0f172a !important;
  border-color: #cbd5e1 !important;
}

/* CUSTOM CHIP STYLES */
.tag-chip {
  cursor: pointer;
  user-select: none;
  transition: all 0.15s ease-in-out;
}

.tag-chip:active {
  transform: scale(0.96);
}

/* CALENDAR CELL STYLES */
.cal-day-cell {
  aspect-ratio: 1 / 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 4px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.cal-day-cell:hover {
  filter: brightness(1.2);
}

/* TAB NAVIGATION SMOOTH SCROLL */
html {
  scroll-behavior: smooth;
}

/* HIDE SCROLLBAR FOR CLEAN UI */
::-webkit-scrollbar {
  width: 4px;
  height: 4px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: rgba(100, 116, 139, 0.5);
  border-radius: 4px;
}
