.stock-header-section {
  padding: 2px 0;
  margin-bottom: 20px;
}

.stock-header-container {
  margin: 0 auto;
  padding: 0 20px;
}

.company-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--main-font-color);
  margin: 2px 0;
  line-height: 25px;
  text-align: left !important;
}

.stock-details {
  font-size: 12px;
  color: var(--v2-light-color);
}

.price-display {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-top: 14px;
}

.stock-current-price {
  font-size: 32px;
  font-weight: 700;
  color: var(--main-font-color);
  line-height: 1;
}

.stock-price-change {
  font-size: 20px;
  font-weight: 600;
}

.market-status {
  font-size: 12px;
  color: var(--v2-light-color);
  display: none;
}

.stock-container {
  margin: 0 auto;
  padding: 0;
}

.stock-layout {
  display: flex;
  gap: 0;
  min-height: 500px;
}

.quote-section {
  flex: 1;
  padding: 17px 24px 0 17px;
  border-top: 1px solid transparent;
  min-width: 390px;
}

.chart-placeholder {
  flex: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #888;
  font-size: 14px;
  max-height: 472px;
}

.stock-loading {
  text-align: center;
  color: var(--v2-light-color);
  font-size: 17px;
  padding: 45px;
}

.positive {
  color: var(--ticker-up-color);
}

.negative {
  color: var(--ticker-down-color);
}

.neutral {
  color: var(--v2-light-color);
}

.metrics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px 24px;
  margin-bottom: 24px;
}

.metric-item {
  display: flex;
  justify-content: space-between;
  padding: 4px 0;
  border-bottom: var(--v2-row-border-more-visble);
}

.metric-label {
  font-size: 14px;
  color: var(--v2-light-color);
  font-weight: 500;
}

.metric-value {
  font-size: 14px;
  color: var(--main-font-color);
  font-weight: 600;
  text-align: right;
}

.section-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--main-font-color);
  margin: 24px 0 12px 0;
  padding-bottom: 8px;
  border-bottom: var(--v2-row-border);
}

.stock-error {
  color: #dc2626;
  text-align: center;
  padding: 40px;
  font-size: 16px;
}

/* Profile Styles */
.profile-section {
  margin-bottom: 24px;
}

.profile-description {
  font-size: 14px;
  line-height: 1.6;
  color: var(--main-text-color);
  margin: 32px 0 20px 0;
}

.profile-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.profile-detail-item {
  padding: 12px;
  background: #f8f9fa;
  border-radius: 6px;
}

.dark .profile-detail-item {
  background: rgba(255, 255, 255, 0.05);
}

.profile-detail-label {
  font-size: 12px;
  color: var(--v2-light-color);
  font-weight: 500;
  margin-bottom: 4px;
}

.profile-detail-value {
  font-size: 14px;
  color: var(--main-font-color);
  font-weight: 600;
}

.profile-address {
  font-size: 13px;
  color: var(--v2-light-color);
  line-height: 1.4;
}

.profile-link {
  color: #0057b8;
  text-decoration: none;
}

.profile-link:hover {
  text-decoration: underline;
}

/* Updated Price Display Container */
.price-display-container {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  margin-top: 14px;

  /*padding-bottom: 16px;
    border-bottom:var(--v2-row-border);*/
}

/* Main Price Section (Left) */
.main-price-section {
  flex: 0 0 auto;
}

.stock-current-price {
  font-size: 32px;
  font-weight: 700;
  color: var(--main-font-color);
  line-height: 1;
  margin-bottom: 4px;
}

.stock-current-price .currency {
  font-size: 16px;
  font-weight: 500;
  color: var(--v2-light-color);
  margin-left: 4px;
}

.stock-price-change {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}

.main-price-label {
  font-size: 12px;
  color: var(--v2-light-color);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Extended Hours Section (Right) */
.extended-hours-section {
  flex: 0 0 auto;
  margin-top: 8px;
}

.extended-hours-price {
  font-size: 20px;
  font-weight: 700;
  color: var(--main-font-color);
  line-height: 1;
  margin-bottom: 4px;
}

.extended-hours-change {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
}

.extended-hours-label {
  font-size: 12px;
  color: var(--v2-light-color);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Session indicator dots */
.session-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.session-dot.premarket {
  background-color: #f59e0b;
}

.session-dot.afterhours {
  background-color: #3b82f6;
}

/* Color classes */
.positive {
  color: #16a34a;
}

.negative {
  color: #dc2626;
}

.neutral {
  color: var(--v2-light-color);
}

/* Responsive Design */
@media (max-width: 768px) {
  .price-display-container {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }

  .stock-current-price {
    font-size: 28px;
  }

  .extended-hours-price {
    font-size: 18px;
  }

  .stock-price-change,
  .extended-hours-change {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .price-display-container {
    gap: 16px;
  }

  .stock-current-price {
    font-size: 24px;
  }

  .extended-hours-price {
    font-size: 16px;
  }

  .main-price-label,
  .extended-hours-label {
    font-size: 11px;
  }
}
