﻿.carousel-controls {
  display: flex;
  gap: 8px;
}

.carousel-control {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #f5f5f5;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.2s;
}

.carousel-control:hover {
  background-color: #e0e0e0;
}

.carousel-control.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.arrow {
  border: solid #333;
  border-width: 0 2px 2px 0;
  display: inline-block;
  padding: 3px;
}

.arrow.right {
  transform: rotate(-45deg);
}

.arrow.left {
  transform: rotate(135deg);
}

.category-carousel {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.category-carousel-controls {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  z-index: 10;
}

.main-sidebar-sticky.collapsed .menu-item::after,
.main-sidebar-sticky.collapsed .menu-item::before,
.main-sidebar-sticky.collapsed .search-trigger::after,
.main-sidebar-sticky.collapsed .search-trigger::before,
.main-sidebar-sticky.collapsed .user-profile::after,
.main-sidebar-sticky.collapsed .user-profile::before,
.main-sidebar-sticky.collapsed .basket-compact::after,
.main-sidebar-sticky.collapsed .basket-compact::before {
  z-index: 100000 !important;
}

.category-prev-btn,
.category-next-btn {
  width: 24px;
  height: 60px;
  border-radius: 6px;
  background-color: rgba(255, 255, 255, 0.9);
  border: 1px solid #e0e0e0;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
  pointer-events: auto;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.category-prev-btn:hover,
.category-next-btn:hover {
  background-color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transform: scale(1.05);
}

.category-prev-btn:disabled,
.category-next-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  transform: none;
}

.category-prev-btn:disabled:hover,
.category-next-btn:disabled:hover {
  background-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transform: none;
}

.category-card {
  background-color: white;
  border-radius: 12px;
  padding: 24px;
  height: 100px;
  display: flex;
  justify-content: space-between;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  min-width: 252px;
}

.category-card .card-content {
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  font-size: 16px;
  line-height: 28px;
  z-index: 1;
}

.category-card.active {
  background-color: #11bf2b;
  color: white;
}

.category-card h3 {
  font-size: 14px;
  font-weight: 600;
}

.category-card .strategy-icon {
  width: 52px;
  height: 52px;
  object-fit: contain;
  align-self: center;
}

.fund-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
}

.fund-item:last-child {
  border-bottom: none;
}

.fund-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.modalFund-logo {
  width: 36px;
  height: 36px;
  background-color: #f0f0f0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  color: #666;
}

.fund-details h3 {
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 2px;
}

.fund-details p {
  font-size: 12px;
  color: #666;
  line-height: 1.4;
}

.fund-value {
  text-align: right;
}

.fund-amount {
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 2px;
}

.fund-change {
  font-size: 12px;
  color: #00c853;
}

.fund-change.negative {
  color: #ff3b30;
}

.trend-section {
  margin-top: 32px;
}

.trend-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.trend-title {
  font-size: 16px;
  font-weight: 600;
  color: #1a1a1a;
}

.trend-subtitle {
  font-size: 13px;
  color: #666;
  margin-top: 4px;
}

.section h2,
.section h3 {
  color: #333;
  text-align: left;
  margin-bottom: 10px;
}

.chart-section {
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 20px;
  text-align: center;
}

.news-section {
  margin-top: 32px;
}

.news-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
}

.news-title-section {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.news-title-section h2 {
  font-size: 16px;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0;
}

.news-container {
  width: 100%;
}

.news-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
}

.news-item {
  display: flex;
  flex-direction: column;
  border-radius: 4px;
  overflow: hidden;
  gap: 16px;
  text-decoration: none;
}

.news-item:hover {
  color: unset;
  text-decoration: none;
}

.news-image {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 8px;
}

.news-content {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0 12px;
  justify-content: space-between;
}

.news-title {
  font-size: 14px;
  color: #000000;
  line-height: 21px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  word-wrap: break-word;
  hyphens: auto;
}

.tag-container {
  display: flex;
  gap: 8px;
  margin-top: 4px;
  flex-wrap: wrap;
}

.fund-tag {
  border: 0.5px solid #b7b7b7;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border-radius: 18px;
  background: #ffffff;
  cursor: pointer;
  transition: background-color 0.2s;
}

.fund-tag:hover {
  background: #e9ecef;
  text-decoration: none;
}

.fund-icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fund-icon img {
  width: 16px;
  height: 16px;
  border-radius: 50%;
}

.fund-code {
  font-size: 12px;
  color: #1a1a1a;
  font-weight: 500;
}

