/* BASIC css start */
#footer {
    background: #425b51 !important;
    padding: 25px 0;
    color: #FFFFFF;
}

#footer .container-wrap {
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    gap: 20px;
    box-sizing: border-box;
}

#footer .bar-list-wrap {
    display: flex;
    gap: 21px;
}

#footer .bar-list-wrap a {
    color: #FFFFFF;
}

#footer .bar-list-wrap + .bar-list-wrap {
    margin-top: 4px;
}

#footer .bar-list-wrap > li {
    position: relative;
    font-weight: 400;
    font-size: 12px;
}

#footer .bar-list-wrap > li + li:before {
    content: '';
    width: 1px;
    height: 8px;
    position: absolute;
    left: -10px;
    top: 50%;
    transform: translateY(-50%);
    background: #FFFFFF;
}

#footer .logo-footer img{
    width:220px;
}

#footer .copy {
    margin-top: 14px;
    color: #BBBBBB;
    font-weight: 400;
    font-size: 12px;
}

#footer .item-box.bottom ul li {
    font-size:12px;
}

#footer .item-box.bottom ul li a {
    display: block;
    font-weight: 400;
    font-size: 12px;
    color: #FFFFFF;
}

#footer .item-box.center p {
    font-weight: 400;
    font-size: 12px;
    margin-bottom: 8px;
}

#footer .item-box.center strong {
    display: block;
    font-weight: 800;
    font-size: 18px;
    margin-bottom: 10px;
}

#footer .item-box.bottom {
    margin-top: 20px;
}




@media (min-width: 768px) {
    #footer {
        background: var(--color-default);
        padding: 50px 0;
        color: #FFFFFF;
    }

    #footer .container-wrap {
        display: flex;
        max-width: 1760px;
        margin: 0 auto;
        gap: 20px;
        box-sizing: border-box;
        flex-direction: row;
        justify-content: space-around;
    }

    #footer .container-wrap .item-box.center {
        min-width: 90px;
    }

    #footer .logo-footer {
        display: inline-block;
        margin-bottom: 20px;
    }

    #footer .logo-footer a {
        display: block;
    }

    #footer .bar-list-wrap {
        display: flex;
        flex-wrap: wrap;
        gap: 4px 21px;
    }

    #footer .bar-list-wrap + .bar-list-wrap {
        margin-top: 4px;
    }

    #footer .bar-list-wrap > li {
        position: relative;
        font-weight: 400;
        font-size: 12px;
        line-height: 1.2;
    }

    #footer .bar-list-wrap > li + li:before {
        content: '';
        width: 1px;
        height: 8px;
        position: absolute;
        left: -10px;
        top: 50%;
        transform: translateY(-50%);
        background: #FFFFFF;
    }

    #footer .copy {
        margin-top: 20px;
        color: #BBBBBB;
        font-weight: 400;
        font-size: 12px;
    }

    #footer .item-box.center ul li + li {
        margin-top: 12px;
    }

    #footer .item-box.center ul li a {
        display: block;
        font-weight: 400;
        font-size: 12px;
        color: #FFFFFF;
    }

    #footer .item-box.right p {
        font-weight: 400;
        font-size: 12px;
        margin-bottom: 12px;
    }

    #footer .item-box.right strong {
        display: block;
        font-weight: 800;
        font-size: 18px;
        margin-bottom: 14px;
    }
}
/* ============================================================
   F050: AI 챗봇 FAB — 기본 하단 CSS 탭 추가분
   위치: 기본 하단 > CSS 탭 > 기존 코드 맨 아래에 붙여넣기
============================================================ */

/* 채널톡 기본 버튼 숨김 */
#ch-plugin { display: none !important; }

/* ---- FAB 전체 컨테이너 ---- */
#pressco-chat-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  font-family: 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
}

