*:focus {
  outline: none !important;
  box-shadow: none !important;
}

body > iframe {
  display: none;
}
.w-100::-webkit-scrollbar {
  display: none;
}

.content-wrapper {
  position: absolute;
  top: 50px;
  left: 10px;
  right: 10px;
  display: flex;
  color: var(--text);
  font-style: normal;
}

.left-wrapper {
  padding: 10px;
  border: 2px solid var(--border);
  border-radius: 5px;
  overflow: auto;
}

.trade-wrapper {
  padding-left: 10px;
  padding-right: 10px;
  overflow-y: auto;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.hidden-scrollbar::-webkit-scrollbar {
  display: none;
}

.left-wrapper::-webkit-scrollbar {
  display: none;
}

.trade-wrapper::-webkit-scrollbar {
  display: none;
}

.divider {
  width: 100%;
  opacity: 0.5;
  border: 1px solid var(--border-light);
  margin: 15px 0;
}

.search-label {
  font-weight: 600;
  font-size: 24px;
  line-height: 29px;
  color: var(--text);
  margin-left: 20px;
  height: 40px;
  display: flex;
  align-items: center;
}

.header-img {
  width: 32px;
  height: 32px;
  margin-left: 8px;
  margin-right: 8px;
  cursor: pointer;
  margin-top: 4px;
}

/* .search-container / #search-input / #search-button / #clear-button
   moved to components/News/styles/news.css — they're the News panel's
   header chrome and need to load in pop-out windows. */

.timestamp {
  font-size: 12px;
  font-weight: 300;
  color: var(--text-dim);
}

.chart-grid {
  display: grid;
  gap: 5px;
  grid-template-columns: repeat(auto-fill, minmax(50%, 1fr));
}

.chart {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  position: relative;
  height: 100%;
}

.chart:nth-child(3):last-child {
  grid-column: span 2;
}

.chart:nth-child(4) {
  grid-column: 2;
}

.chart:nth-child(5):last-child {
  grid-column: span 2;
}

.chart:nth-child(6) {
  grid-column: 2;
}

.chart:nth-child(7):last-child {
  grid-column: span 2;
}

.chart:nth-child(8) {
  grid-column: 2;
}

.positive {
  color: var(--profit);
}

.negative {
  color: var(--loss);
}

.news-scroll-up {
  position: sticky;
  bottom: 0px;
  left: 0px;
  float: right;
}

.grid-container {
  display: grid;
  grid-auto-columns: minmax(0, 1fr);
  grid-auto-flow: column;
}

/* .loading-container / .loading-indicator moved to
   components/News/styles/news.css — they belong with the News component
   that uses them, and need to load in pop-out windows. */

.image-btn-container {
  text-align: left;
  margin-top: 10px;
}

.image-btn {
  background-color: var(--bg-button);
  color: var(--text);
  border: 1px solid var(--border-light);
  border-radius: 4px;
  padding: 3px 6px;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px var(--shadow);
}

.image-btn + .image-btn {
  margin-left: 2px;
}

.image-btn:hover {
  background-color: var(--bg-button-hover);
  box-shadow: 0 2px 4px var(--shadow);
}

.image-btn:disabled {
  background-color: var(--bg-button-hover);
  cursor: not-allowed;
  opacity: 0.7;
  border-color: var(--border-light);
}

.clock-container {
  font-family: 'Fira Code';
  border-radius: 5px;
  background-color: var(--bg-alt);
  padding: 5px 8px;
  text-align: center;
  cursor: pointer;
}

.clock-label {
  font-weight: normal;
  font-size: 14px;
  font-family: 'Fira Code';
  color: var(--text-dim);
}

.clock-time {
  font-weight: normal;
  font-size: 14px;
  font-family: 'Fira Code';
  color: var(--text-dim);
}

/* NOTE: deliberately no body/theme-class background here. main.css is
   imported by the notification and CLI windows, which are transparent,
   always-on-top overlays — giving the body a background makes them render as
   an opaque box. The real window background lives in global.css (imported
   only by the main app + pop-out windows). Theme colors still reach overlay
   content via the :root CSS variables. */

#search-input {
  background: var(--bg-input);
  color: var(--text-dim);
}

#search-input::placeholder {
  color: var(--text-muted);
}

#clear-button img {
  opacity: 0.75;
}

.virtuoso-scroller {
  height: 100%;
  width: 100%;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  will-change: transform;
  contain: content;
  -webkit-overflow-scrolling: auto;
  scroll-behavior: auto;
}
