﻿/* StartpageV2 Styles - Based on Figma Design */

/* Color Variables */
:root {
  --bg-darker: #110f29;
  --bg-primary: #2b274b;
  --bg-secondary: #161431;
  --bg-tertiary: #33314b;
  --bg-soft: #403c65;
  --bg-supersoft: #353156;
  --bg-default-bg: #161431;

  --text-primary: #ffffff;
  --text-secondary: #8a87b0;
  --text-soft: #615d89;
  --text-supersoft: #6c678c;

  --accent-primary: #63ffda;
  --accent-secondary: #4da25c;
  --accent-negative: #ab474d;

  --border-radius-sm: 5px;
  --border-radius-md: 10px;
  --border-radius-lg: 15px;
  --border-radius-xl: 16px;
  --border-radius-xxl: 20px;

  /* Dynamic banner height - updated by JavaScript */
  --banner-height: 0px;
}


.startpage-v2 {
  align-items: stretch;
  display: flex;
  flex-direction: row;
}

@media (max-width: 1079.89px) {
  .last-stock-search {
    flex-basis: 0;
    display: none;
  }

  .startpage-v2 {
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
  }
}

@media (min-width: 1080px) {
  .last-stock-search {
    flex-basis: 390px;
    display: block;
  }
}

.max-height-container {
  padding-right: 20px;
}

.last-stock-search-inner .max-height-container {
  overflow-x: hidden;
}

.last-stock-search {
  margin-right: 22px;
}

/* Goldesel Daily Button */
.home-global-container-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  border-radius: var(--border-radius-sm);
  padding: 6px 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-bottom: 2px;
  border-radius: 7px;
  margin-left: 4px;

}

.last-stock-search-item {
  margin-left: 4px;
}

.stock-container .headline-h2,
.stock-container .stock-navigation,
.stock-container .showMoreLink {
  margin-left: 4px;
}

.home-global-container-btn:hover,
.home-global-container-btn.active {
  background: rgba(217, 217, 217, 0.15);
}

.stock-feed-container-inner,
.last-stock-search-inner {
  -webkit-mask-image: none;
  mask-image: none;
}


.home-global-container-btn .btn-icon {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  flex-shrink: 0;
  margin-right: 12px;
  background: rgba(255, 255, 255, .1) !important;
  overflow: visible;
  position: relative;

}

.home-global-container-btn .btn-icon img {
  width: 100%;
  object-fit: cover;
  position: absolute;
  bottom: 0;
  left: 0px;
  border-bottom-right-radius: 12px;
  border-bottom-left-radius: 12px;
}

.home-global-container-btn .btn-content {
  flex: 1;
}

.home-global-container-btn .btn-title {
  font-weight: 800;
  font-size: 12px;
  color: var(--text-primary);
  margin-bottom: 2px;
  line-height: 1.2;
}

.home-global-container-btn .btn-subtitle {
  font-weight: 500;
  font-size: 11px;
  color: var(--text-secondary);
  line-height: 1.2;
}