/* ---- FAB 메인 버튼 ---- */
#pressco-chat-fab .fab-main {
  width: 56px;
  height: 56px;
  background: #637561;
  color: #ffffff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 24px;
  box-shadow: 0 4px 16px rgba(99,117,97,0.45);
  transition: background 0.2s, transform 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
#pressco-chat-fab .fab-main:hover {
  background: #4a5a49;
  transform: scale(1.05);
}

/* ---- 옵션 패널 ---- */
#pressco-chat-fab .fab-panel {
  position: absolute;
  bottom: 68px;
  right: 0;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  overflow: hidden;
  width: 220px;
}
#pressco-chat-fab .fab-option {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
  padding: 14px 16px;
  border: none;
  background: transparent;
  cursor: pointer;
  text-align: left;
  border-bottom: 1px solid #f0f0f0;
  transition: background 0.15s;
}
#pressco-chat-fab .fab-option:last-child { border-bottom: none; }
#pressco-chat-fab .fab-option:hover { background: #f7f9f7; }
#pressco-chat-fab .fab-option-icon {
  font-size: 22px;
  flex-shrink: 0;
  margin-top: 1px;
}
#pressco-chat-fab .fab-option-text {
  display: flex;
  flex-direction: column;
}
#pressco-chat-fab .fab-option-title {
  font-size: 14px;
  font-weight: 600;
  color: #333333;
}
#pressco-chat-fab .fab-option-sub {
  font-size: 11px;
  color: #888888;
  margin-top: 2px;
}

/* ---- AI 채팅 위젯 (애니메이션 포함) ---- */
#pressco-chat-fab .chat-widget {
  position: absolute;
  bottom: 68px;
  right: 0;
  width: 360px;
  height: 500px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: opacity 0.2s, transform 0.2s;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
}
#pressco-chat-fab .chat-widget.is-open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
#pressco-chat-fab .chat-header {
  background: #637561;
  color: #ffffff;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}
#pressco-chat-fab .chat-header-title {
  font-size: 15px;
  font-weight: 600;
}
#pressco-chat-fab .chat-header-sub {
  font-size: 11px;
  opacity: 0.8;
  margin-top: 2px;
}
#pressco-chat-fab .chat-close {
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 20px;
  cursor: pointer;
  line-height: 1;
  padding: 0;
  opacity: 0.8;
  transition: opacity 0.15s;
}
#pressco-chat-fab .chat-close:hover { opacity: 1; }

/* ---- 메시지 목록 ---- */
#pressco-chat-fab .chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #f7f9f7;
}
#pressco-chat-fab .chat-messages::-webkit-scrollbar { width: 4px; }
#pressco-chat-fab .chat-messages::-webkit-scrollbar-thumb {
  background: #c8d4c7;
  border-radius: 2px;
}

/* ---- 말풍선 ---- */
#pressco-chat-fab .msg-row {
  display: flex;
  flex-direction: column;
  max-width: 80%;
}
#pressco-chat-fab .msg-row.user { align-self: flex-end; align-items: flex-end; }
#pressco-chat-fab .msg-row.ai  { align-self: flex-start; align-items: flex-start; }
#pressco-chat-fab .msg-bubble {
  padding: 9px 13px;
  border-radius: 14px;
  font-size: 13px;
  line-height: 1.5;
  word-break: break-word;
  white-space: pre-wrap;
}
#pressco-chat-fab .msg-row.user .msg-bubble {
  background: #637561;
  color: #ffffff;
  border-bottom-right-radius: 4px;
}
#pressco-chat-fab .msg-row.ai .msg-bubble {
  background: #ffffff;
  color: #333333;
  border-bottom-left-radius: 4px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}
#pressco-chat-fab .msg-time {
  font-size: 10px;
  color: #aaaaaa;
  margin-top: 3px;
}

/* ---- 에스컬레이션 버튼 ---- */
#pressco-chat-fab .escalate-btn {
  margin-top: 6px;
  padding: 7px 12px;
  background: #637561;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 12px;
  cursor: pointer;
  transition: background 0.15s;
}
#pressco-chat-fab .escalate-btn:hover { background: #4a5a49; }

