*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #050816;
  --bg-elevated: #070b1e;
  --bg-soft: #0b1025;
  --accent: #6366f1;
  --accent-soft: rgba(99, 102, 241, 0.14);
  --accent-strong: #22c55e;
  --danger: #f97373;
  --text: #e5e7eb;
  --muted: #9ca3af;
  --border-subtle: rgba(148, 163, 184, 0.25);
  --shadow-soft: 0 24px 60px rgba(15, 23, 42, 0.9);
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-pill: 999px;
  --transition-fast: 170ms ease-out;
}

body {
  min-height: 100vh;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: radial-gradient(circle at top, #0b1120 0, #020617 45%, #020617 100%);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

button {
  font: inherit;
  border: none;
  background: none;
}

input {
  font: inherit;
  border: none;
  outline: none;
  background: none;
  color: inherit;
}

.page {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  max-width: 1320px;
  margin: 32px auto;
  gap: 24px;
  padding: 0 20px 32px;
}

/* SIDEBAR */

.sidebar {
  background: linear-gradient(160deg, #020617 0%, #020617 40%, #030712 100%);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(148, 163, 184, 0.24);
  box-shadow: var(--shadow-soft);
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo-icon {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: radial-gradient(circle at 0 0, #4f46e5, #22c55e);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 800;
  letter-spacing: 0.04em;
  box-shadow: 0 18px 40px rgba(88, 28, 135, 0.75);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-size: 16px;
  font-weight: 700;
}

.logo-subtitle {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 8px;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 12px;
  color: var(--muted);
  cursor: pointer;
  transition: background var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
}

.nav-item:hover {
  background: rgba(15, 23, 42, 0.9);
  color: var(--text);
  transform: translateY(-1px);
}

.nav-item--active {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(56, 189, 248, 0.18));
  color: var(--text);
}

.nav-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.55);
}

.nav-item--active .nav-dot {
  background: radial-gradient(circle at center, #22c55e, #4f46e5);
}

.nav-divider {
  height: 1px;
  background: rgba(148, 163, 184, 0.2);
  margin: 8px 12px;
}

.session {
  margin-top: auto;
  padding: 14px 12px;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(55, 65, 81, 0.6);
}

.session-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.session-time {
  font-size: 22px;
  font-weight: 700;
  margin-top: 4px;
}

.session-tag {
  display: inline-flex;
  margin-top: 6px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid rgba(148, 163, 184, 0.35);
  color: var(--muted);
}

/* MAIN */

.main {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.top-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.page-title {
  font-size: 26px;
  font-weight: 700;
}

.page-subtitle {
  font-size: 13px;
  margin-top: 6px;
  color: var(--muted);
}

.top-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(55, 65, 81, 0.7);
  font-size: 12px;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #fbbf24;
  box-shadow: 0 0 0 4px rgba(251, 191, 36, 0.18);
}

.status-dot--active {
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.25);
}

.pill {
  padding: 6px 13px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  cursor: pointer;
  color: var(--muted);
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: rgba(15, 23, 42, 0.9);
  transition: background var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast), color var(--transition-fast);
}

.pill--primary {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.8), rgba(56, 189, 248, 0.9));
  border-color: transparent;
  color: #e5f0ff;
}

.pill--primary:hover {
  filter: brightness(1.06);
}

.pill--outline:hover {
  background: rgba(15, 23, 42, 1);
  border-color: rgba(148, 163, 184, 0.7);
  color: var(--text);
  transform: translateY(-1px);
}

/* GRID & CARDS */

.grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-auto-rows: auto;
  gap: 16px;
}

.card {
  background: radial-gradient(circle at top left, rgba(37, 99, 235, 0.16), rgba(15, 23, 42, 0.95));
  border-radius: var(--radius-lg);
  padding: 18px 18px 16px;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 160ms ease-out, box-shadow 160ms ease-out, border-color 160ms ease-out;
}