.home-global-container-btn .btn-play {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: rgba(99, 255, 218, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.home-global-container-btn .btn-play i {
  color: var(--accent-primary);
  font-size: 10px;
  margin-left: 2px;
}

/* Navigation Menu */
.nav-menu {
  margin-bottom: 20px;
}

.nav-item {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  margin-bottom: 8px;
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  transition: all 0.2s ease;
}

.nav-item.active {
  background: var(--bg-tertiary);
}

.nav-item:hover {
  background: var(--bg-soft);
}

.nav-icon {
  width: 34px;
  height: 34px;
  background: var(--text-primary);
  border-radius: 12px;
  opacity: 0.07;
  margin-right: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-content {
  flex: 1;
}

.nav-title {
  font-weight: 800;
  font-size: 12px;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.nav-description {
  font-weight: 500;
  font-size: 11px;
  color: var(--text-secondary);
  line-height: 1.2;
}

.nav-arrow {
  width: 8px;
  height: 8px;
  color: var(--accent-primary);
  transform: rotate(180deg);
}

/* Stock List Container */
.stock-list-container {
  position: relative;
  height: 752px;
  overflow-y: auto;
  padding-right: 10px;
}

/* Scrollbar */
.stock-list-container::-webkit-scrollbar {
  width: 9px;
}

.stock-list-container::-webkit-scrollbar-track {
  background: var(--bg-primary);
  border-radius: var(--border-radius-xxl);
}

.stock-list-container::-webkit-scrollbar-thumb {
  background: var(--accent-primary);
  border-radius: var(--border-radius-xxl);
  height: 258px;
}

/* Section Headers */
.section-header {
  font-weight: 700;
  font-size: 13px;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.section-header.secondary {
  color: var(--text-supersoft);
}


.stock-arrow {
  width: 8px;
  height: 8px;
  color: var(--accent-primary);
  transform: rotate(180deg);
}

.stock-arrow.rotate-180 {
  transform: rotate(0deg);
}

/* Main Content Area */
.main-content {
  position: absolute;
  left: 462px;
  top: 266px;
  width: 1342px;
  height: 646px;
  background: var(--bg-secondary);
  border-radius: var(--border-radius-lg);
}

/* Content Header */
.content-header {
  width: 100%;
  display: flex;
  gap: 11px;
}

.bubble-menu {
  padding: 8px 20px;
  border-radius: 20px;
  background-color: #3a3a5a;
  color: #fff;
  cursor: pointer;
  transition: background-color 0.3s ease;
  text-align: center;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 500;
  line-height: 16px;
  margin-bottom: 20px;
}

.bubble-menu.inactive {
  background: var(--bg-soft);
  color: var(--text-primary);
  font-weight: 500;
}

.bubble-menu:hover {
  opacity: 0.8;
}

/* Banner Area */
.banner-area {
  width: 100%;
  min-height: 90px;
  background: transparent;
  border-radius: var(--border-radius-md);
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  margin-bottom: 20px;
  padding-top: 0px;
  overflow-x: hidden;
  overflow-y: hidden;
}

.daily-content h3 {
  padding-left: 0px;
}

/* Banner area is hidden via v-show when hasBanners is false */

.banner-placeholder {
  font-weight: 500;
  font-size: 16px;
  color: var(--text-primary);
  opacity: 0.6;
}

/* Banner Slider Styles */
.banner-slider-container {
  width: 100%;
  height: 100%;
  padding: 0;
  position: relative;
}

.banner-slider-wrapper {
  position: relative;
  width: 100%;
  height: 90px;
}

.banner-slider-container.has-many-banners .banner-slider-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  height: 90px;
  /* Full width - shows 2 full banners + partial third banner */
  /* Arrow and shadow are positioned relative to this wrapper, so they stay visible */
}

.banner-slider-scroll {
  display: flex;
  flex-direction: row;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  padding: 0;
  gap: 16px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  /* Firefox */
  -ms-overflow-style: none;
  /* IE and Edge */
  width: 100%;
  height: 120px;
  /* Increased height to push scrollbar out of visible area */
  padding-bottom: 20px;
  align-items: flex-start;
  /* Hide scrollbar but allow scrolling */
}

.banner-slider-container.has-many-banners .banner-slider-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  /* All banners are in the scroll container */
  /* Scrollbar is hidden via scrollbar-width: none and ::-webkit-scrollbar */
}

.banner-slider-scroll::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
  /* Chrome, Safari, Opera */
}

/* Ensure scrollbar is completely hidden for banner slider */
.banner-slider-scroll::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  background: transparent !important;
}

.banner-slider-scroll {
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}

.bubble-menu.active {
  background: #333055;
}

.banner-item {
  flex: 0 0 auto;
  width: 470px;
  height: 90px;
  border-radius: 13px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: opacity 0.5s ease, transform 0.5s ease, margin-right 0.5s ease;
  margin-right: 0;
}

.banner-item.closing {
  opacity: 0;
  transform: scale(0.8);
  margin-right: 0;
  height: 0;
  overflow: hidden;
}

.banner-close-btn {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 30px;
  height: 30px;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  padding: 0;
  transition: background-color 0.2s ease, opacity 0.2s ease;
}

.banner-close-btn:hover {
  background: rgba(255, 255, 255, 0.35);
  opacity: 1;
}

.banner-close-btn i {
  color: #fff;
  font-size: 16px;
}

/* Banner Navigation Arrow */
.banner-nav-arrow {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  border-radius: 50%;
  display: flex !important;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 20;
  transition: all 0.2s ease;
  color: var(--text-primary);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  pointer-events: auto;
}

.banner-nav-arrow:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-50%) scale(1.1);
}

.banner-nav-arrow:disabled,
.banner-nav-arrow.disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.banner-nav-arrow i {
  font-size: 16px;
  color: var(--accent-primary);
}

.banner-nav-arrow:active:not(:disabled) {
  transform: translateY(-50%) scale(0.95);
}

/* Banner Shadow Right */
.banner-shadow-right {
  position: absolute;
  right: 0;
  top: 0;
  height: 90px;
  width: 120px;
  background: linear-gradient(to left, rgba(22, 20, 49, 0.95) 0%, rgba(22, 20, 49, 0.7) 50%, rgba(22, 20, 49, 0) 100%);
  pointer-events: none;
  z-index: 12;
  border-radius: 0 13px 13px 0;
  display: block !important;
}

/* Banner Pagination Dots */
.banner-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 0;
}

.banner-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  padding: 0;
  transition: all 0.2s ease;
}

.banner-dot:hover {
  background: rgba(255, 255, 255, 0.5);
  transform: scale(1.2);
}

.banner-dot.active {
  background: var(--accent-primary);
  width: 24px;
  border-radius: 4px;
}


/* External Banner Styles */
.banner-external {
  width: 100%;
  height: 100%;
  position: relative;
}

.banner-external .banner-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 15px;
}

/* Internal Banner Styles */
.banner-internal {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(64, 60, 101, 1) 0%, rgba(99, 255, 218, 1) 100%);
  border-radius: 15px;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.banner-content {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 100%;
}

