@charset "utf-8";

@font-face {
  font-family: 'notosans';
  src: url("../fonts/nanumgothic-regular.eot");
  src: url("../fonts/nanumgothic-regular.eot") format("embedded-opentype"), url("../fonts/nanumgothic-regular.woff2") format("woff2"), url("../fonts/nanumgothic-regular.woff") format("woff"), url("../fonts/nanumgothic-regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  line-height: 1.5;
}
@font-face {
    font-family: 'InkLipquid';
    src: url('../fonts/InkLipquid.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

h1, h2, h3, h4 {
  line-height: 1.2 !important;
}

.border-bottom {
  padding-bottom: 10px;
  border-bottom: 1px solid #eaeaea !important;
}

.max-width-chat {
  max-width: 1200px !important;
}

.table-width {
  max-width: 980px !important;
}

.lg-width {
  width: 100% !important;
}

.sm-width {
  width: 200px !important;
}

button {
  outline: none !important;
}

.red-bg {
  background-color: #ff3636 !important;
  border: 1px solid #711313 !important;
}

.black-bg {
  background-color: #1f1f1f !important;
  border: 1px solid #000000 !important;
}

.user-bg {
  background-color: #03ca09 !important;
  color: #fff !important;
}

.font-s-14 {
  font-size: 14px !important;
}

.text-blue-new {
  color: #7e8fff !important;
}

.text-blue-two {
  color: #00dcff !important;
}

.text-blue {
  color: #0099ff !important;
}

.orange {
  color: #ff9900 !important;
}

.text-yellow {
  color: #ffee00 !important;
}

.text-red {
  color: #ff3636 !important;
}

.text-green {
  color: #15ff00 !important;
}

.text-gold {
  color: #ffd000 !important;
}

.mar-l-5 {
  margin-left: 5px !important;
}

.mar-r-5 {
  margin-right: 5px !important;
}

.mar-cash {
}

.mar-t-0 {
  margin-top: 0px !important;
}

.mar-t-5 {
}

.mar-t-10 {
  margin-top: 10px !important;
}

.mar-t-15 {
  margin-top: 15px !important;
      text-align: center;
}

.mar-t-35 {
  margin-top: 35px !important;
}

.pad-0 {
  padding: 0 !important;
}

.pad-10 {
  padding: 10px !important;
}

.pad-lr-10 {
  padding: 0 10px !important;
}

.pad-l-5 {
  padding-left: 5px !important;
}

.pad-l-10 {
  padding-left: 10px !important;
}

.pad-l-15 {
  padding-left: 15px !important;
}

.pad-r-5 {
  padding-right: 5px !important;
}

.pad-r-10 {
  padding-right: 10px !important;
}

.pad-r-15 {
  padding-right: 15px !important;
}

p {
  padding: 0;
  margin: 0;
}

.grid-gap-5 {
  grid-gap: 5px;
}

.grid-two {
  display: grid;
  grid-template-columns: repeat(2, 1fr) !important;
}

.grid-three {
  display: grid;
  grid-template-columns: repeat(3, 1fr) !important;
}

.grid-four {
  display: grid;
  grid-template-columns: repeat(4, 1fr) !important;
}

.grid-six {
  display: grid;
  grid-template-columns: repeat(6, 1fr) !important;
}

.grid-seven {
  display: grid;
  grid-template-columns: repeat(7, 1fr) !important;
}

.lg {
  display: grid;
  grid-template-columns: repeat(2, 1fr) !important;
}

.background-none {
  background: none !important;
}

.background-white {
  background: #fff !important;
}

html {
  width: 100%;
  height: 100%;
}

html > body {
  width: 100%;
  height: 100%;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

a {
  text-decoration: none !important;
  outline: none !important;
}

body {
  position: relative;
  font-family: 'notosans';
  background-color: #f3f3f3;
  line-height: inherit;
}

body > header {
  display: grid;
  grid-template-columns: 20% 60% 20%;
  z-index: 110;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 64px;
  background-color: #f5a901;
}

body > header > h1 > a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: #fff;
  max-width: 150px;
}

body > header > h1 > a > img {
  height:35px;
}

body > header > h1 > a:hover {
  color: #fff;
}

body > header > a {
  display: flex;
  align-items: center;
  height: 100%;
  color: #fff;
}

body > header > .left-menu {
  justify-content: center;
}

body > header > .left-menu > img {
  width: 50px;
}

body > header > .right-menu {
  justify-content: flex-end;
}

body > header > .right-menu > img {
  width: 75px;
}

body > header > h1 {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
}

body > header > h1 > a {
  display: flex;
  align-items: center;
  color: #fff;
  font-size: 20px;
  font-weight: bold;
}

body > .sidebar {
  position: fixed;
  top: 0;
  left: -330px;
  bottom: 0;
  right: 0;
  width: 330px;
  background-color: #fff;
  box-shadow: 2px 0px 5px #00000047;
  border-radius: 0 5px 5px 0;
  overflow-y: auto;
  overflow-x: hidden;
  transition: all .3s ease;
  opacity: .5;
  z-index: 999;
}

body > .sidebar > .side-head {
  background-color: #f5a901;
  padding: 5px;
}

body > .sidebar > .side-head > .top-grid {
  display: grid;
  grid-template-columns: repeat(2, 2fr);
  align-items: center;
  position: relative;
  background: #fff;
  padding: 15px 10px;
}

body > .sidebar > .side-head > .top-grid > div:nth-of-type(1) > span {
  margin-right: 5px;
}

body > .sidebar > .side-head > .top-grid > div:nth-of-type(1) > span > img {
  width: 20px;
}

body > .sidebar > .side-head > .top-grid > div:nth-of-type(1) > font {
  font-size: 14px;
}

body > .sidebar > .side-head > .top-grid > div:nth-of-type(2) {
  text-align: right;
}

body > .sidebar > .side-head > .top-grid > div:nth-of-type(2) > button {
  border-radius: 5px;
  border: none;
  background: none;
}

body > .sidebar > .side-head > .top-grid > div:nth-of-type(2) > button > img {
  width: 100px;
}

body > .sidebar > .side-head > .side-cash {
  display: grid;
  grid-template-columns: repeat(2, 2fr);
  padding: 15px 10px;
  border-radius: 5px;
  color: #fff;
  width: 100%;
}

body > .sidebar > .side-head > .side-cash > div {
  display: flex;
  align-items: center;
}

body > .sidebar > .side-head > .side-cash > div > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #fff;
  margin-right: 10px;
}

body > .sidebar > .side-head > .side-cash > div > span > img {
  width: 20px;
}

body > .sidebar > .side-head > .side-cash > div:last-child {
  text-align: right;
  justify-content: flex-end;
  background-color: #ffffff;
  border: 1px solid #dedede;
  color: #000;
  padding: 5px;
}

body > .sidebar > .side-body > .menubar {
  padding: 0;
  margin: 0;
}

body > .sidebar > .side-body > .menubar > li {
width:33.33333333%;
height:82px;
float:left;
  border-right: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  background-color: #fff;
  text-align:center;
  vertical-align:middle;

}

body > .sidebar > .side-body > .menubar > li > a {

}

body > .sidebar > .side-body > .menubar > li > a:after {


}

body > .sidebar > .side-footer {
	padding: 15px;
	position: absolute;
	bottom: 0;
	width:100%
}

body > .sidebar > .side-footer > div > a {
	color:#fff;
}
body > .sidebar > .side-footer > .side-box {
  color: #a7a7a7;
  font-size: 12px;
  margin-top: 30px;
  line-height: 18px;
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid #e0e0e0;
  padding: 0 10px 10px 10px;
}

body > .sidebar > .side-footer > .side-box > img {
  width: 250px;
}

body > .sidebar > .side-footer > .side-box > p {
  display: flex;
  align-items: center;
  margin-top: 5px;
}

body > .sidebar > .side-footer > .side-box > p > span {
  margin-right: 5px;
}

body > .sidebar > .side-footer > .side-box > p > span > img {
  width: 15px;
}

body > .sidebar > .side-footer > p {
  color: #e0e0e0;
  padding-left: 15px;
  font-size: 12px;
  margin-top: 10px;
}

body > .sidebar > .side-footer > p > span {
  color: #000;
}

body > .sidebar.active {
  position: fixed;
  left: 0;
  opacity: 1;
}

body > .sidebar::-webkit-scrollbar {
  display: none;
}

body > section {
  margin: 64px auto 48px auto;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow-y: auto;
  overflow-x: hidden;
  padding-bottom: 80px;
  max-width:768px;

}

body > section > .containers {
  min-height: 100%;
max-width:768px;
margin:0 auto;
}

body > section > .containers > .members {
  background-color: #fff;
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #eaeaea;
  box-shadow: 0 5px 5px #0000001f;
}

body > section > .containers > .members > .side-head {
  background-color: #f5a901;
  padding: 5px;
}

body > section > .containers > .members > .side-head > .top-grid {
  display: grid;
  grid-template-columns: repeat(2, 2fr);
  align-items: center;
  position: relative;
  padding:10px 15px;
  background:#fff
}

body > section > .containers > .members > .side-head > .top-grid > div:nth-of-type(1) > span {
  margin-right: 5px;
}

body > section > .containers > .members > .side-head > .top-grid > div:nth-of-type(1) > span > img {
  width: 20px;
}

body > section > .containers > .members > .side-head > .top-grid > div:nth-of-type(1) > font {
  font-size: 14px;
}

body > section > .containers > .members > .side-head > .top-grid > div:nth-of-type(2) {
  text-align: right;
}

body > section > .containers > .members > .side-head > .top-grid > div:nth-of-type(2) > button {
  border-radius: 5px;
  border: none;
  background: none;
}

body > section > .containers > .members > .side-head > .top-grid > div:nth-of-type(2) > button > img {

}

body > section > .containers > .members > .side-head > .side-cash {
  display: grid;
  grid-template-columns: repeat(2, 2fr);
  padding: 15px 10px;
  border-radius: 5px;
  color: #fff;
  width: 100%;
}

body > section > .containers > .members > .side-head > .side-cash > div {
  display: flex;
  align-items: center;
}

body > section > .containers > .members > .side-head > .side-cash > div > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #fff;
  margin-right: 10px;
}

body > section > .containers > .members > .side-head > .side-cash > div > span > img {
  width: 20px;
}

body > section > .containers > .members > .side-head > .side-cash > div:last-child {
  text-align: right;
  justify-content: flex-end;
  background-color: #ffffff;
  border: 1px solid #dedede;
  color: #000;
  padding: 5px;
}

body > section > .containers > .members > .side-body > .menubar {
  padding: 0;
  margin: 0;
}

body > section > .containers > .members > .side-body > .menubar > li {
  border-bottom: 2px solid #ffff;
  background-color: #f2f2f2;
  padding: 15px  10px;
}

body > section > .containers > .members > .side-body > .menubar > li > a {
  display: flex;
  align-content: center;
  justify-content: flex-start;
  position: relative;
  padding-left: 20px;
}

body > section > .containers > .members > .side-body > .menubar > li > a:after {
  content: '';
  display: block;
  width: 15px;
  height: 15px;
  position: absolute;
  top: 0;
  left: 0;
  background-image: url(../images/icon/Arrow-right.svg);
  background-repeat: no-repeat;
}

body > section > .containers > .main-silide > .swiper-container > .swiper-wrapper > div {
  height: unset;
  overflow: hidden;
}

body > section > .containers > .main-silide > .swiper-container > .swiper-wrapper > div > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body > section > .containers > .baner-list > .tit {
  background-color: #fff;
  padding: 5px 10px;
}

body > section > .containers > .baner-list > .tit > h3 {
  display: flex;
  align-items: center;
  font-size: 14px;
  padding-left: 5px;
  font-weight: bold;
  margin: 0;
}

body > section > .containers > .baner-list > .tit > h3 > img {
  width: 40px;
  margin-right: 5px;
}

body > section > .containers > .baner-list > .baner {
  display: flex;
  align-items: center;
  flex-direction: column;
  background-color: #f4f4f4;
  padding: 10px;
}

body > section > .containers > .baner-list > .baner > div {
  margin-top: 10px;
}

body > section > .containers > .baner-list > .baner > div > a {
  overflow: hidden;
  display: flex;
  align-content: center;
  justify-content: center;
}

body > section > .containers > .baner-list > .baner > div > a > img {
  width: 100%;
 height: 231px;
}

body > section > .containers > .footer-slide {
  padding: 10px;
  background-color: #ffc5ae;
}

body > section > .containers > .footer-slide > .swiper-footer > .swiper-wrapper > div > a {
  display: flex;
  align-content: center;
  justify-content: center;
  height: auto;
  overflow: hidden;
}

body > section > .containers > .footer-slide > .swiper-footer > .swiper-wrapper > div > a > img {
  width: 100%;
}

body > footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #f5a901;
  height: 48px;
  z-index: 110;
}

