html {
    font-size: 14.5px; /* Proportional root scaling to make layout elements slightly smaller and cleaner */
}

:root {
    --bg-primary: #0b0f19;
    --bg-secondary: #111827;
    --panel-bg: rgba(17, 24, 39, 0.6);
    --panel-border: rgba(255, 255, 255, 0.06);
    --text-primary: #f3f4f6;
    --text-secondary: #9ca3af;
    --text-muted: #6b7280;
    
    --accent-blue: #0ea5e9;
    --accent-green: #10b981;
    --accent-orange: #f97316;
    --accent-red: #ef4444;
    --accent-purple: #8b5cf6;
    
    --font-sans: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-sans);
    min-height: 100vh;
    overflow-x: hidden;
}

/* App Layout */
.app-container {
    display: flex;
    min-height: 100vh;
}

/* Sidebar Styling */
.sidebar {
    width: 260px;
    background-color: var(--bg-secondary);
    border-right: 1px solid var(--panel-border);
    display: flex;
    flex-direction: column;
    padding: 24px;
    flex-shrink: 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 40px;
}

.brand-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--accent-orange), var(--accent-purple));
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-icon i {
    color: white;
    width: 20px;
    height: 20px;
}

.brand h2 {
    font-size: 1.25rem;
    font-weight: 700;
    background: linear-gradient(to right, #ffffff, #d1d5db);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-grow: 1;
}

.nav-links a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.nav-links a:hover {
    color: var(--text-primary);
    background-color: rgba(255, 255, 255, 0.03);
}

.nav-links a.active {
    color: var(--text-primary);
    background-color: rgba(255, 255, 255, 0.06);
    border-left: 3px solid var(--accent-orange);
    border-radius: 0 8px 8px 0;
}

.nav-links a i {
    width: 18px;
    height: 18px;
}

.sidebar-footer {
    margin-top: auto;
}

.status-indicator-card {
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--panel-border);
    border-radius: 8px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.status-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.status-dot.online {
    background-color: var(--accent-green);
    box-shadow: 0 0 8px var(--accent-green);
}

/* Main Workspace */
.main-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    padding: 32px;
    max-height: 100vh;
    overflow-y: auto;
}

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

.main-header h1 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.subtitle {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

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

.btn-primary:hover {
    background-color: #0d9488;
    transform: translateY(-1px);
}

.btn-danger {
    background-color: var(--accent-red);
    color: white;
}

.btn-danger:hover {
    background-color: #dc2626;
    transform: translateY(-1px);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 1px solid var(--panel-border);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.08);
}

.btn i {
    width: 16px;
    height: 16px;
}

/* Metrics Section */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 28px;
}

.metric-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--panel-border);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.2s ease;
}

.metric-card:hover {
    border-color: rgba(255, 255, 255, 0.12);
}

.metric-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    display: block;
    margin-bottom: 6px;
}

.metric-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: white;
}

.metric-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.metric-icon.blue { background-color: rgba(14, 165, 233, 0.1); color: var(--accent-blue); }
.metric-icon.green { background-color: rgba(16, 185, 129, 0.1); color: var(--accent-green); }
.metric-icon.orange { background-color: rgba(249, 115, 22, 0.1); color: var(--accent-orange); }
.metric-icon.purple { background-color: rgba(139, 92, 246, 0.1); color: var(--accent-purple); }

/* Panels layout */
.workspace-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 24px;
    flex-grow: 1;
    min-height: 0; /* Important for scroll overflow in flex layouts */
}

