/* ===== 해상도 구분 ===== */
/* +++++ 1024이하 / 1024이상 +++++ */

@charset "UTF-8";

/*:::::::::::::::::::::::::::여기부터 작업:::::::::::::::::::::::::::*/

html,
body {
  height: 100%;
  margin: 0;
  overflow: hidden; /* 전체 페이지에 스크롤 생기지 않도록 */
}

body,
#root {
  height: 100vh;
  height: 100dvh;
}

/* ===전체=== */
.all_wrap {
  display: flex;
  position: relative;
  min-width: 768px;
  height: 100dvh;
  background: linear-gradient(
    131deg,
    #eef1ff 0%,
    #e9f1ff 30.34%,
    #cdd6ff 60.67%
  );
}

.mobile_header {
  display: none;
}

/* ===왼쪽 패널=== */
.left_wrap {
  width: 260px;
  height: 100dvh;
  padding: 15px 0px 15px 0px;
  position: sticky; /* 스크롤 시 상단 고정 */
  top: 0;
  align-self: flex-start;
  transition: width 0.3s ease;
  /*overflow-x: hidden; 반응형일때 사용 테스트*/
}

.side {
  display: flex;
  flex-direction: column;
  position: relative;
  width: 100%;
  border: 0px solid blue;
}

.side_con {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0px 10px;
  height: calc(100vh - 130px);
  overflow: auto;
}

button.btn_side_toggle {
  position: absolute;
  top: 60px;
  left: 250px;
  width: 20px;
  height: 20px;
  background: #606cfd url("../images/ico_side_toggle.svg") no-repeat center;
  border-radius: 5px;
  z-index: 1;
  transition: all 0.3s ease;
  /* position: absolute;
	top: 0px;
	right: 0px;
	width: 20px;
	height: 20px;
	background: #606CFD url('../images/ico_side_toggle.svg') no-repeat center;
    border-radius: 5px;
	z-index: 1;
	transition: all 0.3s ease; */
}

/* btn_side_toggle 클릭 시 적용 */
button.btn_side_toggle.open {
  /* right: auto;
	left: 50%;
	transform: translateX(-50%); */
  left: 50px;
  background: #606cfd url("../images/ico_side_toggle_open.svg") no-repeat center;
}

.logo {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 100%;
  margin-bottom: 0px;
  text-align: center;
}

.logo a {
  display: block;
  width: 160px;
  height: 60px;
  background: url("../images/kobi.png") no-repeat center;
  background-size: contain;
  margin-top: 20px;
  margin-bottom: 10px;
}

.logo p {
  color: #454545;
  font-size: 16px;
  font-weight: 600;
  line-height: 20px;
}

button.btn_new_chat {
  flex-shrink: 0;
  width: 115px;
  height: 29px;
  margin-top: 15px;
  margin-bottom: 20px;
  padding-left: 13px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
  line-height: 14px;
  text-align: left;
  background-image:
    url("../images/ico_new_chat.svg"),
    linear-gradient(94deg, #5e71fc 4.09%, #933cfc 99.59%);
  background-repeat: no-repeat;
  background-position:
    right 10px center,
    center;
  background-size:
    17px auto,
    cover;
  box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.15);
  border-radius: 100px;
}

/* 왼쪽 목록 레이아웃 */
.lnb_list {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-bottom: 10px;
  padding: 0px 0px;
}

/*목록 도트 클릭 오픈레이어*/
.dot_menu {
  display: none;
  position: absolute;
  width: 120px;
  padding: 8px 5px;
  background: #fff;
  border: 1px solid #dddddd;
  border-radius: 8px;
  box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.13);
  /* white-space: nowrap; */
  z-index: 4;
}

.dot_menu ul {
  display: flex;
  flex-direction: column;
}

.dot_menu ul li {
  width: 100%;
}

.dot_menu ul li a {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  height: 32px;
  padding-left: 32px;
  border-radius: 6px;
}

.dot_menu ul li a.name {
  background: url("../images/ico_s_name.svg") no-repeat 7px center;
}
.dot_menu ul li a.save {
  background: url("../images/ico_s_save.svg") no-repeat 7px center;
}
.dot_menu ul li a.pin {
  background: url("../images/ico_s_pin.svg") no-repeat 7px center;
}
.dot_menu ul li a.del {
  background: url("../images/ico_s_del.svg") no-repeat 7px center;
  color: rgb(0, 0, 0, 0.5);
}

.dot_menu ul li a:hover.name {
  background: rgb(0, 0, 0, 0.05) url("../images/ico_s_name.svg") no-repeat 7px
    center;
}
.dot_menu ul li a:hover.save {
  background: rgb(0, 0, 0, 0.05) url("../images/ico_s_save.svg") no-repeat 7px
    center;
}
.dot_menu ul li a:hover.pin {
  background: rgb(0, 0, 0, 0.05) url("../images/ico_s_pin.svg") no-repeat 7px
    center;
}
.dot_menu ul li a:hover.del {
  background: rgb(0, 0, 0, 0.05) url("../images/ico_s_del.svg") no-repeat 7px
    center;
}

.dot_menu.open {
  display: block;
}

.lnb_list .title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  width: 100%;
  height: 32px;
  margin-bottom: 3px;
  padding: 0px 0px 0px 0px;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
  transform: translateY(0px); /* 살짝 위쪽으로 */
}

/* 접혔을 때 title 이동 */
.left_wrap.collapsed .lnb_list .title {
  transform: translateY(0px); /* 살짝 위쪽으로 */
}

.lnb_list .title .MenuText {
  display: flex;
  align-items: center;
  font-weight: 600;
}

.lnb_list .title .MenuText img {
  margin-right: 5px;
}

.lnb_ico {
  width: 24px;
  height: 24px;
  border-radius: 100px;
  margin-right: 5px;
  box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.15);
}

.ico_lnb1 {
  background-image:
    url("../images/ico_lnb01.svg"),
    linear-gradient(180deg, #4173fd 0%, #945ad7 100%);
  background-repeat: no-repeat;
  background-position: center;
}

.ico_lnb2 {
  background-image:
    url("../images/ico_lnb02.svg"),
    linear-gradient(180deg, #ff3880 0%, #fd7b4c 100%);
  background-repeat: no-repeat;
  background-position: center;
}

.lnb_list .title button.toggle {
  width: 18px;
  height: 18px;
  background: url("../images/ico_menu_toggle.svg") no-repeat center;
  transition: transform 0s ease;
  transform: scaleY(-1); /* 기본 */
}

/* 열림 상태 → 상하 반전 */
.lnb_list .title button.toggle.open {
  transform: scaleY(1);
}

.lnb_list ul {
  display: flex;
  flex-direction: column;
  height: 175px;
  overflow-y: auto;
  overflow-x: hidden;
}

/* .lnb_list .list_detail.hide {
    display: none;
} */

/* 초기 로딩 시 슬라이드 제거 */
.lnb_list .list_detail.no-transition {
  transition: none;
}

/* lnb_list 상세 영역 기본 상태 */
.lnb_list .list_detail {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s ease;
}

/* 열림 상태 */
.lnb_list .list_detail.open {
  /* JS에서 실제 높이(px) 지정 */
}

/* 토글 버튼 회전 (선택) */
.lnb_list .toggle {
  transition: transform 0.3s ease;
}

.lnb_list .toggle.open {
  transform: rotate(180deg);
}

/* lnb_list 목록 리스트 */
.lnb_list ul li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 32px;
  line-height: 32px;
  margin-bottom: 3px;
  padding: 1px 5px 0px 25px;
  background: url("../images/ico_lnb_dot.svg") no-repeat 10px 11px;
  border-radius: 8px;
}

.lnb_list ul li:hover {
  background: rgb(255, 255, 255, 0.6) url("../images/ico_lnb_dot.svg") no-repeat
    10px 11px;
}

.lnb_list ul li.on {
  background: rgb(255, 255, 255, 1) url("../images/ico_lnb_dot.svg") no-repeat
    10px 11px;
}

.lnb_list ul li.pin {
  /*저장대화 고정핀*/
  background: url("../images/ico_pin.svg") no-repeat 7px 9px;
}

.lnb_list ul li.pin:hover {
  background: rgb(255, 255, 255, 0.6) url("../images/ico_pin.svg") no-repeat 7px
    9px;
}

.lnb_list ul li.pin.on {
  /*저장대화 고정핀*/
  background: rgb(255, 255, 255, 1) url("../images/ico_pin.svg") no-repeat 7px
    9px;
}

.lnb_list ul li a {
  display: block;
  width: calc(100% - 22px);
  height: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lnb_list ul li button.dot {
  width: 22px;
  height: 22px;
  background: url("../images/ico_more_dot.svg") no-repeat center;
  border-radius: 5px;
}

.lnb_list ul li button.dot:hover {
  background: rgb(0, 0, 0, 0.05) url("../images/ico_more_dot_on.svg") no-repeat
    center;
}

.list_more_wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 10px;
}

.list_more_wrap button {
  display: flex;
  width: 80px;
  height: 22px;
  padding: 2px 0px 0px 15px;
  background: #ffffff url("../images/ico_plus_bk.svg") no-repeat right 13px
    center;
  border: 1px solid rgb(0, 0, 0, 0.15);
  border-radius: 100px;
  font-size: 13px;
}

.bottom_user {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: absolute;
  left: 0px;
  bottom: 0px;
  /*width: 100%;*/
  width: 260px;
  padding: 15px 0px;
  font-size: 13px;
  text-align: center;
  background: #e1e9ff;
  /* background: linear-gradient(180deg, rgb(216, 225, 255, 0) 0%, rgb(216, 225, 255, .3) 70%, rgb(216, 225, 255, .5) 100%); */
  border-top: 1px solid rgb(0, 0, 0, 0.06);
  z-index: 1;
}

.usage_info {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: calc(100% - 15px);
  padding: 0px 5px 8px 5px;
}

.usage_item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.usage_label {
  flex-shrink: 0;
  font-size: 11px;
  color: rgb(0, 0, 0, 0.5);
  width: 58px;
}

.usage_bar_wrap {
  flex: 1;
  height: 5px;
  background: rgb(0, 0, 0, 0.1);
  border-radius: 3px;
  overflow: hidden;
}

.usage_bar {
  height: 100%;
  background: #5674e0;
  border-radius: 3px;
  transition: width 0.3s ease;
}

.usage_percent {
  flex-shrink: 0;
  font-size: 11px;
  color: rgb(0, 0, 0, 0.5);
  width: 32px;
  text-align: right;
}

.bottom_user .user_circle {
  width: 34px;
  height: 34px;
  margin-right: 10px;
  background: rgb(255, 255, 255, 0.7) url("../images/ico_user.svg") no-repeat
    center;
  background-size: 16px;
  border-radius: 35px;
}

.bottom_user .user_info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  line-height: 14px;
}

.bottom_user .name {
  display: flex;
  align-items: center;
  height: 20px;
}

.bottom_user .name span.line {
  width: 1px;
  height: 10px;
  margin: 0px 6px;
  background: #bcbcbc;
}

.bottom_user p.number {
  color: rgb(0, 0, 0, 0.5);
}

/* ===left_wrap 축소와 레이아웃 변경=== */
.left_wrap.collapsed {
  padding: 15px 0px 15px 0px;
  width: 60px;
  border: 0px solid red;
}

.left_wrap.collapsed .logo {
  margin-top: 15px;
  margin-bottom: 10px !important;
}

.left_wrap.collapsed .logo a {
  width: 40px;
  height: 26px;
  background: url("../images/kobi.png") no-repeat center;
  background-size: contain;
  margin-bottom: 10px;
}

.left_wrap.collapsed .logo p {
  display: none;
}

.left_wrap.collapsed .kland_logo {
  margin-top: 15px;
  margin-bottom: 10px !important;
}

.left_wrap.collapsed .kland_logo a {
  width: 40px;
  height: 26px;
  background: url("../images/kland.svg") no-repeat center;
  background-size: contain;
  margin-bottom: 10px;
}

.left_wrap.collapsed .kland_logo p {
  display: none;
}

