:root {
    /* Primary Gradient - Energetic Purple-Pink */
    --accent-primary: linear-gradient(135deg, #8b5cf6, #ec4899);
    --accent-primary-solid: #8b5cf6;

    /* Secondary Accents - Bright & Fun */
    --accent-cyan: #06b6d4;
    --accent-emerald: #10b981;
    --accent-amber: #f59e0b;
    --accent-rose: #f43f5e;
    --accent-sky: #0ea5e9;

    /* Platform Colors */
    --instagram: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    --twitter: #1DA1F2;
    --youtube: #FF0000;

    /* Spacing & Layout */
    --sidebar-width: 260px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 16px;
}

/* Dark Theme (Default) */
body.dark-mode {
    --bg-dark: #0f0f1a;
    --bg-card: #1a1a2e;
    --bg-gradient: linear-gradient(135deg, #0f0f1a, #1a1a2e, #16213e);
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --text-main: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.8);
    --text-dim: rgba(255, 255, 255, 0.5);
}

/* Light Theme */
body.light-mode {
    --bg-dark: #f8fafc;
    --bg-card: #ffffff;
    --bg-gradient: linear-gradient(135deg, #f8fafc, #e2e8f0, #cbd5e1);
    --glass-bg: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(0, 0, 0, 0.08);
    --text-main: #1e293b;
    --text-secondary: #475569;
    --text-dim: #94a3b8;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background: var(--bg-gradient);
    background-attachment: fixed;
    color: var(--text-main);
    min-height: 100vh;
    overflow-x: hidden;
}

.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
}

.icon-gradient {
    background: var(--accent-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Layout */
#app {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.hidden {
    display: none !important;
}

/* Overlay & Login */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
}

.login-card {
    width: 100%;
    max-width: 400px;
    padding: 40px;
    text-align: center;
    animation: slideUp 0.6s ease-out;
}

.login-card .logo {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.login-card h2 {
    margin-bottom: 10px;
    font-weight: 600;
}

.login-card p {
    color: var(--text-dim);
    margin-bottom: 30px;
}

.input-group {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    padding: 12px 20px;
    border: 1px solid transparent;
    transition: var(--transition);
}

body.light-mode .input-group {
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid var(--glass-border);
}

.input-group:focus-within {
    border-color: var(--accent-primary-solid);
    background: rgba(139, 92, 246, 0.1);
}

.input-group i {
    color: var(--text-dim);
    margin-right: 15px;
}

.input-group input {
    background: none;
    border: none;
    color: var(--text-main);
    width: 100%;
    outline: none;
    font-size: 1rem;
}

.btn-primary {
    background: var(--accent-primary);
    color: white;
    border: none;
    padding: 14px;
    border-radius: var(--radius-md);
    width: 100%;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(139, 92, 246, 0.4);
}

.btn-analyzed {
    background: var(--accent-emerald) !important;
    color: white !important;
    border: none !important;
}

.btn-analyzed:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.4);
}

.btn-sm {
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
    color: var(--text-main);
}

.btn-sm:hover {
    background: rgba(139, 92, 246, 0.2);
    border-color: var(--accent-primary-solid);
}

/* Dashboard Sidebar */
#dashboard {
    display: flex;
    height: 100vh;
}

.sidebar {
    width: var(--sidebar-width);
    margin: 15px;
    display: flex;
    flex-direction: column;
    padding: 25px;
}

.sidebar .logo {
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 50px;
}

.nav-links {
    flex-grow: 1;
}

.nav-links a {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--text-dim);
    text-decoration: none;
    padding: 14px 18px;
    border-radius: var(--radius-md);
    margin-bottom: 5px;
    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    background: rgba(139, 92, 246, 0.1);
    color: var(--text-main);
}

.nav-links a.active {
    background: var(--accent-primary);
    color: white;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 20px;
    border-top: 1px solid var(--glass-border);
}

.avatar {
    width: 40px;
    height: 40px;
    background: var(--accent-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: white;
    flex-shrink: 0;
}

.user-info {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.user-info span:first-child {
    font-weight: 600;
    font-size: 0.9rem;
}

.user-info span:last-child {
    font-size: 0.75rem;
    color: var(--text-dim);
    text-transform: uppercase;
}

#logout-btn {
    background: none;
    border: none;
    color: var(--text-dim);
    cursor: pointer;
    font-size: 1.2rem;
    transition: var(--transition);
}

#logout-btn:hover {
    color: var(--accent-rose);
}