.news-time {
  font-size: 12px;
  color: #666;
  margin-top: 8px;
  font-weight: 500;
}

@media (max-width: 1200px) {
  .news-wrapper {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .news-content {
    padding: 12px 12px 12px 12px;
  }
  .news-wrapper {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.calendar-section {
  width: 100%;
  max-width: 800px;
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

.calendar-section h3 {
  margin: 0;
  font-size: 1.5em;
  color: #333;
}

.subheading {
  color: #666;
  font-size: 0.9em;
  margin-bottom: 20px;
}

.calendar-container {
  border-top: 1px solid #e0e0e0;
}

.calendar-date {
  padding: 10px 0;
  font-weight: bold;
  color: #333;
}

.calendar-header,
.calendar-item {
  display: grid;
  grid-template-columns: 80px 120px 1fr 100px 100px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #e0e0e0;
}

.calendar-header {
  font-weight: bold;
  color: #666;
}

.calendar-item {
  color: #333;
}

.calendar-time {
  font-size: 0.9em;
  color: #999;
}

.calendar-flag {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.9em;
}

.calendar-flag img {
  width: 20px;
  height: auto;
  border-radius: 50%;
}

.calendar-title,
.calendar-expected,
.calendar-actual {
  font-size: 0.9em;
}

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
}

.modal-content {
  position: relative;
  background-color: #fff;
  margin: 50px auto;
  max-width: 500px;
  border-radius: 12px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  max-height: 80%;
  overflow-y: auto;
}

.modal-header {
  padding: 24px;
  border-bottom: 1px solid #e5e7eb;
}

.modal-header h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 600;
  color: #111827;
}

.close-modal {
  position: absolute;
  right: 24px;
  top: 24px;
  font-size: 24px;
  border: none;
  background: none;
  cursor: pointer;
  color: #6b7280;
}

.close-modal:hover {
  color: #000;
}

.containerHeader {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.carousel-arrow {
  position: absolute;
  display: flex;
  justify-content: center;
  top: 0;
  bottom: 50%;
  margin-block: auto;
  height: fit-content;
  width: 48px;
  background-color: white;
  border: none;
  font-size: 3rem;
  padding: 0;
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 100ms;
}
.carousel-arrow--prev {
  left: 240px;
}

.carousel-arrow--next {
  right: 0;
}
@media (max-width: 992px) {
  .carousel-arrow--prev {
    left: 0;
  }
}
.categoryCarousel-arrow {
  position: absolute;
  display: flex;
  justify-content: center;
  top: 0;
  bottom: 88%;
  margin-block: auto;
  height: fit-content;
  width: 48px;
  background-color: white;
  border: none;
  font-size: 3rem;
  padding: 0;
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 100ms;
}

.carousel-arrow--prev {
  left: 240px;
}

.carousel-arrow--next {
  right: 0;
}

@media (max-width: 992px) {
  .carousel-arrow--prev {
    left: 0;
  }
}

.sponsoredRota-container {
  max-width: 100%;
  margin: 20px 0;
  background-color: #fff;
  border-radius: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sponsoredRota-header {
  background-color: #e6f7fc;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 8px;
  margin-bottom: 5px;
}

@media (max-width: 768px) {
  .sponsoredRota-container {
    margin: 30px 0;
  }
}

.sponsoredRota-title {
  color: #00b0f0;
  font-size: 16px;
  font-weight: 600;
}

.sponsoredRota-subtitle {
  color: #757575;
  font-size: 13px;
  margin-top: 4px;
}

.sponsoredRota-badge {
  background-color: #4caf50;
  color: #fff;
  padding: 4px 10px;
  border-radius: 15px;
  font-size: 12px;
  font-weight: 500;
}

.sponsoredRota-loading {
  text-align: center;
  padding: 20px;
  color: #757575;
}

.global-fund-table tr {
  transition: background-color 0.2s;
}

.global-fund-table tr:hover {
  background-color: #f8f9fa;
  border-radius: 8px;
  transition: background-color 0.2s ease;
}

.discover-fund-item-link {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: background-color 0.2s;
}

.discover-fund-item-link:hover {
  background-color: #f5f5f5;
}

.discover-fund-cell-link {
  display: flex;
  align-items: flex-start;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.discover-fund-info-cell .discover-fund-code {
  font-weight: 600;
  color: #333;
  font-size: 16px;
  margin-bottom: 2px;
}

.discover-fund-info-cell .discover-fund-name {
  font-size: 14px;
  color: #666;
  white-space: normal;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 400px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-height: 1.3;
}

.discover-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.discover-modal-container {
  background-color: white;
  border-radius: 8px;
  width: 90%;
  max-width: 800px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.discover-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 20px;
  border-bottom: 1px solid #eaeaea;
}

.discover-modal-title {
  flex: 1;
}

.discover-modal-title-text {
  font-size: 18px;
  font-weight: 700;
  color: #333;
  margin: 0 0 5px 0;
}

.discover-modal-title-subtext {
  font-size: 14px;
  color: #666;
  margin: 0;
}

.discover-modal-close-btn {
  background: transparent;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #333;
  padding: 0;
  margin-left: 10px;
  transition: color 0.2s;
}

.discover-modal-close-btn:hover {
  color: #f44336;
}

.discover-modal-filters {
  display: flex;
  padding: 15px 20px;
  gap: 30px;
  border-bottom: 1px solid #eaeaea;
  position: sticky;
  top: 0;
  background: white;
  z-index: 9;
}

.discover-filter-group {
  display: flex;
  gap: 15px;
}

.discover-select {
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  color: #333;
  min-width: 150px;
  background-color: white;
  cursor: pointer;
  outline: none;
}

.discover-modal-content {
  padding: 0;
  overflow-y: auto;
  flex: 1;
}

.discover-fund-table {
  width: 100%;
  border-collapse: collapse;
}

.discover-fund-table th {
  text-align: left;
  padding: 12px 20px;
  font-size: 13px;
  color: #666;
  background-color: #f9f9f9;
  position: sticky;
  top: 0;
}

.discover-fund-table th.discover-fund-column {
  width: 50%;
}

.discover-fund-table th.discover-amount-column {
  width: 25%;
  text-align: right;
}

.discover-fund-table th.discover-price-column {
  width: 25%;
  text-align: right;
}

.discover-fund-table td {
  padding: 15px 20px;
  border-bottom: 1px solid #eaeaea;
}

.discover-fund-cell {
  display: flex;
  align-items: flex-start;
}

.discover-fund-info-cell {
  display: flex;
  flex-direction: column;
  margin-left: 15px;
}

.discover-amount-cell {
  text-align: right;
  font-weight: 600;
}

.discover-price-cell {
  text-align: right;
}

.discover-price-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.discover-price {
  font-weight: 600;
}

.discover-return {
  font-size: 14px;
}

.discover-return.positive {
  color: #22c55e;
}

.discover-return.negative {
  color: #ef4444;
}

.discover-list-header-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 13px;
  color: #666;
}

.discover-header-fon {
  flex: 1;
  text-align: left;
}

.discover-header-amount {
  width: 100px;
  text-align: right;
}

.discover-header-fiyat {
  width: 80px;
  text-align: right;
  margin-left: 20px;
}

.discover-empty-item {
  border-bottom: 1px solid transparent !important;
  cursor: default !important;
}

.discover-empty-item:hover {
  background-color: transparent !important;
}

.discover-container {
  max-width: 100%;
  padding: 0;
  overflow: hidden;
  background-color: transparent;
}

.discover-carousel-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 0;
}

.discover-carousel-wrapper {
  display: flex;
  align-items: stretch;
  gap: 54px;
  min-height: 500px;
}

.discover-list-funds {
  flex: 1;
  min-height: 320px;
}

.discover-fund-item .fund-card {
  min-height: 100px;
}

#discoverViewAll.view-all-btn {
  margin-top: auto;
}

.discover-section.page-section {
  display: flex;
  flex-direction: column;
  flex: 0 0 480px;
  height: 100%;
  min-height: 500px;
}

.discover-fund-return {
  font-size: 14px;
  font-weight: 500;
  text-align: right;
}

.discover-fund-return.positive {
  color: #22c55e;
}

.discover-fund-return.negative {
  color: #ef4444;
}

.discover-view-all {
  display: block;
  text-align: left;
  margin-top: 15px;
  padding: 0;
  color: #22c55e;
  text-decoration: none;
  font-weight: 500;
  cursor: pointer;
  position: relative;
  border: none;
  border-radius: 0;
}

.discover-carousel-controls {
  display: flex;
  justify-content: center;
  margin-top: 20px;
  gap: 10px;
}

.discover-prev-btn,
.discover-next-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #fff;
  border: 1px solid var(--sg-color-success-500);
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sg-color-success-500);
}