body > footer > ul {
  display: grid;
  grid-template-columns: repeat(4, 4fr);
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
}

body > footer > ul > li > a {
  display: flex;
  align-content: center;
  justify-content: center;
  flex-direction: column;
  width: 100%;
  height: 100%;
}

body > footer > ul > li > a > span {
  display: flex;
  align-content: center;
  justify-content: center;
}

body > footer > ul > li > a > span > img {
  width: 19px;
    height: 19px;
}

body > footer > ul > li > a > font {
  display: flex;
  align-content: center;
  justify-content: center;
  color: #fff;
  margin-top: 3px;
}

body > footer > ul > li:nth-of-type(2) {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

body > footer > ul > li:nth-of-type(2222) > a {
  position: absolute;
  top: -40px;
  width: 84px;
  height: 82px;
  border-radius: 50%;
  background-image: url(../../../image/item_but_bg.png);
  color: #b05e00;
  box-shadow: 0 5px 5px #00000021;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

body > footer > ul > li:nth-of-type(2) > a > img {
}

body > .item > ul > li:nth-of-type(2) > a {
  position: unset;
  border-radius: unset;
  border: 0;
  background-color: #f5a901;
  background-image: unset;
  box-shadow: unset;
  width: unset;
  height: unset;
}

body > .item > ul > li:nth-of-type(2) > a > img {
  width: 25px;
}



.community-chat {
    width: 100%;
    max-width: 420px;
    height: 100vh;
    background: #f7f7f7;
    display: flex;
    flex-direction: column;
    font-family: 'Pretendard', 'Noto Sans KR', sans-serif;
}



.chat-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin-top: 60px;
    margin-bottom: 100px;
    z-index: 777;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 40px 15px 15px 15px;
}
}
.chat-header {
    background: #007bff;
    color: #fff;
    padding: 10px;
    display: flex;
    justify-content: space-between;
}
.chat-body {
    height: 300px;
    overflow-y: auto;
    padding: 10px;
}
.chat-footer {
    display: flex;
    padding: 5px;
}
.chat-footer input[type="text"] {
    flex: 1;
    margin-right: 5px;
}
.user { text-align: right; }
.user .bubble {
    background: #dcf8c6;
}
.admin .bubble {
    background: #f1f0f0;
}

