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

body{
  background:#000;
  color:#fff;
  font-family:Arial, sans-serif;
  height:100vh;
  overflow:hidden;
}

/* HEADER */
.header{
  height:55px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 12px;
  border-bottom:1px solid #222;
}
.title{font-weight:bold}
.right{display:flex;gap:6px}

/* BUTTON */
button{
  background:none;
  border:none;
  color:#fff;
  cursor:pointer;
  position:relative;
  overflow:hidden;
}

/* CHAT */
.chat{
  height:calc(100vh - 120px);
  padding:12px;
  overflow-y:auto;
}

/* USER MESSAGE */
.user{
  text-align:right;
  margin:8px 0;
}
.user span{
  display:inline-block;
  background:#1f1f1f;
  padding:10px 14px;
  border-radius:18px;
  max-width:80%;
}

/* BOT MESSAGE */
.bot{
  margin:8px 0;
  color:white;
}

/* THINKING */
.thinking{
  width:120px;
  height:14px;
  border-radius:10px;
  background:linear-gradient(90deg,#fff,#000,#fff);
  background-size:200% 100%;
  animation:loading 1.2s infinite;
}
@keyframes loading{
  0%{background-position:0%}
  100%{background-position:200%}
}

/* RESPONSE ACTIONS */
.actions{
  margin-top:6px;
  display:flex;
  gap:10px;
}
.actions button{font-size:14px}

/* INPUT */
.input-area{
  position:fixed;
  bottom:10px;
  left:10px;
  right:10px;
  display:flex;
  align-items:center;
  background:#111;
  border-radius:30px;
  padding:8px;
}
textarea{
  flex:1;
  background:none;
  border:none;
  color:white;
  resize:none;
  outline:none;
  padding:6px;
}

/* SEND ZOOM */
.send-btn{
  transform:scale(0);
  transition:0.2s;
}
.send-btn.show{
  transform:scale(1);
}

/* RIPPLE */
.ripple{
  position:absolute;
  border-radius:50%;
  background:rgba(255,255,255,0.4);
  transform:scale(0);
  animation:ripple 0.6s linear;
}
@keyframes ripple{
  to{transform:scale(4);opacity:0}
}