﻿<style >

body {
    /*font-family: Tahoma;*/
    transition: all .2s ease;
}

body.dark-mode {
    background: #121212 !important;
    color: #eaeaea !important;
}

    /* متن‌ها */
    body.dark-mode p,
    body.dark-mode span,
    body.dark-mode li,
    body.dark-mode ul,
    body.dark-mode a,
    body.dark-mode label,
    body.dark-mode div {
        color: #eaeaea !important;
    }

    /* لینک‌ها */
    body.dark-mode a {
        color: #9ecbff !important;
    }

    /* هدر و منو */
    body.dark-mode .site-header,
    body.dark-mode .top-header,
    body.dark-mode .mega-menu,
    body.dark-mode footer {
        background: #1e1e1e !important;
    }

    /* کارت‌ها و باکس‌ها */
    body.dark-mode .footer-col,
    body.dark-mode .container {
        background: transparent !important;
    }

    body.dark-mode .services,
    body.dark-mode .service,
    body.dark-mode .services-section {
        background: #1e1e1e !important;
        color: #eaeaea !important;
    }

        body.dark-mode .services *,
        body.dark-mode .service * {
            color: #eaeaea !important;
        }

    /* اگر کارت Bootstrap هست */
    body.dark-mode .card {
        background: #1e1e1e !important;
        color: #eaeaea !important;
        border-color: #333 !important;
    }
/* دکمه شناور */
#access-btn {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #2a34b1;
    color: #fff;
    border: none;
    font-size: 24px;
    cursor: pointer;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* پنل */
.uk-offcanvas-bar {
    width: 320px !important;
    background: #b0d9edf7 !important;
    color: #222;
    padding: 20px;
}

/* Responsive */
@media(max-width:480px) {
    .uk-offcanvas-bar {
        width: 260px !important;
    }
}

/* عنوان */
.panel-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    display: flex;
    gap: 10px;
    align-items: center;
}

/* لیست */
.qa-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .qa-links li a {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 12px 14px;
        margin-bottom: 10px;
        background: #f7f7f7;
        border-radius: 8px;
        cursor: pointer;
        transition: .2s;
        color: #333;
        font-size: 14px;
        border: 1px solid #b3b4bb;

    }

        .qa-links li a:hover {
            background: #eaeaea;
        }

/* سه دکمه در یک ردیف */
.row-3 {
    display: flex;
    gap: 8px;
}

    .row-3 a {
        flex: 1;
        margin-bottom: 0 !important;
        justify-content: center;
    }



/* بک‌گراند */

:root {
    --bg: #ffffff;
    --surface: #ffffff;
    --text: #111;
}

body {
    background: var(--bg);
    color: var(--text);
    transition: all 0.3s ease;
}

header,
section {
    background: var(--surface); 
    transition: all 0.3s ease;
}

.color-picker-box {
    width: 18px;
    height: 18px;
    display: inline-block;
    border-radius: 4px;
    border: 1px solid #999;
}

/* کنتراست ساده و درست */
/*body.invert{
    background:#000;
    color:#fff;
}
body.invert .uk-offcanvas-bar{
    background:#222 !important;
    color:#fff;
}*/
body.high-contrast {
    background: #ffffff !important;
    color: #000 !important;
}

    /* لینک‌ها واضح و تیره */
    body.high-contrast a {
        color: #0033cc !important;
        font-weight: 700;
        text-decoration: underline;
    }

    /* هدر و منوها روشن ولی جدا */
    body.high-contrast .site-header,
    body.high-contrast .top-header,
    body.high-contrast .mega-menu,
    body.high-contrast footer,
    body.high-contrast .uk-offcanvas-bar {
        background: #f5f5f5 !important;
        color: #000 !important;
        border: 2px solid #333;
    }

    /* کارت‌ها و باکس‌ها */
    body.high-contrast .card,
    body.high-contrast .footer-col,
    body.high-contrast .qa-links li a {
        background: #fff !important;
        color: #000 !important;
        border: 2px solid #000 !important;
    }

    /* تصاویر: واضح‌تر نه تیره‌تر */
    body.high-contrast img {
        filter: contrast(1.3) brightness(1.1);
    }

    /* فوکوس بهتر برای دسترسی */
    body.high-contrast a:hover {
        background: yellow !important;
        color: #000 !important;
    }





/* هایلایت لینک */
.highlight-links a {
    background: yellow !important;
}

/* خط راهنما */
#guide-line {
    position: fixed;
    left: 0;
    right: 0;
    height: 2px;
    background: red;
    display: none;
    pointer-events: none;
    z-index: 99998;
}

/* Color Picker جلوی دکمه */
.color-picker-box {
    width: 25px;
    height: 25px;
    border-radius: 6px;
    border: 1px solid #ccc;
    margin-right: auto;
}

/* ذره‌بین دایره‌ای */
#magnifier {
    position: fixed;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 3px solid #444;
    overflow: hidden;
    pointer-events: none;
    display: none;
    z-index: 999999;
    box-shadow: 0 0 10px rgba(0,0,0,0.4);
}

    #magnifier img {
        position: absolute;
        transform-origin: top left;
    }

</style >