.discover-prev-btn:hover,
.discover-next-btn:hover {
  box-shadow: 0 0 10px 0 rgba(var(--sg-color-success-500-rgb), 0.5);
}

.discover-prev-btn:disabled,
.discover-next-btn:disabled {
  opacity: 0.5;
  color: var(--sg-color-neutral-500);
  border-color: var(--sg-color-neutral-500);
  cursor: not-allowed;
}

.trend-cards .trend-card {
  min-width: 254px;
  flex: 1;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .trend-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .trend-cards {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

.discoverStock-modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

.discoverStock-modal {
  background-color: white;
  border-radius: 8px;
  width: 90%;
  max-width: 600px;
  max-height: 90vh;
  position: relative;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
}

.discoverStock-modal-header {
  padding: 20px;
  border-bottom: 1px solid #eee;
  flex-shrink: 0;
}

.discoverStock-modal-title {
  font-size: 20px;
  font-weight: 600;
  color: #333;
  margin-bottom: 5px;
}

.discoverStock-modal-subtitle {
  font-size: 14px;
  color: #666;
  margin-bottom: 15px;
}

.discoverStock-search-container {
  position: relative;
  margin-bottom: 15px;
}

.discoverStock-search-icon {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #999;
}

.discoverStock-search-input {
  width: 100%;
  padding: 12px 15px 12px 40px;
  border: 1px solid #ddd;
  border-radius: 50px;
  font-size: 14px;
  outline: none;
  box-sizing: border-box;
}

.discoverStock-search-input::placeholder {
  color: #999;
}

.discoverStock-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: #666;
}

.discoverStock-stocks-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  border-bottom: 1px solid #eee;
  flex-shrink: 0;
}

