.logo {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.section-title {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.section-title .count {
    background: var(--accent-blue);
    color: white;
    font-size: 0.65rem;
    padding: 2px 7px;
    border-radius: 10px;
    font-weight: 700;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}

.btn-primary {
    background: var(--accent-blue);
    color: white;
}

.btn-primary:hover {
    background: #2563eb;
    text-decoration: none;
}

.btn-danger {
    background: rgba(239, 68, 68, 0.1);
    color: var(--accent-red);
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.btn-danger:hover {
    background: rgba(239, 68, 68, 0.2);
    text-decoration: none;
}

/* Forms */
.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(0,0,0,0.2);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: white;
    font-family: var(--font-sans);
    transition: border-color 0.2s;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-blue);
}

/* Tables */
.table-container {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    padding: 1rem 1.25rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

th {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--text-muted);
    background: rgba(0,0,0,0.2);
}

td {
    font-size: 0.85rem;
}

.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    color: var(--text-muted);
    text-align: center;
}

.empty-state .icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.3;
}
/* Analytics Dashboard */
.analytics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.stat-card .label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 600;
}

.stat-card .value {
    font-size: 2rem;
    font-weight: 700;
}

.stat-card.success .value { color: var(--accent-green); }
.stat-card.error .value { color: var(--accent-red); }

/* Flat Bell & Opaque Modal */
.notification-bell {
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--text-muted);
    position: relative;
    padding: 5px;
    transition: color 0.2s;
}

.notification-bell:hover {
    color: var(--text-primary);
}

.notification-modal {
    position: absolute;
    top: 60px;
    right: 20px;
    width: 350px;
    background: #1a1d29; /* Solid Opaque Background */
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    z-index: 1000;
    display: none;
    overflow: hidden;
}

.notification-modal.show { display: block; }
 
 /* Model Badges */
 .model-badge {
     font-size: 0.65rem;
     padding: 2px 6px;
     border-radius: 4px;
     font-weight: 700;
     text-transform: uppercase;
     letter-spacing: 0.05em;
 }
 
 .model-haiku {
     background: rgba(6, 182, 212, 0.1);
     color: var(--accent-cyan);
     border: 1px solid rgba(6, 182, 212, 0.2);
 }
 
 .model-sonnet {
     background: rgba(139, 92, 246, 0.1);
     color: var(--accent-purple);
     border: 1px solid rgba(139, 92, 246, 0.2);
 }
 
 .model-opus {
     background: rgba(245, 158, 11, 0.1);
     color: var(--accent-yellow);
     border: 1px solid rgba(245, 158, 11, 0.2);
 }
 
 .knowledge-tag {
     font-size: 0.72rem;
     background: rgba(59, 130, 246, 0.05);
     color: #93c5fd;
     border: 1px solid rgba(59, 130, 246, 0.2);
     padding: 2px 8px;
     border-radius: 6px;
     white-space: nowrap;
 }