/* Main Content */
.content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    padding: 15px;
    padding-left: 0;
    overflow-y: auto;
}

.top-bar {
    padding: 15px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}

.search-container {
    background: rgba(0, 0, 0, 0.2);
    border-radius: var(--radius-md);
    padding: 10px 20px;
    display: flex;
    align-items: center;
    flex: 1;
    max-width: 400px;
}

body.light-mode .search-container {
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid var(--glass-border);
}

.search-container input {
    background: none;
    border: none;
    color: var(--text-main);
    margin-left: 10px;
    width: 100%;
    outline: none;
}

.search-container input::placeholder {
    color: var(--text-dim);
}

/* Engine Status */
.engine-status {
    display: flex;
    gap: 15px;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border-radius: var(--radius-md);
    margin-top: 10px;
    background: rgba(255, 255, 255, 0.03);
}

body.light-mode .engine-status {
    background: rgba(0, 0, 0, 0.03);
}

.status-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 1.1rem;
    color: var(--text-dim);
}

.status-item .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #6b7280;
    transition: var(--transition);
}

.status-item:hover {
    color: var(--text-main);
}

/* Theme Toggle Button */
.btn-theme-toggle {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-main);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: var(--transition);
}

.btn-theme-toggle:hover {
    background: rgba(139, 92, 246, 0.2);
    border-color: var(--accent-primary-solid);
    transform: rotate(180deg);
}

.actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-scrape-trigger {
    background: var(--accent-primary);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.btn-scrape-trigger:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(139, 92, 246, 0.4);
}

/* Feed & Cards */
.page-container {
    padding: 0 15px;
}

.feed-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.post-card {
    overflow: hidden;
    transition: var(--transition);
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.post-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.post-card .badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: bold;
    text-transform: uppercase;
    color: white;
}

.badge.instagram {
    background: var(--instagram);
}

.badge.twitter {
    background: var(--twitter);
}

.badge.youtube {
    background: var(--youtube);
}

.post-card .p-content {
    padding: 20px;
}

.post-card .p-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.post-card .username {
    font-weight: 600;
    font-size: 0.9rem;
}

.post-card .caption {
    font-size: 0.85rem;
    color: var(--text-dim);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 15px;
    line-height: 1.5;
}

.stats {
    display: flex;
    gap: 15px;
    font-size: 0.8rem;
    color: var(--text-dim);
}

.stats i {
    margin-right: 5px;
    color: var(--accent-rose);
}

/* Modal Styling */
.modal .modal-content {
    animation: modalIn 0.2s ease-out;
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Comments Styling */
.comment-item {
    transition: var(--transition);
}

.comment-item:hover {
    background: rgba(139, 92, 246, 0.05);
}

/* Loader */
.loader {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px;
    color: var(--text-dim);
    gap: 15px;
}

.loader i {
    font-size: 2rem;
    color: var(--accent-primary-solid);
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 80px 20px;
    color: var(--text-dim);
}

.empty-state i {
    font-size: 4rem;
    margin-bottom: 20px;
    opacity: 0.5;
}

/* Analysis Cards */
.analysis-card {
    transition: var(--transition);
}

.analysis-card:hover {
    border-color: rgba(139, 92, 246, 0.3);
}

.threat-badge {
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.glass-tag {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(236, 72, 153, 0.15));
    font-size: 0.8rem;
    border: 1px solid rgba(139, 92, 246, 0.25);
    color: var(--text-secondary);
}

/* Animations */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(139, 92, 246, 0.3);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(139, 92, 246, 0.5);
}

/* Responsive */
@media (max-width: 768px) {
    .sidebar {
        position: fixed;
        left: -100%;
        z-index: 900;
        height: 100vh;
        margin: 0;
        border-radius: 0;
    }

    .sidebar.open {
        left: 0;
    }

    .content {
        padding-left: 15px;
    }

    .top-bar {
        flex-wrap: wrap;
    }

    .engine-status {
        display: flex;
    }

    .feed-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .search-container {
        max-width: 100%;
    }

    .actions {
        width: 100%;
        justify-content: flex-end;
    }
}