.banner-text {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-right: 10px;
}

.banner-title {
  color: white;
  font-size: 18px;
  font-weight: 900;
  font-style: italic;
  line-height: 1.2;
  margin-bottom: 4px;
}

.banner-description {
  color: white;
  font-size: 10px;
  font-weight: 500;
  font-style: italic;
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.banner-description i {
  font-size: 12px;
}

.banner-icon {
  flex: 0 0 70px;
  width: 70px;
  height: 70px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.banner-icon-image {
  width: 70px;
  height: 70px;
  position: absolute;
  top: 2px;
  left: 2px;
  opacity: 0.9;
  border: 2px solid rgba(99, 255, 218, 0.9);
  border-radius: 35px;
  object-fit: cover;
}

.banner-icon svg {
  position: relative;
  z-index: 1;
}

/* Banner Modal Styles */
.banner-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  padding: 20px;
  overflow-y: auto;
}

.banner-modal-content {
  position: relative;
  background: #161431;
  border-radius: 16px;
  width: 100%;
  max-width: 650px;
  max-height: 90vh;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  min-height: 400px;
}

.banner-modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease;
}

.banner-modal-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.banner-modal-body {
  padding: 0;
  color: #fff;
  font-family: -apple-system, arial, sans-serif;
  width: 100%;
  overflow: hidden;
  position: relative;
  min-height: 400px;
}

.banner-modal-iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  background: transparent;
  min-height: 100%;
}

.banner-modal-video-container {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}

.banner-modal-video {
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: 90vh;
  background: #000;
  border-radius: 8px;
}

.banner-modal-inner-content {
  width: 100%;
}

.banner-modal-inner-content .poll-embed {
  max-width: 1000px;
  margin: 0 auto;
}

.banner-modal-inner-content .poll-embed iframe {
  width: 100%;
  height: 100vh;
  min-height: 2000px;
  border: 0;
  display: block;
}

.banner-modal-inner-content #jotform-container {
  margin-top: 20px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .banner-item {
    width: 280px;
    height: 100px;
  }

  .banner-internal {
    padding: 15px;
  }

  .banner-title {
    font-size: 16px;
  }

  .banner-description {
    font-size: 9px;
  }

  .banner-icon {
    flex: 0 0 60px;
    width: 60px;
    height: 60px;
  }

  .banner-icon-image {
    width: 60px;
    height: 60px;
  }

  .banner-modal-content {
    max-width: 100%;
    max-height: 100vh;
    border-radius: 0;
  }

  .banner-modal-body {
    padding: 20px;
  }
}


.daily-content {
  width: 100%;
  height: auto;
  background: var(--bg-default-bg);
  border-radius: 15px;
  padding: 25px 30px;
  display: flex;
  gap: 20px;
  flex-direction: row;
  gap: 20px;
  align-items: flex-start;
  min-height: 300px;
}


.daily-content-article {
  flex: 2 2 auto;
  padding-right: 8px;
  background: rgba(46, 43, 80, 0.6);
  border-radius: 12px;
  padding: 24px;
}

.article-body {
  margin-top: 20px;
  color: var(--text-primary);
  color: #C8C6D9;
  font-size: 15px;
  font-weight: 400;
  line-height: 22px;
}

.article-body h1 {
  font-size: 22px !important;
  font-weight: 700 !important;
  margin-top: 16px !important;
  margin-bottom: 8px !important;
}

.article-body h2 {

  font-size: 20px !important;
  font-weight: 700 !important;
  margin-top: 16px !important;
  margin-bottom: 8px !important;
}

.article-body h3 {

  font-size: 18px !important;
  font-weight: 700 !important;
  margin-top: 16px !important;
  margin-bottom: 8px !important;
}

.article-body h4 {

  font-size: 16px !important;
  font-weight: 700 !important;
  margin-top: 16px !important;
  margin-bottom: 8px !important;
}

.article-body h5 {

  font-size: 14px !important;
  font-weight: 700 !important;
  margin-top: 16px !important;
  margin-bottom: 8px !important;
}

.article-body h6 {

  font-size: 12px !important;
  font-weight: 700 !important;
  margin-top: 16px !important;
  margin-bottom: 8px !important;
}

.daily-overview-item {
  cursor: pointer;
  margin-bottom: 10px;
  position: relative;
  margin-left: 2px;
  width: calc(100% - 4px);
}


.daily-overview-item-header {
  width: 100%;
  min-height: 40px;
  overflow: hidden;
  border-radius: 6px;
  background: #403c65;
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 10px;
  position: relative;
}

.daily-overview-item-header .text-container {
  flex-shrink: 2;
  min-width: 0;
}

.daily-overview-item-gradient {
  height: 60px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  transition: all 0.2s ease;
}

.daily-overview-item.active .daily-overview-item-gradient {
  box-shadow: 0 0 0 1.5px var(--accent-primary);
}

.daily-overview-item.locked .daily-overview-item-gradient {
  opacity: 0.5;
}