.card--wide {
  grid-column: 1 / -1;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 70px rgba(15, 23, 42, 1);
  border-color: rgba(129, 140, 248, 0.85);
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.card-title {
  font-size: 16px;
  font-weight: 600;
}

.card-subtitle {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}

.chip {
  padding: 6px 11px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(148, 163, 184, 0.4);
  font-size: 12px;
  color: var(--muted);
  cursor: pointer;
  background: rgba(15, 23, 42, 0.9);
  transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
}

.chip:hover {
  background: rgba(15, 23, 42, 1);
  border-color: rgba(148, 163, 184, 0.7);
  color: var(--text);
  transform: translateY(-1px);
}

.chip--primary {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.8), rgba(56, 189, 248, 0.9));
  border-color: transparent;
  color: #e5f0ff;
}

.chip--primary:hover {
  filter: brightness(1.06);
}

/* SNAPSHOT */

.snapshot-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 18px;
}

.snapshot-main {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(30, 64, 175, 0.85));
  border-radius: 18px;
  padding: 16px 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.big-number-label {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.big-number-value {
  font-size: 30px;
  font-weight: 700;
  margin-top: 4px;
}

.big-number-change {
  margin-top: 2px;
  font-size: 13px;
}

.big-number-change--up {
  color: var(--accent-strong);
}

.big-number-change--down {
  color: var(--danger);
}

.heat-strip {
  margin-top: 6px;
}

.heat-label {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 6px;
}

.heat-bar {
  position: relative;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, #f97373, #eab308, #22c55e);
  overflow: hidden;
}

.heat-fill {
  position: absolute;
  inset: 0;
  width: 33.33%;
  transform-origin: left center;
  background: rgba(15, 23, 42, 0.78);
  transition: transform 220ms ease-out;
}

.heat-tags {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  margin-top: 4px;
  color: var(--muted);
}

.snapshot-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.mini-stat {
  padding: 10px 10px 9px;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(55, 65, 81, 0.8);
}

.mini-label {
  font-size: 11px;
  color: var(--muted);
}

.mini-value {
  margin-top: 4px;
  font-size: 14px;
  font-weight: 600;
}

/* AI BLOCK */

.ai-block {
  background: radial-gradient(circle at top left, rgba(129, 140, 248, 0.25), rgba(15, 23, 42, 0.98));
  border-radius: 18px;
  padding: 14px 14px 13px;
  border: 1px solid rgba(129, 140, 248, 0.7);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ai-tag {
  display: inline-flex;
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  border: 1px solid rgba(191, 219, 254, 0.7);
  color: #e0f2fe;
}

.ai-action {
  font-size: 20px;
  font-weight: 700;
}

.ai-text {
  font-size: 13px;
  color: #c7d2fe;
}

/* RISK */

.risk-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.field label {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 4px;
}

.field input {
  width: 100%;
  padding: 8px 9px;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(55, 65, 81, 0.9);
}

.field input::placeholder {
  color: rgba(148, 163, 184, 0.8);
}

.risk-result {
  margin-top: 10px;
  padding: 10px 11px;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px dashed rgba(75, 85, 99, 0.9);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.risk-label {
  font-size: 11px;
  color: var(--muted);
}

.risk-value {
  margin-top: 3px;
  font-size: 22px;
  font-weight: 700;
}

.risk-note {
  font-size: 11px;
  color: var(--muted);
  text-align: right;
}

/* TRADES */

.trades {
  margin-top: 2px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 220px;
  overflow-y: scroll;
  padding-right: 4px;
}

.empty {
  font-size: 13px;
  color: var(--muted);
  padding: 10px;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.8);
  border: 1px dashed rgba(75, 85, 99, 0.9);
}

.trade-row {
  display: grid;
  grid-template-columns: 120px 1fr 90px 90px;
  gap: 10px;
  padding: 10px 10px 9px;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.92);
  border: 1px solid rgba(55, 65, 81, 0.9);
  font-size: 12px;
  align-items: center;
}

.trade-row>div {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.trade-tag {
  display: inline-flex;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 11px;
}

.trade-tag--buy {
  background: rgba(34, 197, 94, 0.12);
  color: #bbf7d0;
}

.trade-tag--sell {
  background: rgba(239, 68, 68, 0.13);
  color: #fecaca;
}

.trade-context {
  color: var(--muted);
}

.trade-pnl {
  font-weight: 600;
}

.trade-pnl--green {
  color: var(--accent-strong);
}

.trade-pnl--red {
  color: var(--danger);
}

.trade-time {
  text-align: right;
  color: var(--muted);
}

/* SCROLLBAR */

.trades::-webkit-scrollbar {
  width: 6px;
}

.trades::-webkit-scrollbar-track {
  background: transparent;
}

.trades::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.7);
  border-radius: 999px;
}