/* ---- 타이핑 인디케이터 ---- */
#pressco-chat-fab .typing-indicator {
  display: flex;
  gap: 4px;
  padding: 10px 13px;
  background: #ffffff;
  border-radius: 14px;
  border-bottom-left-radius: 4px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  width: fit-content;
}
#pressco-chat-fab .typing-dot {
  width: 6px;
  height: 6px;
  background: #999999;
  border-radius: 50%;
  animation: typingBounce 1.2s infinite;
}
#pressco-chat-fab .typing-dot:nth-child(2) { animation-delay: 0.2s; }
#pressco-chat-fab .typing-dot:nth-child(3) { animation-delay: 0.4s; }
@keyframes typingBounce {
  0%, 60%, 100% { transform: translateY(0); }
  30% { transform: translateY(-4px); }
}

/* ---- 빠른 답변 버튼 ---- */
#pressco-chat-fab .quick-replies {
  display: flex;
  gap: 6px;
  padding: 8px 16px;
  flex-wrap: wrap;
  background: #f7f9f7;
  flex-shrink: 0;
}
#pressco-chat-fab .quick-reply-btn {
  padding: 6px 12px;
  background: #ffffff;
  border: 1px solid #637561;
  border-radius: 16px;
  color: #637561;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.15s;
  white-space: nowrap;
}
#pressco-chat-fab .quick-reply-btn:hover {
  background: #637561;
  color: #ffffff;
}

/* ---- 입력 영역 ---- */
#pressco-chat-fab .chat-input-area {
  display: flex;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid #eeeeee;
  background: #ffffff;
  flex-shrink: 0;
}
#pressco-chat-fab .chat-input {
  flex: 1;
  padding: 8px 12px;
  border: 1px solid #dddddd;
  border-radius: 20px;
  font-size: 16px;
  outline: none;
  transition: border-color 0.15s;
  background: #fafafa;
}
#pressco-chat-fab .chat-input:focus {
  border-color: #637561;
  background: #ffffff;
}
#pressco-chat-fab .chat-input::placeholder { color: #bbbbbb; }
#pressco-chat-fab .chat-send {
  padding: 8px 14px;
  background: #637561;
  color: #ffffff;
  border: none;
  border-radius: 20px;
  font-size: 13px;
  cursor: pointer;
  transition: background 0.15s;
  white-space: nowrap;
}
#pressco-chat-fab .chat-send:hover { background: #4a5a49; }
#pressco-chat-fab .chat-send:disabled {
  background: #aaaaaa;
  cursor: not-allowed;
}

/* ---- Phase 2: 피드백 버튼 ---- */
#pressco-chat-fab .feedback-btns {
  display: flex;
  gap: 6px;
  margin-top: 4px;
  flex-wrap: wrap;
}
#pressco-chat-fab .feedback-btn {
  padding: 4px 10px;
  background: #f5f7f5;
  border: 1px solid #d0dbd0;
  border-radius: 12px;
  font-size: 11px;
  cursor: pointer;
  transition: all 0.15s;
  color: #555555;
  line-height: 1.4;
}
#pressco-chat-fab .feedback-btn:hover {
  background: #637561;
  color: #ffffff;
  border-color: #637561;
}
#pressco-chat-fab .feedback-done {
  font-size: 11px;
  color: #637561;
  padding: 4px 2px;
  display: inline-block;
}

/* ---- 모바일 전체화면 (<768px) ---- */
@media (max-width: 767px) {
  #pressco-chat-fab {
    bottom: 16px;
    right: 16px;
  }
  #pressco-chat-fab .chat-widget {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100%;
    height: 100%;
    border-radius: 0;
    z-index: 10000;
  }
  #pressco-chat-fab .fab-panel {
    right: 0;
    bottom: 68px;
    width: 200px;
  }
}

/* BASIC css end */

