/**
 * Force Dark Theme - Override ALL white/light backgrounds
 * This file MUST be loaded LAST to override everything
 * Version: 2.0 - Permanent Dark Theme
 */

/* Force body and html to dark */
html {
    background: #1F1C2C !important;
    background-color: #1F1C2C !important;
}

body {
    background: #1F1C2C !important;
    background-color: #1F1C2C !important;
    color: #FFFFFF !important;
    min-height: 100vh;
}

/* Remove any light theme classes */
html.light-theme,
body.light-theme,
[data-theme="light"] {
    background: #1F1C2C !important;
    color: #FFFFFF !important;
}

/* Force ALL sections and containers to dark */
section,
.section,
div[class*="section"],
.container,
.nav-container,
main,
article,
div[class*="Section"] {
    background: #1F1C2C !important;
}

/* Legal pages - Force dark background */
.legal-content,
.legal-container,
.legal-main,
.legal-sidebar,
.page-header {
    background: #1F1C2C !important;
    background-color: #1F1C2C !important;
}

/* Legal section elements */
.legal-section {
    background: transparent !important;
    border-bottom: 1px solid rgba(146, 141, 171, 0.2) !important;
}

.legal-section h2 {
    color: #FFFFFF !important;
}

.legal-section p,
.legal-section li {
    color: #E5E3ED !important;
}

/* Help center pages - Force dark background */
.help-content,
.help-search,
.help-categories,
.help-category,
.help-article,
.faq-section,
.faq-item {
    background: #1F1C2C !important;
    background-color: #1F1C2C !important;
}

.help-section {
    background: transparent !important;
}

.help-section h2,
.help-section h3 {
    color: #FFFFFF !important;
}

.help-section p,
.help-section li {
    color: #E5E3ED !important;
}

/* Force all containers to dark */
.container,
.nav-container,
.hero-container,
.main-container {
    background: transparent !important;
}

/* Force all white/light backgrounds to dark */
[style*="background: white"],
[style*="background: #fff"],
[style*="background: #f"],
[style*="background-color: white"],
[style*="background-color: #fff"],
[style*="background-color: #f"] {
    background: #2A2738 !important;
    background-color: #2A2738 !important;
}

/* Navbar - FORCE dark */
.navbar,
nav {
    background: #2A2738 !important;
    background-color: #2A2738 !important;
}

/* Hero - FORCE dark gradient */
.hero {
    background: linear-gradient(135deg, #1F1C2C 0%, #2A2738 100%) !important;
}

/* All cards - FORCE dark */
.card,
.model-card,
.product-card,
.category-card,
.collection-card,
.service-card,
.value-card,
.forum-post,
.faq-item,
.comment-item,
.quick-link,
.guideline-card,
.timeline-content,
.auth-form-container,
.auth-info,
.upload-form,
.legal-main,
.legal-sidebar {
    background: #2A2738 !important;
    background-color: #2A2738 !important;
}

/* Model/Product image placeholders */
.model-image,
.product-card-image,
.main-image {
    background: #050505 !important;
    background-color: #050505 !important;
}

/* All white text to light */
[style*="color: #24292f"],
[style*="color: #1f2937"],
[style*="color: #111827"],
[style*="color: #212529"] {
    color: #FFFFFF !important;
}

/* Muted text */
.model-author,
.product-card-author,
.stat-description,
.category-card p,
[style*="color: #6"] {
    color: #928DAB !important;
}

/* Footer */
.footer {
    background: #1F1C2C !important;
    background-color: #1F1C2C !important;
}

.footer-section p,
.footer-section ul li a {
    color: #928DAB !important;
}

/* Buttons - Ensure gradient */
.btn-primary {
    background: linear-gradient(135deg, #928DAB, #B8B3CA) !important;
}

/* Stats background */
.stats {
    background: linear-gradient(135deg, #6B6782, #928DAB) !important;
}

/* Any remaining white sections */
.breadcrumb,
.model-detail-grid,
.description-section,
.details-section {
    background: #1F1C2C !important;
}

/* Upload guidelines */
.upload-guidelines {
    background: #1F1C2C !important;
}

/* Modal */
.modal-content {
    background: #2A2738 !important;
}

/* Dropdowns */
.dropdown-menu {
    background: #2A2738 !important;
}

/* File upload areas */
.file-upload-area {
    background: #2A2738 !important;
}

.file-item {
    background: #353244 !important;
}

/* Search bar */
.search-bar,
.search-container {
    background: transparent !important;
}

/* Pagination */
.page-btn {
    background: #2A2738 !important;
}

/* Service cards */
.service-card {
    background: #2A2738 !important;
}

/* Override any inline styles */
div[style*="background"][style*="#f"],
div[style*="background"][style*="white"] {
    background: #2A2738 !important;
}

