/* -------------------- فونت اختصاصی وزیرمتن (Vazirmatn) -------------------- */
/* @import url('https://cdn.fontcdn.ir/FontPersian/Vazirmatn/Vazirmatn.css'); */
@font-face {
    font-family: "Shabnam";
    src: url("/fonts/Shabnam-FD.woff2");
}

/* تعیین فونت برای عناصر خاص (در صورت نیاز) */
.logo h2,
.card-header h2,
.hero-text h1,
.hero-text p,
button,
input,
textarea,
.main-nav a {
    font-family: inherit;
}

/* -------------------- متغیرهای رنگ (لایت و دارک) -------------------- */
:root {
    --bg-gradient: linear-gradient(145deg, #f9f5ff 0%, #ede7f6 100%);
    --header-bg: rgba(255, 255, 255, 0.4);
    --card-bg: rgba(255, 255, 255, 0.85);
    --text-primary: #2d2a3e;
    --text-secondary: #5a4e7a;
    --border-light: rgba(108, 92, 231, 0.2);
    --shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
    --btn-gradient: linear-gradient(90deg, #6c5ce7, #a463f5);
}

body.dark-mode {
    --bg-gradient: linear-gradient(145deg, #1a1a2e 0%, #16213e 100%);
    --header-bg: rgba(20, 20, 40, 0.7);
    --card-bg: rgba(30, 30, 50, 0.85);
    --text-primary: #e0e0ff;
    --text-secondary: #b8b8e0;
    --border-light: rgba(120, 100, 220, 0.4);
    --shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    --btn-gradient: linear-gradient(90deg, #8b74ff, #b77eff);
}

/* -------------------- RESET & BASE -------------------- */
*,
*::after,
*::before {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
    -moz-tap-highlight-color: transparent;
    font-family: "Shabnam";
}

body {
    /* font-family: 'Inter', sans-serif; */
    background: var(--bg-gradient);
    color: var(--text-primary);
    line-height: 1.5;
    transition: background 0.3s, color 0.2s;
}

ul {
    display: flex;
    list-style: none;
}

.app-wrapper {
    max-width: 1300px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    animation: fadeInPage 0.6s ease-out;
}

@keyframes fadeInPage {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* -------------------- HEADER & NAVIGATION (شیشه‌ای و مدرن) -------------------- */
.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    background: var(--header-bg);
    backdrop-filter: blur(12px);
    border-radius: 2rem;
    padding: 0.8rem 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05), 0 0 0 1px rgba(255, 255, 255, 0.3);
    transition: all 0.3s;
    position: sticky;
    top: 0;
    z-index: 1000;
    /* بقیه خصوصیات قبلی مانند background, backdrop-filter, ... همانطور که هست باقی می‌مانند */
}

.main-header:hover {
    /* background: rgba(255, 255, 255, 0.55); ← ثابت */
    background: var(--header-bg);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

.logo h2 {
    font-size: 1.6rem;
    font-weight: 700;
    background: linear-gradient(135deg, #6c5ce7, #a463f5, #d96cff);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.main-nav a,
.dark-mode-btn {
    text-decoration: none;
    margin-left: 1.5rem;
    color: var(--text-secondary);
    font-weight: 600;
    transition: 0.2s;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    position: relative;
}

.dark-mode-btn {
    background: rgba(108, 92, 231, 0.15);
    padding: 0.4rem 0.8rem;
    border-radius: 2rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.dark-mode-btn i {
    font-size: 1.1rem;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    right: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #6c5ce7, #a463f5);
    transition: width 0.3s;
}

.main-nav a:hover,
.dark-mode-btn:hover {
    color: #6c5ce7;
    transform: translateY(-2px);
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

.main-nav a:hover,
.main-nav a.active {
    color: #6c5ce7;
}

/* -------------------- MAIN CONTENT -------------------- */
.main-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* -------------------- HERO PROFILE (کارت بزرگ) -------------------- */
.profile-hero {
    background: var(--header-bg);
    /* background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(248, 244, 255, 0.9)); */
    backdrop-filter: blur(8px);
    border-radius: 2rem;
    padding: 2.2rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    box-shadow: 0 20px 35px rgba(108, 92, 231, 0.12);
    transition: transform 0.3s, box-shadow 0.3s;
}

.profile-hero:hover {
    transform: translateY(-5px);
    box-shadow: 0 28px 40px rgba(108, 92, 231, 0.2);
}

.avatar img {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: 0 10px 25px rgba(108, 92, 231, 0.25);
    transition: transform 0.3s;
}

.avatar img:hover {
    transform: scale(1.03);
}

.hero-text h1 {
    font-size: 2.4rem;
    background: linear-gradient(120deg, #3c2e62, #6c5ce7);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    margin-bottom: 0.3rem;
}

.hero-text p {
    /* color: #5a4e7a;  ← رنگ ثابت قدیمی */
    color: var(--text-secondary);
    font-weight: 500;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(108, 92, 231, 0.1);
    border-radius: 50%;
    color: #6c5ce7;
    font-size: 1.2rem;
    margin-left: 0.8rem;
    transition: all 0.2s;
}

.social-links a:hover {
    background: #6c5ce7;
    color: white;
    transform: translateY(-3px);
}

/* -------------------- CARDS (عمومی با استایل شیشه‌ای مدرن) -------------------- */
.card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border-radius: 1.8rem;
    padding: 1.6rem 1.8rem;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
}

.card:hover {
    transform: translateY(-4px);
    background: var(--card-bg);
    box-shadow: 0 20px 30px rgba(108, 92, 231, 0.1);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    border-right: 4px solid #6c5ce7;
    padding-right: 1rem;
    margin-bottom: 1.2rem;
}

.card-header i {
    font-size: 1.8rem;
    background: linear-gradient(135deg, #6c5ce7, #a463f5);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.card-header h2 {
    font-size: 1.5rem;
    font-weight: 600;
    /* color: #2c234a;  ← ثابت */
    color: var(--text-primary);
}

/* مهارت‌ها (چیپس مدرن) */

.skills-card .skills-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 0.5rem;
}

.skill-item {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-weight: 600;
    color: var(--text-primary);
}

.skill-name {
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.skill-percent {
    font-size: 0.85rem;
    background: rgba(108, 92, 231, 0.15);
    padding: 0.2rem 0.7rem;
    border-radius: 30px;
    color: #6c5ce7;
    font-weight: 700;
}

.progress-bar-bg {
    background: rgba(0, 0, 0, 0.08);
    border-radius: 40px;
    height: 12px;
    overflow: hidden;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
    width: 100%;
}

.progress-fill {
    width: 0%;
    height: 100%;
    border-radius: 40px;
    transition: width 1.2s cubic-bezier(0.22, 0.97, 0.36, 1.05);
    background-size: 200% auto;
    animation: shimmer 2s linear infinite;
}

@keyframes shimmer {
    0% {
        background-position: 0% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

/* دو ستونی */
.two-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.timeline-item {
    margin-bottom: 1.2rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.timeline-dot {
    width: 12px;
    height: 12px;
    background: var(--btn-gradient);
    border-radius: 50%;
    margin-top: 0.6rem;
    box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.2);
}

.timeline-item strong {
    color: var(--text-primary);
    font-size: 1rem;
}

.timeline-item p,
.timeline-item small {
    color: var(--text-secondary);
}

.timeline-item small {
    /* color: #8b7ab3; */
    color: var(--text-secondary);
    font-size: 0.75rem;
}

.timeline-item p {
    margin-top: 0.3rem;
    font-size: 0.85rem;
    /* color: #5f5386; */
    color: var(--text-secondary);
}

/* فرم مدرن */
.modern-form input,
.modern-form textarea {
    width: 100%;
    padding: 0.9rem 1rem;
    margin-bottom: 1rem;
    border: 1px solid #e0d6ff;
    border-color: var(--border-light);
    border-radius: 1.2rem;
    background: rgba(255, 255, 255, 0.9);
    font-family: inherit;
    transition: all 0.2s;
    color: var(--text-primary);
}

body.dark-mode .modern-form input,
body.dark-mode .modern-form textarea {
    background: rgba(20, 20, 40, 0.9);
    color: #e0e0ff;
}

.modern-form input:focus,
.modern-form textarea:focus {
    border-color: #6c5ce7;
    box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.15);
    outline: none;
    /* background: white;  ← این باعث می‌شد در دارک مود سفید شود */
    background: var(--card-bg);
}

.modern-form button {
    background: var(--btn-gradient);
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 2rem;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.2s;
    box-shadow: 0 4px 12px rgba(108, 92, 231, 0.3);
}

.modern-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(108, 92, 231, 0.4);
}

/* -------------------- فوتر پیشرفته ۴ ستونه (سازگار با دارک مود) -------------------- */
.advanced-footer {
    margin-top: 3rem;
    background: var(--header-bg);
    /* هماهنگ با هدر شیشه‌ای */
    backdrop-filter: blur(12px);
    border-radius: 2rem;
    padding: 2rem 1.5rem 1rem;
    color: var(--text-secondary);
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.footer-col h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
    border-right: 3px solid #6c5ce7;
    padding-right: 0.6rem;
}

.footer-col p,
.footer-col a {
    font-size: 0.85rem;
    line-height: 1.6;
    color: var(--text-secondary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.2rem;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: #6c5ce7;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.trust-badge {
    background: rgba(108, 92, 231, 0.15);
    border-radius: 1rem;
    padding: 0.6rem;
    text-align: center;
    margin-top: 0.5rem;
    transition: background 0.2s;
}

.trust-badge svg {
    width: 48px;
    height: 48px;
    stroke: #6c5ce7;
    margin-bottom: 0.3rem;
}

.trust-badge p {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin: 0;
}

.copyright {
    text-align: center;
    padding-top: 1.2rem;
    border-top: 1px solid var(--border-light);
    font-size: 0.75rem;
    color: var(--text-secondary);
}

/* اصلاح نهایی اسلایدر برای صفحات با عرض کمتر از 450px */
@media (max-width: 450px) {
    .portfolio-section {
        overflow: visible !important;
    }

    .slider-main-container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 6px;
        width: 100%;
    }

    .slider-arrow {
        width: 32px !important;
        height: 32px !important;
        min-width: 32px;
        font-size: 1rem !important;
        flex-shrink: 0;
        background: rgba(108, 92, 231, 0.8) !important;
        border-radius: 50%;
        z-index: 2;
    }

    .slides-area {
        flex: 1;
        min-width: 0;
        overflow: hidden;
        position: relative;
    }

    .slider-track {
        display: flex;
        gap: 0 !important;
        transition: transform 0.4s ease;
    }

    .slide {
        flex: 0 0 100% !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        box-sizing: border-box;
    }

    .project-card {
        width: 100%;
        margin: 0;
    }

    .project-img img {
        width: 100%;
        height: 130px;
        object-fit: cover;
    }

    .project-info {
        padding: 0.6rem;
    }

    .project-info h3 {
        font-size: 0.9rem;
    }

    .project-info p {
        font-size: 0.75rem;
    }

    .slider-dots {
        margin-top: 0.8rem;
        gap: 0.5rem;
    }

    .dot {
        width: 8px;
        height: 8px;
    }

    .dot.active {
        width: 20px;
    }
}

/* ریسپانسیو فوتر در موبایل (دو ستون برای لینک‌ها و تماس) */
@media (max-width: 768px) {
    .footer-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1.2rem;
    }

    /* ستون اول (لوگو) و ستون چهارم (نماد اعتماد) در تمام عرض */
    .footer-col:nth-child(1),
    .footer-col:nth-child(4) {
        grid-column: span 2;
    }

    /* ستون دوم (لینک‌های سریع) و سوم (تماس) هر کدام نصف عرض */
    .footer-col:nth-child(2) {
        grid-column: 1 / 2;
    }

    .footer-col:nth-child(3) {
        grid-column: 2 / 3;
    }

    .advanced-footer {
        padding: 1.5rem 1rem 0.8rem;
    }

    .footer-col h4 {
        font-size: 1rem;
        margin-bottom: 0.8rem;
    }

    .footer-col p,
    .footer-col a {
        font-size: 0.75rem;
    }

    .trust-badge svg {
        width: 36px;
        height: 36px;
    }
}

@media (max-width: 480px) {
    .footer-col h4 {
        font-size: 0.9rem;
    }

    .footer-col p,
    .footer-col a {
        font-size: 0.7rem;
    }

    .trust-badge p {
        font-size: 0.65rem;
    }
}

/* -------------------- نظرات (صفحه comments) -------------------- */
.comments-list {
    max-height: 450px;
    overflow-y: auto;
    padding-left: 0.5rem;
}

.comment-item {
    background: var(--card-bg);
    backdrop-filter: blur(4px);
    padding: 1rem;
    border-radius: 1.2rem;
    margin-bottom: 1rem;
    border-right: 4px solid #6c5ce7;
    transition: 0.2s;
}

.comment-item:hover {
    /* background: white; ← ثابت */
    background: var(--card-bg);
    transform: translateX(-3px);
}

.comment-item strong {
    /* color: #6c5ce7;  ← اختیاری، می‌تواند همان بنفش باشد ولی بهتر است از متغیر استفاده شود */
    color: #6c5ce7;
    font-size: 1rem;
}

/* -------------------- دکمه همبرگری (فقط موبایل) -------------------- */
.menu-toggle {
    display: none;
    background: rgba(108, 92, 231, 0.2);
    border: none;
    font-size: 1.5rem;
    color: var(--text-primary);
    cursor: pointer;
    padding: 0.4rem 0.8rem;
    border-radius: 1rem;
    transition: 0.2s;
}

.menu-toggle:hover {
    background: rgba(108, 92, 231, 0.4);
}

/* -------------------- منوی کشویی از راست (موبایل) -------------------- */
.mobile-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 280px;
    height: 100vh;
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: right 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    border-left: 1px solid var(--border-light);
}

.mobile-sidebar.open {
    right: 0;
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-light);
}

.sidebar-header h3 {
    color: var(--text-primary);
    font-size: 1.3rem;
}

.close-sidebar {
    background: none;
    border: none;
    font-size: 1.4rem;
    cursor: pointer;
    color: var(--text-secondary);
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    padding: 1rem;
    gap: 1rem;
}

.sidebar-nav a,
.dark-mode-btn-mobile {
    padding: 0.8rem 1rem;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    border-radius: 1rem;
    transition: 0.2s;
    background: none;
    border: none;
    text-align: right;
    cursor: pointer;
    font-size: 1rem;
}

.sidebar-nav a:hover,
.dark-mode-btn-mobile:hover {
    background: rgba(108, 92, 231, 0.15);
    color: #6c5ce7;
}

.dark-mode-btn-mobile i {
    margin-left: 0.5rem;
}

/* لایه پشت صحنه */
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(2px);
    z-index: 999;
    display: none;
}

.sidebar-overlay.active {
    display: block;
}

/* -------------------- نمونه کارها (اسلایدر حرفه‌ای) -------------------- */
.portfolio-section {
    overflow: hidden;
    position: relative;
}

.portfolio-slider-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    margin-top: 1rem;
}

.slider-wrapper {
    flex: 1;
    overflow: hidden;
    border-radius: 1.2rem;
}

.slider-track {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

/* کارت هر پروژه */
.project-card {
    flex: 0 0 calc(33.333% - 1rem);
    /* max-width: 250px; */
    background: var(--card-bg);
    backdrop-filter: blur(4px);
    border-radius: 1.2rem;
    overflow: hidden;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
    border: 1px solid var(--border-light);
}

.project-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 25px rgba(108, 92, 231, 0.15);
}

.project-img {
    width: 100%;
    height: 160px;
    overflow: hidden;
}

.project-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.project-card:hover .project-img img {
    transform: scale(1.05);
}

.project-info {
    padding: 1rem;
}

.project-info h3 {
    font-size: 1.1rem;
    margin-bottom: 0.4rem;
    color: var(--text-primary);
}

.project-info p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0.6rem;
    line-height: 1.5;
}

.project-tech {
    display: inline-block;
    background: rgba(108, 92, 231, 0.15);
    padding: 0.2rem 0.7rem;
    border-radius: 1rem;
    font-size: 0.7rem;
    font-weight: 500;
    color: #6c5ce7;
}

/* دکمه‌های قبلی/بعدی */
.slider-btn {
    background: rgba(108, 92, 231, 0.2);
    backdrop-filter: blur(8px);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.2s;
    color: var(--text-primary);
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.slider-btn:hover {
    background: #6c5ce7;
    color: white;
    transform: scale(1.05);
}

/* دایره‌های نشانگر */
/* اطمینان از کلیک‌پذیری و استایل dots */
.slider-dots {
    display: flex;
    justify-content: center;
    gap: 0.7rem;
    margin-top: 1.5rem;
    direction: ltr;
    /* جلوگیری از تداخل RTL */
}

.dot {
    width: 10px;
    height: 10px;
    background: rgba(108, 92, 231, 0.3);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    padding: 0;
}

.dot.active {
    background: #6c5ce7;
    width: 24px;
    border-radius: 6px;
}

.dot:hover {
    background: #6c5ce7;
    transform: scale(1.1);
}

/* ==================== رفع مشکل رنگ مهارت‌ها در دارک مود ==================== */
/* body.dark-mode .skills-chips span {
    
}

body.dark-mode .skills-chips span:hover {
    
    color: white;
} */

body.dark-mode .progress-bar-bg {
    /* background: rgba(255, 255, 255, 0.15); */
    background: linear-gradient(135deg, #2a2a4a, #1e1e3a);
    color: #e0e0ff;
    border: 1px solid rgba(120, 100, 220, 0.3);
}

body.dark-mode .skill-percent {
    /* background: rgba(108, 92, 231, 0.35); */
    background: var(--btn-gradient);
    color: #c4b5fd;
}

/* همچنین تگ‌های تکنولوژی در نمونه کارها */
body.dark-mode .project-tech {
    background: rgba(108, 92, 231, 0.3);
    color: #c4b5fd;
}

.user-name {
    margin-left: 1rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* ==================== جدول مدیریت کاربران ==================== */
.users-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.users-table th,
.users-table td {
    padding: 0.8rem;
    text-align: right;
    border-bottom: 1px solid var(--border-light);
}

.users-table th {
    background: rgba(108, 92, 231, 0.1);
    font-weight: 600;
    color: var(--text-primary);
}

.users-table td {
    color: var(--text-secondary);
}

.toggle-role-btn {
    background: var(--btn-gradient);
    border: none;
    padding: 0.3rem 0.8rem;
    border-radius: 1.5rem;
    color: white;
    cursor: pointer;
    font-size: 0.8rem;
    transition: 0.2s;
}

.toggle-role-btn:hover {
    transform: scale(1.02);
    opacity: 0.9;
}

/* دکمه‌های عملیات در جدول کاربران */
.toggle-role-btn {
    background: var(--btn-gradient);
    border: none;
    padding: 0.3rem 0.8rem;
    border-radius: 1.5rem;
    color: white;
    cursor: pointer;
    font-size: 0.8rem;
    transition: 0.2s;
    margin: 0 0.2rem;
}

.toggle-role-btn:hover {
    transform: scale(1.02);
    opacity: 0.9;
}

/* دکمه‌های عملیات در جداول مدیریت */
.toggle-role-btn {
    background: var(--btn-gradient);
    border: none;
    padding: 0.3rem 0.8rem;
    border-radius: 1.5rem;
    color: white;
    cursor: pointer;
    font-size: 0.75rem;
    transition: 0.2s;
    margin: 0 0.2rem;
}

.toggle-role-btn:hover {
    transform: scale(1.02);
    opacity: 0.9;
}

/* نظرات و پاسخ‌ها */
.comment-thread {
    list-style: none;
    padding-right: 1.5rem;
    margin: 0.5rem 0;
}

.comment-item {
    background: var(--card-bg);
    border-radius: 1rem;
    padding: 0.8rem;
    margin-bottom: 0.8rem;
    border-right: 3px solid #6c5ce7;
}

.comment-header {
    display: flex;
    align-items: baseline;
    gap: 0.8rem;
    flex-wrap: wrap;
    margin-bottom: 0.5rem;
}

.comment-date {
    font-size: 0.7rem;
    color: var(--text-secondary);
}

.edit-badge {
    font-size: 0.7rem;
    background: #f39c12;
    color: white;
    padding: 0.1rem 0.4rem;
    border-radius: 1rem;
}

.comment-actions button {
    background: none;
    border: none;
    margin-left: 0.8rem;
    cursor: pointer;
    color: var(--text-secondary);
    transition: 0.2s;
}

.comment-actions button:hover {
    color: #6c5ce7;
}

.sorting-bar {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.sorting-bar select {
    padding: 0.3rem 0.8rem;
    border-radius: 1rem;
    background: var(--card-bg);
    border: 1px solid var(--border-light);
    color: var(--text-primary);
}

.reply-form-container {
    margin-top: 0.5rem;
    padding-right: 1.5rem;
}

.reply-form textarea {
    width: 100%;
    padding: 0.5rem;
    border-radius: 0.8rem;
    border: 1px solid var(--border-light);
}

.reply-form button {
    margin-top: 0.3rem;
    margin-left: 0.5rem;
}

/* ریسپانسیو جدول برای موبایل */
@media (max-width: 768px) {

    .users-table th,
    .users-table td {
        padding: 0.5rem;
        font-size: 0.8rem;
    }

    .toggle-role-btn {
        padding: 0.2rem 0.6rem;
        font-size: 0.7rem;
    }
}

/* ریسپانسیو برای تبلت و موبایل */
@media (max-width: 992px) {
    .project-card {
        flex: 0 0 calc(50% - 0.75rem);
    }
}

@media (max-width: 768px) {
    .portfolio-slider-container {
        gap: 0.25rem;
    }

    .slider-btn {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }

    .project-card {
        flex: 0 0 calc(100% - 0rem);
    }

    .project-img {
        height: 140px;
    }
}

@media (max-width: 480px) {
    .project-info h3 {
        font-size: 1rem;
    }

    .project-info p {
        font-size: 0.75rem;
    }
}

/* -------------------- ریسپانسیو: نمایش دکمه همبرگری در موبایل -------------------- */
@media (max-width: 768px) {
    .menu-toggle {
        display: inline-block;
    }

    .main-nav {
        display: none;
        /* لینک‌های افقی هدر را مخفی کن */
    }

    .main-header {
        justify-content: space-between;
    }

    .dark-mode-btn {
        margin-right: auto;
    }
}

/* -------------------- ریسپانسیو کامل -------------------- */
@media (max-width: 800px) {
    .two-columns {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    .profile-hero {
        flex-direction: column;
        text-align: center;
    }

    .main-header {
        flex-direction: row;
        gap: 0.8rem;
        text-align: center;
    }

    .card {
        padding: 1.2rem;
    }

    .hero-text h1 {
        font-size: 1.8rem;
    }

    .auth-card {
        padding: 1.5rem;
    }
}

/* ریسپانسیو */
@media (max-width: 600px) {
    .skill-name {
        font-size: 0.9rem;
    }

    .skill-percent {
        font-size: 0.75rem;
        padding: 0.15rem 0.6rem;
    }

    .progress-bar-bg {
        height: 10px;
    }
}

@media (max-width: 480px) {
    .skill-info {
        flex-wrap: wrap;
        gap: 0.2rem;
    }

    .skill-percent {
        font-size: 0.7rem;
    }
}

/* @media (max-width: 480px) {
    .skills-chips span {
        font-size: 0.7rem;
        padding: 0.3rem 0.9rem;
    }

    .stat-card {
        font-size: 1rem;
    }
} */

/* -------------------- مودال سفارشی شیشه‌ای -------------------- */
.custom-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    align-items: center;
    justify-content: center;
    direction: rtl;
}

.custom-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.custom-modal-container {
    position: relative;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 2rem;
    width: 90%;
    max-width: 450px;
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.2);
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.34, 1.2, 0.64, 1);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.custom-modal.show .custom-modal-container {
    transform: scale(1);
}

.custom-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 1.5rem;
    border-bottom: 1px solid rgba(108, 92, 231, 0.2);
}

.custom-modal-header h3 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
}

.modal-close-btn {
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--text-secondary);
    transition: 0.2s;
}

.modal-close-btn:hover {
    color: #e74c3c;
    transform: rotate(90deg);
}

.custom-modal-body {
    padding: 1.5rem;
    color: var(--text-primary);
    font-size: 1rem;
    line-height: 1.5;
}

.custom-modal-footer {
    padding: 1rem 1.5rem 1.5rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.custom-modal-footer button {
    padding: 0.5rem 1.5rem;
    border-radius: 2rem;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: 0.2s;
}

.modal-confirm-btn {
    background: linear-gradient(90deg, #6c5ce7, #a463f5);
    color: white;
}

.modal-confirm-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(108, 92, 231, 0.4);
}

.modal-cancel-btn {
    background: rgba(108, 92, 231, 0.15);
    color: var(--text-primary);
}

.modal-cancel-btn:hover {
    background: rgba(108, 92, 231, 0.3);
}

/* استایل SVG آیکون‌ها */
.icon {
    display: inline-block;
    vertical-align: middle;
    stroke-width: 2;
}

.dark-mode-btn .icon,
.menu-toggle .icon {
    width: 20px;
    height: 20px;
}

.card h2 .icon {
    width: 24px;
    height: 24px;
    margin-left: 0.5rem;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

body.dark-mode .custom-modal-container {
    background: rgba(30, 30, 50, 0.95);
    border-color: rgba(120, 100, 220, 0.3);
}

body.dark-mode .modal-cancel-btn {
    background: rgba(255, 255, 255, 0.15);
    color: #e0e0ff;
}

.modal-input-wrapper {
    width: 100%;
}

.modal-input {
    width: 100%;
    padding: 0.8rem;
    border-radius: 1rem;
    border: 1px solid var(--border-light);
    background: var(--card-bg);
    color: var(--text-primary);
    font-size: 1rem;
    direction: rtl;
}

.modal-input:focus {
    outline: none;
    border-color: #6c5ce7;
    box-shadow: 0 0 0 2px rgba(108, 92, 231, 0.2);
}

/* ==================== بهبود مدیریت نظرات در پنل ادمین ==================== */

/* دکمه‌های ثانویه (نظرات در انتظار / تأیید شده) */
.btn-secondary {
    background: linear-gradient(135deg, rgba(108, 92, 231, 0.15), rgba(164, 99, 245, 0.1));
    border: 1px solid var(--border-light);
    padding: 0.6rem 1.2rem;
    border-radius: 2rem;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    color: var(--text-primary);
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #6c5ce7, #a463f5);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 12px rgba(108, 92, 231, 0.3);
}

/* لیست نظرات (هر نظر به صورت کارت) */
.comments-admin-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.comments-admin-list li {
    background: var(--card-bg);
    backdrop-filter: blur(8px);
    border-radius: 1.2rem;
    padding: 1rem 1.2rem;
    margin-bottom: 1rem;
    border-right: 4px solid #6c5ce7;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.comments-admin-list li:hover {
    transform: translateX(-4px);
    box-shadow: 0 8px 20px rgba(108, 92, 231, 0.15);
}

/* اطلاعات نظر (نام، تاریخ، متن) */
.comments-admin-list li strong {
    color: #6c5ce7;
    font-size: 1rem;
    display: inline-block;
    margin-bottom: 0.3rem;
}

.comments-admin-list li br+span {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* دکمه‌های عملیات داخل هر نظر */
.comments-admin-list li div {
    margin-top: 0.8rem;
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.comments-admin-list button {
    background: rgba(108, 92, 231, 0.15);
    border: none;
    padding: 0.3rem 1rem;
    border-radius: 2rem;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    color: var(--text-primary);
}

.comments-admin-list button:hover {
    transform: scale(1.02);
}

/* دکمه تأیید */
.approve-comment {
    background: rgba(46, 204, 113, 0.2) !important;
    color: #27ae60 !important;
}

.approve-comment:hover {
    background: #27ae60 !important;
    color: white !important;
}

/* دکمه رد */
.reject-comment {
    background: rgba(231, 76, 60, 0.2) !important;
    color: #e74c3c !important;
}

.reject-comment:hover {
    background: #e74c3c !important;
    color: white !important;
}

/* دکمه حذف در نظرات تأیید شده */
.delete-approved-comment {
    background: rgba(231, 76, 60, 0.15) !important;
    color: #e74c3c !important;
}

.delete-approved-comment:hover {
    background: #e74c3c !important;
    color: white !important;
}

/* حذف همه نظرات (دکمه قرمز بزرگ) */
.btn-danger {
    background: #e74c3c;
    border: none;
    padding: 0.5rem 1.2rem;
    border-radius: 2rem;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 0.5rem;
}

.btn-danger:hover {
    background: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.4);
}

/* هدرهای بخش نظرات (h3) */
#pendingCommentsContainer h3,
#approvedCommentsContainer h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
    border-right: 3px solid #6c5ce7;
    padding-right: 0.8rem;
}

/* ریسپانسیو */
@media (max-width: 768px) {
    .btn-secondary {
        padding: 0.4rem 1rem;
        font-size: 0.8rem;
    }

    .comments-admin-list li {
        padding: 0.8rem;
    }

    .comments-admin-list button {
        padding: 0.2rem 0.8rem;
        font-size: 0.7rem;
    }
}

/* استایل‌های اسلایدر جدید (ساده و پایدار) */
.portfolio-section .slider-main-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: 1rem 0;
}

.portfolio-section .slides-area {
    flex: 1;
    min-height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.portfolio-section .slide {
    display: none;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    animation: fadeSlide 0.3s ease;
}

.portfolio-section .slide.active-slide {
    display: block;
}

@keyframes fadeSlide {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.portfolio-section .slider-arrow {
    background: rgba(108, 92, 231, 0.2);
    backdrop-filter: blur(8px);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.3rem;
    color: var(--text-primary);
    transition: 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.portfolio-section .slider-arrow:hover {
    background: #6c5ce7;
    color: white;
    transform: scale(1.05);
}

.portfolio-section .slider-dots {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 1.2rem;
}

.portfolio-section .slider-dots .dot {
    width: 10px;
    height: 10px;
    background: rgba(108, 92, 231, 0.3);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    padding: 0;
}

.portfolio-section .slider-dots .dot.active {
    background: #6c5ce7;
    width: 24px;
    border-radius: 6px;
}

/* -------------------- لوگوی canvas حرفه‌ای -------------------- */
.canvas-logo-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    padding: 0;
    margin-left: 0.5rem;
}

.logo-canvas {
    display: block;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.15));
}

.logo-canvas:hover {
    transform: scale(1.02) rotate(2deg);
    filter: drop-shadow(0 10px 20px rgba(108, 92, 231, 0.4));
}

.logo-text {
    margin-left: 0.8rem;
}

.logo-text h2 {
    font-size: 1.3rem;
    margin-bottom: 0;
    background: linear-gradient(135deg, #6c5ce7, #a463f5);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.logo-text span {
    font-size: 0.7rem;
    color: var(--text-secondary);
    display: block;
}

/* -------------------- اسکرول سفارشی هماهنگ با تم -------------------- */
/* مرورگرهای WebKit (Chrome, Safari, Edge) */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--border-light);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: #6c5ce7;
    border-radius: 10px;
    transition: background 0.2s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: #a463f5;
}

/* فایرفاکس */
* {
    scrollbar-width: thin;
    scrollbar-color: #6c5ce7 var(--border-light);
}

/* در حالت دارک مود، رنگ اسکرول نیز تیره‌تر می‌شود */
body.dark-mode::-webkit-scrollbar-thumb {
    background: #8b74ff;
}

body.dark-mode::-webkit-scrollbar-thumb:hover {
    background: #b77eff;
}

body.dark-mode {
    scrollbar-color: #8b74ff var(--border-light);
}

@media (max-width: 768px) {
    .logo-canvas {
        width: 45px;
        height: 45px;
    }

    .logo-text h2 {
        font-size: 1rem;
    }

    .logo-text span {
        font-size: 0.6rem;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
}

/* ریسپانسیو */
@media (max-width: 768px) {
    .portfolio-section .slider-arrow {
        width: 38px;
        height: 38px;
        font-size: 1rem;
    }

    .portfolio-section .slides-area {
        min-height: 350px;
    }
}

/* تغییر چیدمان فوتر در دسکتاپ: 
   لینک‌های سریع و تماس با ما در کنار هم قرار می‌گیرند */
/* تنظیم فوتر در موبایل */
@media (max-width: 768px) {
    .footer-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        /* دو ستون برای جایگذاری لینک‌ها و تماس */
        gap: 1.2rem;
    }

    /* ستون اول (لوگو و توضیحات) در تمام عرض قرار گیرد */
    .footer-col:nth-child(1) {
        grid-column: span 2;
    }

    /* ستون چهارم (نماد اعتماد) نیز در تمام عرض قرار گیرد */
    .footer-col:nth-child(4) {
        grid-column: span 2;
    }

    /* ستون دوم (لینک‌های سریع) در ستون اول */
    .footer-col:nth-child(2) {
        grid-column: 1 / 2;
    }

    /* ستون سوم (تماس با ما) در ستون دوم */
    .footer-col:nth-child(3) {
        grid-column: 2 / 3;
    }

    /* تنظیم فاصله داخلی و اندازه فونت برای خوانایی بهتر */
    .advanced-footer {
        padding: 1.5rem 1rem 0.8rem;
    }

    .footer-col h4 {
        font-size: 1rem;
        margin-bottom: 0.8rem;
    }

    .footer-col p,
    .footer-col a {
        font-size: 0.75rem;
    }

    .trust-badge svg {
        width: 36px;
        height: 36px;
    }
}

@media (max-width: 480px) {
    .advanced-footer {
        padding: 1.5rem 1rem 0.8rem;
    }

    .footer-col h4 {
        font-size: 1rem;
    }

    .footer-col p,
    .footer-col a {
        font-size: 0.75rem;
    }

    .trust-badge svg {
        width: 36px;
        height: 36px;
    }
}

/* تنظیمات ریسپانسیو برای اسلایدر نمونه کارها */
@media (max-width: 768px) {
    .slider-main-container {
        gap: 0.5rem;
    }

    .slider-arrow {
        width: 36px !important;
        height: 36px !important;
        font-size: 1rem !important;
    }

    .slides-area {
        min-height: 280px;
    }

    .slide {
        max-width: 90%;
        margin: 0 auto;
    }

    .project-card {
        margin: 0.5rem 0;
    }

    .project-img img {
        height: 140px;
        object-fit: cover;
    }

    .project-info h3 {
        font-size: 1rem;
    }

    .project-info p {
        font-size: 0.75rem;
    }

    .slider-dots {
        gap: 0.5rem;
        margin-top: 0.8rem;
    }

    .dot {
        width: 8px;
        height: 8px;
    }

    .dot.active {
        width: 18px;
    }
}

@media (max-width: 480px) {
    .slider-arrow {
        width: 30px !important;
        height: 30px !important;
    }

    .slides-area {
        min-height: 260px;
    }

    .project-img img {
        height: 120px;
    }

    .project-info {
        padding: 0.5rem;
    }
}

/* -------------------- ریسپانسیو پنل ادمین (عرض کمتر از 480px) -------------------- */
@media (max-width: 480px) {
    .app-wrapper {
        padding: 0.5rem;
    }

    /* آمارها به صورت عمودی */
    .admin-stats {
        flex-direction: column;
        gap: 0.8rem;
    }

    .stat-card {
        padding: 0.8rem;
        font-size: 0.9rem;
    }

    .stat-card span {
        font-size: 1.4rem;
    }

    /* جداول کاربران - اسکرول افقی */
    .users-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
        font-size: 0.75rem;
    }

    .users-table th,
    .users-table td {
        padding: 0.4rem;
        min-width: 80px;
    }

    .users-table th:first-child,
    .users-table td:first-child {
        min-width: 100px;
    }

    /* دکمه‌های عملیات در جداول */
    .toggle-role-btn {
        font-size: 0.65rem;
        padding: 0.2rem 0.5rem;
        margin: 0.1rem;
    }

    /* دکمه‌های مدیریت نظرات (سه دکمه) */
    .btn-secondary {
        font-size: 0.7rem;
        padding: 0.3rem 0.7rem;
        margin-bottom: 0.3rem;
    }

    /* کارت‌های نظرات (در انتظار و تأیید شده) */
    .comments-admin-list li {
        padding: 0.6rem;
        font-size: 0.75rem;
    }

    .comments-admin-list li strong {
        font-size: 0.8rem;
    }

    .comments-admin-list button {
        font-size: 0.65rem;
        padding: 0.2rem 0.6rem;
    }

    /* دکمه حذف همه نظرات */
    .btn-danger {
        font-size: 0.7rem;
        padding: 0.3rem 0.8rem;
    }

    /* هدرها (h3) */
    h3 {
        font-size: 1rem;
    }

    /* فوتر */
    .main-footer {
        font-size: 0.65rem;
        padding: 0.6rem;
    }

    /* هدر (عنوان و ناوبری) */
    .main-header {
        padding: 0.5rem 1rem;
    }

    .logo h2 {
        font-size: 1rem;
    }

    .logo span {
        font-size: 0.6rem;
    }
}

/* بهبود چیدمان بخش مدیریت نظرات در پنل ادمین */
#pendingCommentsList,
#approvedCommentsList,
#editRequestsList {
    /* display: flex;
    flex-direction: column;
    gap: 1rem; */
    padding: 0;
    margin: 1rem 0;
}

.comments-admin-list li {
    display: flex;
    flex-direction: column;
    background: var(--card-bg);
    border-radius: 1.2rem;
    padding: 1rem;
    border-right: 4px solid #6c5ce7;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.comments-admin-list li:hover {
    transform: translateX(-4px);
    box-shadow: 0 8px 20px rgba(108, 92, 231, 0.15);
}

.comments-admin-list li strong {
    font-size: 1rem;
    color: #6c5ce7;
    margin-bottom: 0.3rem;
    display: inline-block;
}

.comments-admin-list li .comment-meta {
    font-size: 0.7rem;
    color: var(--text-secondary);
    margin-bottom: 0.6rem;
    display: flex;
    gap: 0.5rem;
    align-items: center;
    flex-wrap: wrap;
}

.comments-admin-list li .comment-text {
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--text-primary);
    margin-bottom: 0.8rem;
    word-break: break-word;
}