.daily-overview-item:hover .daily-overview-item-gradient {
  opacity: 0.8;
}

.daily-overview-item.opacityFutureIdea .daily-overview-item-gradient {
  opacity: 0.5;
}

.daily-content-article .text-container .title {
  font-size: 16px;
  font-weight: 700;
  line-height: 22px;
}

.daily-content-article .text-container .subtitle {
  font-size: 13px;
  font-style: italic;
  font-weight: 500;
  white-space: normal;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}

.time-container {
  padding-left: 8px;
  padding-right: 6px;
  flex-basis: 66px;
  text-align: center;
  color: var(--text-primary);
  display: flex;
  flex-direction: column;
}

.time-prefix {
  font-size: 8px;
  line-height: 12px;
  font-weight: 800;
}

.time-main {
  font-size: 10px;
  line-height: 12px;
  font-weight: 800;
}

.image-container {
  width: 58px;
  height: 58px;
  margin-right: 12px;
  border-radius: 5px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.text-container {
  flex: 1;
  overflow: hidden;
}

.text-container .title {
  font-size: 12px;
  font-weight: 700;
  line-height: 16px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.text-container .subtitle {
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 3px;
  max-width: 100%;
  display: inline-block;
}

.daily-content-article .subtitle {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}

.chevron-container {
  flex-basis: 48px;
  text-align: center;
  color: var(--text-primary);
}

.notification-dot {
  position: absolute;
  top: -3px;
  right: -3px;
  width: 12px;
  height: 12px;
  background-color: var(--accent-negative);
  border-radius: 6px;
}

.trading-idea-list-element {
  display: flex;
  flex-direction: row;
  align-items: center;
  width: 100%;
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 8px;
  background: var(--bg-supersoft);
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s ease;
}

.trading-idea-list-element:hover {
  background: var(--bg-soft);
}

.trading-idea-list-element.active {
  border: 1px solid #63FFDA;
  background: var(--bg-soft);
}

.trading-idea-list-element .item-time {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  margin-right: 12px;
  width: 50px;
}

.trading-idea-list-element .item-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  overflow: hidden;
  margin-right: 12px;
}

.trading-idea-list-element .item-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.trading-idea-list-element .item-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.trading-idea-list-element .item-title {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 2px;
}

.trading-idea-list-element .item-subtitle {
  font-size: 12px;
  color: var(--text-primary);
}

.trading-idea-list-element .item-action-icon {
  margin-left: 12px;
  color: var(--text-primary);
}

.trading-idea-list-element.locked {
  cursor: default;
}

.daily-content h3,
.daily-content h2 {
  color: rgb(255, 255, 255);
  margin-bottom: 10px;
  margin-top: 0;
  line-height: 30px;
  font-size: 21px;
  font-weight: 700;

}

.max-height-container {
  height: 74vh;
}

.daily-content-article-content,
#analyst-calls-watchlist-container,
#trade-tracker-page-content {
  padding: 0px;
  height: calc(74vh - 12px - var(--banner-height));
  overflow-y: auto;
  padding-right: 20px;
}

.daily-content-article-content {
  height: calc(74vh - 60px - var(--banner-height));
}

.daily-content-trading {
  height: calc(74vh - 12px - var(--banner-height));
  flex: 0 0 400px;
  margin-top: -15px;
  overflow-y: auto;
}

#analyst-calls-watchlist-container,
#trade-tracker-page-content {
  overflow-x: hidden;
}

@media (max-width: 1379.89px) {
  .last-stock-search {
    flex-basis: 0;
    display: none;
  }
}

/* More Button */
.more-button {
  position: absolute;
  bottom: 20px;
  left: 103px;
  font-weight: 400;
  font-size: 12px;
  color: var(--accent-primary);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
}

.more-button:hover {
  opacity: 0.8;
}

/* Gradient Overlay */
.gradient-overlay {
  position: absolute;
  bottom: 0;
  left: 82px;
  width: 363px;
  height: 57px;
  background: linear-gradient(to top, var(--bg-secondary) 0%, rgba(22, 20, 49, 0) 100%);
  border-radius: var(--border-radius-xxl);
  opacity: 0.8;
  pointer-events: none;
}

