/* ARC Securities Ltd — DSE Market Summary & Top 10 Shares Theme CSS */
.arc-dse-section {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: #1e293b;
  box-sizing: border-box;
}

.arc-dse-section *,
.arc-dse-section *::before,
.arc-dse-section *::after {
  box-sizing: border-box;
}

.arc-dse-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 24px;
  align-items: start;
}

@media (max-width: 920px) {
  .arc-dse-grid {
    grid-template-columns: 1fr;
  }
}

.arc-dse-card {
  background: #ffffff;
}

.arc-dse-header {
  background-color: #111c33;
  color: #ffffff;
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.arc-dse-title {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: #ffffff;
}

.arc-dse-date {
  font-size: 13px;
  color: #e2e8f0;
  font-weight: 400;
}

.arc-dse-live-badge {
  font-size: 11px;
  font-weight: 600;
  color: #4ade80;
  letter-spacing: 0.5px;
}

.arc-dse-live-badge.offline {
  color: #f87171;
}

/* Tabs: Top Gainer | Top Loser | Top Trades */
.arc-dse-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background-color: #eef2f6;
  border-left: 1px solid #e2e8f0;
  border-right: 1px solid #e2e8f0;
}

.arc-dse-tab {
  appearance: none;
  border: none;
  background: transparent;
  padding: 11px 8px;
  font-size: 13px;
  font-weight: 600;
  color: #1e293b;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
  text-align: center;
}

.arc-dse-tab:hover {
  background-color: #e2e8f0;
}

.arc-dse-tab.active {
  background-color: #000000;
  color: #ffffff;
}

/* Tables */
.arc-dse-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.arc-dse-totals-wrap {
  margin-top: 16px;
  width: 100%;
  overflow-x: auto;
}

.arc-dse-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #e2e8f0;
  text-align: center;
  font-size: 13px;
}

.arc-dse-table thead th {
  background-color: #eef2f6;
  color: #0f172a;
  font-weight: 700;
  padding: 11px 12px;
  border-bottom: 1px solid #e2e8f0;
  white-space: nowrap;
}

.arc-dse-table tbody td {
  padding: 10px 12px;
  border-bottom: 1px solid #e2e8f0;
  color: #1e293b;
  background-color: #ffffff;
}

.arc-dse-table tbody tr:hover td {
  background-color: #f8fafc;
}

.arc-pos {
  color: #15803d !important;
  font-weight: 700;
}

.arc-neg {
  color: #dc2626 !important;
  font-weight: 700;
}

.arc-neu {
  color: #475569 !important;
  font-weight: 600;
}

.arc-loading-cell {
  padding: 20px !important;
  color: #64748b !important;
  font-style: italic;
}