.left_wrap.collapsed button.btn_new_chat {
  width: 24px;
  height: 24px;
  margin-bottom: 18px;
  font-size: 0;
  background-image:
    url("../images/ico_new_chat.svg"),
    linear-gradient(94deg, #5e71fc 4.09%, #933cfc 99.59%);
  background-repeat: no-repeat;
  background-position: center;
  background-size:
    18px auto,
    cover;
}

.left_wrap.collapsed .lnb_list .title .MenuText span,
.left_wrap.collapsed .lnb_list .title button.toggle,
.left_wrap.collapsed .lnb_list .title .MenuText button.more.save,
.left_wrap.collapsed .lnb_list .list_detail {
  display: none;
}

.left_wrap.collapsed .lnb_list .title .MenuText .lnb_ico {
  cursor: pointer;
  margin-right: 0px;
}

.left_wrap.collapsed .lnb_list {
  padding: 0px 8px;
  border: 0px solid red;
}

.left_wrap.collapsed .bottom_user .name,
.left_wrap.collapsed .bottom_user p.number {
  display: none;
}

.left_wrap.collapsed .usage_info {
  display: none;
}

.left_wrap.collapsed .bottom_user {
  width: 100%;
}

.left_wrap.collapsed .bottom_user .user_circle {
  margin-right: 0px;
}

.left_wrap.collapsed .bottom_user_con {
  display: none;
}

/* ===가운데 패널=== */
.center_wrap {
  position: relative;
  flex: 1;
  padding: 15px 15px 15px 0px;
  display: flex;
  justify-content: center;
}

/*화이트라운드박스:스크롤안쪽으로 넣기 위함*/
.center_con {
  display: flex;
  flex-direction: column;
  width: 100%;
  border: 0px solid red;
  padding: 0px 15px;
  background: #ffffff;
  border-radius: 10px;
  height: calc(100dvh - 30px);
}

/* 가운데 화이트 박스 브라우저내부 스크롤 적용 */
.center_area {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  width: 100%;
  height: 100dvh;
  overflow: hidden;
  border: 0px solid red;
}

/* 가운데 화이트 박스 기본 */
/* .center_area {
	display: flex;
	flex-direction: column;
	width: 100%;
	height: 100%;
	background: #ffffff;
	border-radius: 10px;
} */

/* ===오른쪽 패널=== */

/* ===챗메인영역=== */
/* ===챗메인영역=== */
.chat_wrap {
  width: 700px;
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.chat_messages_area {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 0;
  height: 100vh;
}

.chat_main {
  display: none;
}

/* ===챗박스 하단 전체 영역=== */
.chat_bottom_full {
  display: flex;
  justify-content: center;
  position: relative;
  width: 100%;
  flex-shrink: 0;
}

.chat_bottom_wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  position: relative;
  margin: 0 auto;
  width: 700px;
  padding: 0px 0px 20px 0px;
  background: #ffffff;
  border: 0px solid red;
}

.caht_top_gradient {
  position: absolute;
  top: -20px;
  left: 0;
  width: 100%;
  height: 20px;
  background: linear-gradient(to top, #ffffff 0%, transparent 100%);
  z-index: 1;
}

/* ===챗박스=== */
.chat_box {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 20px;
  /* border: 2px solid #4285F4; */
  border: 2px solid transparent; /* 중요 */
  border-radius: 20px;
  box-shadow: 0 0 25px 0 rgba(0, 0, 0, 0.15);
  background:
    linear-gradient(#fff, #fff) padding-box,
    /* 안쪽 배경 */
    linear-gradient(145deg, #1d92ff 0%, #945ad7 50%, #933cfc 100%) border-box; /* 테두리 */
  background-clip: padding-box, border-box;
  position: relative;
}

/* ===챗드래그영역=== */
.chat_box .drag_overlay {
  position: absolute;
  top: 0px;
  left: 0px;
  right: 0px;
  bottom: 0px;

  border: 2px dashed #4a90e2;
  border-radius: 18px;
  background-color: rgba(74, 144, 226, 0.1);

  display: flex;
  justify-content: center;
  align-items: center;
  color: #4a90e2;
  font-weight: bold;
  font-size: 1rem;

  user-select: none;
  pointer-events: none;
  box-sizing: border-box;
}

/* ===챗Textarea=== */
#chatTextarea {
  width: 100%;
  margin-bottom: 10px;
  min-height: 30px; /* 기본 높이 */
  max-height: 300px; /* 최대 높이, 스크립트도 같이 수정 */
  resize: none; /* 사용자가 직접 크기 변경 못하게 */
  overflow-y: auto;
  padding: 0px;
  font-size: 16px;
  font-weight: 400;
  line-height: 18px;
  border-radius: 0px;
  border: 0;
}

/* ===하단 콤보 영역=== */
.chat_combo_wrap {
  display: flex;
  align-items: center;
  /* justify-content: space-between; */
  width: 100%;
  height: 32px;
  /* background: #cecece; */
}
.combo_set_body {
  display: flex;
  flex: 1;
  gap: 4px;
}
.combo_set {
  display: flex;
  align-items: center;
}

.combo_set .icon {
  width: 28px;
  height: 28px;
  background: url("../images/ico_combo.svg") no-repeat center;
  background-size: cover;
}

/* 기본 숨김 */
.combo_set ul.multi_layer {
  display: none;
}

/* 열림 상태 */
.combo_set ul.multi_layer.open {
  display: block;
}

.combo_set button.multi {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  position: relative;
  height: 32px;
  margin-right: 5px;
  padding: 0px 16px 1px 16px;
  font-size: 15px;
  font-weight: 600;
  border: 2px solid transparent;
  border-radius: 100px;
  background:
    linear-gradient(#fff, #fff),
    /* 안쪽 배경 */
    linear-gradient(145deg, #1d92ff 0%, #945ad7 50%, #933cfc 100%);
  background-clip: padding-box, border-box; /*필수*/
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.combo_set button.multi span.arrow {
  width: 12px;
  height: 7px;
  background: url("../images/ico_down_bk.svg") no-repeat center;
  transition: transform 0s ease;
}

/* 토글 열림 상태 */
.combo_set button.multi.open span.arrow {
  transform: scaleY(-1);
}

/*멀티 오픈 레이어*/
ul.multi_layer {
  position: absolute;
  bottom: 37px;
  width: 230px;
  max-height: 320px;
  overflow-y: auto;
  padding: 9px 15px;
  background: #ffffff;
  border: 1px solid #dddddd;
  border-radius: 8px;
  box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.13);
  z-index: 2;
  cursor: default;
}

ul.multi_layer li {
  display: inline-block;
  width: 100%;
  margin: 6px 0px;
}

ul.multi_layer li a {
  display: flex;
  flex-direction: column;
  width: 100%;
}

/*li 비활성, a 접근금지마크*/
ul.multi_layer li.disabled {
  cursor: not-allowed;
  opacity: 0.3;
}

ul.multi_layer li a.disabled {
  pointer-events: none;
}

ul.multi_layer li a .model {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2px;
  font-size: 14px;
  font-weight: 600;
  color: #222222;
}

ul.multi_layer li a .check {
  width: 16px;
  height: 16px;
  background: url("../images/ico_combo_ch.svg") no-repeat center;
}

/* 기본: 체크 숨김 */
.combo_set ul.multi_layer .check {
  display: none;
}

/* 선택된 항목만 체크 표시 */
.combo_set ul.multi_layer li.active .check {
  display: block;
}

ul.multi_layer li a .model_txt {
  font-size: 12px;
  font-weight: 400;
  color: #8c8c8c;
  text-align: left;
}

/*웹검색 버튼*/
/*멀티 오픈 레이어*/
ul.multi_layer.large {
  left: 0 !important;
}
ul.multi_layer.small {
  width: 180px;
  right: 0 !important;
}

/*웹검색 버튼 활성*/
.combo_set button.web {
  display: flex;
  align-items: center;
  position: relative;
  height: 32px;
  padding: 0px 10px 1px 30px;
  font-size: 15px;
  font-weight: 600;
  border: 2px solid transparent; /* border-box 사용 시 필요 */
  /* 배경 순서 수정: 이미지가 맨 위로 오도록 */
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(145deg, #1d92ff 0%, #945ad7 50%, #933cfc 100%) border-box;
  /*background-size: 24px 24px, auto, auto;*/ /* 이미지 크기, 안쪽/테두리 그라데이션 크기 */
  border-radius: 100px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.combo_set button.web.ai-web-search {
  background:
    url("../images/ico_web_search.svg") no-repeat 5px center,
    linear-gradient(#fff, #fff) padding-box,
    /* 안쪽 배경 */
    linear-gradient(145deg, #1d92ff 0%, #945ad7 50%, #933cfc 100%) border-box; /* 테두리 그라데이션 */
}

.combo_set button.web.sonar-search {
  background:
    url("../images/ico_sonar_search.svg") no-repeat 5px center,
    linear-gradient(#fff, #fff) padding-box,
    /* 안쪽 배경 */
    linear-gradient(145deg, #1d92ff 0%, #945ad7 50%, #933cfc 100%) border-box; /* 테두리 그라데이션 */
}

.combo_set button.web.goover-search {
  background:
    url("../images/ico_goover_search.svg") no-repeat 5px center,
    linear-gradient(#fff, #fff) padding-box,
    /* 안쪽 배경 */
    linear-gradient(145deg, #1d92ff 0%, #945ad7 50%, #933cfc 100%) border-box; /* 테두리 그라데이션 */
}

/*웹검색 버튼 비활성:투명도 적용*/
.combo_set button.web.disabled {
  width: 32px;
  border: 2px solid transparent; /* border-box 사용 시 필요 */
  background:
    url("../images/ico_web_search_disabled.svg") no-repeat 5px center,
    /* 아이콘 이미지 */ linear-gradient(#fff, #fff) padding-box,
    /* 안쪽 배경 */
    linear-gradient(
        145deg,
        rgba(29, 146, 255, 0.3) 0%,
        rgba(148, 90, 215, 0.3) 50%,
        rgba(147, 60, 252, 0.3) 100%
      )
      border-box; /* 테두리 그라데이션 + 50% 투명도 */
}

.combo_set button.web span.web_text {
  margin: 0;
  font-size: 15px;
  font-weight: 600 !important;
}

/* 전송버튼 */
button.btn_send {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background:
    url("../images/ico_send.svg") no-repeat center,
    linear-gradient(
      180deg,
      rgba(65, 115, 253, 0.6) 0%,
      rgba(148, 90, 215, 0.6) 100%
    );
  border-radius: 32px;
}

/* 전송버튼 활성화 */
button.btn_send.active {
  background:
    url("../images/ico_send.svg") no-repeat center,
    linear-gradient(
      180deg,
      rgba(65, 115, 253, 1) 0%,
      rgba(148, 90, 215, 1) 100%
    );
}

/* 전송버튼 */
a.btn_send {
  width: 32px;
  height: 32px;
  background:
    url("../images/ico_send.svg") no-repeat center,
    linear-gradient(
      180deg,
      rgba(65, 115, 253, 0.6) 0%,
      rgba(148, 90, 215, 0.6) 100%
    );
  border-radius: 32px;
}

/* 전송버튼 활성화 */
a.btn_send.active {
  background:
    url("../images/ico_send.svg") no-repeat center,
    linear-gradient(
      180deg,
      rgba(65, 115, 253, 1) 0%,
      rgba(148, 90, 215, 1) 100%
    );
}

/* 멈춤버튼 */
button.btn_stop {
  width: 32px;
  height: 32px;
  background:
    url("../images/ico_stop.svg") no-repeat center,
    linear-gradient(
      180deg,
      rgba(65, 115, 253, 0.6) 0%,
      rgba(148, 90, 215, 0.6) 100%
    );
  border-radius: 32px;
}

button.btn_stop:hover {
  width: 32px;
  height: 32px;
  background:
    url("../images/ico_stop.svg") no-repeat center,
    linear-gradient(
      180deg,
      rgba(65, 115, 253, 1) 0%,
      rgba(148, 90, 215, 1) 100%
    );
  border-radius: 32px;
}

/* 하단으로 이동 버튼 */
button.btn_bottom {
  display: none;
  position: absolute; /* .chat_bottom_wrap 기준 */
  top: -30px;
  width: 35px;
  height: 35px;
  background: #ffffff url("../images/ico_bottom.svg") no-repeat center;
  background-size: 45%;
  border: 1px solid #b9b9b9;
  border-radius: 100px;
  box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2);
  z-index: 2;
  opacity: 1; /* 처음 숨김 */
  transition: opacity 0.3s ease;
}

/* === 초기화면 === */
.chat_intro_con {
  display: flex;
  flex-direction: column;
}

/*상단 웰컴*/
.greeting_wrap {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: 5vh;
  padding: 0px 100px;
  border: 0px solid blue;
  margin-bottom: 50px;
}

.greeting_con {
  display: flex;
  flex-direction: column;
  position: relative;
  border: 0px solid red;
  width: 100%;
  margin-top: 150px;
}

.greeting_con img {
  position: absolute;
  left: 0;
  bottom: 0;
}

.welcome {
  width: 100%;
  margin-bottom: 5px;
  padding: 0px 0px 0px 100px;
}

.welcome h3 {
  font-size: 25px;
}

.welcome span {
  font-size: 19px;
  color: rgb(0, 0, 0, 0.4);
}

.welcome_txt {
  width: 100%;
  padding: 10px 0px 10px 100px;
  font-size: 25px;
  color: #ffffff;
  letter-spacing: -0.05em;
  background: #606cfd;
  border-radius: 100px;
  box-shadow: 0 0 25px 0 rgba(0, 0, 0, 0.15);
}

.welcome_txt span {
  font-weight: 600;
}

/* ==== 추천질문 ==== */
.recommend {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.recommend h3 {
  display: flex;
  align-items: flex-end;
  height: 31px;
  padding-left: 40px;
  font-size: 20px;
  background: url("../images/ico_pick.svg") no-repeat left center;
}

/*추천질문 리스트*/
.recommend_list {
  position: relative;
  padding: 15px 0px 20px;
  border: 0px solid red;
}

.recommend_list ul {
  display: flex;
  flex-direction: column;
}

.recommend_list ul li {
  display: flex;
  justify-content: flex-start;
  padding-right: 10px;
  margin: 4px 0px;
}

.recommend_list ul li a {
  position: relative;
  display: inline-block;
  /*width: calc(100% - 8px);*/
  padding: 10px 20px 8px;
  font-size: 16px;
  letter-spacing: -0.05em;
  border-radius: 10px 10px 0px 10px;
  word-break: keep-all;
  overflow-wrap: break-word;
  z-index: 0;
}

.recommend_list ul li span.shape {
  position: absolute;
  right: -8px;
  bottom: -2px;
  width: 9px;
  height: 10px;
  z-index: 1;
}

/*각질문 shape 색상*/
.recommend_list ul li span.shape.sh1 {
  background: url("../images/sh1.svg") no-repeat;
}
.recommend_list ul li span.shape.sh2 {
  background: url("../images/sh2.svg") no-repeat;
}
.recommend_list ul li span.shape.sh3 {
  background: url("../images/sh3.svg") no-repeat;
}
.recommend_list ul li span.shape.sh4 {
  background: url("../images/sh4.svg") no-repeat;
}
.recommend_list ul li span.shape.sh5 {
  background: url("../images/sh5.svg") no-repeat;
}
.recommend_list ul li span.shape.sh6 {
  background: url("../images/sh6.svg") no-repeat;
}

/*각질문 색상*/
.recommend_list ul li a.col1 {
  background: #f2f8ff;
  border: 1px solid #cee3fe;
}

.recommend_list ul li a.col2 {
  background: #faf5ff;
  border: 1px solid #ebd9fe;
}

.recommend_list ul li a.col3 {
  background: #edfbfe;
  border: 1px solid #baf1fa;
}

.recommend_list ul li a.col4 {
  background: #fef4f9;
  border: 1px solid #fbd4e8;
}

.recommend_list ul li a.col5 {
  background: #eff1fc;
  border: 1px solid #c2caf3;
}

.recommend_list ul li a.col6 {
  background: #fff6ef;
  border: 1px solid #feddc2;
}

.recommend_list .dot_top {
  position: absolute;
  right: 0;
  top: 0;
  width: 27px;
  height: 6px;
  background: url("../images/recommend_dot.svg") no-repeat;
}

.recommend_list .dot_bottom {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 27px;
  height: 6px;
  background: url("../images/recommend_dot.svg") no-repeat;
}

/* ===질문/답변 화면=== */
.chat_con_area {
  display: flex;
  flex-direction: column;
  padding: 30px 0;
  margin: 0 30px;
}

.data_import {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  padding: 140px 0px;
  border: 1px solid #cecece;
  border-radius: 15px;
}

.brd {
  border: 1px solid red;
}

/*제목+버튼*/
.chat_title {
  display: flex;
  justify-content: space-between;
  min-height: 40px;
  padding-top: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgb(0, 0, 0, 0.1);
  background: #ffffff;
  flex-shrink: 0;
}

.chat_title .title_place {
  display: flex;
  flex: 1;
  min-width: 0;
  margin-right: 10px;
  padding-left: 42px;
  font-size: 17px;
  font-weight: 600;
  background: url("../images/ico_chat_title.svg") no-repeat left 0px;
  background-size: 32px;
  word-break: keep-all;
}

/*질문답변화면 상단 타이틀 textarea*/
textarea.title_edit {
  position: relative;
  top: -2px;
  flex: 1;
  min-width: 0;
  width: 100%;
  min-height: 38px;
  height: 36px;
  padding: 8px 10px;
  background: rgb(0, 0, 0, 0.03);
  border: 1px solid #ffffff;
  border-radius: 0px 15px 15px 15px;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.3;
  resize: none;
  overflow-y: hidden;
  cursor: not-allowed;
}

textarea.title_edit.on {
  background: rgb(0, 0, 0, 0);
  border: 1px solid #606cfd;
  cursor: auto;
}

.chat_title .title_place p {
  position: relative;
  top: 5px;
  padding-bottom: 10px;
}

.chat_title .btn_area {
  display: flex;
}

.chat_title button {
  width: 28px;
  height: 28px;
  margin-left: 0px;
  border-radius: 100px;
}

.chat_title button.editBt {
  background: url("../images/ico_edit.svg") no-repeat center;
}
.chat_title button.saveBt {
  background: url("../images/ico_save.svg") no-repeat center;
}
.chat_title button.delBt {
  background: url("../images/ico_del.svg") no-repeat center;
}

.chat_title button.editBt.on {
  background: url("../images/ico_edit_on.svg") no-repeat center;
}
.chat_title button.saveBt.on {
  background: url("../images/ico_save_on.svg") no-repeat center;
}
.chat_title button.delBt.on {
  background: url("../images/ico_del_on.svg") no-repeat center;
}

/* .chat_title button.editBt:hover {background:rgb(0, 0, 0, .06) url('../images/ico_edit.svg') no-repeat center;}
.chat_title button.saveBt:hover {background:rgb(0, 0, 0, .06) url('../images/ico_save.svg') no-repeat center;}

.chat_title button.editBt.on:hover {background:rgb(0, 0, 0, .06) url('../images/ico_edit_on.svg') no-repeat center;}
.chat_title button.saveBt.on:hover {background:rgb(0, 0, 0, .06) url('../images/ico_save_on.svg') no-repeat center;} */

.chat_title .btn_area_wrap {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

/* 자동스크롤 토글 */
.auto_scroll {
  display: flex;
  align-items: center;
  flex-direction: column;
  flex-shrink: 0;
  margin-left: 10px;
}

.auto_scroll p.title {
  font-weight: 600;
  white-space: nowrap;
}

.auto_scroll .toggle_switch_wrap p {
  width: 39px;
  margin-right: 0;
  white-space: nowrap;
  text-align: center;
}

.auto_scroll .state-off {
  display: none;
}

.auto_scroll .toggle_switch_wrap.is-off .state-on {
  display: none;
}

.auto_scroll .toggle_switch_wrap.is-off .state-off {
  display: block;
}

/*나의질문*/
.chat_my_wrap {
  display: flex;
  flex-direction: row-reverse;
  margin-bottom: 20px;
}

.chat_my_wrap span.ico {
  display: inline-block;
  width: 32px;
  height: 32px;
  margin-left: 10px;
  background: #f1f1fe url("../images/ico_user.svg") no-repeat center;
  border-radius: 100px;
}

.chat_my_wrap .chat_my_area {
  display: inline-block;
  width: calc(100% - 42px);
  text-align: right;
}

.chat_my_wrap p {
  display: inline-block;
  padding: 10px 15px;
  font-size: 16px;
  border-radius: 15px 0px 15px 15px;
  background: #f1f1fe;
  word-break: keep-all;
  text-align: left;
}

/*답변중입니다 로딩*/
.loading {
  display: flex;
  align-items: center;
  margin-top: 7px;
}

.loading svg {
  width: 30px;
}

.loading span {
  position: relative;
  top: 0px;
  margin-left: 8px;
  font-size: 15px;
  color: rgb(0, 0, 0, 1);
}

/*서포터답변*/
.chat_assist_wrap {
  display: flex;
  margin-bottom: 20px;
}

.chat_assist_wrap span.ico {
  display: inline-block;
  flex-shrink: 0;
  width: 32px;
  height: 42px;
  margin-right: 10px;
  background: url("../images/ico_talk.svg") no-repeat left top;
  background-size: 100%;
}

.chat_assist_wrap .chat_assist_area {
  display: inline-block;
  width: calc(100% - 47px);
}

.chat_assist_wrap p {
  display: inline-block;
  padding-top: 15px;
  font-size: 16px;
  word-break: keep-all;
}

.chat_assist_column {
  display: flex;
  flex-direction: column;
}

.feed_wrap {
  display: flex;
  position: relative;
  margin-bottom: 20px;
}

.feed_wrap button {
  width: 28px;
  height: 28px;
  margin-right: 2px;
  border-radius: 100px;
}

.feed_wrap button.likeBt {
  background: url("../images/ico_like.svg") no-repeat center;
}
.feed_wrap button.likeBt.on {
  background: url("../images/ico_like_on.svg") no-repeat center;
}

.feed_wrap button.hateBt {
  background: url("../images/ico_hate.svg") no-repeat center;
}
.feed_wrap button.hateBt.on {
  background: url("../images/ico_hate_on.svg") no-repeat center;
}

.feed_wrap button.copyBt {
  background: url("../images/ico_copy.svg") no-repeat center;
}
.feed_wrap button.copyBt.on {
  background: url("../images/ico_copy_on.svg") no-repeat center;
}
.feed_wrap button.fileSaveBt {
  background: url("../images/ico_file_save.svg") no-repeat center;
}
.feed_wrap button.printBt {
  background: url("../images/ico_print.svg") no-repeat center;
}
.feed_wrap button.copyHtmlBt {
  background: url("../images/ico_copy_html_v.svg") no-repeat center;
}
.feed_wrap button.copyHtmlBt.on {
  background: url("../images/ico_copy_on.svg") no-repeat center;
}

/* .feed_wrap button.likeBt:hover {background: rgb(0, 0, 0, .06) url('../images/ico_like.svg') no-repeat center;}
.feed_wrap button.hateBt:hover {background: rgb(0, 0, 0, .06) url('../images/ico_hate.svg') no-repeat center;}
.feed_wrap button.copyBt:hover {background: rgb(0, 0, 0, .06) url('../images/ico_copy.svg') no-repeat center;}

.feed_wrap button.likeBt.on:hover {background: rgb(0, 0, 0, .06) url('../images/ico_like_on.svg') no-repeat center;}
.feed_wrap button.hateBt.on:hover {background: rgb(0, 0, 0, .06) url('../images/ico_hate_on.svg') no-repeat center;}
.feed_wrap button.copyBt.on:hover {background: rgb(0, 0, 0, .06) url('../images/ico_copy_on.svg') no-repeat center;} */

.feed_wrap button.sourceBt {
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 120px;
  height: 28px;
  margin-left: 10px;
  border-radius: 100px;
  background: #eff1fc;
  border: 1px solid #c2caf3;
}

.feed_wrap button.sourceBt.on {
  background: #eff1fc;
  border: 1px solid #c2caf3;
}

.feed_wrap button span.mark {
  width: 18px;
  height: 18px;
  margin-left: 3px;
  background: url("../images/ico_mark.svg") no-repeat;
}

.feed_wrap .model_label {
  display: flex;
  align-items: center;
  margin-left: 8px;
  padding: 0 10px;
  height: 28px;
  border-radius: 100px;
  background: #f5f5f5;
  font-size: 11px;
  color: #888;
  white-space: nowrap;
}

/* ===관련질의=== */
.que_wrap {
  margin-top: 5px;
}

.que_wrap p {
  margin-bottom: 8px;
  font-weight: 600;
  padding: 0px 0px 0px 20px;
  line-height: 18px;
  background: url("../images/ico_que.svg") no-repeat left center;
}

.que_wrap ul {
  display: flex;
  flex-wrap: wrap; /* 줄바꿈 허용 */
  gap: 10px;
}

.que_wrap ul li {
  display: flex;
  /*width: calc(25% - 7.5px);*/ /* 한 줄 4개 */
  width: calc(33.3333% - 7.5px); /* 한 줄 3개 */
}

.que_wrap ul li a {
  width: 100%;
  height: 100%;
  padding: 10px;
  font-size: 14px;
  background: #f5f5f5;
  border: 1px solid #ebebeb;
  border-radius: 10px;
  word-break: keep-all;

  /* padding:0px;
	font-size: 14px;
	background: #f5f5f5;
	border:1px solid #EBEBEB;
	border-radius: 10px;

	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	overflow: hidden; */

  /*max-height: calc(1.4em * 3); /* 3줄 높이 고정 */
  /*word-break: break-word;*/
}

/* ===오른쪽 패널=== */
.right_wrap {
  display: flex;
  width: 0px;
  height: calc(100vh - 30px);
  /*height: calc(100dvh - 30px);*/
  padding: 0px;
  flex-shrink: 0;
  transition: width 0.3s ease;
  overflow: hidden;
  position: sticky; /* 브라우저 상단 고정 */
  top: 15px;
  align-self: flex-start;
}

/* 펼친 상태 */
.right_wrap.open {
  width: 365px; /*패널사이즈 조정 필수, .credit_con 같이 조정*/
}

/* 출처 버튼 영역 */
.credit_tab {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 35px;
  padding-top: 15px;
}

.btn_credit {
  position: absolute;
  top: 60px;
  right: 5px;
  width: 20px;
  height: 20px;
  background: #606cfd url("../images/ico_side_toggle.svg") no-repeat center;
  border-radius: 5px;
  z-index: 1;
}

/* btn_credit 클릭 시 적용 */
.btn_credit.active {
  /*right: -10px;*/
  background: #606cfd url("../images/ico_side_toggle_open.svg") no-repeat center;
}

/* 출처 데이터 영역 */

.credit_con {
  position: relative;
  width: 350px; /*패널사이즈 조정 필수*/
  margin-left: 0px;
  padding: 20px;
  background: #ffffff;
  border-radius: 10px;
}

.credit_con button.close {
  position: absolute;
  right: 20px;
  top: 20px;
  width: 20px;
  height: 20px;
  background: url("../images/ico_close_bk.svg") no-repeat center;
}

.credit_area {
  width: 315px;
}

h3.credit_tit {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  font-size: 15px;
  font-weight: 600;
  line-height: 16px;
}

h3.credit_tit span {
  display: flex;
  width: 5px;
  height: 16px;
  margin-right: 5px;
  background: linear-gradient(180deg, #4373fc 0%, #915bd8 100%);
  border-radius: 100px;
}

p.credit_tit_sub {
  margin-bottom: 5px;
  text-decoration: underline;
}

p.credit_tit_sub span {
  /* color:#145BB3;
	font-weight: 600; */
}

ul.credit_list {
  display: flex;
  flex-direction: column;
  height: calc(100vh - 110px);
  padding-right: 5px;
  overflow-y: auto;
  overflow-x: hidden;
}

ul.credit_list li a {
  display: flex;
  flex-direction: column;
  margin-bottom: 10px;
  padding: 10px;
  border: 1px solid #d9d9d9;
  border-radius: 8px;
}

.credit_detail_01 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  padding-bottom: 5px;
  border-bottom: 1px solid rgb(0, 0, 0, 0.1);
}

.credit_detail_01 .name {
  display: flex;
  align-items: center;
  width: calc(100% - 18px);
  font-weight: 600;
}

.credit_detail_01 .name p {
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.credit_detail_01 span.number {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 19px;
  height: 19px;
  margin-right: 5px;
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  text-align: center;
  border-radius: 5px;
}

.credit_detail_01 span.number.n1 {
  background: #1d92ff;
}
.credit_detail_01 span.number.n2 {
  background: #5e71fc;
}
.credit_detail_01 span.number.n3 {
  background: #933cfc;
}
.credit_detail_01 span.number.n4 {
  background: #933cfc;
}
.credit_detail_01 span.number.n5 {
  background: #933cfc;
}
.credit_detail_01 span.number.n6 {
  background: #933cfc;
}
.credit_detail_01 span.number.n7 {
  background: #933cfc;
}
.credit_detail_01 span.number.n8 {
  background: #933cfc;
}
.credit_detail_01 span.number.n9 {
  background: #933cfc;
}
.credit_detail_01 span.number.n10 {
  background: #933cfc;
}
.credit_detail_01 span.number.n11 {
  background: #933cfc;
}
.credit_detail_01 span.number.n12 {
  background: #933cfc;
}
.credit_detail_01 span.number.n13 {
  background: #933cfc;
}
.credit_detail_01 span.number.n14 {
  background: #933cfc;
}
.credit_detail_01 span.number.n15 {
  background: #933cfc;
}
.credit_detail_01 span.number.n16 {
  background: #933cfc;
}
.credit_detail_01 span.number.n17 {
  background: #933cfc;
}
.credit_detail_01 span.number.n18 {
  background: #933cfc;
}
.credit_detail_01 span.number.n19 {
  background: #933cfc;
}
.credit_detail_01 span.number.n20 {
  background: #933cfc;
}
.credit_detail_01 span.number.n21 {
  background: #933cfc;
}
.credit_detail_01 span.number.n22 {
  background: #933cfc;
}
.credit_detail_01 span.number.n23 {
  background: #933cfc;
}
.credit_detail_01 span.number.n24 {
  background: #933cfc;
}
.credit_detail_01 span.number.n25 {
  background: #933cfc;
}
.credit_detail_01 span.number.n26 {
  background: #933cfc;
}
.credit_detail_01 span.number.n27 {
  background: #933cfc;
}
.credit_detail_01 span.number.n28 {
  background: #933cfc;
}
.credit_detail_01 span.number.n29 {
  background: #933cfc;
}
.credit_detail_01 span.number.n30 {
  background: #933cfc;
}

.credit_list li.focused > a {
  outline: 2px solid #606cfd;
  outline-offset: -2px;
  border-radius: 6px;
}

.credit_detail_01 .icon_link {
  width: 18px;
  height: 18px;
  background: url("../images/ico_link.svg") no-repeat center;
}

.credit_detail_02 {
  margin-bottom: 5px;
  font-size: 13px;
  font-weight: 600;
  display: -webkit-box;
  -webkit-line-clamp: 2; /* 2줄 표시 */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.credit_detail_03 {
  font-size: 13px;
  color: #6d6d6d;
  display: -webkit-box;
  -webkit-line-clamp: 4; /* 4줄 표시 */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

/*공통성질*/
/*버튼 공통*/
.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  min-width: 70px;
  height: 32px;
  margin: 0px 2px;
  padding: 0px 15px 0px 8px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 100px;
}

.btn.blue {
  color: #ffffff;
  background: #606cfd;
}

.btn.gray {
  color: rgb(0, 0, 0, 0.5);
  background: rgb(0, 0, 0, 0.04);
  border: 1px solid #d7d7d7;
}

.btn.red {
  color: #ffffff;
  background: #f04444;
}

.btn span {
  width: 18px;
  height: 18px;
  margin-left: 7px;
}

/*아이콘모양*/
.btn span.right_ar {
  width: 10px;
  height: 18px;
  background: url("../images/bt_ar_wh.svg") no-repeat center;
}

.btn span.check_wh {
  width: 12px;
  height: 12px;
  margin-right: 5px;
  background: url("../images/ico_check_wh.svg") no-repeat center;
}

.btn span.cancle_gr {
  width: 12px;
  height: 12px;
  margin-right: 5px;
  background: url("../images/ico_cancle_gr.svg") no-repeat center;
}

.btn span.cancle_wh {
  width: 12px;
  height: 12px;
  margin-right: 5px;
  background: url("../images/ico_cancle_wh.svg") no-repeat center;
}

.btn span.trash_wh {
  width: 14px;
  height: 14px;
  margin-right: 5px;
  background: url("../images/ico_del_wh.svg") no-repeat center;
}

/*클릭 딤드 팝업*/
/* 공통 dimmed */
.dimmed,
.main_dimmed {
  position: fixed;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.7);
  z-index: 4;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  /* 핵심 */
  transition:
    opacity 0.3s ease,
    visibility 0s linear 0.3s;
}

.main_dimmed {
  z-index: 5;
}

.dimmed.show,
.main_dimmed.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;

  /* 열릴 때는 딜레이 없이 */
  transition:
    opacity 0.3s ease,
    visibility 0s linear 0s;
}

.dimmed {
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  background: rgb(0, 0, 0, 0.7);
  z-index: 4;
}

.popup_area,
.main_popup_area {
  position: relative;
  width: 650px;
  padding-top: 17px;
  border: 0px solid red;
  opacity: 0;
  transform: scale(0.95);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}

.popup_area.show,
.main_popup_area.show {
  opacity: 1;
  transform: scale(1);
}

button.pop_close {
  position: absolute;
  top: 0px;
  right: -17px;
  width: 34px;
  height: 34px;
  background: #ffffff url("../images/ico_close_bk.svg") no-repeat center;
  border-radius: 100px;
  box-shadow: 0 4px 4px rgb(0, 0, 0, 0.2);
  z-index: 1;
}

.popup_box {
  width: 100%;
  padding: 20px;
  border-radius: 20px;
  background: #ffffff;
}

.main_popup_box {
  position: relative;
  width: 100%;
  padding: 20px 20px 50px 20px;
  border-radius: 20px;
  background: #ffffff;
}

.password_popup_box {
  width: 50%;
  padding: 20px;
  border-radius: 20px;
  background: #ffffff;
}

/*최초팝업레이아웃*/
.security_wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 10px;
  font-size: 17px;
  font-weight: 600;
  text-align: center;
  word-break: keep-all;
}

.security_icon {
  display: flex;
  justify-content: center;
  margin-bottom: 5px;
}

.security_icon img {
}

.security_box {
  margin-bottom: 10px;
  padding: 10px 15px;
  border-radius: 10px;
  border: 1px solid rgba(96, 165, 250, 0.2);
  background: #f4f8fb;
}

.security_box ul {
  display: flex;
  flex-direction: column;
}

.security_box ul li {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  margin: 5px 0px;
  font-size: 16px;
}

.security_box ul li span.number {
  width: 18px;
  margin-top: 2px;
  color: rgb(0, 0, 0, 0.4);
  font-weight: 600;
}

.security_box ul li .txt {
  width: calc(100% - 18px);
  line-height: 1.5;
  word-break: keep-all;
  border: 0px solid red;
}

.security_box ul li .txt p {
  display: inline-block;
  position: relative;
  padding: 0px 0px 0px 11px;
  color: #2b47d3;
  font-weight: 600;
}

.security_box ul li .txt span.critical {
  position: absolute;
  top: -4px;
  left: 0px;
  width: 17px;
  height: 13px;
  background: url("../images/ico_critical.svg") no-repeat center;
}

.security_box .user {
  display: flex;
  justify-content: flex-end;
  margin-top: 10px;
}

.security_box .user .name {
  display: flex;
  align-items: center;
  font-weight: 600;
}

.security_box .user span.line {
  width: 1px;
  height: 10px;
  margin: 0px 6px;
  background: #bcbcbc;
}

.security_box .user p.number {
  margin-left: 4px;
  color: rgb(0, 0, 0, 0.5);
  font-weight: 400;
}

.security_bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: absolute;
  left: 0px;
  bottom: 0px;
  width: 100%;
  height: 50px;
  padding: 0px 20px;
  border-top: 1px solid rgb(0, 0, 0, 0.2);
}

.label_combo {
  display: flex;
  align-items: center;
  position: relative;
  top: -5px;
}

.label_combo span {
  position: relative;
  top: 3px;
}

/*FEED 팝업*/
.feed_title {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
  font-size: 15px;
}

.feed_title .txt {
  margin-top: 3px;
}

.feed_title span.ico {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  margin-right: 5px;
  border-radius: 100px;
}

.feed_title span.ico.like {
  background: #0866ff url("../images/ico_hand_like.svg") no-repeat center 4px;
}

.feed_title p.col_like {
  display: inline;
  margin-right: 3px;
  font-weight: 500;
  color: #0866ff;
}

.feed_title span.ico.hate {
  background: #ff3e7c url("../images/ico_hand_hate.svg") no-repeat center 6px;
}

.feed_title p.col_hate {
  display: inline;
  margin-right: 3px;
  font-weight: 500;
  color: #ff3e7c;
}

/*피드 탭*/
.feed_tab {
  display: flex;
  gap: 0;
  margin-bottom: 10px;
}

.feed_tab button {
  flex: 1; /* 버튼을 균등하게 꽉 채우기 */
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding-bottom: 1px;
  font-size: 14px;
  font-weight: 500;
  color: rgb(0, 0, 0, 0.4);
  background: #ffffff;
  border: 1px solid #cbcbcb;
  border-radius: 100px;
}

/* 가운데 버튼 좌우 5px 간격 */
.feed_tab button:nth-child(2) {
  margin: 0 5px;
}

.feed_tab.like button.on {
  color: #0866ff;
  border: 1px solid #0866ff;
}

.feed_tab.hate button.on {
  color: #ff3e7c;
  border: 1px solid #ff3e7c;
}

.feed_tab button span.check {
  width: 18px;
  height: 18px;
  margin-right: 5px;
  background: url("../images/ico_feed_ch_gr.svg") no-repeat center;
}

.feed_tab.like button.on span.check {
  width: 18px;
  height: 18px;
  margin-right: 5px;
  background: url("../images/ico_feed_ch_bl.svg") no-repeat center;
}

.feed_tab.hate button.on span.check {
  width: 18px;
  height: 18px;
  margin-right: 5px;
  background: url("../images/ico_feed_ch_re.svg") no-repeat center;
}

textarea.feed {
  height: 90px;
}

/*하단 버튼 영역*/
.btn_popup_wrap_center {
  display: flex;
  justify-content: center;
  margin-top: 15px;
}

/*미제공정보 알럿창*/
.caution_wrap {
  position: relative;
  width: 100%;
}

.caution_note {
  display: none; /* 처음에는 숨김 */
  position: absolute;
  left: 0px;
  bottom: 10px;
  width: 100%;
  padding: 15px 20px;
  background: #fff5f6;
  border: 2px solid #e9a79f;
  border-radius: 20px;
  z-index: 1;
}

.caution_note button.close {
  position: absolute;
  right: 15px;
  top: 13px;
  width: 20px;
  height: 20px;
  background: url("../images/ico_close_bk.svg") no-repeat center;
}

.caution_note .warning_area {
  display: flex;
  align-items: flex-start;
}

.caution_note .warning {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  top: -3px;
  width: 25px;
  height: 25px;
  margin-right: 10px;
  background: url("../images/ico_waring.svg") no-repeat center;
  background-size: cover;
}

.caution_note .txt {
  width: calc(100% - 65px);
}

.caution_note .txt p.bold {
  font-weight: 600;
}

.mo_menu .top {
  display: none;
}

/* ◆◆◆◆◆◆◆◆◆◆ 1024px 이하 ◆◆◆◆◆◆◆◆◆◆ */
@media (max-width: 1024px) {
  .bottom_fixed_prompt_wrap {
    display: none !important;
  }

  /* ===전체=== */
  .all_wrap {
    min-width: 100%;
    /*background: red;*/
  }

  /*모바일 헤더*/
  .mobile_header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 55px;
    padding: 0px 10px 0px 10px;
    background: #ffffff;
    border-bottom: 1px solid rgb(0, 0, 0, 0.08);
    z-index: 1;
  }

  .mo_header_left {
    display: flex;
    align-items: center;
  }

  .mo_header_left button.menu {
    width: 40px;
    height: 40px;
    margin-right: 5px;
    background: url("../images/btn_menu.svg") no-repeat center;
  }

  .mo_header_left a {
    display: flex;
    align-items: center;
  }

  .mo_header_left a p.logo {
    width: 40px;
    height: 26px;
    margin: auto 5px auto 0px;
    background: url("../images/kobi.png") no-repeat center;
    background-size: contain;
  }

  .mo_header_left a p {
    font-size: 13px;
    font-weight: 600;
    line-height: 15px;
  }

  button.btn_new_chat_mo {
    width: 40px;
    height: 40px;
    background: url("../images/ico_new_chat_bk.svg") no-repeat center;
    background-size: 20px;
  }

  /* 모바일 메뉴 */
  .mo_menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 260px;
    height: 100dvh;
    /* background: #e1e9ff; */
    /* background: linear-gradient(131deg, #EEF1FF 0%, #E9F1FF 30.34%, #CDD6FF 60.67%); */
    background: linear-gradient(
      to bottom,
      #eef1ff 0%,
      #eef1ff 50%,
      #e1e9ff 100%
    );
    border-bottom: 0px solid red;
    z-index: 3;

    transform: translateX(-100%);
    transition: transform 0.3s ease;
  }

  .mo_menu.open {
    transform: translateX(0);
  }

  .mo_menu .top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 55px;
    padding: 0px 13px 0px 15px;
    border-bottom: 1px solid rgb(0, 0, 0, 0.08);
  }

  .mo_menu .top a.logo {
    width: 40px;
    height: 26px;
    margin: auto 0px auto 0px;
    background: url("../images/kobi.png") no-repeat center;
    background-size: contain;
    border: 0px solid red;
  }

  .mo_menu .top button.close {
    width: 20px;
    height: 20px;
    background: url("../images/ico_close_bk.svg") no-repeat center;
    background-size: 15px;
    border: 0px solid red;
  }

  .mo_menu .left_wrap {
    padding: 0px 0px 0px 0px;
  }

  .mo_menu .left_wrap .side .side_con {
    padding: 0px 10px;
    height: calc(100dvh - 170px);
    overflow: auto;
  }

  .mo_menu .left_wrap .side .side_con .logo {
    /*모바일메뉴 안에서 강제 미노출*/
    display: none;
  }

  .mo_menu .left_wrap .side .side_con button.btn_new_chat {
    margin-top: 15px;
  }

  /* dimmed */
  .mo_dimmed {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
  }

  .mo_dimmed.show {
    opacity: 1;
    visibility: visible;
  }

  /* 스크롤 방지 */
  body.no-scroll {
    overflow: hidden;
  }

  .left_wrap {
    display: block; /* mo_menu 안에서는 보여야 함 */
    height: calc(100dvh - 60px);
  }

  /* ===왼쪽 패널=== */
  /* .left_wrap {
    display: none;
	overflow-x: hidden; 
} */

  /* ===가운데 패널=== */
  .center_wrap {
    position: relative;
    width: 100% !important;
    max-width: 100% !important;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 0;
  }

  /*화이트라운드박스:스크롤안쪽으로 넣기 위함*/
  .center_con {
    padding: 0;
    height: 100%;
    border-radius: 0;
  }

  .center_area {
    display: flex;
    flex-direction: column;
  }

  /* ===질문/답변 화면=== */
  .chat_con_area {
    display: flex;
    flex-direction: column;
    padding: 20px 0;
    margin: 0 20px;
  }

  /* ===챗메인영역=== */
  .chat_wrap {
    width: 100%;
    display: flex;
    flex-direction: column;
  }
  .chat_title {
    padding: 15px 20px 10px 20px;
  }

  .btn_side_toggle,
  .btn_credit {
    display: none;
  }

  /* ===챗박스 하단 전체 영역=== */
  .chat_bottom_wrap {
    bottom: 0px !important;
    transform: none !important;
    width: calc(100% - 40px) !important;
  }

  .chat_box {
    padding: 15px 20px;
  }

  .combo_set .icon {
    /* display: none; */
    width: 26px;
    height: 26px;
    background: url("../images/ico_combo.svg") no-repeat center;
    background-size: cover;
  }

  .combo_set button.multi {
    font-size: 15px;
    letter-spacing: -0.06em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .combo_set button.web span.web_text {
    font-size: 15px;
  }

  /* ===오른쪽 패널=== */
  /*1024px이하일때 이동된 right_wrap, 이하 레이어 조정*/
  .right_wrap {
    display: none !important; /* 공간 자체 제거 */
  }

  .feed_wrap .credit_con {
    display: none;
  }

  .move_credit_con {
    display: none;
  }

  .move_credit_con.show {
    display: block;
  }

  .move_credit_con .credit_con {
    display: block;
    width: 100%;
    margin-bottom: 20px;
    padding: 0px;
    border: 0px solid red;
    border-radius: 0px;
  }

  /*레이아웃 변동*/
  .move_credit_con .credit_con .credit_top_area {
    display: flex;
  }

  .move_credit_con .credit_con p.credit_tit_sub {
    margin-bottom: 7px;
    text-decoration: underline;
    margin-left: 5px;
  }

  .move_credit_con .credit_con .credit_area {
    width: 100%;
  }

  .move_credit_con .credit_con .credit_area ul.credit_list {
    display: flex;
    flex-direction: row;
    height: auto;
    padding: 0px;

    /* 가로 터치 스크롤 */
    overflow-x: auto;
    overflow-y: hidden;

    /* 모바일 터치 스크롤 */
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;

    /* (선택) 스크롤바 숨김 */
    scrollbar-width: none; /* Firefox */
  }

  .move_credit_con .credit_con .credit_area ul.credit_list::-webkit-scrollbar {
    display: none; /* Chrome, Safari */
  }

  .move_credit_con .credit_con .credit_area ul.credit_list li {
    margin-right: 10px;
  }

  .move_credit_con .credit_con .credit_area ul.credit_list li:last-child {
    margin-right: 0px;
  }

  .move_credit_con .credit_con .credit_area ul.credit_list li a {
    width: 180px;
    height: 160px;
    margin-bottom: 0px;
  }

  .move_credit_con .credit_con button.close {
    display: none !important;
  }

  .que_wrap ul {
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    gap: 10px;
    padding-bottom: 0px;

    /* 스크롤바 숨김 */
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .que_wrap ul::-webkit-scrollbar {
    display: none;
  }

  .que_wrap ul li {
    flex: 0 0 180px;
    list-style: none;
  }
}

/* 별도로 필요할때 추가*/
/* ◆◆◆◆◆◆◆◆◆◆ 1025px ~ 1380px ◆◆◆◆◆◆◆◆◆◆ */
@media (min-width: 1025px) and (max-width: 1380px) {
  /*오른쪽패널 열렸을때 위해서 부분 추가*/
  .chat_wrap {
    width: 97%;
  }

  .chat_bottom_wrap {
    width: 94%;
  }
}

/* 우측 패널 열렸을 때 top_control_btn 겹침 방지 */
.all_wrap.panel-open .chat_title {
  padding-right: 192px;
}

/* 패널 닫힘 + 좁은 뷰포트에서 top_control_btn 겹침 방지 */
@media (min-width: 1025px) and (max-width: 1405px) {
  .chat_title {
    padding-right: 210px;
  }
}

/* ◆◆◆◆◆◆◆◆◆◆ 1025px 이상 ◆◆◆◆◆◆◆◆◆◆ */
@media (min-width: 1025px) {
  /*공간차지해서 부분 추가*/
  .move_credit_con {
    display: none;
  }
}

/* ◆◆◆◆◆◆◆◆◆◆ 1380px 이하 ◆◆◆◆◆◆◆◆◆◆ */
@media (max-width: 1380px) {
  /*상단 웰컴*/
  .greeting_wrap {
    margin-top: 20px; /*조정*/
    padding: 0px 0px; /*조정*/
  }

  .greeting_con {
    width: 310px;
  }

  .greeting_con img {
    width: 75px;
  }

  .welcome {
    width: 100%;
    margin-bottom: 5px;
    padding: 0px 0px 0px 85px;
  }

  .welcome h3 {
    font-size: 18px;
  }

  .welcome span {
    font-size: 16px;
  }

  .welcome_txt {
    width: 100%;
    padding: 10px 0px 10px 85px;
    font-size: 16px;
    letter-spacing: -0.05em;
  }
}

/* ◆◆◆◆◆◆◆◆◆◆ 768px 이하 ◆◆◆◆◆◆◆◆◆◆ */
@media (max-width: 767px) {
  /*팝업사이즈 위해 부분 추가*/
  .popup_area,
  .main_popup_area {
    width: 85%;
  }

  /*피드 탭*/
  .feed_tab {
    display: flex;
    flex-direction: column;
  }

  /* 가운데 버튼 좌우 5px 간격 */
  .feed_tab button:nth-child(2) {
    margin: 5px 0px !important;
  }

  .security_wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 14px;
  }

  .security_icon img {
    width: 40px;
  }

  .security_box ul li {
    margin: 1px 0px;
    font-size: 14px;
  }

  span.main_security_txt {
    font-size: 13px;
  }

  .chat_box {
    padding: 15px 20px;
  }
}

/* =====================================================
   kamco_html_new 추가분 (기존 규칙 유지, 신규 규칙만 추가)
   ===================================================== */

/* ===== 기본 폰트 사이즈 변수 ===== */
.text_size_change {
  --chat-font-size: 14px; /*기본*/
}

/* ===== 하위 모든 요소에 강제 적용 ===== */
.text_size_change,
.text_size_change * {
  font-size: var(--chat-font-size) !important;
}

/*100% 수직수평가운데정렬*/
.center_100wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

/*왼쪽사용자정보오픈레이어*/
.user_menu {
  display: none;
  position: absolute;
  right: 0;
  bottom: 100%;
  margin-bottom: 5px;
  width: 120px;
  padding: 8px 5px;
  background: #fff;
  border: 1px solid #dddddd;
  border-radius: 8px;
  box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.13);
  z-index: 4;
}

.user_menu ul {
  display: flex;
  flex-direction: column;
}

.user_menu ul li {
  width: 100%;
}

.user_menu ul li a {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  height: 32px;
  padding-left: 32px;
  border-radius: 6px;
}

.user_menu ul li a.set {
  background: url("../images/ico_s_set.svg") no-repeat 7px center;
}
.user_menu ul li a.edit {
  background: url("../images/ico_s_name.svg") no-repeat 7px center;
}
.user_menu ul li a.logout {
  background: url("../images/ico_s_logout.svg") no-repeat 7px center;
}

.user_menu ul li a:hover.set {
  background: rgb(0, 0, 0, 0.05) url("../images/ico_s_set.svg") no-repeat 7px
    center;
}
.user_menu ul li a:hover.edit {
  background: rgb(0, 0, 0, 0.05) url("../images/ico_s_name.svg") no-repeat 7px
    center;
}
.user_menu ul li a:hover.logout {
  background: rgb(0, 0, 0, 0.05) url("../images/ico_s_logout.svg") no-repeat 7px
    center;
}

.user_menu.open {
  display: block;
}

/* LNB 더보기 버튼 */
.lnb_list .title .MenuText button.more {
  width: 18px;
  height: 18px;
  margin-left: 7px;
  background: rgb(255, 255, 255, 0.7) url("../images/ico_plus_bk.svg") no-repeat
    center;
  background-size: 9px;
  border: 0px solid red;
  border-radius: 3px;
}

/* 하단 사용자 영역 */
.bottom_user_con {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  position: relative;
  width: calc(100% - 15px);
  padding: 5px;
  cursor: pointer;
  border-radius: 8px;
}

.bottom_user_con .left {
  display: flex;
  align-items: center;
}

.bottom_user_con .more {
  width: 22px;
  height: 22px;
  background: url("../images/ico_more_dot.svg") no-repeat center;
  border-radius: 5px;
}

.bottom_user_con:hover {
  background: rgb(255, 255, 255, 0.4);
}

.bottom_user_con:hover .more {
  background: url("../images/ico_more_dot_on.svg") no-repeat center;
}

/*질문답변화면 상단 타이틀 textarea*/
textarea.title_edit {
  position: relative;
  top: -2px;
  min-height: 38px;
  height: 36px;
  padding: 8px 10px;
  background: rgb(0, 0, 0, 0.03);
  border: 1px solid #ffffff;
  border-radius: 0px 15px 15px 15px;
  line-height: 1.3;
  resize: none;
  overflow-y: hidden;
  cursor: not-allowed;
}

textarea.title_edit.on {
  background: rgb(0, 0, 0, 0);
  border: 1px solid #606cfd;
  cursor: auto;
}

/* 버튼 small 사이즈 */
.btn.small {
  min-width: 70px;
}

/* 리셋 아이콘 */
.btn span.reset_gr {
  width: 12px;
  height: 12px;
  margin-right: 5px;
  background: url("../images/ico_reset_gr.svg") no-repeat center;
}

/* 전송/정지 버튼 영역 */
.btn_send_stop {
  display: flex;
}

/* 프롬프트 팝업 사이즈 */
.popup_area.prompt {
  position: relative;
  width: 700px !important;
}

/* 팝업 버튼 오른쪽 정렬 */
.btn_popup_wrap_right {
  position: relative;
  display: flex;
  justify-content: flex-end;
  margin-top: 10px;
}

.pop_bt_area {
  display: flex;
  gap: 4px;
}

.pop_bt_area button.btn {
  margin: 0px !important;
}

/* ===== 프롬프트 스튜디오 화면 ===== */

h2.page_title {
  display: flex;
  align-items: center;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 20px;
}

h2.page_title span.bullet {
  width: 7px;
  height: 20px;
  margin-right: 5px;
  background: linear-gradient(0deg, #933cfc 4.09%, #5e71fc 99.59%);
  border-radius: 100px;
}

.prompt_wrap {
  position: relative;
  width: 100%;
  padding: 60px 5% 60px 5%;
  overflow-y: auto;
  overflow-x: hidden;
}

.df_list_area {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.df_search {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  margin-bottom: 10px;
}

.df_search .total_txt {
  font-size: 14px;
}

.search_form {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  height: 38px;
  width: 300px;
  padding: 0px 5px;
  border: 1px solid #ccc;
  background: #ffffff;
  border-radius: 100px;
}

.search_form input {
  background: transparent !important;
}

.search_word {
  width: calc(100% - 40px);
  height: 36px;
  border: 0;
  padding: 0;
  text-indent: 15px;
}

.search_word:focus {
  color: #333;
}

button.search_btn {
  float: right;
  margin: 0px;
  border: 0;
  width: 34px;
  height: 34px;
  color: #fff;
  background: url("../images/btn_search.svg") no-repeat center;
  background-size: 18px;
  border-radius: 100px;
  cursor: pointer;
}

/*프롬프트목록탭 + 신규생성버튼*/
.top_prompt_wrap {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 5px;
  border-bottom: 1px solid #cccccc;
}

/*프롬프트목록탭*/
.top_tab_wrap {
  display: flex;
  justify-content: center;
  width: 500px;
}

ul.top_tab_area {
  display: flex;
  width: 100%;
  gap: 3px;
}

ul.top_tab_area li {
  flex: 1;
}

ul.top_tab_area li button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 36px;
  color: rgb(0, 0, 0, 0.6);
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  letter-spacing: -0.08em;
  background: rgb(30, 57, 104, 0.07);
  border-bottom: 0px;
  border-radius: 10px;
}

ul.top_tab_area li button.on {
  color: #ffffff;
  background: #606cfd;
  pointer-events: none;
  cursor: default;
}

/*업무구분탭*/
.tab_wrap {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-bottom: 20px;
}

ul.tab_area {
  display: flex;
  width: 100%;
  padding: 0px;
  border-bottom: 1px solid #606cfd;
}

ul.tab_area li {
  flex: 1;
  position: relative;
}

ul.tab_area li button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 36px;
  color: rgb(0, 0, 0, 0.8);
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  letter-spacing: -0.08em;
  background: #ffffff;
  border: 1px solid #ffffff;
  border-bottom-color: #ffffff;
  border-radius: 10px 10px 0px 0px;
}

ul.tab_area li button.on {
  position: absolute;
  height: 37px;
  color: #606cfd;
  background: #ffffff;
  pointer-events: none;
  cursor: default;
  border: 1px solid #606cfd;
  border-bottom-color: #ffffff;
}

button.btn_add_prompt {
  display: flex;
  align-items: center;
  height: 36px;
  margin-left: 5px;
  padding: 0px 13px 0px 33px;
  font-size: 14px;
  font-weight: 600;
  background: #f2f8ff url("../images/ico_add_circle_bl.svg") no-repeat left 10px
    center;
  border: 1px solid #606cfd;
  background-size: 16px;
  border-radius: 10px;
}

/*프롬프트,저장대화 리스트*/
ul.df_list {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

ul.df_list li {
  width: calc((100% - 30px) / 3);
  min-height: 120px;
  padding: 20px;
  border: 1px solid #cccccc;
  border-radius: 15px;
}

.lst_step1 {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.lst_row_wrap {
  display: flex;
  align-items: center;
}

.lst_step1 span.category {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 80px;
  margin-right: 5px;
  padding: 0px 8px;
  line-height: 24px;
  color: #ffffff;
  font-weight: 500;
  background: #606cfd;
  border-radius: 100px;
  text-align: center;
}

.lst_step1 span.model_name {
  color: rgb(0, 0, 0, 0.6);
}

button.btn_df_save {
  width: 24px;
  height: 24px;
  background: url("../images/ico_save.svg") no-repeat center;
}

button.btn_df_save.active {
  background: url("../images/ico_save_on.svg") no-repeat center;
}

/*저장대화 액션 버튼*/
button.btn_df_pin {
  width: 18px;
  height: 24px;
  margin-right: 6px;
  background: url("../images/ico_new_pin.svg") no-repeat center;
}

button.btn_df_pin.active {
  background: url("../images/ico_new_pin_on.svg") no-repeat center;
}

button.btn_df_del {
  width: 18px;
  height: 24px;
  margin-right: 6px;
  background: url("../images/ico_del.svg") no-repeat center;
}

button.btn_df_del.active {
  background: url("../images/ico_new_del_on.svg") no-repeat center;
}

button.btn_df_name {
  width: 18px;
  height: 24px;
  margin-right: 6px;
  background: url("../images/ico_edit.svg") no-repeat center;
}

button.btn_df_name.active {
  background: url("../images/ico_edit_on.svg") no-repeat center;
}

/*저장대화 제목 인풋*/
input.chat_save {
  font-size: 16px;
  font-weight: 500;
  width: 100%;
  height: 35px;
  padding: 0px 5px;
  letter-spacing: -0.04em;
  border-radius: 8px !important;
  border: 1px solid #606cfd;
  cursor: pointer;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

input.chat_save.disabled {
  padding: 0px 0px;
  border: 0;
  cursor: pointer;
  background: transparent;
}

.lst_step2.mgt0 {
  margin-top: 0px !important;
}

.lst_step2 {
  display: flex;
  margin-top: 10px;
}

.lst_step2 h3 {
  font-size: 16px;
  font-weight: 500;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.lst_step3 {
  display: flex;
  margin-top: 5px;
}

.lst_step3 p {
  min-height: 38px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  word-break: keep-all;
  min-width: 0;
}

.lst_step4 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 15px;
}

.lst_step4 p.date {
  color: rgb(0, 0, 0, 0.5);
  font-size: 13px;
  letter-spacing: -0.1em;
}

.lst_step4 button.view {
  width: 80px;
  padding: 0px 0px 0px 10px;
  line-height: 23px;
  text-align: left;
  background: #edfbfe url("../images/ico_pt_next.svg") no-repeat right 10px
    center;
  background-size: 5px;
  border: 1px solid #baf1fa;
  border-radius: 100px;
}

.bot_view,
.bot_favorite {
  display: flex;
  align-items: center;
}

.bot_view {
  margin-right: 15px;
}

.bot_view span.ico {
  width: 18px;
  height: 24px;
  margin-right: 2px;
  background: url("../images/ico_view.svg") no-repeat center;
}

.bot_favorite span.ico {
  width: 18px;
  height: 24px;
  margin-right: 2px;
  background: url("../images/ico_save.svg") no-repeat center;
}

/*페이징*/
.paging {
  float: left;
  width: 100%;
  text-align: center;
  margin: 20px 0px 70px 0px;
}

.paging a,
.paging strong {
  display: inline-block;
  width: 30px;
  height: 30px;
  line-height: 28px;
  margin: 0px 1px;
  font-size: 13px;
  border-radius: 100px;
  text-align: center;
}

.paging a {
  border: 1px solid #d3d3d3;
  background-color: #ffffff;
}

.paging strong {
  position: relative;
  top: 0px;
  margin: 0px 1px;
  border: 1px solid #606cfd;
  color: #606cfd;
  font-weight: 600;
}

/* 1380px 이하 */
@media (max-width: 1380px) {
  ul.df_list {
    gap: 10px;
  }
}

/* 상단 컨트롤 버튼 영역 */
.top_control_btn {
  display: flex;
  position: absolute;
  top: 15px;
  right: 50px;
  width: calc(100% - 50px);
  padding: 20px 0px 0px 0px;
  justify-content: flex-end;
  background: transparent;
  border-radius: 10px 0px 0px 0px;
  z-index: 2;
}

/* 폰트 사이즈 조절 버튼 */
.btn_text_change {
  position: relative;
  width: 28px;
  height: 28px;
  background: rgb(44, 44, 44, 0.2) url("../images/ico_tt.svg") no-repeat 6px
    center;
  background-size: 17px;
  border-radius: 100px;
}

.btn_text_change.active {
  background: rgb(44, 44, 44, 1) url("../images/ico_tt.svg") no-repeat 6px
    center;
  background-size: 17px;
}

/* +++++ 기본 폰트 사이즈 조절 +++++ */
.size_contol_wrap {
  display: none;
  position: absolute;
  top: 32px;
  left: 50%;
  transform: translateX(-50%);
  padding: 10px 8px;
  background: #ffffff;
  border: 1px solid #dddddd;
  border-radius: 8px;
  box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.13);
}

.size_contol_wrap.show {
  display: block;
  display: flex;
}

.size_contol_wrap .btn_size {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  position: relative;
  width: 28px;
  height: 28px;
  margin: 0px 0px;
  z-index: 1;
}

.size_contol_wrap .btn_size span {
  display: flex;
  color: #757575;
  font-size: 11px;
  font-weight: 400;
}

.size_contol_wrap .btn_size .sizeBt {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 13px;
  height: 13px;
  background: #ffffff;
  border: 3px solid #d6d6d6;
  border-radius: 100px;
}

.size_contol_wrap .btn_size.active .sizeBt {
  background: #ffffff;
  border: 3px solid rgb(44, 44, 44, 1);
}

.size_contol_wrap .btn_size.active span {
  color: rgb(44, 44, 44, 1);
  font-weight: 600;
}

.size_contol_area {
  display: flex;
  position: relative;
}

.size_contol_area .gr_line {
  position: absolute;
  left: 10px;
  top: 5px;
  width: 93px;
  height: 3px;
  background: #e9e9e9;
  z-index: 0;
}

/* 프롬프트 버튼 */
.btn_prompt {
  height: 28px;
  margin-left: 5px;
  padding: 0px 13px 0px 33px;
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  background-image:
    url("../images/ico_prompt.svg"),
    linear-gradient(145deg, #ff3880 0%, #fd7b4c 100%);
  background-repeat: no-repeat;
  background-position:
    left 11px center,
    center;
  background-size:
    18px auto,
    cover;
  border: 0px solid #000000;
  border-radius: 100px;
}

.default_wrap {
  position: relative;
}

/*주제설정*/
ul.pic_area {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 10px;
  width: 100%;
}

ul.pic_area li {
  width: calc((100% - 20px) / 3);
  display: flex;
}

/*주제설정라벨*/
.pic_check {
  display: block;
  cursor: pointer;
  width: 100%;
}

.pic_check input {
  display: none;
}

.pic {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  min-height: 90px;
  height: 100%;
  padding: 10px 10px;
  font-size: 15px;
  font-weight: 400;
  color: rgb(255, 255, 255, 1);
  text-align: center;
  background: rgb(0, 0, 0, 0.5);
  border: 1px solid rgb(255, 255, 255, 0.3);
  border-radius: 15px;
  word-break: keep-all;
  transition: all 0s ease;
}

.pic p.icon {
  width: 28px;
  height: 28px;
  margin-bottom: 7px;
  border: 0px solid red;
}

.pic p.icon.ic1 {
  background: url("../images/ico_pic1.svg") no-repeat center;
  background-size: cover;
}
.pic p.icon.ic2 {
  background: url("../images/ico_pic2.svg") no-repeat center;
  background-size: cover;
}
.pic p.icon.ic3 {
  background: url("../images/ico_pic3.svg") no-repeat center;
  background-size: cover;
}
.pic p.icon.ic4 {
  background: url("../images/ico_pic4.svg") no-repeat center;
  background-size: cover;
}
.pic p.icon.ic5 {
  background: url("../images/ico_pic5.svg") no-repeat center;
  background-size: cover;
}
.pic p.icon.ic6 {
  background: url("../images/ico_pic6.svg") no-repeat center;
  background-size: cover;
}
.pic p.icon.ic7 {
  background: url("../images/ico_pic7.svg") no-repeat center;
  background-size: cover;
}

.pic_check input:checked + .pic {
  color: rgb(255, 255, 255, 1);
  font-weight: 600;
  background: radial-gradient(80% 120% at 50% 100%, #bb56fe 0%, #4169ff 100%);
}

/*주제설정텍스트*/
p.topic_txt1 {
  display: flex;
  align-items: center;
  padding: 7px 0px 0px 24px;
  font-size: 15px;
  color: #ffffff;
  background: url("../images/ico_pic.svg") no-repeat left 0px;
  background-size: 20px;
}

p.topic_txt2 {
  position: relative;
  margin: 10px 0px 25px 0px;
  padding: 10px 25px 10px;
  font-size: 18px;
  font-weight: 500;
  color: #ffffff;
  text-align: center;
  background: linear-gradient(145deg, #bb56fe 0%, #4169ff 100%);
  border-radius: 100px;
  word-break: keep-all;
}

p.topic_txt3 {
  margin: 15px 0px 5px 0px;
  color: #ffffff;
  font-size: 15px;
}

p.topic_txt3 span {
  color: #66f7ff;
}

.pic_btn_wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 20px 0px 30px 0px;
}

.pic_btn_wrap button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 110px;
  height: 32px;
  margin: 0px 4px;
  font-size: 14px;
  color: #ffffff;
  background: #606cfd;
  border-radius: 100px;
}

.pic_btn_wrap button.bk {
  color: #000000;
  background: #d6d6d6;
}

.pic_btn_wrap button.bl {
  background: #606cfd;
}

/*주제설정팝업 닫기 버튼*/
button.topic_pop_close {
  display: flex;
  align-items: center;
  color: #ffffff;
}

button.topic_pop_close p {
  font-size: 16px;
  color: #ffffff;
}

button.topic_pop_close .bt_close {
  width: 24px;
  height: 24px;
  margin-right: 6px;
  background: url("../images/ico_close_wh.svg") no-repeat center;
  background-size: 12px;
  border: 1px solid #ffffff;
  border-radius: 100px;
}

/* +++++ 토글 스위치 +++++ */
.toggle_switch_wrap {
  display: flex;
  align-items: center;
}

.toggle_switch_wrap p {
  font-weight: 500;
  margin-right: 7px;
}

.toggle_switch {
  position: relative;
  display: inline-block;
  width: 38px;
  height: 20px;
}

.toggle_switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle_switch .slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: #ccc;
  border-radius: 100px;
  transition: background-color 0.25s ease;
}

.toggle_switch .slider::before {
  content: "";
  position: absolute;
  height: 14px;
  width: 14px;
  left: 3px;
  top: 3px;
  background-color: #fff;
  border-radius: 50%;
  transition: transform 0.25s ease;
}

.toggle_switch input:checked + .slider {
  background: linear-gradient(90deg, #5e71fc 4.09%, #933cfc 99.59%);
}

.toggle_switch input:checked + .slider::before {
  transform: translateX(18px);
}

/* ===== 프롬프트 팝업 ===== */

.popup_top_wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  padding-bottom: 5px;
  border-bottom: 1px solid #cccccc;
}

h3.popup_title {
  display: flex;
  align-items: center;
  font-size: 18px;
  font-weight: 600;
}

h3.popup_title span.bullet {
  width: 5px;
  height: 18px;
  margin-right: 5px;
  background: linear-gradient(0deg, #933cfc 4.09%, #5e71fc 99.59%);
  border-radius: 100px;
}

.right_item {
  display: flex;
  align-items: center;
  gap: 5px;
}

/*프롬프트팝업 입력항목*/
.prt_column {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 15px;
}

.prt_part {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.prt_part p.title {
  position: relative;
  padding-left: 8px;
  font-weight: 600;
}

.prt_part p.title::before {
  content: "";
  position: absolute;
  left: 0px;
  width: 4px;
  height: 4px;
  background: #606cfd;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

.prt_part textarea {
  min-height: 60px;
}

.prt_three_way {
  display: flex;
  gap: 10px;
}

.prt_three_way > * {
  flex: 1;
}

/*상세보기 하단 대화건수*/
.bot_talk {
  display: flex;
  align-items: center;
  font-size: 13px;
  color: #888;
}

.bot_talk span.ico {
  width: 16px;
  height: 16px;
  margin-right: 4px;
  background: url("../images/ico_talk.svg") no-repeat center;
  background-size: contain;
}

/*저장버튼*/
.btn_df_save {
  width: 24px;
  height: 24px;
  background: url("../images/ico_save.svg") no-repeat center;
  background-size: contain;
  border: none;
  cursor: pointer;
}

.btn_df_save.js-toggle-active {
  background: url("../images/ico_save_on.svg") no-repeat center;
  background-size: contain;
}

/* ===== 모바일 반응형 추가분 ===== */

@media (max-width: 1024px) {
  .popup_area.prompt {
    width: 85% !important;
  }

  .top_control_btn {
    display: none;
    position: absolute;
    top: 15px;
    right: 20px;
    width: auto;
    padding: 0px;
    background: transparent;
  }

  .btn_text_change.active {
    background: rgb(44, 44, 44, 1) url("../images/ico_tt.svg") no-repeat 5px
      center !important;
    background-size: 14px !important;
  }

  .btn_text_change {
    width: 24px;
    height: 24px;
    background: rgb(44, 44, 44, 0.2) url("../images/ico_tt.svg") no-repeat 5px
      center !important;
    background-size: 14px !important;
  }

  .btn_prompt {
    height: 24px;
    margin-left: 5px;
    padding: 0px 10px 0px 27px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: -0.05em;
    background-image:
      url("../images/ico_prompt.svg"),
      linear-gradient(145deg, #ff3880 0%, #fd7b4c 100%);
    background-repeat: no-repeat;
    background-position:
      left 7px center,
      center;
    background-size:
      16px auto,
      cover;
  }

  /*주제설정 모바일*/
  ul.pic_area {
    gap: 5px;
  }

  ul.pic_area li {
    width: calc((100% - 10px) / 3);
  }

  .pic {
    min-height: 50px;
    font-size: 13px;
    letter-spacing: -0.08em;
  }

  .pic p.icon {
    width: 20px;
    height: 20px;
    margin-bottom: 3px;
  }

  p.topic_txt1 {
    padding: 7px 0px 0px 20px;
    font-size: 13px;
    background: url("../images/ico_pic.svg") no-repeat left 0px;
    background-size: 16px;
  }

  p.topic_txt2 {
    margin: 10px 0px 15px 0px;
    padding: 8px 20px;
    font-size: 14px;
  }

  p.topic_txt3 {
    margin: 5px 0px 0px 0px;
    font-size: 13px;
  }

  .pic_btn_wrap {
    margin: 10px 0px 15px 0px;
  }

  .pic_btn_wrap button {
    font-size: 14px;
  }

  button.topic_pop_close p {
    font-size: 14px;
  }

  button.topic_pop_close .bt_close {
    width: 20px;
    height: 20px;
    background: url("../images/ico_close_wh.svg") no-repeat center;
    background-size: 10px;
  }

  /* 전송버튼 모바일 */
  .btn_send_stop {
    display: flex;
    width: 100%;
    justify-content: flex-end;
  }
}

/* 660px ~ 1024px */
@media (min-width: 660px) and (max-width: 1024px) {
  .security_box ul {
    display: flex;
    flex-direction: column;
  }
}

/* ========== 선택된 프롬프트 태그 ========== */
.prompt_pick_tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 10px 0 12px;
  margin-left: 5px;
  border: 2px solid transparent;
  border-radius: 100px;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(145deg, #1d92ff 0%, #945ad7 50%, #933cfc 100%) border-box;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  max-width: 180px;
  overflow: hidden;
}

.prompt_pick_tag span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.prompt_pick_tag_close {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  background: url("../images/ico_close_bk.svg") no-repeat center / contain;
  opacity: 0.4;
}

.prompt_pick_tag_close:hover {
  opacity: 0.8;
}

/* ========== 하단 프롬프트(AI비서) 목록 ========== */
.bottom_fixed_prompt_wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  width: 100%;
  padding: 0px 0px;
  padding-bottom: 10px;
  background: #ffffff;
}

.prompt_list_wrap {
  display: flex;
  width: 100%;
  height: 0;
  opacity: 0;
  visibility: hidden;
  transition:
    height 0.2s ease,
    opacity 0.2s ease;
}

.prompt_list_wrap.is_show {
  height: 90px;
  opacity: 1;
  visibility: visible;
}

/* 프롬프트(AI비서)목록 열기/닫기 버튼 */
button.btn_prompt_list {
  display: flex;
  align-items: center;
  width: 173px;
  height: 35px;
  padding-left: 15px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
  background-image:
    url("../images/ico_arrow_wh_open.svg"),
    linear-gradient(90deg, #000000 4.09%, #000000 99.59%);
  background-repeat: no-repeat;
  background-position:
    right 15px center,
    center;
  border-radius: 100px;
}

button.btn_prompt_list.is_open {
  background-image:
    url("../images/ico_arrow_wh_close.svg"),
    linear-gradient(90deg, #000000 4.09%, #000000 99.59%);
}

/* 프롬프트 좌우 버튼+리스트 */
.left_prompt {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  width: 8%;
  padding: 0px 5px;
}

.right_prompt_edit {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  width: 8%;
  padding: 0px 5px;
}

button.pt_btn,
a.pt_btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.05em;
  word-break: keep-all;
}

.pt_circle {
  width: 45px;
  height: 45px;
  border-radius: 100px;
}

.ico_pt1 {
  background-image:
    url("../images/ico_pt1.svg"),
    radial-gradient(80% 120% at 50% 100%, #bb56fe 0%, #4169ff 100%);
  background-repeat: no-repeat;
  background-position: center;
}
.ico_pt2 {
  background-image:
    url("../images/ico_pt2.svg"),
    radial-gradient(80% 120% at 50% 100%, #bb56fe 0%, #4169ff 100%);
  background-repeat: no-repeat;
  background-position: center;
}
.ico_pt3 {
  background-image:
    url("../images/ico_pt3.svg"),
    radial-gradient(80% 120% at 50% 100%, #bb56fe 0%, #4169ff 100%);
  background-repeat: no-repeat;
  background-position: center;
}
.ico_pt4 {
  background-image:
    url("../images/ico_pt4.svg"),
    radial-gradient(80% 120% at 50% 100%, #bb56fe 0%, #4169ff 100%);
  background-repeat: no-repeat;
  background-position: center;
}
.ico_pt5 {
  background-image:
    url("../images/ico_pt5.svg"),
    radial-gradient(80% 120% at 50% 100%, #bb56fe 0%, #4169ff 100%);
  background-repeat: no-repeat;
  background-position: center;
}
.ico_pt6 {
  background-image:
    url("../images/ico_pt6.svg"),
    radial-gradient(80% 120% at 50% 100%, #bb56fe 0%, #4169ff 100%);
  background-repeat: no-repeat;
  background-position: center;
}
.ico_favorite {
  background-image:
    url("../images/ico_favorite.svg"),
    radial-gradient(80% 120% at 50% 100%, #ffd132 0%, #f88724 100%);
  background-repeat: no-repeat;
  background-position: center;
}
.ico_prtedit {
  background-image:
    url("../images/ico_prtedit.svg"),
    radial-gradient(80% 120% at 50% 100%, #fd7b4c 0%, #ff3880 100%);
  background-repeat: no-repeat;
  background-position: center;
}

/* 업무분류버튼영역 */
.pt_category_area {
  display: flex;
  flex-direction: column;
  gap: 7px;
  position: absolute;
  left: 0px;
  right: 0px;
  bottom: 105px;
  margin: 0 auto;
  opacity: 0;
  pointer-events: none;
}

button.pt_arrow {
  position: absolute;
  left: 0px;
  right: 0px;
  top: -10px;
  margin: 0 auto;
  width: 20px;
  height: 20px;
}

button.pt_arrow img {
  transform: rotate(180deg);
}

button.pt_arrow.is_open img {
  transform: rotate(0deg);
}

.pt_choice {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.pt_choice button {
  pointer-events: none;
}

/* 버튼 기본 위치 */
.pt_category_area .pt_btn {
  opacity: 0;
  transform: translateY(10px);
}

/* 나타날 때 */
.pt_category_area.is_show {
  opacity: 1;
  pointer-events: auto;
}

.pt_category_area.is_show .pt_btn {
  animation: slideUpFade 0.25s ease forwards;
}

.pt_category_area.is_show .pt_btn:nth-child(1) {
  animation-delay: 0.02s;
}
.pt_category_area.is_show .pt_btn:nth-child(2) {
  animation-delay: 0.05s;
}
.pt_category_area.is_show .pt_btn:nth-child(3) {
  animation-delay: 0.08s;
}
.pt_category_area.is_show .pt_btn:nth-child(4) {
  animation-delay: 0.11s;
}
.pt_category_area.is_show .pt_btn:nth-child(5) {
  animation-delay: 0.14s;
}
.pt_category_area.is_show .pt_btn:nth-child(6) {
  animation-delay: 0.17s;
}
.pt_category_area.is_show .pt_btn:nth-child(7) {
  animation-delay: 0.2s;
}

/* 사라질 때 (역순) */
.pt_category_area.is_hide .pt_btn {
  animation: slideDownFade 0.2s ease forwards;
}

.pt_category_area.is_hide .pt_btn:nth-child(1) {
  animation-delay: 0.2s;
}
.pt_category_area.is_hide .pt_btn:nth-child(2) {
  animation-delay: 0.17s;
}
.pt_category_area.is_hide .pt_btn:nth-child(3) {
  animation-delay: 0.14s;
}
.pt_category_area.is_hide .pt_btn:nth-child(4) {
  animation-delay: 0.11s;
}
.pt_category_area.is_hide .pt_btn:nth-child(5) {
  animation-delay: 0.08s;
}
.pt_category_area.is_hide .pt_btn:nth-child(6) {
  animation-delay: 0.05s;
}
.pt_category_area.is_hide .pt_btn:nth-child(7) {
  animation-delay: 0.02s;
}

@keyframes slideUpFade {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideDownFade {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(50px);
  }
}

.right_prompt {
  display: flex;
  align-items: center;
  width: 100%;
  overflow: hidden;
}

/* 프롬프트 슬라이드 */
button.btn_swipe {
  position: relative;
  top: -9px;
  flex-shrink: 0;
  width: 25px;
  height: 25px;
}

.btn_swipe {
  opacity: 1;
  transition: opacity 0.3s;
}

.btn_swipe.disabled {
  opacity: 0.2;
  pointer-events: none;
}

button.pt_pre {
  flex-shrink: 0;
  background: url("../images/ico_pt_pre.svg") no-repeat center;
  opacity: 1;
}

button.pt_next {
  flex-shrink: 0;
  background: url("../images/ico_pt_next.svg") no-repeat center;
  opacity: 1;
}

/* 프롬프트 슬라이드 영역 */
.pt_list_slid {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  width: 100%;
  overflow-x: hidden;
}

.pt_list_track {
  display: flex;
  width: max-content;
}

.pt_area {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  position: relative;
  width: 143px;
  padding: 0px 10px;
  flex: 0 0 auto;
}

.pt_area span.line {
  position: absolute;
  left: 0;
  right: 0;
  top: 23px;
  width: 100%;
  height: 0;
  border-top: 1px dashed rgb(0, 0, 0, 0.3);
}

button.pt_name,
a.pt_name {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.05em;
  word-break: keep-all;
}

.pt_box {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 100px;
  height: 45px;
  padding: 0px 10px;
  font-size: 13px;
  font-weight: 500;
  text-align: center;
  border-radius: 100px;
  z-index: 1;
}

/* pt_name 버튼 색상 */
.pt_box.col_1 {
  background: #cee3fe;
}
.pt_box.col_2 {
  background: #ebd9fe;
}
.pt_box.col_3 {
  background: #baf1fa;
}
.pt_box.col_4 {
  background: #fbd4e8;
}
.pt_box.col_5 {
  background: #c2caf3;
}
.pt_box.col_6 {
  background: #feddc2;
}

.pt_box.col_1.on {
  background: #cee3fe;
  border: 2px solid #559fff;
}
.pt_box.col_2.on {
  background: #ebd9fe;
  border: 2px solid #ae62ff;
}
.pt_box.col_3.on {
  background: #baf1fa;
  border: 2px solid #2abfd6;
}
.pt_box.col_4.on {
  background: #fbd4e8;
  border: 2px solid #f74ca4;
}
.pt_box.col_5.on {
  background: #c2caf3;
  border: 2px solid #4f6aee;
}
.pt_box.col_6.on {
  background: #feddc2;
  border: 2px solid #fd9037;
}

/* 추천질문 팝업 (pick_note) */
.pick_wrap {
  position: relative;
  width: 100%;
}

.pick_note {
  display: none;
  position: absolute;
  left: 0px;
  bottom: 5px;
  width: 100%;
  padding: 10px 20px 10px 20px;
  background: #ffffff;
  border: 2px solid #dadada;
  border-radius: 20px;
  z-index: 1;
}

.pick_note.on {
  display: block;
}

ul.pick_list {
  display: flex;
  flex-direction: column;
  max-height: 105px;
  overflow: auto;
}

ul.pick_list li a {
  display: flex;
  width: 100%;
  padding: 5px 10px 5px 0px;
  border-bottom: 1px solid #d9d9d9;
}

ul.pick_list li p {
  position: relative;
  top: 1px;
  flex-shrink: 0;
  width: 55px;
  height: 23px;
  margin-right: 5px;
  background: #e9e9e9;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
}

ul.pick_list li span {
  width: 100%;
  padding: 3px 0px;
}

/* ===인쇄=== */
@media print {
  body.is-printing > *:not(#print-container) {
    display: none !important;
  }

  #print-container {
    display: block !important;
    padding: 24px;
    box-sizing: border-box;
  }

  /* 질문 영역 */
  #print-container .chat_my_wrap {
    display: flex !important;
    justify-content: flex-start;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e0e0e0;
  }

  #print-container .chat_my_wrap .ico {
    display: none !important;
  }

  #print-container .chat_my_area {
    padding: 0 0 4px 0;
    font-size: 14px;
    line-height: 1.6;
    font-weight: 600;
  }

  /* 답변 영역 */
  #print-container .chat_assist_wrap {
    display: block !important;
  }

  #print-container .chat_assist_wrap .ico {
    display: none !important;
  }
}

/* ===로그인=== */
.login_wrap {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #f2f4ff; /* 은은한 배경색 추가 */
  padding: 20px;
  box-sizing: border-box;
}

.login_con {
  background: #ffffff;
  border-radius: 12px;
  width: 360px;
  padding: 40px 30px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1); /* 부드러운 그림자 */
  display: flex;
  flex-direction: column;
  align-items: center;
}

.kland_logo a {
  width: 200px;
  height: 100px;
  margin-bottom: 15px;
  display: block;
  background: url("../images/kland.svg") no-repeat center;
  background-size: contain;
}

.kland_logo p {
  color: #333333;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 30px;
}

.login_area {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.login_area input {
  width: 100%;
  height: 40px;
  padding: 0 12px;
  font-size: 15px;
  border: 1.8px solid #ccd0ff;
  border-radius: 8px;
  margin-bottom: 20px;
  transition: border-color 0.3s ease;
  box-sizing: border-box;
}

.login_area input:focus {
  border-color: #606cfd;
  outline: none;
  box-shadow: 0 0 8px rgba(96, 108, 253, 0.4);
}

.login_area div > div {
  color: #d9534f; /* 오류 메시지 색상 고정 */
  font-size: 13px;
  margin-top: -15px;
  margin-bottom: 15px;
}

button.round.btn_bl {
  width: 100%;
  height: 42px;
  background: linear-gradient(90deg, #5a65f8, #5d5efb);
  border: none;
  border-radius: 10px;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.35s ease;
}

button.round.btn_bl:hover {
  background: linear-gradient(90deg, #3c43f7, #4a48e5);
}

button.round.btn_col_bl {
  width: 30%;
  height: 42px;
  background: linear-gradient(90deg, #5a65f8, #5d5efb);
  border: none;
  border-radius: 10px;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.35s ease;
}

button.round.btn_col_bl:hover {
  background: linear-gradient(90deg, #3c43f7, #4a48e5);
}

button.round.btn_col_gr {
  width: 30%;
  height: 42px;
  background: rgb(0, 0, 0, 0.07);
  border: none;
  border-radius: 10px;
  color: rgb(0, 0, 0, 0.5);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.35s ease;
}

button.round.btn_col_gr:hover {
  background: rgb(0, 0, 0, 0.07);
}

@media screen and (max-width: 400px) {
  .login_con {
    width: 100%;
    padding: 30px 20px;
    border-radius: 0;
    box-shadow: none;
  }
  .kland_logo p {
    font-size: 16px;
    margin-bottom: 20px;
  }

  button.round.btn_bl {
    height: 38px;
    font-size: 14px;
  }

  button.round.btn_col_bl {
    height: 38px;
    font-size: 14px;
  }

  button.round.btn_col_gr {
    height: 38px;
    font-size: 14px;
  }
}

.align_bottom_center {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  position: relative;
}

.password_part {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 10px;
}

.password_part p.title {
  position: relative;
  padding-left: 8px;
  font-weight: 600;
}

.password_part p.title::before {
  content: "";
  position: absolute;
  left: 0px;
  width: 4px;
  height: 4px;
  background: #606cfd;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

.pop_top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  position: relative;
  width: 100%;
  height: 28px;
  margin-bottom: 15px;
  border-bottom: 1px solid #d9d9d9;
}

.pop_top h3 {
  display: flex;
  font-weight: 600;
}

.pop_top .right {
  position: relative;
  display: flex;
  gap: 10px;
}

.pop_top button.close,
.pop_top a.close {
  width: 20px;
  height: 20px;
  background: url("../images/ico_close_bk.svg") no-repeat center;
}

.pop_top button.alert_close,
.pop_top a.alert_close {
  width: 20px;
  height: 20px;
  background: url("../images/ico_close_bk.svg") no-repeat center;
}

/* 파일 업로드 버튼 */
button.file_upload_btn {
  margin-left: 10px;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background:
    url("../images/ico_mark_on.svg") no-repeat center,
    linear-gradient(
      180deg,
      rgba(65, 115, 253, 0.6) 0%,
      rgba(148, 90, 215, 0.6) 100%
    );
  border-radius: 32px;
}

/* 파일 업로드 삭제버튼 */
button.file_delete_btn {
  margin-left: 8px;
  cursor: pointer;
  background: transparent;
  border: none;
  color: #888;
  font-size: 16px;
  line-height: 1;
}

/* 파일 업로드 리스트 */
.uploaded_files_list ul {
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: 120px;
}

.uploaded_files_list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 6px 12px;
  margin-bottom: 6px;
  font-size: 14px;
  color: #333;
  box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.05);
  transition: background-color 0.2s ease;
  min-width: 0;
}

.uploaded_files_list li:hover {
  background-color: #f0f8ff;
}

.uploaded_files_list li a.uploaded_files_name,
.uploaded_files_list li a.uploaded_files_name:focus,
.uploaded_files_list li a.uploaded_files_name:active,
.uploaded_files_list li a.uploaded_files_name:hover {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 110px;
  display: inline-block;
  vertical-align: middle;
  cursor: default;
  color: #0077cc;
  text-decoration: none;
  outline: none;
  flex-grow: 0;
  min-width: 0;
}

/* 업로드 파일삭제 버튼 */
.file_delete_btn {
  background: transparent;
  border: none;
  color: #999;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  transition: color 0.2s ease;
}

.file_delete_btn:hover,
.file_delete_btn:focus {
  color: #e55353;
  outline: none;
}

/* 모바일 크기 이하에서 적용 */

/* ◆◆◆◆◆◆◆◆◆◆ 480px 이하 ◆◆◆◆◆◆◆◆◆◆ */
@media (max-width: 480px) {
  .combo_set button.web {
    padding: 0 !important;
    width: 32px !important;
  }
}

@media (max-width: 768px) {
  /* 전체 컨테이너를 세로 배치로 전환 */
  .chat_combo_wrap {
    flex-direction: column;
    align-items: flex-start; /* 좌측 정렬 */
    gap: 4px;
    height: auto;
  }

  .combo_set_footer {
    display: flex;
    width: 100%;
  }

  /* 첫째 줄: 아이콘 + 모델 선택 */
  .combo_set.first_line {
    width: 100%;
    gap: 14px;
  }

  /* 첫째 줄 내부 버튼 크기 조정 */
  .combo_set.first_line .multi {
    max-width: none;
    font-size: 13px;
    white-space: nowrap;
  }
  .combo_set button.web span.web_text {
    font-size: 13px;
  }

  /* 아이콘 크기 조정 */
  .combo_set.first_line .icon {
    width: 24px;
    height: 24px;
    background-size: cover;
  }

  /* 둘째 줄: 웹 검색기 + 선택된 태그 */
  .combo_set.second_line {
    width: 100%;
    gap: 14px;
  }

  /* 둘째 줄 버튼 크기 조정 */
  .combo_set.second_line .web {
    /* min-width: 170px; */
    max-width: none;
    padding: 0 16px 0 28px;
    font-size: 17px;
    white-space: nowrap;
  }

  /* 셋째 줄: 글자 수 표시 + 전송 버튼 */
  .combo_set.third_line {
    width: 100%;
    justify-content: space-between;
    gap: 8px;
  }
  .number_letters {
    padding: 0 !important;
  }
  /* 전송 버튼 크기 조정 (필요시) */
  .btn_send {
    font-size: 16px;
  }
}

/* 기본 상태: 숨김 */
.chat-input-container {
  display: none;
}

/* 모바일 이하 화면에서만 보임, 슬라이드 애니메이션 적용 */
@media (max-width: 1024px) {
  .chat-input-container {
    position: relative;
    bottom: 0;
    width: 100%;
    background: white;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    display: block;
    z-index: 1000;
  }

  .chat-input-container.hidden {
    /* transform: translateY(100%); */
    /* pointer-events: none; */
    display: none;
  }

  .chat-input-container.visible {
    /* transform: translateY(0); */
    /* pointer-events: auto; */
    display: block;
  }

  .input-toggle-up-btn {
    bottom: 60px;
    left: 50%;
    z-index: 1100;
    padding: 10px 20px;
    border-radius: 24px;
    background-color: rgb(96 108 253);
    background-image: url("../images/ico_arrow_wh_open.svg");
    background-repeat: no-repeat;
    background-position: center;
    border: none;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  }

  .input-toggle-down-btn {
    bottom: 60px;
    left: 50%;
    z-index: 1100;
    padding: 10px 20px;
    border-radius: 24px;
    background-color: rgb(96 108 253);
    background-image: url("../images/ico_arrow_wh_close.svg");
    background-repeat: no-repeat;
    background-position: center;
    border: none;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  }
}
