/**
 * eXthus Portal Theme — page-specific overrides
 * Tokens, layout, and components load via head.tpl (cache-busted).
 */

/* WHMCS utility overrides */
body.exthus-portal .bg-light { background-color: var(--ex-panel) !important; }
body.exthus-portal .bg-white { background-color: var(--ex-panel) !important; }
body.exthus-portal .border { border-color: var(--ex-line) !important; }
body.exthus-portal .text-dark { color: var(--ex-text) !important; }
body.exthus-portal .text-white { color: var(--ex-text) !important; }
body.exthus-portal hr { border-color: var(--ex-line); }
body.exthus-portal .dropdown-divider { border-color: var(--ex-line); }
body.exthus-portal pre,
body.exthus-portal code {
  background: var(--ex-panel-2);
  color: var(--ex-lime);
  border-radius: 6px;
}
body.exthus-portal blockquote {
  border-left: 3px solid var(--ex-lime);
  color: var(--ex-muted);
  padding-left: 16px;
}

/* OAuth pages share custom.css via assetExists */
body.exthus-portal #header {
  background: var(--ex-panel);
  border-bottom: 1px solid var(--ex-line);
  padding: 20px 0;
}
body.exthus-portal #content { padding: 32px 0; }

/* OAuth layout helpers */
body.exthus-portal .oauth-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 16px 0;
}
body.exthus-portal .oauth-header-actions { text-align: right; }
body.exthus-portal .oauth-user-line {
  color: var(--ex-muted);
  font-size: 0.88rem;
  margin-bottom: 8px;
}
body.exthus-portal .oauth-footer { margin-top: 40px; }
body.exthus-portal .content-container {
  background: var(--ex-panel);
  border: 1px solid var(--ex-line);
  border-radius: var(--ex-radius-sm);
  color: var(--ex-text);
  padding: 24px;
  max-width: 550px;
  margin: 0 auto;
}
