.gts-widget {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 16px;
  background: #ffffff;
}

.gts-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.gts-title {
  font-size: 18px;
  font-weight: 700;
  margin: 0;
}

.gts-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.gts-controls select {
  min-height: 44px;
  padding: 10px 14px;
  background: #ffffff;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  color: #1f2937;
  cursor: pointer;
  transition: all 0.15s ease;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 40px;
}

.gts-controls select:hover {
  border-color: #9ca3af;
}

.gts-controls select:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.gts-status {
  font-size: 12px;
  color: #6b7280;
}

.gts-status[data-type="error"] { color: #b91c1c; }
.gts-status[data-type="ok"] { color: #065f46; }

.gts-spinner {
  width: 14px;
  height: 14px;
  border: 2px solid #e5e7eb;
  border-top: 2px solid #111827;
  border-radius: 50%;
  animation: gts-spin 1s linear infinite;
}

@keyframes gts-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Professional Table Design */
.gts-table-wrap {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  overflow-x: auto;
  margin-bottom: 20px;
}

.gts-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* Table Header - Simple Theme Style */
.gts-table thead {
  background: #f8fafc;
}

.gts-table th {
  font-weight: 600;
  color: #475569;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 14px 12px;
  border-bottom: 2px solid #e2e8f0;
  white-space: nowrap;
  text-align: center;
}

.gts-table th:first-child {
  border-radius: 12px 0 0 0;
}

.gts-table th:last-child {
  border-radius: 0 12px 0 0;
}

/* Table Body Cells */
.gts-table td {
  padding: 14px 12px;
  border-bottom: 1px solid #e2e8f0;
  font-size: 13px;
  vertical-align: middle;
  transition: all 0.15s ease;
}

/* Zebra Striping */
.gts-table tbody tr:nth-child(even) {
  background: #f8fafc;
}

.gts-table tbody tr:nth-child(odd) {
  background: #ffffff;
}

/* Row Hover Effect */
.gts-table tbody tr:hover {
  background: #e0f2fe;
  transform: scale(1.002);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  z-index: 1;
  position: relative;
}

/* Column Specific Styling */
.gts-th-rank, .gts-col-rank { 
  width: 50px; 
  text-align: center; 
}

.gts-th-company, .gts-col-company { 
  width: auto; 
  min-width: 180px;
  text-align: left;
}

.gts-th-price, .gts-col-price { 
  width: 90px; 
  text-align: right; 
  font-family: 'SF Mono', Monaco, monospace;
}

.gts-th-ohlc, .gts-col-open, .gts-col-high, .gts-col-low { 
  width: 80px; 
  text-align: right; 
  font-family: 'SF Mono', Monaco, monospace;
}

.gts-th-change, .gts-col-change { 
  width: 90px; 
  text-align: center; 
}

.gts-th-trend, .gts-col-trend { 
  width: 70px; 
  text-align: center; 
}

/* Rank Badge - Modern Style */
.gts-rank-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  border-radius: 8px;
  font-weight: 700;
  font-size: 13px;
  color: #ffffff;
  box-shadow: 0 2px 4px rgba(59, 130, 246, 0.3);
}

/* Company Info - Professional Layout */
.gts-company-name {
  font-weight: 600;
  color: #0f172a;
  font-size: 14px;
  line-height: 1.3;
  margin-bottom: 3px;
}

.gts-symbol-text {
  font-size: 11px;
  color: #64748b;
  font-weight: 500;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

/* Price Styling - Monospace for numbers */
.gts-price-value {
  font-weight: 700;
  font-size: 14px;
  color: #0f172a;
  font-family: 'SF Mono', Monaco, 'Courier New', monospace;
  letter-spacing: -0.3px;
}

/* OHLC Styling */
.gts-ohlc {
  font-size: 13px;
  color: #475569;
  font-family: 'SF Mono', Monaco, monospace;
}

.gts-high { 
  color: #16a34a; 
  font-weight: 600;
}

.gts-low { 
  color: #dc2626; 
  font-weight: 600;
}

/* Row Trend Indicators */
.gts-row-up {
  border-left: 4px solid #16a34a;
}

.gts-row-down {
  border-left: 4px solid #dc2626;
}

/* Scrollbar Styling for Table Container */
.gts-table-wrap::-webkit-scrollbar {
  height: 8px;
}

.gts-table-wrap::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 4px;
}

.gts-table-wrap::-webkit-scrollbar-thumb {
  background: #94a3b8;
  border-radius: 4px;
}

.gts-table-wrap::-webkit-scrollbar-thumb:hover {
  background: #64748b;
}

/* Enhanced Trend Colors with Background Reflection */
.gts-change-up { 
  color: #166534; 
  font-weight: 600; 
  background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
  padding: 4px 8px;
  border-radius: 6px;
  display: inline-block;
}
.gts-change-down { 
  color: #991b1b; 
  font-weight: 600; 
  background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
  padding: 4px 8px;
  border-radius: 6px;
  display: inline-block;
}

/* Trend Indicators with Animation */
.gts-trend-up { 
  color: #16a34a; 
  font-weight: 700; 
  background: #dcfce7;
  padding: 6px 10px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  animation: gts-pulse-green 2s ease-in-out infinite;
}
.gts-trend-down { 
  color: #dc2626; 
  font-weight: 700; 
  background: #fee2e2;
  padding: 6px 10px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  animation: gts-pulse-red 2s ease-in-out infinite;
}

@keyframes gts-pulse-green {
  0%, 100% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.4); }
  50% { box-shadow: 0 0 0 8px rgba(22, 163, 74, 0); }
}

