/* Stock Analysis Dashboard Styles */

body {
  background-color: #121212;
  color: #e0e0e0;
  font-family: "Inter", sans-serif;
}

/* Safe area for notch devices - mobile only */
@media screen and (max-width: 768px) {
  body {
    background-color: #1a1a1a;
  }
  body > header {
    margin-top: 20px;
  }
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #1a1a1a;
}
::-webkit-scrollbar-thumb {
  background: #333;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #444;
}

/* Line clamp */
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Slide Menu */
.slide-menu {
  position: fixed;
  top: 0;
  left: -280px;
  width: 280px;
  height: 100vh;
  background-color: #1a1a1a;
  border-right: 1px solid #2a2a2a;
  z-index: 100;
  transition: left 0.3s ease;
  overflow-y: auto;
}

/* Safe area for slide menu - mobile only */
@media screen and (max-width: 768px) {
  .slide-menu {
    padding-top: 44px;
  }
}
.slide-menu.open {
  left: 0;
}

.slide-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
}
.slide-menu-overlay.open {
  opacity: 1;
  visibility: visible;
}

/* Hamburger Button */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 24px;
  cursor: pointer;
  padding: 3px;
}
.hamburger span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: #e0e0e0;
  border-radius: 2px;
  transition: all 0.3s ease;
}
.hamburger:hover span {
  background-color: #3b82f6;
}