/* Animation Classes */
.fade-in {
  animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.slide-in-left {
  animation: slideInLeft 0.4s ease-out;
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.flex {
  display: flex;
}

.items-center {
  align-items: center;
}

.justify-between {
  justify-content: space-between;
}

.justify-center {
  justify-content: center;
}

.flex-1 {
  flex: 1;
}

.relative {
  position: relative;
}

.absolute {
  position: absolute;
}

.cursor-pointer {
  cursor: pointer;
}

.transition {
  transition: all 0.2s ease;
}

#last-stock-search {
  top: 0 !important;
}

.newsticker-detail-header h2 {
  text-align: left;
  padding-left: 0;
  margin-left: 0;
}

.newsticker-detail-body h2 {
  margin-left: 0;
  padding-left: 0;
}

/* Newsticker Zwei-Spalten: Liste links, Detail rechts (wie Daily/Artikel) */
.newsticker-content {
  display: flex;
  flex-direction: row;
  gap: 0;
  align-items: stretch;
  width: 100%;
  min-height: 300px;
}

.newsticker-list-column {
  flex: 0 0 400px;
  height: calc(74vh - 12px - var(--banner-height, 0px));
  overflow-y: auto;
  overflow-x: hidden;
  margin-top: -15px;
  padding: 0 20px 20px 12px;
}

.newsticker-detail-column,
.newsticker-detail-column.daily-content-container {
  flex: 2 2 auto;
  min-width: 0;
  overflow: hidden;
  height: calc(74vh - 12px - var(--banner-height, 0px));
  display: flex;
  flex-direction: column;
}

.newsticker-detail-host {
  flex: 1 1 auto;
  margin-left: 16px;
  width: calc(100% - 16px);
}

.newsticker-detail-inner.daily-content-article {
  flex: 2 2 auto;
  padding: 24px;
  padding-right: 8px;
  background: rgba(46, 43, 80, 0.6);
  border-radius: 12px;
  min-height: 0;
}

.newsticker-detail-placeholder {
  color: var(--text-secondary, #8a87b0);
  padding: 20px 0;
}

.newsticker-detail-header {
  margin-bottom: 16px;
}

.newsticker-detail-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--text-secondary, #8a87b0);
  margin-bottom: 8px;
}

.newsticker-detail-time {
  font-weight: 500;
}

.newsticker-detail-instrument {
  font-weight: 600;
  color: var(--text-primary, #fff);
}

.newsticker-detail-price-row {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.newsticker-detail-headline {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary, #fff);
  line-height: 1.35;
  margin: 0;
}

.newsticker-detail-image {
  margin-top: 12px;
  margin-bottom: 16px;
  border-radius: 12px;
  overflow: hidden;
}

.newsticker-detail-image__img {
  display: block;
  max-width: 100%;
  height: auto;
  vertical-align: top;
}

.newsticker-detail-earnings {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--accent-primary, #63ffda);
  margin-bottom: 16px;
}

.newsticker-detail-body {
  margin-top: 12px;
  margin-bottom: 20px;
}

.newsticker-detail-actions {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.newsticker-detail-open-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-primary, #63ffda);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.newsticker-detail-open-link:hover {
  opacity: 0.9;
  color: var(--accent-primary, #63ffda);
}

@media (max-width: 900px) {
  .newsticker-list-columnt {
    flex-direction: column;
  }

  .newsticker-list-column {
    flex: 1 1 auto;
    width: 100%;
    height: calc(100vh - 150px - var(--banner-height, 0px));
    min-height: 320px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-right: 0;
    padding-left: 0;
  }

  .newsticker-list-column::-webkit-scrollbar {
    display: none;
  }

  .kursuebersicht-news-aggregator__item {
    width: calc(100% - 4px);
    margin-left: 2px !important
  }

  .newsticker-detail-column,
  .newsticker-detail-column--mobile-detail {
    flex: 2 2 100%;
    width: 100%;
    max-height: none;
    position: relative;
  }

  .newsticker-detail-host {
    flex: 1 1 auto;
    margin-left: 0px;
    width: calc(100% - 0px);
  }

  .newsticker-detail-column,
  .newsticker-detail-column.daily-content-container {
    height: auto;
  }

  .newsticker-detail-inner.daily-content-article {
    flex: 2 2 auto;
    padding: 8px;
    padding-right: 8px;
    background: rgba(46, 43, 80, 0.0);
  }

  .daily-content-article-content {
    height: auto;
  }
  .daily-content-article-content {
    padding-right: 0px;
  }

}
h3.artikel-sidebar-heading {
  margin-top: 16px !important;
}

.linked-instrument {
  width: 100%;
  min-height: 40px;
  overflow: hidden;
  border-radius: 6px;
  background: #403c65;
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 10px;
  position: relative;
}
.linked-instrument-name {
  color: #fff;
}
.linked-instrument-image {
  border-radius: 8px;
}
@media (min-width: 1580px) {
  #last-stock-search {
    height: auto;
  }
}

@media (max-width: 900px) {
  .daily-content-trading {
    height: auto;
    flex: 1 1 auto;
    width: 100%;
    min-height: 320px;
    /* Scrollbar ausblenden → volle Breite nutzen, kein Platz für Scrollbalken reserviert */
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-right: 0;
  }

  .daily-content-trading::-webkit-scrollbar {
    display: none;
  }

  .daily-content-trading.max-height-container {
    padding-right: 0;
  }

  .daily-content {
    flex-direction: column;
  }

  .daily-content-article {
    flex: 2 2 100%;
    width: 100%;
    background-color: transparent;
    padding: 0px;
  }

  .daily-content {
    padding: 20px 16px;
  }

  .content-header {
    overflow-y: visible;
    overflow-x: auto;
    /* Hide scrollbar for Chrome, Safari and Opera */
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    margin-left: -16px;
    padding-left: 16px;
    width: calc(100% + 32px);
    padding-right: 16px;
    align-items: center;

  }

  .content-header::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari and Opera */
  }

  /* Daily: nur Liste ODER Detail sichtbar; Zurück-Button in der Detailbox */
  .daily-content-container--mobile-detail {
    position: relative;
    width: 100%;
  }

  .daily-detail-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    padding: 8px 14px;
    background: rgba(46, 43, 80, 0.8);
    border: 0px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    color: var(--text-primary, #fff);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
  }

  .daily-detail-back-btn:hover {
    background: rgba(46, 43, 80, 1);
    border-color: rgba(255, 255, 255, 0.25);
  }

  .daily-detail-back-btn i {
    font-size: 14px;
  }

  /* Newsticker: Zurück-Button in Detail-Spalte (gleicher Stil wie Daily) */
  .newsticker-detail-column--mobile-detail .daily-detail-back-btn {
    margin-bottom: 12px;
  }

  /* Artikel: Liste/Detail wie Daily – Höhe, Scrollbar, volle Breite */
  .artikel-content {
    flex-direction: column;
  }

  .artikel-list-column {
    height: auto;
    min-height: 320px;
    width: 100%;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-right: 0;
    max-height: 100% !important;
  }

  .artikel-list-column.max-height-container {
    padding-right: 0;
  }

  .artikel-list-column::-webkit-scrollbar {
    display: none;
  }

  .artikel-detail-column--mobile-detail {
    position: relative;
    width: 100%;
  }

  .artikel-detail-column--mobile-detail .daily-detail-back-btn {
    margin-bottom: 12px;
  }
}

/* Daily Day Slider */
.daily-day-slider {
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
  /* Firefox */
  -ms-overflow-style: none;
  /* IE 10+ */
  margin-bottom: 20px;
  max-width: 100%;
}

.daily-day-slider::-webkit-scrollbar {
  display: none;
  /* Chrome, Safari, Opera*/
}

.day-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 4px 24px 4px 0px;
  cursor: pointer;
  color: var(--text-secondary);
  white-space: nowrap;
  margin-right: 0px;
}

.day-name {
  font-size: 12px;
  font-weight: 500;
}

.day-date {
  font-size: 12px;
  font-weight: 500;
}

.day-item.active .day-name,
.day-item.active .day-date {
  color: var(--text-primary);
  font-weight: 700;
}


.pinned-badge {
  position: absolute;
  left: -5px;
  top: -5px;
  width: 20px;
  height: 20px;
  background-color: #444267;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;
  border: 1.5px solid #201e3a;
}

/* Benefits Screen Styles */
#benefits-screen-wrapper {
  margin-top: 20px;
}