@keyframes gts-pulse-red {
  0%, 100% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.4); }
  50% { box-shadow: 0 0 0 8px rgba(220, 38, 38, 0); }
}

/* Table Row Highlighting Based on Trend */
.gts-table tbody tr:has(.gts-trend-up) {
  background: linear-gradient(90deg, rgba(220, 252, 231, 0.3) 0%, transparent 100%);
  border-left: 3px solid #16a34a;
}

.gts-table tbody tr:has(.gts-trend-down) {
  background: linear-gradient(90deg, rgba(254, 226, 226, 0.3) 0%, transparent 100%);
  border-left: 3px solid #dc2626;
}

.gts-table tbody tr {
  transition: all 0.2s ease;
}

.gts-table tbody tr:hover {
  background: #f8fafc;
  transform: translateX(4px);
}

/* Rank Badge */
.gts-rank-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: #f1f5f9;
  border-radius: 6px;
  font-weight: 700;
  font-size: 13px;
  color: #475569;
}

/* Enhanced Cards with Trend Borders */
.gts-cards {
  display: none;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.gts-card {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 0;
  background: #fff;
  overflow: hidden;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.gts-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.gts-card-up {
  border-top: 4px solid #16a34a;
}

.gts-card-down {
  border-top: 4px solid #dc2626;
}

.gts-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: #f8fafc;
}

.gts-card-header-up {
  background: linear-gradient(135deg, #dcfce7 0%, #f0fdf4 100%);
}

.gts-card-header-down {
  background: linear-gradient(135deg, #fee2e2 0%, #fef2f2 100%);
}

.gts-rank-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  color: #475569;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.gts-symbol-box {
  padding: 4px 10px;
  background: #fff;
  border-radius: 6px;
  font-weight: 600;
}

.gts-symbol-box code {
  font-size: 13px;
  color: #0f172a;
}

.gts-trend-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
}

.gts-trend-icon-up {
  background: #16a34a;
  color: white;
}

.gts-trend-icon-down {
  background: #dc2626;
  color: white;
}

.gts-card-body {
  padding: 16px;
}

.gts-card-body .gts-company-name {
  font-size: 15px;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 12px;
  line-height: 1.4;
}

/* Card OHLC Display */
.gts-card-ohlc {
  background: #f8fafc;
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 12px;
}

.gts-ohlc-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 0;
  font-size: 13px;
}

.gts-ohlc-row span {
  color: #64748b;
}

.gts-ohlc-row strong {
  color: #0f172a;
  font-weight: 600;
}

/* Card Footer */
.gts-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0 0;
  border-top: 1px solid #e2e8f0;
  font-size: 14px;
  font-weight: 600;
}