/* Premium Analysis UI Components */
.analysis-status-card {
    padding: 20px;
    border-radius: var(--radius-md);
    display: flex;
    gap: 20px;
    align-items: center;
    margin-bottom: 25px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.analysis-status-card.aman {
    background: rgba(34, 197, 94, 0.1);
    border-color: rgba(34, 197, 94, 0.2);
    color: #22c55e;
}

.analysis-status-card.waspada {
    background: rgba(245, 158, 11, 0.1);
    border-color: rgba(245, 158, 11, 0.2);
    color: #f59e0b;
}

.analysis-status-card.berbahaya {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

.status-icon-box {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.attack-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 25px;
}

.attack-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 20px;
    border-radius: var(--radius-md);
    text-align: center;
    border: 1px solid var(--glass-border);
}

.attack-card h2 {
    font-size: 1.8rem;
    margin-bottom: 5px;
    font-weight: 700;
}

.attack-card span {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-dim);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 600;
}

.sentiment-row {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 12px;
}

.sentiment-label {
    width: 90px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
}

.sentiment-bar-container {
    flex-grow: 1;
    height: 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 5px;
    overflow: hidden;
    position: relative;
}

.sentiment-bar-fill {
    height: 100%;
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.sentiment-percent {
    width: 50px;
    text-align: right;
    font-size: 0.9rem;
    font-weight: 700;
}

.analysis-section-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-main);
}

.narrative-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-md);
    padding: 20px;
    margin-bottom: 15px;
    border: 1px solid var(--glass-border);
    transition: var(--transition);
}

.narrative-card:hover {
    background: rgba(255, 255, 255, 0.05);
}

.narrative-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.narrative-title-box {
    display: flex;
    align-items: center;
    gap: 12px;
}

.narrative-num {
    width: 28px;
    height: 28px;
    background: var(--accent-primary);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    color: white;
}

.user-card {
    background: rgba(255, 255, 255, 0.02);
    border-radius: var(--radius-md);
    padding: 20px;
    margin-bottom: 15px;
    border: 1px solid var(--glass-border);
}