.daily-overview-item-wrapper {
  margin-left: 20px;
  margin-bottom: 5px;
}


.item-image {
  width: 30px;
  height: 30px;
  margin-right: 10px;
  border-radius: 5px;
}

.item-content {
  display: flex;
  flex-direction: column;
}

.item-text {
  font-size: 14px;
  color: #fff;
  opacity: 0.5;
}

.premium-button-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: center;
  background-color: transparent;
  display: flex;
}

.premium-button {
  width: 204px;
  height: 38px;
  justify-content: center;
  align-items: center;
  background-color: #FFBC29;
  /* premiumColor */
  border-radius: 6px;
  display: flex;
  flex-direction: row;
  color: #000;
  font-size: 12px;
  font-weight: 700;
  border: none;
  cursor: pointer;
}

.premium-button i {
  margin-right: 5px;
}

.flatList {
  background-color: transparent;
  -webkit-filter: blur(5px);
  filter: blur(5px);
}

.premium-view {
  margin-left: 20px;
  margin-right: 20px;
  margin-top: 10px;
  margin-bottom: 20px;
  border-radius: 11px;
  background-color: transparent;
  padding: 20px;
  border: 1px solid #45435F;
  flex: 1;
}

.premium-text {
  font-size: 14px;
  line-height: 22px;
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  color: #fff;
}

.list {
  padding-left: 0;
  margin-top: 6px;
}

.item {
  font-size: 10px;
  margin-bottom: 2px;
  font-style: italic;
  line-height: 14px;
  font-weight: 500;
  color: #fff;
}

.link {
  color: #C993FF;
  text-decoration: none;
  font-size: 10px;
  margin-bottom: 2px;
  font-style: italic;
  line-height: 14px;
  font-weight: 500;
  padding: 0;
  margin: 0;
}

.stock-image {
  width: 38px;
  height: 38px;
  border-radius: 5px;
  object-fit: cover;
}

.real-stock-image {
  width: 38px !important;
  height: 38px !important;
  border-radius: 5px;
}


.default-image {
  width: 60px;
  height: 60px;
  border-radius: 0;
  object-fit: cover;
}

.blurred-image-container {
  width: 38px;
  height: 38px;
  border-radius: 5px;
  overflow: hidden;
  position: relative;
}

.blurred-image-container img {
  filter: blur(5px);
}

