.chat-container {
  position: relative;
  width: 100%;
  height: 100%;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.06);
  -webkit-backdrop-filter: blur(1px);
  backdrop-filter: blur(1px);
  /* overflow: hidden; */
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.chat-container::before {
  content: "";
  position: absolute;
  top: -10%;
  left: -30%;
  width: 110%;
  height: 110%;
  opacity: 15%;
  background: conic-gradient(
    from 220deg,
    rgb(85, 51, 207) 0deg,
    rgb(146, 64, 222) 120deg,
    rgba(64, 64, 222, 1) 240deg,
    rgb(160, 123, 245) 360deg
  );
  filter: blur(80px);
  z-index: -1;
  border-radius: 50%; /* чтобы подсветка была плавнее */
}

/* Шапка */
.chat-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  background: rgba(3,6,10,0.6);
  backdrop-filter: blur(6px);
  font-size: 14px;
  color: var(--ztc-text-text-3);
}
.chat-header .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ztc-gradient);
  display: inline-block;
  margin-right: 6px;
}
.badge {
  font-size: 10px;
  padding: 3px 6px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.05);
  color: var(--ztc-text-text-3);
  margin-left: 4px;
}

/* Тело */
.chat-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bubble {
  max-width: 85%;
  padding: 8px 14px;
  border-radius: 16px;
  font-size: 15px;
  line-height: 1.4;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  color: var(--ztc-text-text-1);
  font-family: Arial;
  /* font-weight: bold; */
}

.left {
  align-self: flex-start;
  background: rgba(255,255,255,0.05);
}
.right {
  align-self: flex-end;
  background: rgba(255,255,255,0.1);
}
.right.accent {
  background: var(--ztc-gradient);
  /* color: var(--ztc-text-text-1); */
  border: none;
}

.response-time {
  font-size: 11px;
  color: white;
  text-align: right;
  margin-top: 4px;
}