.discoverStock-header-label {
  font-weight: 500;
  font-size: 14px;
}

.discoverStock-header-sortable {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  line-height: 26px;
  font-weight: 500;
  color: var(--sg-color-success-500);
  padding: 0;
  white-space: nowrap;
  transition: all 0.2s;
}

.discoverStock-sort-icon {
  font-size: 12px;
  color: var(--sg-success--500);
  opacity: 0.7;
}

.discoverStock-sort-icon.active {
  opacity: 1;
  color: #0066cc;
}

.discoverStock-stocks-container {
  flex: 1;
  overflow-y: auto;
}

.discoverStock-stocks-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.discoverStock-stock-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  border-bottom: 1px solid #eee;
  transition: background-color 0.2s;
  cursor: pointer;
}

.discoverStock-stock-item:hover {
  background-color: #f9f9f9;
}

.trend-stock-row {
  cursor: pointer;
  transition: background-color 0.2s;
}

.trend-stock-row:hover {
  background-color: #f8f9fa !important;
}

.trend-stock-row:hover td {
  background-color: #f8f9fa !important;
}

/* Tablo header'ı için sortable stil */
.global-fund-table thead th.sortable {
  cursor: pointer;
  user-select: none;
  transition: background-color 0.2s;
}

.global-fund-table thead th.sortable:hover {
  background-color: rgba(0, 102, 204, 0.05);
}

.global-fund-table thead th.sortable #sortIcon {
  display: inline-block;
  margin-left: 5px;
  transition: transform 0.2s;
}

.global-fund-table thead th.sortable:hover #sortIcon {
  transform: scale(1.1);
}

.discoverStock-stock-info {
  display: flex;
  align-items: center;
}

.discoverStock-stock-logo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modalFund-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.discoverStock-stock-details {
  display: flex;
  flex-direction: column;
}

.discoverStock-stock-code {
  font-weight: 600;
  font-size: 16px;
  color: #333;
}

.discoverStock-stock-name {
  font-size: 13px;
  color: #666;
  margin-top: 3px;
}

