.chatbot_section{
  position:relative;
  z-index:99999;
}

/* ===== 플로팅 버튼 ===== */
.chatbot_fab{
  position:fixed;
  right:28px;
  bottom:220px;
  width:84px;
  height:84px;
  border:none;
  border-radius:22px;
  cursor:pointer;
  z-index:100001;

  background:linear-gradient(135deg,#2ecbff 0%, #6ee7ff 100%);
  box-shadow:
    0 0 0 1px rgba(255,255,255,.10) inset,
    0 10px 30px rgba(46,203,255,.38),
    0 0 24px rgba(0,229,255,.28);

  display:flex;
  align-items:center;
  justify-content:center;
  transition:transform .2s ease, box-shadow .2s ease;
}

.chatbot_fab:hover{
  transform:translateY(-2px);
  box-shadow:
    0 0 0 1px rgba(255,255,255,.16) inset,
    0 14px 38px rgba(46,203,255,.42),
    0 0 30px rgba(0,229,255,.34);
}

.chatbot_fab_text{
  color:#fff;
  font-size:18px;
  font-weight:800;
  letter-spacing:-0.03em;
}

/* ===== 전체 패널 ===== */
.chatbot_panel{
  position:fixed;
  inset:0;
  z-index:100000;
  display:none;
}

.chatbot_panel.is-open{
  display:block;
}

.chatbot_dim{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.28);
  opacity:0;
  transition:opacity .25s ease;
}

.chatbot_panel.is-open .chatbot_dim{
  opacity:1;
}

/* ===== 채팅 박스 ===== */
.chatbot_box{
  position:absolute;
  right:118px;
  bottom:270px;
  width:390px;
  height:560px;
  border-radius:28px;
  overflow:hidden;

  background:
    radial-gradient(circle at top left, rgba(46,203,255,.18), transparent 34%),
    radial-gradient(circle at bottom right, rgba(0,229,255,.14), transparent 30%),
    #0c1020;

  border:1px solid rgba(255,255,255,.10);
  box-shadow:
    0 20px 70px rgba(0,0,0,.46),
    0 0 40px rgba(46,203,255,.15);

  transform:translateY(16px) scale(.96);
  opacity:0;
  transition:transform .25s ease, opacity .25s ease;
}

.chatbot_panel.is-open .chatbot_box{
  transform:translateY(0) scale(1);
  opacity:1;
}

/* ===== 헤더 ===== */
.chatbot_header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:18px 18px 16px;
  background:linear-gradient(135deg, rgba(20,80,110,.96), rgba(10,50,80,.96));
  border-bottom:1px solid rgba(255,255,255,.08);
}

.chatbot_header_text{
  display:flex;
  flex-direction:column;
  gap:4px;
}

.chatbot_title{
  color:#fff;
  font-size:19px;
  font-weight:800;
  line-height:1.2;
}

.chatbot_subtitle{
  color:rgba(255,255,255,.72);
  font-size:12px;
  line-height:1.3;
}

.chatbot_close{
  width:38px;
  height:38px;
  border:none;
  border-radius:12px;
  cursor:pointer;
  flex-shrink:0;

  background:rgba(255,255,255,.08);
  color:#fff;
  font-size:24px;
  line-height:1;
}

/* ===== 본문 ===== */
.chatbot_body{
  height:calc(100% - 140px);
  padding:18px 16px;
  overflow-y:auto;
  box-sizing:border-box;
}

.chatbot_body::-webkit-scrollbar{
  width:8px;
}

.chatbot_body::-webkit-scrollbar-thumb{
  background:rgba(255,255,255,.14);
  border-radius:999px;
}

.chatbot_msg{
  max-width:84%;
  padding:13px 15px;
  margin-bottom:12px;
  border-radius:18px;
  font-size:14px;
  line-height:1.55;
  word-break:keep-all;
  letter-spacing:-0.02em;
}

.chatbot_msg.bot{
  background:rgba(255,255,255,.08);
  color:#fff;
  border-top-left-radius:8px;
}

.chatbot_msg.user{
  margin-left:auto;
  background:linear-gradient(135deg,#2ecbff 0%, #6ee7ff 100%);
  color:#fff;
  border-top-right-radius:8px;
  box-shadow:0 8px 20px rgba(46,203,255,.26);
}

.chatbot_quick_wrap{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:6px;
  justify-content:center;
}

.chatbot_quick_btn{
  padding:10px 14px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.15);
  background:rgba(255,255,255,.08);
  color:#fff;
  font-size:13px;
  font-weight:600;
  cursor:pointer;
  transition:all .2s ease;
}

.chatbot_quick_btn:hover{
  background:rgba(46,203,255,.18);
  border-color:#2ecbff;
  transform:translateY(-1px);
}