/* RESPONSIVE */

/* RESPONSIVE & MOBILE MENU */

.menu-toggle {
  display: none;
  font-size: 24px;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 8px;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text);
  margin-right: 12px;
}

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(2px);
  z-index: 90;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-fast);
}

.overlay--visible {
  opacity: 1;
  pointer-events: auto;
}

@media (max-width: 1024px) {
  .page {
    grid-template-columns: 1fr;
    max-width: 100%;
    padding: 0 16px 24px;
    margin: 16px auto;
  }

  .sidebar {
    position: fixed;
    top: 0;
    left: -280px;
    width: 260px;
    height: 100vh;
    z-index: 100;
    transition: transform 300ms cubic-bezier(0.4, 0, 0.2, 1);
    border-right: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 0 16px 16px 0;
    background: #020617;
    /* Solid background for drawer */
  }

  .sidebar--open {
    transform: translateX(280px);
    box-shadow: 20px 0 50px rgba(0, 0, 0, 0.5);
  }

  .menu-toggle {
    display: flex;
  }

  .grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .top-left {
    display: flex;
    align-items: center;
  }

  .page-title {
    font-size: 20px;
  }

  .page-subtitle {
    display: none;
  }

  .snapshot-grid {
    grid-template-columns: 1fr;
  }

  .risk-grid {
    grid-template-columns: 1fr;
  }

  .top-row {
    flex-wrap: wrap;
    align-items: center;
  }

  .top-right {
    margin-left: auto;
  }
}

@media (max-width: 640px) {
  .status-pill span:last-child {
    display: none;
    /* Hide status text on very small screens */
  }

  .trade-row {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 12px;
  }

  .trade-row>*:nth-child(n) {
    /* Reset order for flex-like stacking if needed */
  }

  /* Hide less critical columns on mobile trade list if crowded */
  .trade-time {
    font-size: 11px;
  }
}

/* MODAL */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  animation: fadeIn 0.2s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.modal-content {
  background: #0f172a;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 16px;
  width: 90%;
  max-width: 600px;
  padding: 24px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  position: relative;
  max-height: 85vh;
  overflow-y: auto;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

.modal-header h3 {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
}

.close-btn {
  font-size: 24px;
  color: var(--muted);
  cursor: pointer;
  line-height: 1;
  padding: 4px;
  border-radius: 4px;
  transition: background 0.2s;
}

.close-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.analysis-section {
  margin-bottom: 20px;
  background: rgba(30, 41, 59, 0.5);
  padding: 12px;
  border-radius: 8px;
  border: 1px solid rgba(148, 163, 184, 0.05);
}

.analysis-section label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 8px;
  font-weight: 600;
}

.analysis-section p {
  font-size: 14px;
  line-height: 1.6;
  color: #e2e8f0;
}

.learning-box {
  background: rgba(34, 197, 94, 0.1);
  border: 1px dashed rgba(34, 197, 94, 0.3);
  padding: 12px;
  border-radius: 8px;
  font-size: 13px;
  color: #86efac;
  line-height: 1.5;
}

.analysis-btn {
  font-size: 11px;
  padding: 4px 10px;
  background: rgba(99, 102, 241, 0.15);
  color: #a5b4fc;
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
  font-weight: 500;
}

.analysis-btn:hover {
  background: rgba(99, 102, 241, 0.3);
  color: #fff;
  border-color: rgba(99, 102, 241, 0.5);
}

/* WHATSAPP STYLE CHAT */