.discoverStock-stock-price {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.discoverStock-price-value {
  font-weight: 600;
  font-size: 16px;
  color: #333;
}

.discoverStock-loading {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 30px;
  color: #666;
}

.discoverStock-loading-more {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  color: #666;
  border-bottom: 1px solid #eee;
}

.discoverStock-spinner {
  border: 3px solid #f3f3f3;
  border-top: 3px solid #0066cc;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  animation: discoverStock-spin 1s linear infinite;
  margin-right: 10px;
}

@keyframes discoverStock-spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.discoverStock-error-message {
  padding: 30px;
  text-align: center;
  color: #e74c3c;
}

.discoverStock-no-more {
  padding: 20px;
  text-align: center;
  color: #666;
  font-size: 14px;
  border-bottom: 1px solid #eee;
}

.fundsInvestingInStocks-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.fundsInvestingInStocks-modal-overlay.show {
  opacity: 1;
}

.fundsInvestingInStocks-modal {
  background: white;
  border-radius: 12px;
  width: 90%;
  max-width: 600px;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-20px) scale(0.95);
  transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.fundsInvestingInStocks-modal-overlay.show .fundsInvestingInStocks-modal {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.fundsInvestingInStocks-modal-header {
  padding: 20px;
  border-bottom: 1px solid #eee;
  position: relative;
}

.fundsInvestingInStocks-header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.fundsInvestingInStocks-back-btn {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fundsInvestingInStocks-back-btn:hover {
  background-color: #f0f0f0;
}

.fundsInvestingInStocks-modal-title {
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 5px 0;
  color: #333;
}

.fundsInvestingInStocks-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: #666;
  padding: 5px;
  border-radius: 4px;
  transition: background-color 0.2s;
}

.fundsInvestingInStocks-modal-close:hover {
  background-color: #f5f5f5;
}

.fundsInvestingInStocks-modal-subtitle {
  font-size: 14px;
  color: #666;
  margin: 8px 0 4px 0;
}

.fundsInvestingInStocks-fund-count {
  font-size: 14px;
  font-weight: 400;
  color: #666;
  margin: 0 0 15px 0;
}

.fundsInvestingInStocks-search-container {
  position: relative;
  margin-bottom: 16px;
}

.fundsInvestingInStocks-search-input {
  width: 100%;
  padding: 12px 16px 12px 40px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
  box-sizing: border-box;
}

.fundsInvestingInStocks-search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #999;
}

.fundsInvestingInStocks-table-header {
  display: flex;
  padding: 12px 20px;
  background-color: #f8f9fa;
  border-bottom: 1px solid #eee;
  font-weight: 600;
  font-size: 14px;
  color: #666;
}

.fundsInvestingInStocks-header-cell {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  user-select: none;
}

.fundsInvestingInStocks-header-cell:hover {
  color: #333;
}

.fundsInvestingInStocks-header-cell.active {
  color: #007bff;
}

.fundsInvestingInStocks-sort-icon {
  font-size: 12px;
  opacity: 0.7;
}

.fundsInvestingInStocks-fund-column {
  flex: 1;
}

.fundsInvestingInStocks-weight-column {
  width: 80px;
  text-align: right;
  justify-content: flex-end;
}

.fundsInvestingInStocks-return-column {
  width: 80px;
  text-align: right;
  justify-content: flex-end;
}

.fundsInvestingInStocks-content {
  flex: 1;
  overflow-y: auto;
  min-height: 0;
}

.fundsInvestingInStocks-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.fundsInvestingInStocks-item {
  display: flex;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid #f0f0f0;
  cursor: pointer;
  transition: background-color 0.2s;
}

.fundsInvestingInStocks-item:hover {
  background-color: #f8f9fa;
}

.fundsInvestingInStocks-fund-info {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 12px;
}

.fundsInvestingInStocks-fund-logo {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f0f0f0;
}

.modalFund-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fundsInvestingInStocks-fund-details {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.fundsInvestingInStocks-fund-code {
  font-weight: 600;
  font-size: 14px;
  color: #333;
}

.fundsInvestingInStocks-fund-name {
  font-size: 12px;
  color: #666;
  line-height: 1.3;
}

.fundsInvestingInStocks-weight,
.fundsInvestingInStocks-return {
  width: 80px;
  text-align: right;
  font-weight: 400;
  font-size: 14px;
}

.fundsInvestingInStocks-return.positive {
  color: #10b981;
}

.fundsInvestingInStocks-return.negative {
  color: #ef4444;
}

.fundsInvestingInStocks-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  color: #666;
}

.fundsInvestingInStocks-spinner {
  width: 32px;
  height: 32px;
  border: 3px solid #f3f3f3;
  border-top: 3px solid #007bff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 12px;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.fundsInvestingInStocks-error-message {
  text-align: center;
  padding: 40px 20px;
  color: #666;
}

.fundsInvestingInStocks-load-more {
  display: flex;
  justify-content: center;
  padding: 20px;
}

.fundsInvestingInStocks-load-more-btn {
  background: #007bff;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
}

.fundsInvestingInStocks-load-more-btn:hover {
  background: #0056b3;
}

.fundsInvestingInStocks-load-more-btn:disabled {
  background: #6c757d;
  cursor: not-allowed;
}

.modal-backdrop.show {
  background-color: transparent !important;
  opacity: 0 !important;
}

#chartContainer {
  min-height: 420px;
}
