/*
 * Author: Mahmoud
 * Publisher: DoniaWeB
 * Website: doniaweb.com
 */
/* Dark Mode companion for the LIQUID GLASS theme.
   theme.css now drives BOTH light and dark through glass tokens that are re-tinted
   under :root[data-theme="dark"], so the heavy opaque-surface overrides that used
   to live here are gone (they would fight the frosted glass). What remains is only
   the handful of Bootstrap utilities / legacy blocks that theme.css doesn't restyle
   and that would otherwise render dark-on-dark. */

/* Bootstrap text utilities that hard-code dark text → make readable on glass */
[data-theme="dark"] .text-dark,
[data-theme="dark"] .text-black,
[data-theme="dark"] .text-body,
[data-theme="dark"] .text-black-50{color:var(--text) !important;}

/* (form-select caret is now handled once in theme.css with no-repeat for both modes) */

/* Legacy affiliate / winner blocks (other pages) → glass-consistent */
[data-theme="dark"] #aff-block,
[data-theme="dark"] #aff-banner{background:var(--glass) !important;color:#bfe3ee;border-color:var(--glass-bd-2) !important;}
[data-theme="dark"] #aff-block .aff_block_p2{background:var(--glass-2) !important;color:#bfe3ee;border-color:var(--glass-bd-2) !important;}
[data-theme="dark"] .winner_block .inside{background:var(--glass-2) !important;color:var(--text) !important;text-shadow:none;border-color:var(--glass-bd-2) !important;}

/* Blog comments → glass */
[data-theme="dark"] .blog_comment,
[data-theme="dark"] .comments_wrap{background:var(--glass) !important;color:var(--text) !important;border-color:var(--glass-bd-2) !important;}
[data-theme="dark"] .comments_wrap .content_text,
[data-theme="dark"] .blog_comment p{color:var(--text) !important;}

/* Hairline borders used as dividers on legacy pages */
[data-theme="dark"] .lotteryTop,
[data-theme="dark"] .aff_url_block{border-color:var(--glass-bd-2) !important;}
