/* ---------- BASE ---------- */

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f5f7fb;
}

.chat-app {
  padding-top: 30px;
}

/* ---------- CHAT CARD ---------- */

.chat-card {
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  overflow: hidden;
}

.chat-body {
  height: 50vh;
  overflow-y: auto;
  background: #eef2f7;
  padding: 15px;
}

/* ---------- MESSAGE BUBBLES ---------- */

.message-bubble {
  background: #4393cc;
  color: #fff;
  padding: 12px 14px;
  border-radius: 12px;
  margin-bottom: 12px;
  max-width: 90%;
}

.message-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  opacity: 0.9;
  margin-bottom: 5px;
}

.message-content {
  font-size: 0.95rem;
  line-height: 1.4;
}

/* ---------- ACTION BUTTONS ---------- */

.message-actions {
  margin-top: 6px;
  display: flex;
  gap: 6px;
}

.message-actions button {
  padding: 2px 6px;
  font-size: 0.75rem;
}

/* ---------- INPUT ---------- */

.card-footer {
  background: #fff;
}

.card-footer input {
  font-size: 0.95rem;
}

/* ---------- FORMS ---------- */

.card {
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}

.btn-small {
  width: 35px;
  height: 35px;
  margin: 4px;
  padding: 0;
}

.edit-icon {
    width: 30px;
    height: 30px;
}

.checkmark-icon {
    width: 30px;
    height: 30px;
}

.delete-icon {
    width: 30px;
    height: 30px;
}