/*
 * dark-mode.css — APKMobeAI
 * FIX #12: نُقل من inline style في functions.php إلى ملف CSS منفصل
 * يتـcache بشكل صح ويقلل حجم الـ HTML
 */

body.dark-mode {
    background: #0f0f1a !important;
    color: #e8eaf0 !important;
}

body.dark-mode .module,
body.dark-mode .card,
body.dark-mode .faq,
body.dark-mode .download-box,
body.dark-mode header,
body.dark-mode .navbar,
body.dark-mode .title,
body.dark-mode .apk-info-box {
    background: #1e2035 !important;
    color: #e8eaf0 !important;
}

body.dark-mode h1,
body.dark-mode h2,
body.dark-mode h3,
body.dark-mode h4,
body.dark-mode .app-name,
body.dark-mode .name {
    color: #e8eaf0 !important;
}

body.dark-mode p,
body.dark-mode span:not(.btn *),
body.dark-mode li {
    color: #aab0c0 !important;
}

body.dark-mode a:not([class*="btn"]):not([class*="download"]) {
    color: #7eb8ff !important;
}

body.dark-mode footer,
body.dark-mode .site-footer {
    background: #080810 !important;
}

body.dark-mode input,
body.dark-mode select,
body.dark-mode textarea {
    background: #1e2035 !important;
    color: #e8eaf0 !important;
    border-color: #2d3050 !important;
}

#apk-dm-btn {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #1a1a2e;
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 19px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    box-shadow: 0 4px 16px rgba(0,0,0,.35);
    transition: .2s;
}

#apk-dm-btn:hover {
    transform: scale(1.12);
}

body.dark-mode #apk-dm-btn {
    background: #e8eaf0;
    color: #1a1a2e;
}
