.chat-section { text-align: center; }

.chat-card {
  max-width: 560px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  text-align: left;
}

.chat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  background: var(--cream-deep);
}

.chat-head h3 {
  font-size: 17px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.chat-online {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
}

.chat-online .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 0 rgba(126, 217, 87, 0.6);
  animation: pulse-dot 1.8s infinite;
}

.chat-messages {
  list-style: none;
  padding: 18px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 260px;
  overflow-y: auto;
}

.chat-messages li {
  font-size: 14.5px;
  line-height: 1.4;
}

.chat-messages .chat-name {
  font-weight: 700;
  color: var(--ink);
  margin-right: 6px;
}

.chat-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px 22px 22px;
  border-top: 1px solid var(--cream-deep);
}

.chat-form input {
  width: 100%;
  border: 1.5px solid var(--cream-deep);
  background: var(--cream);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 14px;
}

.chat-form input:focus {
  outline: none;
  border-color: var(--orange);
}

.chat-form .chat-row {
  display: flex;
  gap: 10px;
}

.chat-send {
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: var(--radius-sm);
  background: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
}

.chat-send img { width: 18px; height: 18px; }
