/*
Theme Name: Bescon AI Knowledge Base
Theme URI: https://bescon.example.com
Author: Bescon
Author URI: https://bescon.example.com
Description: A modern, AI-powered technical knowledge base theme for electronic board repair professionals. Features AI-assisted search (OpenAI), full database search, create/edit entries, and exploration tools. Built with a sleek blue color scheme.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bescon-ai-kb
Tags: knowledge-base, ai, technical, repair, electronics, dashboard, blue-theme
*/

/* Base modern styles - Tailwind will handle most via CDN */
body {
    font-family: 'Inter', system_ui, sans-serif;
}

.bescon-container {
    max-width: 1440px;
    margin: 0 auto;
}

/* Custom blue accents */
:root {
    --bescon-blue: #1e40af;
    --bescon-blue-light: #3b82f6;
    --bescon-blue-dark: #1e3a8a;
}

.bescon-header {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

.bescon-card {
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.2s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.bescon-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

.tab-active {
    border-bottom: 3px solid #3b82f6;
    color: #3b82f6;
    font-weight: 600;
}

.knowledge-card {
    border-left: 4px solid #3b82f6;
}

.difficulty-easy { background-color: #dcfce7; color: #166534; }
.difficulty-medium { background-color: #fef9c3; color: #854d0e; }
.difficulty-hard { background-color: #fee2e2; color: #991b1b; }

.ai-response {
    background: #0f172a;
    border-left: 4px solid #3b82f6;
}

.entry-meta {
    font-size: 0.75rem;
    color: #64748b;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
}