/* ========================================== Communication Panel Styles (Matrix + Jitsi) Chat, Room List, Messages ========================================== */ /* Room List Styles */ .room-item { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 8px; cursor: pointer; transition: background 0.2s; } .room-item:hover { background: var(--bp-surface-elevated); } .room-item.active { background: var(--bp-primary-soft); border-left: 3px solid var(--bp-primary); } .room-icon { font-size: 20px; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; background: var(--bp-surface-elevated); border-radius: 8px; } .room-info { flex: 1; min-width: 0; } .room-name { font-weight: 500; font-size: 13px; color: var(--bp-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .room-preview { font-size: 11px; color: var(--bp-text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .room-badge { background: var(--bp-primary); color: white; font-size: 10px; font-weight: 600; padding: 2px 6px; border-radius: 10px; min-width: 18px; text-align: center; } /* Chat Message Styles */ .chat-system-msg { text-align: center; padding: 8px 16px; background: var(--bp-surface-elevated); border-radius: 8px; font-size: 12px; color: var(--bp-text-muted); } .chat-msg { padding: 12px 16px; border-radius: 12px; max-width: 85%; } .chat-msg-self { background: var(--bp-primary-soft); border: 1px solid var(--bp-border-subtle); margin-left: auto; } .chat-msg-other { background: var(--bp-surface-elevated); border: 1px solid var(--bp-border); } .chat-msg-notification { background: rgba(239, 68, 68, 0.1); border: 1px solid rgba(239, 68, 68, 0.3); } .chat-msg-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; } .chat-msg-sender { font-weight: 600; font-size: 12px; color: var(--bp-primary); } .chat-msg-time { font-size: 10px; color: var(--bp-text-muted); } .chat-msg-content { font-size: 13px; line-height: 1.5; color: var(--bp-text); } .chat-msg-actions { display: flex; gap: 6px; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--bp-border); } /* Button danger variant (global) */ .btn-danger { background: #ef4444 !important; color: white !important; } .btn-danger:hover { background: #dc2626 !important; } /* Light Mode Overrides */ [data-theme="light"] .room-item.active { background: var(--bp-primary-soft); } [data-theme="light"] .chat-msg-self { background: var(--bp-primary-soft); } [data-theme="light"] .chat-msg-other { background: var(--bp-bg); }