.user-impact-badge {
    background: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.advice-alert {
    padding: 20px;
    border-radius: var(--radius-md);
    display: flex;
    gap: 15px;
    background: rgba(139, 92, 246, 0.05);
    border: 1px solid rgba(139, 92, 246, 0.2);
    align-items: flex-start;
    margin-bottom: 15px;
}

/* ===== DRY UTILITY CLASSES (from inline styles refactor) ===== */

/* Layout Utilities */
.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.flex-wrap {
    flex-wrap: wrap;
}

.items-center {
    align-items: center;
}

.items-start {
    align-items: flex-start;
}

.justify-between {
    justify-content: space-between;
}

.justify-center {
    justify-content: center;
}

.gap-8 {
    gap: 8px;
}

.gap-10 {
    gap: 10px;
}

.gap-12 {
    gap: 12px;
}

.gap-20 {
    gap: 20px;
}

.flex-1 {
    flex: 1;
}

.flex-shrink-0 {
    flex-shrink: 0;
}

.min-w-0 {
    min-width: 0;
}

.relative {
    position: relative;
}

/* Spacing */
.p-15 {
    padding: 15px;
}

.p-30 {
    padding: 30px;
}

.mb-5 {
    margin-bottom: 5px;
}

.mb-8 {
    margin-bottom: 8px;
}

.mb-10 {
    margin-bottom: 10px;
}

.mb-15 {
    margin-bottom: 15px;
}

.mb-20 {
    margin-bottom: 20px;
}

.mb-30 {
    margin-bottom: 30px;
}

.mt-8 {
    margin-top: 8px;
}

.mt-10 {
    margin-top: 10px;
}

.mt-15 {
    margin-top: 15px;
}

.ml-44 {
    margin-left: 44px;
}

/* Typography */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.font-semibold {
    font-weight: 600;
}

.font-bold {
    font-weight: 700;
}

.text-xs {
    font-size: 0.7rem;
}

.text-sm {
    font-size: 0.75rem;
}

.text-base {
    font-size: 0.8rem;
}

.text-md {
    font-size: 0.85rem;
}

.text-lg {
    font-size: 0.9rem;
}

.text-xl {
    font-size: 0.95rem;
}

.text-dim {
    color: var(--text-dim);
}

.text-secondary {
    color: var(--text-secondary);
}

.uppercase {
    text-transform: uppercase;
}

.pre-wrap {
    white-space: pre-wrap;
}

.line-h-14 {
    line-height: 1.4;
}

.line-h-15 {
    line-height: 1.5;
}

.no-decoration {
    text-decoration: none;
}

/* Sizing */
.w-full {
    width: 100%;
}

.w-auto {
    width: auto;
}

.overflow-x-auto {
    overflow-x: auto;
}

/* Components */
.empty-state-container {
    padding: 100px;
    text-align: center;
    color: var(--text-dim);
}

.empty-state-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.avatar-sm {
    width: 30px;
    height: 30px;
    font-size: 0.8rem;
}

.avatar-xs {
    width: 32px;
    height: 32px;
    font-size: 0.75rem;
    flex-shrink: 0;
}

.thumbnail-md {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
}

.comment-box {
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 8px;
}

.reply-box {
    padding: 10px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 6px;
    margin-bottom: 8px;
}

.action-btn-group {
    margin-top: 15px;
    display: flex;
    gap: 10px;
}

.external-link {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* Admin Table */
.admin-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.admin-table th,
.admin-table td {
    padding: 15px;
}

.admin-table thead {
    border-bottom: 1px solid var(--glass-border);
}

.admin-table tbody tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.role-tag {
    background: rgba(255, 255, 255, 0.05);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    text-transform: uppercase;
}

.btn-icon {
    background: none;
    border: 1px solid var(--glass-border);
    color: white;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 6px;
}

.btn-icon:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn-danger {
    background: rgba(231, 76, 60, 0.2);
    border: 1px solid rgba(231, 76, 60, 0.4);
    color: #e74c3c;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 6px;
}

.btn-danger:hover {
    background: rgba(231, 76, 60, 0.3);
}

.btn-inline {
    width: auto;
    padding: 10px 20px;
}

.status-active {
    color: #22c55e;
    font-weight: 600;
}

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

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.section-title {
    margin-bottom: 15px;
}

.no-comments {
    text-align: center;
    color: var(--text-dim);
    padding: 30px;
}

/* ============================================
   4C Framework Analysis Styles
   ============================================ */

/* Alert Level Banner */
.alert-level-banner {
    padding: 18px 20px;
    border-radius: var(--radius-md);
    border: 1px solid;
}

.alert-level-banner.alert-low {
    background: rgba(34, 197, 94, 0.1);
    border-color: rgba(34, 197, 94, 0.3);
    color: #22c55e;
}

.alert-level-banner.alert-medium {
    background: rgba(245, 158, 11, 0.1);
    border-color: rgba(245, 158, 11, 0.3);
    color: #f59e0b;
}

.alert-level-banner.alert-high {
    background: rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.4);
    color: #ef4444;
    animation: alertPulse 2s infinite;
}

@keyframes alertPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4); }
    50% { box-shadow: 0 0 0 8px rgba(239, 68, 68, 0); }
}

.alert-level-banner i {
    font-size: 1.5rem;
}

.alert-level-banner strong {
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

/* Harm Taxonomy Grid */
.harm-taxonomy-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

@media (max-width: 600px) {
    .harm-taxonomy-grid {
        grid-template-columns: 1fr;
    }
}

.harm-category-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 15px;
    transition: var(--transition);
}

.harm-category-card.has-items {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
}

.harm-category-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.harm-header {
    display: flex;
    align-items: center;
    gap: 10px;
}

.harm-header i {
    font-size: 1rem;
}

.harm-label {
    flex: 1;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.harm-count {
    min-width: 24px;
    height: 24px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: white;
}

.harm-tags {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.harm-tag {
    background: rgba(255, 255, 255, 0.08);
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    color: var(--text-dim);
    text-transform: capitalize;
}

/* Flagged Comments */
.flagged-comment-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-md);
    padding: 15px 15px 15px 20px;
    margin-bottom: 12px;
    transition: var(--transition);
}

.flagged-comment-card:hover {
    background: rgba(255, 255, 255, 0.06);
}

.flagged-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    flex-wrap: wrap;
    gap: 8px;
}

.flagged-user {
    font-weight: 700;
    color: var(--accent-primary-solid);
    font-size: 0.9rem;
}

.flagged-badges {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.flagged-severity {
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
}

.flagged-type {
    background: rgba(139, 92, 246, 0.15);
    color: #a78bfa;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    text-transform: capitalize;
}

.flagged-category {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-dim);
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    text-transform: uppercase;
}

.flagged-text {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-style: italic;
    line-height: 1.5;
    margin: 0;
}