.panel {
    background: var(--panel-bg);
    border: 1px solid var(--panel-border);
    border-radius: 16px;
    backdrop-filter: blur(12px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.panel-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--panel-border);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.panel-header h2 {
    font-size: 1.15rem;
    font-weight: 600;
}

/* Category Filter Pills */
.filter-pills {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.pill {
    padding: 6px 12px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-secondary);
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--panel-border);
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pill:hover {
    color: var(--text-primary);
    background-color: rgba(255, 255, 255, 0.05);
}

.pill.active {
    color: white;
    background-color: var(--accent-orange);
    border-color: var(--accent-orange);
}

/* Lists and Cards */
.logs-list {
    flex-grow: 1;
    overflow-y: auto;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.log-card {
    background-color: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--panel-border);
    border-radius: 12px;
    padding: 18px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.log-card:hover {
    background-color: rgba(255, 255, 255, 0.02);
    border-color: rgba(255, 255, 255, 0.12);
    transform: translateY(-1px);
}

.log-card.selected {
    background-color: rgba(249, 115, 22, 0.03);
    border-color: rgba(249, 115, 22, 0.3);
}

.card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.meta-info {
    font-size: 0.75rem;
    color: var(--text-muted);
    display: flex;
    gap: 12px;
}

.badge {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* Badge colors */
.badge.progress { background-color: rgba(14, 165, 233, 0.12); color: #38bdf8; }
.badge.safety { background-color: rgba(249, 115, 22, 0.12); color: #fb923c; }
.badge.qa_qc { background-color: rgba(16, 185, 129, 0.12); color: #34d399; }
.badge.materials { background-color: rgba(139, 92, 246, 0.12); color: #a78bfa; }
.badge.unknown { background-color: rgba(107, 114, 128, 0.12); color: #9ca3af; }

.badge.status-draft { background-color: rgba(245, 158, 11, 0.1); color: #fbbf24; border: 1px solid rgba(245, 158, 11, 0.2); }
.badge.status-approved { background-color: rgba(16, 185, 129, 0.1); color: #34d399; border: 1px solid rgba(16, 185, 129, 0.2); }
.badge.status-rejected { background-color: rgba(239, 68, 68, 0.1); color: #f87171; border: 1px solid rgba(239, 68, 68, 0.2); }

.card-body {
    font-size: 0.88rem;
    line-height: 1.45;
    color: var(--text-primary);
}

.summary-preview {
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-secondary);
    background-color: rgba(255, 255, 255, 0.01);
    padding: 8px 12px;
    border-radius: 6px;
    border-left: 2px solid var(--panel-border);
}

/* Empty State / Spinner */
.empty-state, .empty-editor-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    text-align: center;
    color: var(--text-secondary);
    flex-grow: 1;
}

.placeholder-icon {
    width: 64px;
    height: 64px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.empty-state h3, .empty-editor-state h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: white;
}

.empty-state p, .empty-editor-state p {
    font-size: 0.85rem;
    max-width: 280px;
    line-height: 1.4;
}

.spinner {
    width: 28px;
    height: 28px;
    border: 3px solid rgba(255, 255, 255, 0.05);
    border-top: 3px solid var(--accent-orange);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-bottom: 16px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Verification Editor Form */
.editor-panel {
    overflow-y: auto;
    padding: 24px;
}

.editor-header {
    border-bottom: 1px solid var(--panel-border);
    padding-bottom: 16px;
    margin-bottom: 20px;
}

.editor-header h2 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.original-msg-block {
    background-color: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--panel-border);
    border-radius: 8px;
    padding: 14px;
    margin-bottom: 20px;
    font-size: 0.85rem;
    line-height: 1.45;
}

.original-msg-block span {
    font-size: 0.75rem;
    color: var(--text-muted);
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.form-input, select, textarea {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--panel-border);
    border-radius: 8px;
    padding: 10px 12px;
    font-family: var(--font-sans);
    font-size: 0.88rem;
    color: white;
    outline: none;
    transition: border-color 0.2s ease;
}

.form-input:focus, select:focus, textarea:focus {
    border-color: rgba(255, 255, 255, 0.2);
}

textarea {
    resize: vertical;
    min-height: 80px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.checkbox-label input {
    width: 16px;
    height: 16px;
    accent-color: var(--accent-orange);
}

.editor-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    border-top: 1px solid var(--panel-border);
    padding-top: 20px;
    margin-top: 24px;
}

/* Chat Feed Layout */
.chat-feed-panel {
    background: var(--panel-bg);
    border: 1px solid var(--panel-border);
    border-radius: 16px;
    backdrop-filter: blur(12px);
    display: flex;
    flex-direction: column;
    height: calc(100vh - 190px);
    overflow: hidden;
}

.chat-header {
    padding: 16px 24px;
    background-color: var(--bg-secondary);
    border-bottom: 1px solid var(--panel-border);
}

.chat-header-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.chat-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-orange), var(--accent-purple));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.chat-avatar i {
    width: 20px;
    height: 20px;
}

.chat-subtitle {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: 2px;
}

.chat-messages-container {
    flex-grow: 1;
    overflow-y: auto;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    background-color: rgba(0, 0, 0, 0.1);
}

/* Chat Message Bubbles */
.chat-bubble-container {
    display: flex;
    flex-direction: column;
    max-width: 70%;
    align-self: flex-start;
}

.chat-message-bubble {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--panel-border);
    border-radius: 4px 16px 16px 16px;
    padding: 12px 14px;
    position: relative;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.chat-bubble-container.from-me {
    align-self: flex-end;
}

.chat-bubble-container.from-me .chat-message-bubble {
    background-color: rgba(249, 115, 22, 0.04);
    border-color: rgba(249, 115, 22, 0.18);
    border-radius: 16px 4px 16px 16px;
}

.chat-sender-name {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--accent-orange);
    margin-bottom: 4px;
    display: block;
}

.chat-bubble-container.from-me .chat-sender-name {
    color: var(--accent-purple);
}

.chat-message-text {
    font-size: 0.88rem;
    line-height: 1.45;
    color: var(--text-primary);
    white-space: pre-wrap;
}

.chat-timestamp {
    font-size: 0.68rem;
    color: var(--text-muted);
    margin-top: 4px;
    margin-left: auto;
    display: block;
    text-align: right;
}

/* Media Files inside Chat */
.chat-media-image {
    max-width: 100%;
    max-height: 280px;
    border-radius: 8px;
    margin-top: 8px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    display: block;
}

.chat-media-audio {
    margin-top: 8px;
    width: 260px;
    height: 36px;
    display: block;
    outline: none;
}

.chat-tag-highlight {
    background-color: rgba(249, 115, 22, 0.18);
    color: #fdba74;
    padding: 1px 4px;
    border-radius: 4px;
    font-weight: 500;
}

/* Split Pane Layout */
.chat-feed-panel {
    display: flex;
    flex-direction: row;
}

.chat-feed-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
    border-right: 1px solid var(--panel-border);
}

/* Copilot Sidebar Panel */
.copilot-sidebar {
    width: 450px;
    display: flex;
    flex-direction: column;
    height: 100%;
    background-color: rgba(10, 15, 26, 0.4);
}

.copilot-header {
    padding: 16px 20px;
    background-color: rgba(17, 24, 39, 0.8);
    border-bottom: 1px solid var(--panel-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.copilot-header-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.copilot-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.copilot-avatar i {
    width: 18px;
    height: 18px;
}

.copilot-header-info h3 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
}

.copilot-status {
    font-size: 0.72rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 1px;
}

.copilot-status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--accent-green);
    display: inline-block;
    box-shadow: 0 0 8px var(--accent-green);
}

.copilot-clear-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 6px;
    border-radius: 6px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.copilot-clear-btn:hover {
    color: var(--accent-red);
    background-color: rgba(239, 68, 68, 0.08);
}

/* Copilot Message Logs Area */
.copilot-messages-container {
    flex-grow: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.copilot-welcome-message {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--panel-border);
    border-radius: 12px;
    padding: 16px;
    text-align: center;
    margin-bottom: auto;
}

.copilot-welcome-message .welcome-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background-color: rgba(14, 165, 233, 0.1);
    color: var(--accent-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px auto;
}

.copilot-welcome-message h4 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.copilot-welcome-message p {
    font-size: 0.78rem;
    color: var(--text-secondary);
    margin-bottom: 12px;
    line-height: 1.4;
}

.copilot-suggestions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.suggestion-chip {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--panel-border);
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 0.75rem;
    color: var(--accent-blue);
    text-align: left;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 500;
}

.suggestion-chip:hover {
    background-color: rgba(14, 165, 233, 0.08);
    border-color: rgba(14, 165, 233, 0.3);
    transform: translateY(-1px);
}

/* Copilot Bubbles */
.copilot-bubble-container {
    display: flex;
    flex-direction: column;
    max-width: 85%;
    align-self: flex-start;
}

.copilot-bubble-container.user {
    align-self: flex-end;
}

.copilot-bubble {
    padding: 10px 14px;
    border-radius: 4px 14px 14px 14px;
    border: 1px solid var(--panel-border);
    background-color: rgba(255, 255, 255, 0.02);
    font-size: 0.85rem;
    line-height: 1.5;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.copilot-bubble-container.user .copilot-bubble {
    border-radius: 14px 4px 14px 14px;
    background-color: rgba(14, 165, 233, 0.06);
    border-color: rgba(14, 165, 233, 0.2);
}

.copilot-bubble-container.assistant .copilot-bubble {
    background-color: rgba(139, 92, 246, 0.04);
    border-color: rgba(139, 92, 246, 0.18);
}

/* Format tables, codes, markdown in assistant bubble */
.copilot-bubble table {
    width: 100%;
    border-collapse: collapse;
    margin: 8px 0;
    font-size: 0.78rem;
}

.copilot-bubble th, .copilot-bubble td {
    border: 1px solid var(--panel-border);
    padding: 6px 8px;
    text-align: left;
}

.copilot-bubble th {
    background-color: rgba(255, 255, 255, 0.04);
    font-weight: 600;
}

.copilot-bubble p {
    margin-bottom: 8px;
}

.copilot-bubble p:last-child {
    margin-bottom: 0;
}

.copilot-bubble ul, .copilot-bubble ol {
    margin-left: 16px;
    margin-bottom: 8px;
}

.copilot-bubble li {
    margin-bottom: 4px;
}

/* Copilot Input area */
.copilot-input-area {
    padding: 14px 20px;
    background-color: rgba(17, 24, 39, 0.8);
    border-top: 1px solid var(--panel-border);
    display: flex;
    gap: 12px;
}

.copilot-input-area input {
    flex-grow: 1;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--panel-border);
    border-radius: 10px;
    padding: 10px 16px;
    color: var(--text-primary);
    font-size: 0.85rem;
    outline: none;
    transition: all 0.2s ease;
}

.copilot-input-area input:focus {
    border-color: rgba(14, 165, 233, 0.5);
    background-color: rgba(255, 255, 255, 0.05);
}

.copilot-input-area button {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.copilot-input-area button:hover {
    opacity: 0.9;
    transform: scale(1.02);
}

.copilot-input-area button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* Spinner for Copilot message loading state */
.copilot-loading {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.78rem;
    padding: 4px 8px;
}

.copilot-loading .spinner-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--text-muted);
    animation: bounce 1.4s infinite ease-in-out both;
}

.copilot-loading .spinner-dot:nth-child(1) { animation-delay: -0.32s; }
.copilot-loading .spinner-dot:nth-child(2) { animation-delay: -0.16s; }

@keyframes bounce {
    0%, 80%, 100% { transform: scale(0); }
    40% { transform: scale(1.0); }
}


/* Sidebar Observers Card */
.sidebar-observers-card {
    background: rgba(17, 24, 39, 0.4);
    border: 1px solid var(--panel-border);
    border-radius: 8px;
    padding: 12px;
    margin: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.observers-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
}

.observers-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
    max-height: 120px;
    overflow-y: auto;
    padding-right: 4px;
}

.observers-list::-webkit-scrollbar {
    width: 3px;
}
.observers-list::-webkit-scrollbar-thumb {
    background-color: var(--panel-border);
    border-radius: 3px;
}

.observer-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    padding: 6px 8px;
    font-size: 0.78rem;
    color: var(--text-secondary);
}

.observer-item span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 155px;
}

.observer-item i {
    cursor: pointer;
    color: var(--text-muted);
    transition: color 0.2s;
    width: 12px;
    height: 12px;
}

.observer-item i:hover {
    color: #ef4444;
}

.observer-add-form {
    display: flex;
    gap: 4px;
}

.observer-add-form input {
    flex: 1;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--panel-border);
    border-radius: 4px;
    padding: 6px 8px;
    font-size: 0.78rem;
    color: var(--text-primary);
    outline: none;
}

.observer-add-form input::placeholder {
    color: var(--text-muted);
}

.observer-add-form button {
    background: var(--primary-color);
    border: none;
    border-radius: 4px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    cursor: pointer;
    transition: background 0.2s;
}

.observer-add-form button:hover {
    background: var(--primary-hover);
}
