.neo-support-chat-view {
  margin-top: 18px;
  border-top: 1px solid rgba(0,0,0,0.08);
  padding-top: 18px;
}

.neo-support-chat-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.neo-support-chat-topbar .neo-support-chat-title {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.neo-support-chat-topbar .neo-support-chat-title h5 {
  margin: 0;
  font-weight: 700;
  color: #003366;
}

.neo-support-chat-topbar .neo-support-chat-title small {
  color: rgba(0,0,0,0.55);
}

.neo-support-chat-panel {
  display: flex;
  flex-direction: column;
  height: 420px;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 14px;
  overflow: hidden;
}

.neo-support-chat-thread {
  flex: 1;
  padding: 14px;
  overflow-y: auto;
  background: linear-gradient(180deg, rgba(0,51,102,0.02) 0%, rgba(196,161,77,0.04) 100%);
}

.neo-support-msg {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
  align-items: flex-end;
}

.neo-support-msg .avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border: 1px solid rgba(0,0,0,0.06);
}

.neo-support-msg .avatar i {
  color: #003366;
}

.neo-support-msg .bubble {
  max-width: 78%;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,0.07);
  background: #fff;
  color: #0f172a;
  line-height: 1.45;
  word-break: break-word;
}

.neo-support-msg.user {
  justify-content: flex-end;
}

.neo-support-msg.user .avatar {
  display: none;
}

.neo-support-msg.user .bubble {
  background: #003366;
  color: #fff;
  border-color: rgba(0,0,0,0.0);
}

.neo-support-msg.system {
  justify-content: center;
}

.neo-support-msg.system .avatar {
  display: none;
}

.neo-support-msg.system .bubble {
  background: rgba(0,0,0,0.04);
  border-color: rgba(0,0,0,0.04);
  color: rgba(0,0,0,0.7);
  font-style: italic;
}

.neo-support-msg-meta {
  margin-top: 6px;
  font-size: 12px;
  opacity: 0.75;
  display: flex;
  gap: 8px;
  align-items: center;
}

.neo-support-ticks {
  display: inline-flex;
  gap: 2px;
  font-weight: 700;
}

.neo-support-ticks.sent,
.neo-support-ticks.delivered {
  color: #6c757d; /* gri */
  opacity: 0.95;
}
.neo-support-ticks.read {
  color: #0d6efd; /* mavi */
  opacity: 1;
}

.neo-support-typing {
  padding: 8px 14px;
  font-size: 13px;
  color: rgba(0,0,0,0.6);
  display: none;
  border-top: 1px solid rgba(0,0,0,0.06);
  background: #fff;
}

.neo-support-chat-input {
  display: flex;
  gap: 10px;
  padding: 12px;
  border-top: 1px solid rgba(0,0,0,0.06);
  background: #fff;
}

.neo-support-chat-input input {
  flex: 1;
  border: 1px solid rgba(0,0,0,0.15);
  border-radius: 12px;
  padding: 10px 12px;
  outline: none;
}

.neo-support-chat-input input:focus {
  border-color: rgba(0,51,102,0.5);
  box-shadow: 0 0 0 3px rgba(0,51,102,0.12);
}

.neo-support-chat-input button {
  white-space: nowrap;
}

.neo-support-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}

@media (max-width: 768px) {
  .neo-support-chat-panel {
    height: 60vh;
  }
  .neo-support-form-row {
    grid-template-columns: 1fr;
  }
}


/* ¦¦ Üye ünvan autocomplete dropdown ¦¦ */
.neo-unvan-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid #dee2e6;
  border-top: none;
  border-radius: 0 0 8px 8px;
  max-height: 220px;
  overflow-y: auto;
  z-index: 2000;
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}
.neo-unvan-opt {
  padding: 9px 13px;
  cursor: pointer;
  border-bottom: 1px solid #f1f5f9;
  transition: background .12s;
}
.neo-unvan-opt:last-child { border-bottom: none; }
.neo-unvan-opt:hover, .neo-unvan-opt.active { background: #e8f0fe; }
.neo-unvan-opt-title { font-size: .88rem; font-weight: 600; color: #003366; line-height: 1.3; }
.neo-unvan-opt-sub   { font-size: .76rem; color: #64748b; margin-top: 2px; }
.neo-unvan-loading, .neo-unvan-empty {
  padding: 10px 13px;
  font-size: .82rem;
  color: #94a3b8;
}
