/* Chat modal styles */

.chat-modal {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.chat-header {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--bg);
  padding-bottom: 0.5rem;
}
.chat-header img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}
.chat-header .name {
  font-weight: 600;
  font-size: 1.1rem;
}
.chat-header .status {
  font-size: 0.85rem;
  color: var(--accent-light);
}
.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding-right: 0.5rem;
  margin-bottom: 1rem;
}
.chat-message {
  margin-bottom: 0.75rem;
  display: flex;
  gap: 0.5rem;
}
.chat-message.user {
  justify-content: flex-end;
}
.chat-message .bubble {
  max-width: 70%;
  padding: 0.6rem 0.8rem;
  border-radius: var(--radius);
  background-color: var(--accent);
  color: #0a0a0a;
  font-size: 0.9rem;
  line-height: 1.3;
}
.chat-message.user .bubble {
  background-color: var(--bg);
  color: var(--text);
  border: 1px solid var(--accent);
}
.chat-input {
  display: flex;
  gap: 0.5rem;
}
.chat-input input[type="text"] {
  flex: 1;
  padding: 0.6rem;
  border-radius: var(--radius);
  border: 1px solid var(--bg);
  background-color: var(--bg);
  color: var(--text);
}
.chat-input button {
  padding: 0.6rem 1rem;
  background-color: var(--accent);
  color: #0a0a0a;
  border: none;
  border-radius: var(--radius);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}
.chat-input button:hover {
  background-color: var(--accent-light);
}

.chat-message .bubble.button {
  display:inline-block;
  padding:10px 14px;
  border-radius:12px;
  background:#ff8a00;
  color:#000;
  font-weight:600;
  text-decoration:none;
}
.chat-message .bubble.button:hover { filter:brightness(1.05); }
