
/* ================= BASE ================= */

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family:"Poppins",sans-serif;
}

body{
  min-height:100vh;
  background:linear-gradient(to bottom,#f7fffb 10%,#8ce6c0 60%,#3fd18b 100%);
  display:flex;
  flex-direction:column;
}

/* ================= HEADER ================= */

.header{
  width:100%;
  padding:25px 60px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  position:absolute;
  top:0;
  left:0;
}

.menu{
  width:42px;
  height:42px;
  border-radius:50%;
  background:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow:0 4px 10px rgba(0,0,0,0.1);
  cursor:pointer;
}

.toolkit{
  background:#fff;
  padding:8px 18px;
  border-radius:25px;
  font-size:13px;
  color:#28a86b;
  box-shadow:0 4px 10px rgba(0,0,0,0.08);
}

/* ================= MAIN CENTER ================= */

.main{
  flex:1;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  padding-top:80px;
}

/* ================= AVATAR ================= */

.avatar{
  margin-bottom:25px;
}

.avatar img{
  width:130px;
}

/* ================= CHAT BOX ================= */

.chat-box{
  width:700px;
  max-width:90%;
  background:#fff;
  padding:20px;
  border-radius:25px;
  box-shadow:0 10px 25px rgba(0,0,0,0.1);
}

.chat-box input{
  width:100%;
  border:none;
  outline:none;
  padding:10px;
  font-size:14px;
}

.chat-actions{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-top:15px;
}

.emotion-btn{
  border:1px solid #5cbcf6;
  background:#f5fbff;
  padding:6px 14px;
  border-radius:20px;
  font-size:12px;
  color:#3498db;
}

.voice-btn,
.send-btn{
  width:40px;
  height:40px;
  border-radius:50%;
  border:none;
  cursor:pointer;
}

.voice-btn{
  background:#fff;
  border:1px solid #ddd;
}

.send-btn{
  background:#3fd18b;
  color:#fff;
  margin-left:8px;
}

/* ================= MOOD CARD ================= */

.mood-card{
  margin-top:40px;
  width:420px;
  max-width:90%;
  background:#ffffffcc;
  backdrop-filter:blur(8px);
  border-radius:20px;
  padding:22px;
  box-shadow:0 10px 25px rgba(0,0,0,0.1);
}

.mood-head{
  display:flex;
  justify-content:space-between;
  align-items:center;
}

.mood-head h3{
  font-size:15px;
}

.heart{
  font-size:20px;
}

/* ================= SLIDER ================= */

.mood-slider{
  margin:15px 0 20px;
}

.scale{
  display:flex;
  justify-content:space-between;
  font-size:12px;
  color:#666;
  margin-bottom:6px;
}

.track{
  position:relative;
  height:30px;
  border:2px dashed #bbb;
  border-radius:25px;
  padding:5px;
  background:#fff;
}

.progress{
  position:absolute;
  top:50%;
  left:5px;
  height:8px;
  width:35%;
  background:#ffe17d;
  border-radius:20px;
  transform:translateY(-50%);
}

.emoji{
  position:absolute;
  top:50%;
  left:35%;
  transform:translate(-50%,-50%);
  font-size:18px;
}

#slider{
  position:absolute;
  inset:0;
  opacity:0;
  cursor:pointer;
}

/* ================= REASON ================= */

.mood-card h4{
  font-size:14px;
  margin-bottom:8px;
}

.reason-box{
  display:flex;
  gap:10px;
  margin-bottom:15px;
}

.reason-box input{
  flex:1;
  border-radius:15px;
  border:1px solid #ccc;
  padding:8px 12px;
  font-size:13px;
}

.tags{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}

.tag{
  padding:6px 12px;
  font-size:12px;
  border-radius:15px;
  border:1px solid #ccc;
}

.pink{border-color:#ff9ecf;color:#ff5fa3;}
.blue{border-color:#8fd3ff;color:#3498db;}
.green{border-color:#9be7c4;color:#2ecc71;}
.orange{border-color:#ffcc80;color:#ff9800;}

/* ================= MOBILE ================= */

@media (max-width:768px){

  .header{
    padding:20px;
  }

  .chat-box{
    width:100%;
  }

  .mood-card{
    width:100%;
  }

}