/* Styles for the options page */

.market-closed-hero {
  padding: 32px;
  text-align: center;
}

.market-closed-hero .icon {
  font-size: 32px;
  margin-bottom: 8px;
}

.market-closed-hero h2 {
  font-size: 16px;
  margin: 0 0 8px;
}

.market-closed-hero p {
  font-size: 13px;
  color: var(--text-dim);
}

.opt-status .status-label {
  font-weight: 600;
}

.opt-status .vix-label {
  margin-left: 8px;
}

.opt-summary-grid {
  margin-top: 16px;
}

.opt-sum-price {
  font-size: 13px;
  font-weight: 600;
}

.opt-sum-action {
  margin-top: 8px;
  font-size: 14px;
  font-weight: 800;
}

.opt-sum-strike {
  font-size: 15px;
  font-weight: 700;
  margin-top: 4px;
}

.opt-sum-confidence {
  font-size: 11px;
  color: var(--text-dim);
  margin-top: 2px;
}

.opt-sum-signals {
  font-size: 10px;
  color: var(--text-muted);
  margin-top: 4px;
}

.market-closed-banner {
  margin-top: 16px;
  padding: 18px;
  margin-bottom: 0;
}

.market-closed-banner .icon {
  font-size: 24px;
}

.market-closed-banner h2 {
  font-size: 15px;
  margin-top: 4px;
}

.market-closed-banner p {
  font-size: 12px;
}

#index-detail {
  margin-top: 16px;
}

.section {
  margin-top: 24px;
}

.sector-chip {
  /* background color is set dynamically */
}

.sector-chip .name {
  font-size: 11px;
  font-weight: 600;
  color: var(--text);
}

.sector-chip .change {
  font-size: 12px;
  font-weight: 700;
}

.index-detail-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.index-detail-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin: 0;
}

.index-detail-switch-hint {
  font-size: 11px;
  color: var(--text-muted);
  background: var(--bg-elevated);
  padding: 2px 8px;
  border-radius: 4px;
}

.opt-verdict {
  /* border-left and background are set dynamically */
}

.opt-verdict-inner {
  flex: 1;
}

.opt-verdict-label {
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.opt-verdict-action {
  font-size: 28px;
  font-weight: 800;
  margin: 6px 0;
}

.opt-verdict-details {
  font-size: 13px;
  color: var(--text-dim);
}

.opt-verdict-signals {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}

.opt-verdict-right .strike {
  font-weight: 700;
  font-size: 17px;
}

.opt-verdict-no-trend {
  text-align: center;
  padding: 12px;
  color: var(--text-dim);
  font-size: 13px;
}

.opt-level-row .atm {
  color: var(--accent);
}

.strike-info-bar {
  margin-top: 12px;
}

.strike-info-bar .name {
  font-weight: 700;
  font-size: 15px;
}

.strike-info-bar .price {
  font-size: 17px;
  font-weight: 700;
  margin-left: 10px;
}

.strike-info-bar .change {
  font-size: 13px;
  margin-left: 8px;
}

.strike-info-bar .ohlc {
  font-size: 11px;
}

#strike-chain-section .loading {
  padding: 16px;
}

#strike-chain-section .loading p {
  font-size: 12px;
}

.reasons-panel {
  margin-top: 16px;
}

.reason .score {
  font-size: 10px;
}

.reason .name {
  font-size: 11px;
  color: var(--text-dim);
}

.strike-table .strike {
  font-weight: 600;
}

.strike-table .type {
  text-align: center;
}

.strike-table .ltp {
  text-align: right;
  font-weight: 600;
}

.strike-table .change {
  text-align: right;
  font-size: 12px;
}

.strike-table .oi {
  text-align: right;
  font-size: 12px;
}

.strike-table .volume {
  text-align: right;
  font-size: 12px;
}

.strike-table .pick {
  text-align: center;
}

.strike-table .pick .ai-pick {
  background: var(--green);
  color: #fff;
}

.section .icon {
  /* color is set dynamically */
}

.strike-table .distance {
  text-align: right;
}

.strike-table .pick-cheaper,
.strike-table .pick-costlier {
  font-size: 11px;
}

.strike-table th.type,
.strike-table th.ltp,
.strike-table th.change,
.strike-table th.oi,
.strike-table th.volume,
.strike-table th.pick {
  text-align: right;
}