.comments-admin-list li .comment-actions {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
    margin-top: 0.2rem;
}

.comments-admin-list button {
    background: rgba(108, 92, 231, 0.1);
    border: none;
    padding: 0.3rem 1rem;
    border-radius: 2rem;
    font-size: 0.75rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    color: var(--text-primary);
}

.comments-admin-list button:hover {
    transform: translateY(-2px);
    background: rgba(108, 92, 231, 0.25);
}

/* دکمه‌های تأیید و رد با رنگ خاص */
.approve-comment {
    background: rgba(46, 204, 113, 0.15) !important;
    color: #27ae60 !important;
}

.approve-comment:hover {
    background: #27ae60 !important;
    color: white !important;
}

.reject-comment {
    background: rgba(231, 76, 60, 0.15) !important;
    color: #e74c3c !important;
}

.reject-comment:hover {
    background: #e74c3c !important;
    color: white !important;
}

.delete-approved-comment {
    background: rgba(231, 76, 60, 0.1) !important;
    color: #e74c3c !important;
}

.delete-approved-comment:hover {
    background: #e74c3c !important;
    color: white !important;
}

/* تنظیمات مخصوص درخواست‌های ویرایش برای نمایش بهتر متن فعلی و پیشنهادی */
.edit-request-current {
    color: #e67e22;
    font-weight: 500;
}

.edit-request-pending {
    color: #27ae60;
    font-weight: 500;
}


/* ریسپانسیو برای موبایل */
@media (max-width: 480px) {
    .comments-admin-list li {
        padding: 0.8rem;
    }

    .comments-admin-list button {
        font-size: 0.7rem;
        padding: 0.2rem 0.8rem;
    }

    .comments-admin-list li .comment-actions {
        gap: 0.4rem;
    }

    #pendingCommentsList,
    #approvedCommentsList,
    #editRequestsList {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        padding: 0;
        margin: 1rem 0;
    }
}