/* ═══ NEMO INTELLIGENCE UI/UX THEME ═══ */
/* Based on clauderules.md design guidelines */

/* Hover Dropdowns (desktop) */
@media (min-width: 992px) {
    .hover-dropdown:hover > .dropdown-menu { display: block; margin-top: 0; }
    .hover-dropdown > .dropdown-menu { transition: none; }
}
.dropdown-item i { width: 1.2rem; text-align: center; }
.navbar { box-shadow: 0 1px 4px rgba(0,0,0,0.08); }

/* Module Header */
.nemo-header {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.25rem;
    color: #fff;
}
.nemo-header h2 { font-size: 1.4rem; font-weight: 700; margin: 0; }
.nemo-header .subtitle { color: #8ec5fc; font-size: 0.8rem; }
.nemo-header .badge { font-size: 0.55rem; vertical-align: middle; }
.nemo-header .btn { border: 1px solid rgba(255,255,255,0.2); color: #fff; }
.nemo-header .btn:hover { background: rgba(255,255,255,0.15); color: #fff; }
.nemo-header .btn.active-toggle { background: rgba(142,197,252,0.3); border-color: #8ec5fc; }

/* KPI Stat Cards */
.nemo-stat {
    background: #fff;
    border-radius: 10px;
    padding: 1rem;
    text-align: center;
    border-left: 4px solid #dee2e6;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: transform 0.15s, box-shadow 0.15s;
}
.nemo-stat:hover { transform: translateY(-2px); box-shadow: 0 4px 16px rgba(0,0,0,0.1); }
.nemo-stat .stat-icon { font-size: 1.5rem; margin-bottom: 0.25rem; }
.nemo-stat .stat-value { font-size: 1.8rem; font-weight: 800; line-height: 1; }
.nemo-stat .stat-label { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.05em; color: #6c757d; margin-top: 0.25rem; }
.nemo-stat.blue { border-color: #0d6efd; }
.nemo-stat.blue .stat-value, .nemo-stat.blue .stat-icon { color: #0d6efd; }
.nemo-stat.green { border-color: #198754; }
.nemo-stat.green .stat-value, .nemo-stat.green .stat-icon { color: #198754; }
.nemo-stat.orange { border-color: #fd7e14; }
.nemo-stat.orange .stat-value, .nemo-stat.orange .stat-icon { color: #fd7e14; }
.nemo-stat.red { border-color: #dc3545; }
.nemo-stat.red .stat-value, .nemo-stat.red .stat-icon { color: #dc3545; }
.nemo-stat.purple { border-color: #6f42c1; }
.nemo-stat.purple .stat-value, .nemo-stat.purple .stat-icon { color: #6f42c1; }
.nemo-stat.cyan { border-color: #0dcaf0; }
.nemo-stat.cyan .stat-value, .nemo-stat.cyan .stat-icon { color: #0dcaf0; }

/* Priority Lane Cards */
.nemo-lane-card {
    border-radius: 10px;
    border-left: 5px solid #dee2e6;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: transform 0.15s;
}
.nemo-lane-card:hover { transform: translateY(-1px); }
.nemo-lane-card .lane-header { font-weight: 700; font-size: 0.95rem; }
.nemo-lane-card .lane-pct { font-size: 0.65rem; font-weight: 700; padding: 0.15rem 0.5rem; border-radius: 12px; }

/* Article Rows */
.nemo-article-row { border-left: 3px solid transparent; transition: border-color 0.15s, background 0.15s; }
.nemo-article-row:hover { background: #f8f9fa; }
.nemo-article-row.analyzed { border-left-color: #198754; }
.nemo-article-row.pending { border-left-color: #fd7e14; }
.nemo-article-row .article-title { font-weight: 600; color: #212529; text-decoration: none; }
.nemo-article-row .article-title:hover { color: #0d6efd; }
.nemo-article-row .article-meta { font-size: 0.75rem; color: #6c757d; }
.nemo-article-row .action-btn { padding: 0.15rem 0.4rem; font-size: 0.7rem; border-radius: 6px; }

/* Threat Indicators */
.threat-card { border-radius: 10px; border-left: 5px solid; }
.threat-card.critical { border-left-color: #dc3545; background: #fff5f5; }
.threat-card.high { border-left-color: #fd7e14; background: #fff8f0; }
.threat-card.medium { border-left-color: #ffc107; background: #fffdf0; }

/* Feed Status Dots */
.feed-dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.feed-dot.ok { background: #198754; box-shadow: 0 0 4px #198754; }
.feed-dot.warn { background: #fd7e14; box-shadow: 0 0 4px #fd7e14; }
.feed-dot.error { background: #dc3545; box-shadow: 0 0 4px #dc3545; }

/* Section Headers */
.nemo-section-header {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #495057;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e9ecef;
    margin-bottom: 1rem;
}
.nemo-section-header i { margin-right: 0.4rem; }

/* Filter Bar */
.nemo-filter-bar {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 1rem;
}
.nemo-filter-bar label { font-size: 0.7rem; font-weight: 600; text-transform: uppercase; color: #6c757d; margin-bottom: 0.2rem; }

/* Queue Cards */
.nemo-queue-card {
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: transform 0.15s;
}
.nemo-queue-card:hover { transform: translateY(-1px); }
.nemo-queue-card.priority { border: 2px solid #dc3545; box-shadow: 0 0 12px rgba(220,53,69,0.15); }

/* Entity Chips */
.nemo-entity-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.2rem 0.6rem;
    border-radius: 16px;
    font-size: 0.8rem;
    background: #f0f4ff;
    border: 1px solid #d0d9f0;
}
.nemo-entity-chip .type-label { font-size: 0.6rem; text-transform: uppercase; color: #6c757d; }
.nemo-entity-chip .count { background: #0d6efd; color: #fff; border-radius: 10px; padding: 0 0.35rem; font-size: 0.7rem; font-weight: 700; }

/* Progress Bars */
.nemo-progress { height: 6px; border-radius: 3px; background: #e9ecef; overflow: hidden; }
.nemo-progress .bar { height: 100%; border-radius: 3px; transition: width 0.5s; }