/* Old styles - keeping for compatibility */
.gts-price-row,
.gts-change-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid #f1f5f9;
}

.gts-change-row {
  border-bottom: none;
  padding-bottom: 0;
}

.gts-price-label,
.gts-change-label {
  font-size: 13px;
  color: #64748b;
}

.gts-price-value {
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
}

.gts-symbol-code {
  background: #f1f5f9;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
}

.gts-price {
  font-weight: 600;
  color: #0f172a;
}

/* Professional Exchange Card */
.gts-exchange-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 20px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.gts-exchange-main {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e2e8f0;
}

.gts-exchange-flag-lg {
  font-size: 48px;
  line-height: 1;
  flex-shrink: 0;
}

.gts-exchange-data {
  flex: 1;
}

.gts-exchange-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.gts-exchange-name {
  font-size: 20px;
  font-weight: 700;
  color: #0f172a;
}

.gts-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.gts-badge.gts-market-open {
  background: #dcfce7;
  color: #16a34a;
}

.gts-badge.gts-market-closed {
  background: #fee2e2;
  color: #dc2626;
}

/* Index Value Display - Highlighted */
.gts-index-display {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}

.gts-index-name {
  font-size: 14px;
  color: #64748b;
  font-weight: 500;
}

.gts-index-value {
  font-size: 32px;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.5px;
}

.gts-index-change {
  font-size: 16px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
}

.gts-index-change.gts-change-up {
  background: #dcfce7;
  color: #16a34a;
}

.gts-index-change.gts-change-down {
  background: #fee2e2;
  color: #dc2626;
}

/* Market Details Grid */
.gts-market-details {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.gts-detail-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px;
  background: #f1f5f9;
  border-radius: 10px;
}

.gts-detail-icon {
  font-size: 18px;
  line-height: 1;
}

.gts-detail-label {
  font-size: 11px;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 500;
}

.gts-detail-value {
  font-size: 14px;
  font-weight: 600;
  color: #0f172a;
}

/* Enhanced Dropdown with Flags */
.gts-controls select option {
  font-size: 14px;
  padding: 8px;
}

/* Additional Features */
.gts-featured-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: white;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.gts-volume-indicator {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: #64748b;
}

/* Large Tablet - Hide OHLC columns */
@media (max-width: 1200px) {
  .gts-th-ohlc,
  .gts-col-open,
  .gts-col-high,
  .gts-col-low { 
    display: none; 
  }
  
  .gts-table th,
  .gts-table td {
    padding: 12px 10px;
    font-size: 12px;
  }
  
  .gts-rank-badge {
    width: 28px;
    height: 28px;
    font-size: 12px;
  }
}

/* Tablet - Further simplify */
@media (max-width: 900px) {
  .gts-table th,
  .gts-table td {
    padding: 10px 8px;
  }
  
  .gts-company-name {
    font-size: 13px;
  }
  
  .gts-price-value {
    font-size: 13px;
  }
}

