/* Dark-mode patches for the parts of the theme the template's own dark stylesheet does not cover (inner pages,
   forms, pricing, cards). Everything is scoped under html[data-theme="dark"]. */

html[data-theme="dark"] { color-scheme: dark; }
html[data-theme="dark"] .tw-card { background: #232323; border-color: rgba(255, 255, 255, 0.08); }
html[data-theme="dark"] .tw-card h2, html[data-theme="dark"] .tw-card h3 { color: #fff; }
html[data-theme="dark"] .tw-prose, html[data-theme="dark"] .tw-lead, html[data-theme="dark"] .tw-meta { color: rgba(255, 255, 255, 0.7); }
html[data-theme="dark"] .tw-prose h2, html[data-theme="dark"] .tw-prose h3, html[data-theme="dark"] .tw-postnav a { color: #fff; }
html[data-theme="dark"] .tw-side .about-list li { color: rgba(255, 255, 255, 0.7); }
html[data-theme="dark"] .price-table th, html[data-theme="dark"] .price-table td, html[data-theme="dark"] .price-table tr { border-color: rgba(255, 255, 255, 0.12); }
html[data-theme="dark"] .price-table tbody th { color: #fff; }
html[data-theme="dark"] .price-table thead th, html[data-theme="dark"] .price-table .what, html[data-theme="dark"] .price-note { color: rgba(255, 255, 255, 0.65); }
html[data-theme="dark"] .tw-input { background: #111; color: #fff; border-color: rgba(255, 255, 255, 0.2); }
html[data-theme="dark"] .tw-chip { color: #fff; }
html[data-theme="dark"] .tw-flash, html[data-theme="dark"] .alert { background: #232323; color: #fff; border-color: rgba(255, 255, 255, 0.2); }
html[data-theme="dark"] .main-footer .alert { color: #fff; }
html[data-theme="dark"] .acc-btn, html[data-theme="dark"] .accordion-box .block .acc-btn { color: #fff; }
html[data-theme="dark"] .tw-card-num { color: var(--theme-color1); }
html[data-theme="dark"] .tw-recent { color: #fff; }
html[data-theme="dark"] .tw-recent small { color: rgba(255, 255, 255, 0.6); }