/* ===============================
   상담원 전용 채팅 페이지
=============================== */

.admin-chat .community-chat {
    max-width: 100%;
    background: #eef1f5;
}

/* 헤더 */
.admin-chat .chat-head {
    background: linear-gradient(135deg, #3f8efc, #6fa8ff);
}

.admin-chat .chat-admin h2::after {
    content: " · 상담원";
    font-size: 13px;
    opacity: 0.9;
}

/* 채팅 바디 */
.admin-chat .chat-body {
    background: #eef1f5;
}

/* 사용자 메시지 (상담원이 보는 고객 메시지) */
.admin-chat .com-user {
    justify-content: flex-start;
}

.admin-chat .com-user .chat-box {
    background: #ffffff;
    color: #222;
    border-radius: 0 18px 18px 18px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

/* 상담원 메시지 (오른쪽) */
.admin-chat .com-admin {
    justify-content: flex-end;
}

.admin-chat .com-admin .chat-box {
    background: #3f8efc;
    color: #fff;
    border-radius: 18px 0 18px 18px;
}

/* 상담원 말풍선 라벨 */
.admin-chat .com-admin .chat-box::after {
    content: "상담원";
    display: block;
    font-size: 11px;
    opacity: 0.85;
    margin-top: 4px;
    text-align: right;
}

/* 입력 영역 */
.admin-chat .chat-footer {
    background: #ffffff;
}

.admin-chat .chat-footer button {
    background: #3f8efc;
}

/* 관리자 상태 메시지 */
.admin-chat .message {
    background: rgba(255,255,255,0.2);
    padding: 6px 10px;
    border-radius: 10px;
    font-size: 12px;
}




.bubble {
    padding: 8px 12px;
    border-radius: 15px;
    display: inline-block;
    margin-bottom: 5px;
}