/* Daily Content Article Styles */
.quoted-message {
  background-color: #2a2a4a;
  border-left: 3px solid #63ffda;
  padding: 10px;
  margin: 15px 0;
  border-radius: 4px;
}

.quoted-message-author {
  font-weight: bold;
  color: #c993ff;
  margin-bottom: 5px;
}

.quoted-message-text {
  color: #fff;
}

.article-images {
  margin: 15px 0;
  display: flex;
  flex-direction: row;
  gap: 10px;
}

.article-image {
  max-width: 100%;
  border-radius: 8px;
  flex: 1;
  min-width: 0;
  object-fit: cover;
  height: 150px;
}

.audio-player-wrapper {
  margin: 15px 0;
}

.audio-player-wrapper audio {
  width: 100%;
}

/* Lightbox Styles */
#lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  cursor: pointer;
}

#lightbox-image {
  max-width: 90%;
  max-height: 90%;
  cursor: default;
  transition: transform 0.3s ease;
}

.article-image {
  cursor: pointer;
}

/* Zoom Transition for Lightbox */
.zoom-enter-active,
.zoom-leave-active {
  transition: opacity 0.3s ease;
}

.zoom-enter-from,
.zoom-leave-to {
  opacity: 0;
}

.zoom-enter-from #lightbox-image,
.zoom-leave-to #lightbox-image {
  transform: scale(0.8);
}

/* Reactions Styles */
.reactions-container {
  display: flex;
  gap: 8px;
  margin-top: 15px;
  flex-wrap: wrap;
  position: relative;
}

.reaction-bubble {
  display: flex;
  align-items: center;
  background-color: #2a2a4a;
  border-radius: 20px;
  padding: 4px 8px;
  font-size: 12px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.reaction-bubble:hover {
  background-color: #3a3a5a;
}

.reaction-emoji {
  margin-right: 4px;
}

.reaction-count {
  color: #fff;
  font-weight: bold;
}

.reaction-bubble.selected {
  border: 1px solid #63FFDA;
  background-color: #3a3a5a;
}

.add-reaction {
  background-color: transparent;
}

.emoji-picker {
  position: absolute;
  bottom: 100%;
  left: 0;
  background-color: #3a3a5a;
  border-radius: 8px;
  padding: 8px;
  display: flex;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  z-index: 10;
}

.emoji-option {
  cursor: pointer;
  font-size: 20px;
  padding: 4px;
  border-radius: 4px;
  transition: background-color 0.2s ease;
}

.emoji-option:hover {
  background-color: #4a4a6a;
}

.reactions-section {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-top: 15px;
}

.reactions-container {
  margin-top: 0;
}

.total-reactions-count {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #8a8a9e;
  font-size: 12px;
  padding-top: 0px;
  font-weight: bold;
  ;
}

.total-reactions-count i {
  font-size: 12px;
}

.daily-content-container {
  flex: 2 2 auto;
}

/* Watchlist comment: single-line clamp, no second-line bleed-through */
.daily-content table.investieren-position-table td.comment-cell .blue-bg .ellipsis {
  -webkit-line-clamp: 1;
  line-clamp: 1;
  height: 18px;
  line-height: 22px;
  overflow: hidden;
  -webkit-box-orient: vertical;
}

/* Daily Banner Styles */
.daily-banner {
  border-radius: var(--border-radius-lg);
  padding: 20px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  position: relative;
  height: 90px;
  border-radius: 15px;
  background: var(--Box-Background-1, #333055);
  overflow: visible;
  margin-top: 15px;
}

.banner-image {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 140px;
  height: 100px;
  object-fit: cover;
  z-index: 1;
}

.banner-text-content {
  margin-left: 140px;
  /* Adjust as needed based on the image */
  color: white;
}

.banner-title {
  line-height: 1;
  margin-bottom: 5px;
}

.banner-title .line-1 {
  font-size: 22px;
  font-weight: 900;
  display: block;
  line-height: 22px;
  /* 100% */
  text-transform: uppercase;
}

.banner-title .line-2 {
  font-size: 22px;
  font-weight: 900;
  display: block;
  line-height: 22px;
  /* 100% */
  text-transform: uppercase;
  color: #63FFDA;
}

.banner-subtitle {
  font-size: 10px;
  font-style: italic;
  font-weight: 500;
  line-height: 14px;
}

/* Speaker Icon Styles */
.speaker-icon-container {
  position: absolute;
  right: 16px;
  cursor: pointer;
  color: var(--text-primary);
  z-index: 10;
}

.speaker-icon-container i {
  font-size: 16px;
  transition: color 0.2s ease;
}

.speaker-icon-container:hover i {
  color: var(--accent-primary);
}

.trade-head-trader {
  margin-top: 12px;
  margin-left: 0 !important;
}

.trade-head-trader {
  margin-top: 12px;
  margin-left: 0 !important;
}

.trade-head-trader img {
  padding: 2px;
  border: 2px solid transparent;
  border-radius: 50%;
  background: linear-gradient(var(--bg-secondary), var(--bg-secondary)) padding-box, linear-gradient(180deg, rgba(255, 188, 41, 1) 0%, rgba(99, 255, 218, 1) 100%) border-box;
  box-sizing: border-box;
}

.mod-skin-dark .trade-head-details span {
  line-height: 18px;
}


/* Trade-Tracker Signup Box (Figma: non-logged-in users) */
.trade-tracker-signup-box {
  padding: 24px 0;
  min-height: 280px;
}

/* Banner: "Du bist neu bei Goldesel?" (Figma 16973:103131) */
.trade-tracker-signup-box__banner {
  position: relative;
  border-radius: 15px;
  overflow: visible;
  background: #2f2a56;
  max-width: 420px;
  margin: 0 auto 24px auto;
}

.trade-tracker-signup-box__banner-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(48, 227, 202, 0.08) 0%, transparent 50%);
  border-top-left-radius: 15px;
  border-bottom-left-radius: 15px;
  pointer-events: none;
}