.chat-container {
  display: flex;
  flex-direction: column;
  height: 100vh;
  background-color: #0f172a;
  background-image: radial-gradient(circle at 20% 50%, rgba(99, 102, 241, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(168, 85, 247, 0.03) 0%, transparent 50%);
  color: #e2e8f0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.chat-header {
  height: 60px;
  background-color: #1e293b;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(148, 163, 184, 0.1);
  box-sizing: border-box;
}

.chat-profile {
  display: flex;
  align-items: center;
  gap: 15px;
  cursor: pointer;
}

.avatar-circle {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #4f46e5, #9333ea);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

.chat-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.chat-name {
  font-size: 16px;
  font-weight: 600;
  color: #f1f5f9;
}

.chat-status {
  font-size: 13px;
  color: #22c55e;
  font-weight: 500;
}

.chat-actions {
  display: flex;
  gap: 20px;
  color: #aebac1;
}

.chat-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px 40px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.chat-body::-webkit-scrollbar {
  width: 6px;
}

.chat-body::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
}

.date-divider {
  display: flex;
  justify-content: center;
  margin: 12px 0;
  position: sticky;
  top: 10px;
  z-index: 10;
}

.date-divider span {
  background-color: #182229;
  color: #8696a0;
  padding: 5px 12px;
  border-radius: 8px;
  font-size: 12.5px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  text-transform: uppercase;
}

.msg {
  display: flex;
  margin-bottom: 2px;
  align-items: flex-end;
}

.msg-incoming {
  justify-content: flex-start;
}

.msg-outgoing {
  justify-content: flex-end;
}

.msg-bubble {
  max-width: 65%;
  padding: 6px 7px 8px 9px;
  border-radius: 7.5px;
  font-size: 14.2px;
  line-height: 19px;
  position: relative;
  box-shadow: 0 1px 0.5px rgba(0, 0, 0, 0.13);
  word-wrap: break-word;
}

.msg-incoming .msg-bubble {
  background-color: #202c33;
  color: #e9edef;
  border-top-left-radius: 0;
}

.msg-outgoing .msg-bubble {
  background-color: #005c4b;
  color: #e9edef;
  border-top-right-radius: 0;
}

.msg-incoming .msg-bubble::before {
  content: "";
  position: absolute;
  top: 0;
  left: -12px;
  width: 12px;
  height: 19px;
  background: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 13' width='8' height='13'%3E%3Cpath opacity='.13' d='M5.188 1H0v11.193l6.467-8.625C7.526 2.156 6.958 1 5.188 1z'/%3E%3Cpath fill='%23202c33' d='M5.188 0H0v11.193l6.467-8.625C7.526 1.156 6.958 0 5.188 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: top right;
}

.msg-outgoing .msg-bubble::before {
  content: "";
  position: absolute;
  top: 0;
  right: -12px;
  width: 12px;
  height: 19px;
  background: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 13' width='8' height='13'%3E%3Cpath opacity='.13' d='M2.812 1h5.188v11.193l-6.467-8.625C.474 2.156 1.042 1 2.812 1z'/%3E%3Cpath fill='%23005c4b' d='M2.812 0h5.188v11.193l-6.467-8.625C.474 1.156 1.042 0 2.812 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: top left;
}

.msg-meta {
  display: inline-block;
  float: right;
  margin-top: 4px;
  margin-left: 10px;
  margin-bottom: -4px;
  color: #8696a0;
  font-size: 11px;
  display: flex;
  align-items: center;
  gap: 3px;
}

.msg-outgoing .msg-meta {
  color: rgba(255, 255, 255, 0.6);
}

.check-icon {
  width: 16px;
  height: 11px;
}

.chat-footer {
  min-height: 62px;
  background-color: #202c33;
  padding: 5px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-sizing: border-box;
}

.icon-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  color: #8696a0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-btn:hover {
  background: rgba(255, 255, 255, 0.05);
}

.input-bar {
  flex: 1;
  background-color: #2a3942;
  border-radius: 8px;
  display: flex;
  align-items: center;
  padding: 9px 12px;
  margin: 5px 0;
}

.input-bar input {
  width: 100%;
  background: transparent;
  border: none;
  color: #d1d7db;
  font-size: 15px;
  font-family: inherit;
  outline: none;
}

.input-bar input::placeholder {
  color: #8696a0;
}

.typing-dots {
  display: flex;
  gap: 4px;
  padding: 4px 0;
}

.typing-dots span {
  width: 6px;
  height: 6px;
  background: #8696a0;
  border-radius: 50%;
  animation: bounce 1.4s infinite ease-in-out both;
}

.typing-dots span:nth-child(1) {
  animation-delay: -0.32s;
}

.typing-dots span:nth-child(2) {
  animation-delay: -0.16s;
}

@keyframes bounce {

  0%,
  80%,
  100% {
    transform: scale(0);
  }

  40% {
    transform: scale(1);
  }
}
