/* ===== Buttons ===== */
button,
.tip-box button,
#support-email-btn {
  background-color: #0078d4;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

button {
  padding: 10px 15px;
  margin-left: 5px;
}

button:hover,
.tip-box button:hover,
#support-email-btn:hover {
  background-color: #005a9e;
}

#support-email-btn {
  display: none;
  margin-top: 10px;
  padding: 8px 14px;
  font-size: 0.9rem;
}

.tip-box button {
  padding: 0.4rem 0.8rem;
  font-size: 0.9rem;
}

/* ===== Tip Box ===== */
.tip-box {
  background: #f0f6ff;
  border-left: 4px solid #0078d4;
  padding: 1rem;
  margin-top: 1.5rem;
  border-radius: 6px;
  font-size: 0.95rem;
  line-height: 1.4;
}

.tip-box strong {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 1rem;
  color: #004578;
}

.tip-box p {
  margin: 0 0 0.75rem 0;
}

/* ===== Footer ===== */
#side-panel footer {
  margin-top: auto;
  padding: 1rem 20px 0 20px;
  font-size: 0.85rem;
  color: #666;
  border-top: 1px solid #ddd;
  text-align: center;
}

footer a {
  text-decoration: none;
  color: inherit;
  display: inline-flex;
  align-items: center;
}

footer a:hover {
  text-decoration: underline;
}

.footer-logo {
  height: 18px;
  width: auto;
  vertical-align: middle;
  margin: 0 4px;
  border-radius: 50%;
}

/* ===== System Messages ===== */
.msg.system {
  display: flex;
  justify-content: center;
  margin: 8px 0;
}

.bubble.system-bubble {
  background: #f0f0f0;
  color: #555;
  font-style: italic;
  border-radius: 12px;
  padding: 6px 10px;
  font-size: 0.85rem;
  max-width: 80%;
  text-align: center;
}

/* ===== Connection Status & Session Badge ===== */
#connection-status {
  font-size: 0.8em;
  margin-bottom: 5px;
  display: flex;
  align-items: center;
  gap: 12px;
}

#status-text {
  color: green; /* dynamically updated */
}

#session-id-badge {
  font-family: monospace;
  font-size: 0.75em;
  color: #666;
  background-color: #f4f4f4;
  padding: 2px 6px;
  border-radius: 4px;
}