/* Critical theme overrides moved from index.html for CSP compliance */
html, body, #root {
  background: #000000 !important;
  background-color: #000000 !important;
  color: #FFFFFF !important;
}

/* Signal/WhatsApp Chat specific overrides */
.signal-dashboard { background: #000000 !important; }
.signal-sidebar { background: #1A1A1A !important; }
.signal-sidebar-header { background: #6750A4 !important; color: #FFF !important; }
.signal-chat-area { background: #000000 !important; }
.signal-chat-header { background: #1A1A1A !important; color: #FFF !important; }
.signal-chat-area::before { display: none !important; }
.signal-message.sent { background: #6750A4 !important; color: #FFF !important; }
.signal-message.received, .signal-message:not(.sent) { background: #2A2A2A !important; color: #FFF !important; }
.signal-message-text { color: #FFFFFF !important; }

/* Replace ALL green (#00a884) with purple */
.signal-sidebar-header,
.signal-online-indicator,
.signal-btn-accept,
.signal-send-button,
.signal-fab,
.signal-btn-primary { background: #6750A4 !important; color: #FFF !important; }

/* Settings and Homepage */
.settings-page, .settings-container, .home-page, .landing-page { background: #000000 !important; color: #FFF !important; }

/* Cards and modals */
.card, .modal, .signal-modal, .modal-content { background: #2A2A2A !important; color: #FFF !important; }

/* Inputs */
input, textarea, select {
  background: #FFFFFF !important;
  color: #000000 !important;
}

/* Buttons */
button:not(.btn-secondary) { background: #6750A4 !important; color: #FFF !important; }