.trade-tracker-signup-box__banner-inner {
  position: relative;
  display: flex;
  align-items: stretch;
  min-height: 90px;
}

.trade-tracker-signup-box__banner-image-wrap {
  flex: 0 0 180px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
}

.trade-tracker-signup-box__banner-image {
  width: 180px;
  height: auto;
  object-fit: cover;
  object-position: bottom left;
  position: absolute;
  bottom: 0;
  left: 0;
}

.trade-tracker-signup-box__banner-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px 24px 20px 16px;
}

.trade-tracker-signup-box__banner-title {
  font-family: 'Inter', sans-serif;
  font-size: 22px !important;
  font-weight: 900 !important;
  line-height: 1.25 !important;
  color: #fff !important;
  margin: 0 0 6px 0 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.02em !important;
  display: block !important;
}

.trade-tracker-signup-box__banner-title-accent {
  color: #30e3ca;
}

.trade-tracker-signup-box__banner-subtitle {
  font-size: 10px;
  font-weight: 500;
  color: #fff;
  margin: 0;
  opacity: 0.85 !important;
  font-style: italic;
}

@media (max-width: 480px) {
  .trade-tracker-signup-box__banner-inner {
    min-height: 120px;
  }

  .trade-tracker-signup-box__banner-image-wrap {
    flex: 0 0 100px;
  }

  .trade-tracker-signup-box__banner-title {
    font-size: 15px;
  }

  .trade-tracker-signup-box__banner-text {
    padding: 16px 20px 16px 12px;
  }
}

.trade-tracker-signup-box__card {
  background: #1f1c41;
  border-radius: 15px;
  padding: 32px 28px;
  max-width: 420px;
  margin: 0 auto;
}

.trade-tracker-signup-box__title,
h2.trade-tracker-signup-box__title {
  font-family: 'Inter', sans-serif;
  font-size: 18px !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
  color: #fff;
  margin: 0 0 13px 0;
  overflow-wrap: normal;
  word-break: normal;
  display: block;
  text-align: center;
  padding-left: 0 !important;
}

.trade-tracker-signup-box__title-accent {
  color: #63ffda;
}

.trade-tracker-signup-box__title-br {
  display: block;
}

.trade-tracker-signup-box__title-line2 {
  display: block;
  margin-top: 0.2em;
}

.trade-tracker-signup-box__benefits {
  list-style: none;
  padding: 0;
  margin: 0 0 28px 0;
}

.trade-tracker-signup-box__benefits li {
  font-size: 13px;
  line-height: 22px;
  color: #ceceea;
  margin-bottom: 12px;
  padding-left: 28px;
  position: relative;
}

.trade-tracker-signup-box__check {
  position: absolute;
  left: 0;
  color: #63ffda;
  font-size: 14px;
  top: 2px;
}

.trade-tracker-signup-box__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.trade-tracker-signup-box__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding: 0 20px;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: opacity 0.2s;
}

.trade-tracker-signup-box__btn:hover {
  opacity: 0.9;
}

.trade-tracker-signup-box__btn--primary,
.trade-tracker-signup-box__btn--primary:hover,
#trade-tracker-signup-box .trade-tracker-signup-box__btn--primary,
#trade-tracker-signup-box .trade-tracker-signup-box__btn--primary:hover {
  background: #63ffda;
  color: #000 !important;
  -webkit-text-fill-color: #000;
}

.trade-tracker-signup-box__btn--secondary {
  background: transparent;
  color: #63ffda;
  border: 1px solid #63ffda;
}

.trade-tracker-signup-box__btn--secondary:hover {
  color: #63ffda;
  background: rgba(99, 255, 218, 0.08);
}

.daily-content--watchlist {
  padding-left: 0;
  padding-top: 12px;
}

.daily-content--heatmap {
  padding-top: 0;
}

.kursuebersicht-marktuebersicht-figma__title {
  margin-left: 12px;
}

.mod-skin-dark:not(.mod-skin-light) a .free-info {
  border: 2px solid #63FFDA;
}

.artikel-fullscreen-link {
  margin-left: 6px;
}