/* Dark theme for the pages that were light-only: My Team, Wallet & billing, Checkout, Owner Console, Review.
   Follows the same Light / Dark / Auto choice as Settings. Generated from one rule list. */

html[data-theme="dark"] body { background:#04050d !important; min-height:100vh; color:#e6eef0; }
html[data-theme="dark"] .team-card, html[data-theme="dark"] .co-card, html[data-theme="dark"] .review-card { background:#0b1019 !important; border:1px solid #262f3d; box-shadow:none !important; color:#e6eef0; }
html[data-theme="dark"] h1, html[data-theme="dark"] h2, html[data-theme="dark"] h3, html[data-theme="dark"] h4, html[data-theme="dark"] h5, html[data-theme="dark"] h6, html[data-theme="dark"] .pg-title, html[data-theme="dark"] label, html[data-theme="dark"] .form-label, html[data-theme="dark"] .form-check-label, html[data-theme="dark"] strong, html[data-theme="dark"] b { color:#ffffff !important; }
html[data-theme="dark"] p, html[data-theme="dark"] td, html[data-theme="dark"] th, html[data-theme="dark"] li, html[data-theme="dark"] dd, html[data-theme="dark"] dt, html[data-theme="dark"] small, html[data-theme="dark"] span.lbl { color:#e6eef0; }
html[data-theme="dark"] .text-muted { color:#9fb0b4 !important; }
html[data-theme="dark"] a:not(.btn):not(.alert-link):not(.nav-link) { color:#ffb33d; }
html[data-theme="dark"] table.team-table th, html[data-theme="dark"] table.team-table td, html[data-theme="dark"] table th, html[data-theme="dark"] table td { border-bottom-color:#262f3d !important; }
html[data-theme="dark"] hr { border-color:#262f3d; opacity:1; }
html[data-theme="dark"] .form-control:not(.af), html[data-theme="dark"] .form-select:not(.af), html[data-theme="dark"] textarea.form-control { background:#0b1019 !important; color:#fff !important; border:1px solid #262f3d !important; }
html[data-theme="dark"] .form-control::placeholder { color:#9fb0b4; }
html[data-theme="dark"] .form-check-input { background-color:#0b1019; border-color:#787e85; }
html[data-theme="dark"] .form-check-input:checked { background-color:#0e8f86; border-color:#0e8f86; }
html[data-theme="dark"] .stat-box { background:#101725 !important; border:1px solid #262f3d; }
html[data-theme="dark"] .alert-danger { background:#4a1d1d; color:#ffd7d3; border-color:#7a2e2e; }
html[data-theme="dark"] .alert-warning { background:#1f1608; color:#ffb33d; border-color:#ffb33d; }
html[data-theme="dark"] .alert-success { background:#17462c; color:#c9f2d6; border-color:#2b7a4d; }
html[data-theme="dark"] .alert-info { background:#131b29; color:#e6eef0; border-color:#0e8f86; }
html[data-theme="dark"] .alert strong, html[data-theme="dark"] .alert a { color:inherit !important; }
html[data-theme="dark"] .pay-banner { background:#1f1608 !important; color:#ffb33d !important; }
html[data-theme="dark"] .co-method { background:#101725 !important; }
html[data-theme="dark"] .btn-outline-secondary { color:#e6eef0; border-color:#687079; }
html[data-theme="dark"] .btn-outline-secondary:hover { background:#101725; color:#fff; }
html[data-theme="dark"] .btn-link { color:#ffb33d; }
html[data-theme="dark"] .badge-active, html[data-theme="dark"] .badge-approved, html[data-theme="dark"] .badge-paid { background:#17462c !important; color:#c9f2d6 !important; }
html[data-theme="dark"] .badge-pending, html[data-theme="dark"] .badge-suspended, html[data-theme="dark"] .badge-grace { background:#1f1608 !important; color:#ffb33d !important; }
html[data-theme="dark"] .badge-banned, html[data-theme="dark"] .badge-rejected, html[data-theme="dark"] .badge-failed, html[data-theme="dark"] .badge-cancelled, html[data-theme="dark"] .badge-overdue, html[data-theme="dark"] .badge-unpaid { background:#5b1f1f !important; color:#ffd7d3 !important; }
html[data-theme="dark"] .pill-no { background:#1f1608 !important; color:#ffb33d !important; }
html[data-theme="dark"] { --af-bg:#0b1019; --af-border:#262f3d; --af-chip:#131b29; --af-text:#ffffff; --af-muted:#9fb0b4; }

html[data-theme="dark"] .btn-primary, html[data-theme="dark"] .btn-dark { background-color:#ffb33d !important; border-color:#ffb33d !important; color:#0b1019 !important; }
html[data-theme="dark"] .btn-primary:hover, html[data-theme="dark"] .btn-primary:focus, html[data-theme="dark"] .btn-dark:hover, html[data-theme="dark"] .btn-dark:focus { background-color:#ffb33d !important; border-color:#ffb33d !important; color:#0b1019 !important; }
html[data-theme="dark"] .btn-secondary, html[data-theme="dark"] .btn-outline-secondary { border-color:#787e85 !important; color:#e6eef0 !important; }
html[data-theme="dark"] .btn-secondary:hover, html[data-theme="dark"] .btn-outline-secondary:hover { background-color:#101725 !important; color:#fff !important; }
html[data-theme="dark"] .form-check-input:checked { background-color:#ffb33d !important; border-color:#ffb33d !important; }
html[data-theme="dark"] .team-card h5, html[data-theme="dark"] .co-card h5, html[data-theme="dark"] .review-card h5 { color:#ffffff; }
html[data-theme="dark"] .stat-box { border-bottom:3px solid #ffb33d; }

@media (prefers-color-scheme: dark) {
  html[data-theme="auto"] body { background:#04050d !important; min-height:100vh; color:#e6eef0; }
  html[data-theme="auto"] .team-card, html[data-theme="auto"] .co-card, html[data-theme="auto"] .review-card { background:#0b1019 !important; border:1px solid #262f3d; box-shadow:none !important; color:#e6eef0; }
  html[data-theme="auto"] h1, html[data-theme="auto"] h2, html[data-theme="auto"] h3, html[data-theme="auto"] h4, html[data-theme="auto"] h5, html[data-theme="auto"] h6, html[data-theme="auto"] .pg-title, html[data-theme="auto"] label, html[data-theme="auto"] .form-label, html[data-theme="auto"] .form-check-label, html[data-theme="auto"] strong, html[data-theme="auto"] b { color:#ffffff !important; }
  html[data-theme="auto"] p, html[data-theme="auto"] td, html[data-theme="auto"] th, html[data-theme="auto"] li, html[data-theme="auto"] dd, html[data-theme="auto"] dt, html[data-theme="auto"] small, html[data-theme="auto"] span.lbl { color:#e6eef0; }
  html[data-theme="auto"] .text-muted { color:#9fb0b4 !important; }
  html[data-theme="auto"] a:not(.btn):not(.alert-link):not(.nav-link) { color:#ffb33d; }
  html[data-theme="auto"] table.team-table th, html[data-theme="auto"] table.team-table td, html[data-theme="auto"] table th, html[data-theme="auto"] table td { border-bottom-color:#262f3d !important; }
  html[data-theme="auto"] hr { border-color:#262f3d; opacity:1; }
  html[data-theme="auto"] .form-control:not(.af), html[data-theme="auto"] .form-select:not(.af), html[data-theme="auto"] textarea.form-control { background:#0b1019 !important; color:#fff !important; border:1px solid #262f3d !important; }
  html[data-theme="auto"] .form-control::placeholder { color:#9fb0b4; }
  html[data-theme="auto"] .form-check-input { background-color:#0b1019; border-color:#787e85; }
  html[data-theme="auto"] .form-check-input:checked { background-color:#0e8f86; border-color:#0e8f86; }
  html[data-theme="auto"] .stat-box { background:#101725 !important; border:1px solid #262f3d; }
  html[data-theme="auto"] .alert-danger { background:#4a1d1d; color:#ffd7d3; border-color:#7a2e2e; }
  html[data-theme="auto"] .alert-warning { background:#1f1608; color:#ffb33d; border-color:#ffb33d; }
  html[data-theme="auto"] .alert-success { background:#17462c; color:#c9f2d6; border-color:#2b7a4d; }
  html[data-theme="auto"] .alert-info { background:#131b29; color:#e6eef0; border-color:#0e8f86; }
  html[data-theme="auto"] .alert strong, html[data-theme="auto"] .alert a { color:inherit !important; }
  html[data-theme="auto"] .pay-banner { background:#1f1608 !important; color:#ffb33d !important; }
  html[data-theme="auto"] .co-method { background:#101725 !important; }
  html[data-theme="auto"] .btn-outline-secondary { color:#e6eef0; border-color:#687079; }
  html[data-theme="auto"] .btn-outline-secondary:hover { background:#101725; color:#fff; }
  html[data-theme="auto"] .btn-link { color:#ffb33d; }
  html[data-theme="auto"] .badge-active, html[data-theme="auto"] .badge-approved, html[data-theme="auto"] .badge-paid { background:#17462c !important; color:#c9f2d6 !important; }
  html[data-theme="auto"] .badge-pending, html[data-theme="auto"] .badge-suspended, html[data-theme="auto"] .badge-grace { background:#1f1608 !important; color:#ffb33d !important; }
  html[data-theme="auto"] .badge-banned, html[data-theme="auto"] .badge-rejected, html[data-theme="auto"] .badge-failed, html[data-theme="auto"] .badge-cancelled, html[data-theme="auto"] .badge-overdue, html[data-theme="auto"] .badge-unpaid { background:#5b1f1f !important; color:#ffd7d3 !important; }
  html[data-theme="auto"] .pill-no { background:#1f1608 !important; color:#ffb33d !important; }
  html[data-theme="auto"] { --af-bg:#0b1019; --af-border:#262f3d; --af-chip:#131b29; --af-text:#ffffff; --af-muted:#9fb0b4; }
  html[data-theme="auto"] .btn-primary, html[data-theme="auto"] .btn-dark { background-color:#ffb33d !important; border-color:#ffb33d !important; color:#0b1019 !important; }
  html[data-theme="auto"] .btn-primary:hover, html[data-theme="auto"] .btn-primary:focus, html[data-theme="auto"] .btn-dark:hover, html[data-theme="auto"] .btn-dark:focus { background-color:#ffb33d !important; border-color:#ffb33d !important; color:#0b1019 !important; }
  html[data-theme="auto"] .btn-secondary, html[data-theme="auto"] .btn-outline-secondary { border-color:#787e85 !important; color:#e6eef0 !important; }
  html[data-theme="auto"] .btn-secondary:hover, html[data-theme="auto"] .btn-outline-secondary:hover { background-color:#101725 !important; color:#fff !important; }
  html[data-theme="auto"] .form-check-input:checked { background-color:#ffb33d !important; border-color:#ffb33d !important; }
  html[data-theme="auto"] .team-card h5, html[data-theme="auto"] .co-card h5, html[data-theme="auto"] .review-card h5 { color:#ffffff; }
  html[data-theme="auto"] .stat-box { border-bottom:3px solid #ffb33d; }
}
html[data-theme="dark"] .btn-outline-primary { border-color:#787e85 !important; color:#e6eef0 !important; }
html[data-theme="dark"] .btn-outline-primary:hover { background:#101725 !important; color:#fff !important; }
html[data-theme="dark"] .btn-light { background:#101725; border-color:#262f3d; color:#e6eef0; }
@media (prefers-color-scheme: dark) {
  html[data-theme="auto"] .btn-outline-primary { border-color:#787e85 !important; color:#e6eef0 !important; }
  html[data-theme="auto"] .btn-outline-primary:hover { background:#101725 !important; color:#fff !important; }
  html[data-theme="auto"] .btn-light { background:#101725; border-color:#262f3d; color:#e6eef0; }
}
