/* سیستم تنظیمات - استایل‌های نهایی ساده و مستقیم */

/* استایل‌های مودال تنظیمات */
.settings-modal-content {
    padding: 1.5rem;
    max-height: 60vh;
    overflow-y: auto;
}

.settings-section {
    margin-bottom: 2rem;
}

.settings-section:last-child {
    margin-bottom: 0;
}

.settings-section h4 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 700;
}

/* Theme Switcher */
.theme-switcher {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    width: 100%;
}

.theme-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem 0.5rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    background: var(--card-bg);
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 500;
    font-size: 0.9rem;
    outline: none;
    min-height: 70px;
}

.theme-btn:hover {
    border-color: var(--primary-color);
}

.theme-btn.active {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: white;
}

.theme-btn i {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

/* اطلاعات سیستم */
.system-info {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 1rem;
    border: 1px solid var(--border-color);
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.info-row:last-child {
    border-bottom: none;
}

.info-row span:first-child {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.info-row span:last-child {
    font-family: 'Vazirmatn FD', monospace;
    font-weight: 500;
    direction: ltr;
}

/* استایل‌های وضعیت */
.status-online {
    color: #10B981;
    font-weight: 600;
}

.status-offline {
    color: #EF4444;
    font-weight: 600;
}

.status-installed {
    color: #10B981;
    font-weight: 600;
}

.status-not-installed {
    color: #6B7280;
    font-weight: 600;
}

.status-active {
    color: #10B981;
    font-weight: 600;
}

.status-inactive {
    color: #6B7280;
    font-weight: 600;
}

/* ریسپانسیو - موبایل */
@media (max-width: 768px) {
    .settings-modal-content {
        padding: 1rem;
        max-height: 70vh;
    }
    
    .theme-btn {
        padding: 0.75rem 0.25rem;
        min-height: 60px;
        font-size: 0.8rem;
    }
    
    .theme-btn i {
        font-size: 1rem;
        margin-bottom: 0.25rem;
    }
}

/* بهبود دسترسی‌پذیری */
.theme-btn:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* جلوگیری از highlight آبی در موبایل */
.theme-btn {
    -webkit-tap-highlight-color: transparent;
}