/* Mobile - Switch to cards */
@media (max-width: 768px) {
  .gts-table-wrap { display: none; }
  .gts-cards { 
    display: grid; 
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .gts-market-details {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .gts-exchange-card {
    padding: 16px;
  }
  .gts-exchange-flag-lg {
    font-size: 36px;
  }
  .gts-exchange-main {
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 16px;
  }
  .gts-index-value {
    font-size: 24px;
  }
  .gts-exchange-name {
    font-size: 16px;
  }
  .gts-detail-item {
    padding: 10px;
  }
}

/* Small Mobile - Single column cards */
@media (max-width: 480px) {
  .gts-cards {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .gts-market-details {
    grid-template-columns: 1fr;
  }
  .gts-index-display {
    flex-direction: column;
    gap: 8px;
  }
  .gts-exchange-title {
    flex-wrap: wrap;
    gap: 8px;
  }
  
  .gts-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  
  .gts-controls {
    width: 100%;
  }
  
  .gts-controls select {
    width: 100%;
  }
}

/* Prediction Page Styles */
.gts-prediction-wrapper {
  max-width: 900px;
  margin: 0 auto;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  overflow: hidden;
  border: 1px solid #e2e8f0;
}

.gts-prediction-header {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  padding: 32px 40px;
  border-bottom: 3px solid #dbeafe;
  position: relative;
  overflow: hidden;
}

.gts-prediction-header::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.gts-prediction-header h2 {
  margin: 0 0 12px;
  font-size: 32px;
  color: #fff;
  font-weight: 700;
  position: relative;
  z-index: 1;
}

.gts-meta {
  margin: 0;
  color: #dbeafe;
  font-size: 13px;
  position: relative;
  z-index: 1;
}

.gts-prediction-content {
  padding: 40px;
  background: #fafbfc;
}

.gts-prediction-content h2 {
  font-size: 24px;
  font-weight: 700;
  color: #0f172a;
  margin: 30px 0 15px;
  padding-bottom: 10px;
  border-bottom: 2px solid #e2e8f0;
}

/* Prediction Summary - Clean Card Design */
.prediction-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 20px 0;
}

.prediction-value-box {
  flex: 1;
  min-width: 140px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 16px;
  transition: all 0.2s ease;
}

/* Different colors for each card */
.prediction-value-box:nth-child(1) {
  background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
  border-color: #60a5fa;
}

.prediction-value-box:nth-child(2) {
  background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
  border-color: #4ade80;
}

.prediction-value-box:nth-child(3) {
  background: linear-gradient(135deg, #ffedd5 0%, #fed7aa 100%);
  border-color: #fb923c;
}

.prediction-value-box:nth-child(4) {
  background: linear-gradient(135deg, #f3e8ff 0%, #e9d5ff 100%);
  border-color: #c084fc;
}

.prediction-value-box:nth-child(5) {
  background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
  border-color: #f87171;
}

.prediction-value-box.active {
  border-color: #3b82f6;
  box-shadow: 0 0 0 2px #3b82f6;
}

.prediction-value-box:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.prediction-label {
  font-size: 12px;
  color: #6b7280;
  margin-bottom: 8px;
  display: block;
}

.prediction-value-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.prediction-arrow {
  font-size: 16px;
  font-weight: bold;
  line-height: 1;
}

.prediction-arrow.up {
  color: #22c55e;
}

.prediction-arrow.down {
  color: #ef4444;
}

.prediction-target-price {
  font-size: 20px;
  font-weight: 600;
  color: #111827;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.prediction-lock-icon {
  font-size: 16px;
  color: #9ca3af;
}

.prediction-unlock-text {
  font-size: 16px;
  font-weight: 600;
  color: #6b7280;
}

@keyframes pulse-highlight {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.9; transform: scale(1.02); }
}

/* Prediction Graph */
.prediction-graph {
  margin: 30px 0;
  padding: 25px;
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  border-radius: 12px;
  border: 2px solid #bae6fd;
}

.prediction-graph h3 {
  margin-top: 0;
  margin-bottom: 20px;
  color: #0c4a6e;
  text-align: center;
}

.graph-container {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 40px;
  height: 200px;
  padding: 20px;
  background: white;
  border-radius: 8px;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
}

.graph-bar {
  flex: 1;
  max-width: 80px;
  min-width: 60px;
  background: linear-gradient(180deg, #3b82f6 0%, #1d4ed8 100%);
  border-radius: 8px 8px 0 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding: 10px;
  transition: all 0.3s ease;
  position: relative;
}

.graph-bar:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.graph-bar.current {
  background: linear-gradient(180deg, #64748b 0%, #475569 100%);
}

.graph-bar.week {
  background: linear-gradient(180deg, #22c55e 0%, #16a34a 100%);
}

.graph-bar.month {
  background: linear-gradient(180deg, #f59e0b 0%, #d97706 100%);
}

.graph-bar.year {
  background: linear-gradient(180deg, #ef4444 0%, #dc2626 100%);
}

.graph-label {
  font-size: 12px;
  color: white;
  font-weight: 600;
}

.graph-value {
  font-size: 14px;
  color: white;
  font-weight: 700;
  font-family: 'Courier New', monospace;
}

/* Bar Chart Graph */
.graph-container-bars {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  height: 280px;
  background: white;
  border-radius: 12px;
  padding: 24px 20px 50px 20px;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.06);
}

.graph-bar-item {
  flex: 1;
  min-width: 40px;
  max-width: 55px;
  background: linear-gradient(180deg, #3b82f6 0%, #1d4ed8 100%);
  border-radius: 8px 8px 0 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding: 12px 8px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  position: relative;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

.graph-bar-item:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.5);
}

.graph-bar-item.current {
  background: linear-gradient(180deg, #22c55e 0%, #16a34a 100%);
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.4);
}

.bar-label {
  font-size: 10px;
  color: white;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  margin-bottom: 6px;
}

.bar-value {
  position: absolute;
  bottom: -28px;
  font-size: 10px;
  color: #1e293b;
  font-weight: 700;
  font-family: 'Courier New', monospace;
  white-space: nowrap;
  background: white;
  padding: 4px 8px;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.gts-prediction-content h2:first-child {
  margin-top: 0;
}

.gts-prediction-content h3 {
  font-size: 18px;
  font-weight: 600;
  color: #334155;
  margin: 25px 0 12px;
}

.gts-prediction-content p {
  font-size: 15px;
  line-height: 1.7;
  color: #475569;
  margin-bottom: 15px;
}

.gts-prediction-content ul {
  margin: 15px 0;
  padding-left: 25px;
}

.gts-prediction-content li {
  margin-bottom: 8px;
  font-size: 15px;
  color: #475569;
}

.prediction-box {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  border-radius: 10px;
  padding: 20px;
  margin: 20px 0;
  border-left: 4px solid #3b82f6;
}

.scenario {
  background: #f8fafc;
  border-radius: 8px;
  padding: 18px;
  margin: 15px 0;
  border-left: 4px solid #94a3b8;
}

.scenario.bullish {
  border-left-color: #16a34a;
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
}

.scenario.neutral {
  border-left-color: #f59e0b;
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
}

.scenario.bearish {
  border-left-color: #dc2626;
  background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
}

.disclaimer {
  background: #fefce8;
  border: 2px solid #f59e0b;
  border-radius: 10px;
  padding: 20px;
  margin-top: 30px;
}

.disclaimer h3 {
  color: #92400e;
  margin-top: 0;
}

.disclaimer p {
  color: #78350f;
  font-size: 14px;
  margin-bottom: 0;
}

.gts-warning {
  background: #fffbeb;
  color: #92400e;
  padding: 15px 20px;
  margin: 20px;
  border-radius: 8px;
}

.gts-error {
  background: #fef2f2;
  color: #dc2626;
  padding: 20px;
  border-radius: 8px;
  margin: 20px;
}

.gts-prediction-search {
  max-width: 500px;
  margin: 50px auto;
  text-align: center;
  padding: 40px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.gts-prediction-search h2 {
  margin-bottom: 20px;
  color: #0f172a;
}

.gts-prediction-search form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 30px;
}

.gts-prediction-search select,
.gts-prediction-search input {
  padding: 12px 16px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 16px;
}

.gts-prediction-search button {
  padding: 14px 24px;
  background: #3b82f6;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}

.gts-prediction-search button:hover {
  background: #2563eb;
}

.gts-back-link {
  margin-top: 30px;
  text-align: center;
}

.gts-back-link a {
  color: #3b82f6;
  text-decoration: none;
  font-weight: 600;
}

.gts-back-link a:hover {
  text-decoration: underline;
}

/* Prediction Button Styles */
.gts-prediction-btn {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.gts-prediction-btn:hover {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

.gts-prediction-btn:active {
  transform: translateY(0);
}

.gts-btn-full {
  width: 100%;
  padding: 12px 20px;
  font-size: 14px;
}

/* Table Column Styles */
.gts-th-prediction {
  min-width: 100px;
}

.gts-col-prediction {
  text-align: center;
}

/* Card Action */
.gts-card-action {
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid #e2e8f0;
}

@media (max-width: 768px) {
  .gts-prediction-content {
    padding: 20px;
  }
  
  .gts-prediction-content h2 {
    font-size: 20px;
  }
  
  .prediction-box,
  .scenario {
    padding: 15px;
  }
}
