/*====================================================
  1. 유틸리티 (Utility)
====================================================*/
.pb-20 { padding-bottom: 20px;}
.pb-80 { padding-bottom: 80px;}
.pb-150 { padding-bottom: 150px;}
.pc-br {
  display: block; /* 또는 inline */
}

/* 모바일 해상도 (768px 이하) 설정 */
@media screen and (max-width: 768px) {
  .pc-br {
    display: none;
  }
}
h1, h2, h3, h4, p, span, li {
  word-break: keep-all;
  overflow-wrap: break-word;
}
/*====================================================
  2. 리셋 & 기본 스타일 (Reset & Base)
====================================================*/

@font-face {
    font-family: 'Pretendard';
    font-style: normal;
    font-weight: 100; /* Thin */
    src: url('/fonts/Pretendard-Thin.woff') format('opentype');
}

@font-face {
    font-family: 'Pretendard';
    font-style: normal;
    font-weight: 200; /* ExtraLight */
    src: url('/fonts/Pretendard-ExtraLight.woff') format('opentype');
}

@font-face {
    font-family: 'Pretendard';
    font-style: normal;
    font-weight: 300; /* Light */
    src: url('/fonts/Pretendard-Light.woff') format('opentype');
}

@font-face {
    font-family: 'Pretendard';
    font-style: normal;
    font-weight: 400; /* Regular */
    src: url('/fonts/Pretendard-Regular.woff') format('opentype');
}

@font-face {
    font-family: 'Pretendard';
    font-style: normal;
    font-weight: 500; /* Medium */
    src: url('/fonts/Pretendard-Medium.woff') format('opentype');
}

@font-face {
    font-family: 'Pretendard';
    font-style: normal;
    font-weight: 600; /* SemiBold */
    src: url('/fonts/Pretendard-SemiBold.woff') format('opentype');
}

@font-face {
    font-family: 'Pretendard';
    font-style: normal;
    font-weight: 700; /* Bold */
    src: url('/fonts/Pretendard-Bold.woff') format('opentype');
}

@font-face {
    font-family: 'Pretendard';
    font-style: normal;
    font-weight: 800; /* ExtraBold */
    src: url('/fonts/Pretendard-ExtraBold.woff') format('opentype');
}

@font-face {
    font-family: 'Pretendard';
    font-style: normal;
    font-weight: 900; /* Black */
    src: url('/fonts/Pretendard-Black.woff') format('opentype');
}

* {
    font-family: 'Pretendard';
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Pretendard', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden; /* 가로 스크롤 방지 */
    /* 배경 이미지 크기를 30%로 축소하고 속성을 통합 */
    background: url('../images/bot.png') no-repeat center center fixed;
    background-size: 30% auto; /* 뷰포트 너비의 30%로 크기 조정 */
}

a {
    text-decoration: none;
    color: inherit;
}


/*====================================================
  3. 헤더 (Header) - 데스크탑
====================================================*/
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    padding: 0 12%;
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
}

header.scrolled {
    height: 70px;
    box-shadow: 0 4px 30px rgba(0,0,0,0.1);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}
.logo a {
    /* inline-block으로 설정하여 내용물(img) 크기만큼만 높이를 가지도록 합니다. */
    display: inline-block;
    /* line-height를 초기화하여 상속되는 불필요한 높이/여백을 제거합니다. */
    line-height: 0; 
}
header > .logo > a > img {
    width: 116px;
}
.menu{
    display: flex; align-items: center; justify-content: center; gap: 30px;
}

/* ---------------------------------------------------- */
/* 데스크톱 전용 챗봇 링크 설정 */
.mobile-chat-link {
    display: none; /* 데스크톱에서는 숨김 */
}
.desktop-chat-link {
    display: block; /* 데스크톱에서는 표시 */
}
/* ---------------------------------------------------- */

nav {
    display: flex;
    gap: 50px;
    transition: all 0.3s ease; /* 모바일 메뉴 전환 효과 */
}

nav a {
    color: #333;
    font-size: 15px;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
}

/* 네비게이션 호버 효과 */
nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #FF6200;
    transition: width 0.3s ease;
}

nav a:hover {
    color: #FF6200;
}

nav a:hover::after {
    width: 100%;
}


/*====================================================
  4. 햄버거 메뉴 (모바일)
====================================================*/

/* 햄버거 버튼 기본 스타일 */
.hamburger {
    display: none; /* 기본적으로 숨김 (데스크탑) */
    width: 30px;
    height: 30px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    position: relative;
    z-index: 1001;
}

.hamburger .bar {
    display: block;
    width: 100%;
    height: 3px;
    margin: 5px 0;
    background-color: #ff6200;
    transition: all 0.3s ease-in-out;
}

/* 햄버거 버튼 X자로 변환 애니메이션 */
.hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}


/*====================================================
  5. 반응형 미디어 쿼리 (Media Queries)
====================================================*/
@media (max-width: 768px) {
    /* 햄버거 버튼 보이기 */
    .hamburger {
        display: block;
    }
    
    /* 헤더 레이아웃 조정 (로고와 버튼 간격) */
    header {
        justify-content: space-between;
        padding: 0 5%; /* 모바일에서 좌우 패딩 조정 */
    }

    /* ---------------------------------------------------- */
    /* ✅ 1. 데스크톱용 챗봇 버튼 숨기기 (헤더 우측 상단) */
    .desktop-chat-link {
        display: none;
    }
    
    /* ✅ 2. 모바일 메뉴 내의 챗봇 링크 표시 및 스타일 */
    .mobile-chat-link {
        display: flex; 
        align-items: center;
        gap: 10px; 
        font-size: clamp(16px, 1.5vw, 18px);
        font-weight: 500;
        color: #333;
        padding: 10px 0;
        width: 100%;
        border-bottom: 1px solid #f0f0f0;
    }
    
    /* 모바일 메뉴 챗봇 이미지 크기 조정 */
    .mobile-chat-link img {
        width: 12x; /* 아이콘 크기 조정 */
        height: auto;
    }
    /* ---------------------------------------------------- */

    /* 네비게이션 메뉴 숨기기 (모바일 기본) */
    .nav-menu {
        position: fixed;
        top: 0;
        right: -300px; /* 화면 밖으로 이동 */
        width: 300px;
        height: 100vh;
        background-color: #ffffff;
        flex-direction: column;
        padding: 100px 30px 20px;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        z-index: 1000;
        gap: 20px;
        border-left: 1px solid #eee;
    }

    /* 메뉴가 활성화되었을 때 */
    .nav-menu.active {
        right: 0; /* 화면 안으로 이동 */
    }
    
    /* 메뉴 링크 스타일 */
    .nav-menu a {
        font-size: clamp(16px, 1.5vw, 18px);
        font-weight: 500;
        color: #333;
        padding: 10px 0;
        width: 100%;
        border-bottom: 1px solid #f0f0f0;
    }
    
    /* 모바일 챗봇 링크의 경우 border-bottom을 제거하여 깔끔하게 보일 수 있습니다. */
    .mobile-chat-link {
        border-bottom: none; 
        /* 상단 다른 메뉴 항목과 구별하기 위해 border-top을 추가할 수도 있습니다. */
        /* border-top: 1px solid #f0f0f0; */
    }


    /* 기존 nav 스타일 재정의 */
    nav {
        gap: 0;
    }
    
    /* 기존 nav a 호버 스타일 제거 (모바일에서 필요 없음) */
    .nav-menu a::after {
        content: none;
    }
}


/*====================================================
  6. 페이지 섹션 스타일
====================================================*/

/* Page Header */
.page-header-section {
        background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
        margin-top: 50px;
    }

    .page-header {
        max-width: 1440px;
        /* 너비 제한 */
        margin: 0 auto;
        /* 중앙 정렬 */
        padding: 80px 40px;
        /* 위아래 여백 80px, 좌우 여백 40px (솔루션 섹션과 통일) */
        box-sizing: border-box;
    }

.page-header h1 {
    font-size: clamp(32px, 4.667vw, 56px);
    font-weight: 800;
    color: #111;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.page-header p {
    font-size: clamp(16px, 1.5vw, 18px);
    color: #666;
    line-height: 1.8;
}

/* Tab Buttons */
.tab-buttons {
    display: flex;
    gap: 15px;
    margin-top: 40px;
}

.tab-button {
    padding: 12px 30px;
    border: 2px solid #ddd;
    background: white;
    color: #666;
    cursor: pointer;
    font-size: clamp(14px, 1.333vw, 16px);
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    font-family: 'Noto Sans KR', sans-serif;
}

.tab-button a {
    color: inherit; 
}

.tab-button:hover {
    border-color: #111;
}

.tab-button.active {
    background: #111;
    color: white;
    border-color: #111;
}

/* Hero Banner */
.hero-banner {
    position: relative;
    height: 400px;
    background: url('../img/sol_bg.png') no-repeat center/cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    padding: 0 5%;
    margin-bottom: 100px;
}

.hero-banner h2 {
    font-size: clamp(24px, 2.667vw, 32px);
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.4;
    letter-spacing: -1px;
}

.hero-banner p {
    font-size: clamp(16px, 1.5vw, 18px);
    line-height: 1.8;
    max-width: 700px;
}


/*====================================================
  7. CTA 섹션 (Call to Action)
====================================================*/
.cta-section {
    background: linear-gradient(135deg, #1a1a2e 0%, #0f0f1e 100%);
    color: white;
    padding: 100px 8%;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* 배경 광원 효과 */
.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 1000px;
    height: 1000px;
    background: radial-gradient(circle, rgba(0,102,255,0.15) 0%, transparent 70%);
}

.cta-section h2 {
    font-size: clamp(24px, 2.667vw, 32px);
    font-weight: 800;
    margin-top: 12px;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
    line-height: 1.4;
}

.cta-section p {
    font-size: clamp(16px, 1.5vw, 18px);
    color: rgba(255,255,255,0.8);
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.cta-section .highlight {
    color: #FF6200;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    position: relative;
    z-index: 1;
}

.btn-outline {
    padding: 18px 45px;
    background: transparent;
    color: white;
    border: 2px solid rgba(255,255,255,0.3);
    cursor: pointer;
    font-size: clamp(14px, 1.333vw, 16px);
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.4s ease;
    font-family: 'Noto Sans KR', sans-serif;
}

.btn-outline:hover {
    background: #FF6200;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255,255,255,0.2);
}

/* CTA 섹션 이미지 (별도 배치된 요소) */
.cta-image {
    position: absolute;
    right: 8%;
    bottom: 0;
    width: 200px;
    height: 200px;
    z-index: 1;
}


/*====================================================
  8. 푸터 (Footer)
====================================================*/
footer {
    background: #111;
    color: #999;
    padding: 60px 8% 40px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #333;
}

.footer-info p {
    margin-bottom: 8px;
    font-size: clamp(12px, 1.167vw, 14px);
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: #999;
    font-size: clamp(12px, 1.167vw, 14px);
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    font-size: clamp(11px, 1.1vw, 13px);
    color: #666;
}


  @media (max-width: 768px) {
        .pb-20 { padding-bottom: 12px;}
        .pb-80 { padding-bottom: 40px;}
        .pb-150 { padding-bottom: 60px;} 
        .pc_br { display: none;}
        .page-header {
                padding: 120px 6% 60px;
            }
        .hero-banner p {
        font-size: 16px;
        line-height: 1.4;
        max-width: 400px;
        }
        .footer-logo img{
            width: 200px;
        }
        .footer-content {
                flex-direction: column;
                gap: 30px;
            }

        .footer-links {
                gap: 15px;
                align-items: flex-start; /* Align links to the left */
           }
    }

  @media screen and (min-width: 769px) {
    .mobile_br {display: none;}
    
    
}
/* 사이드바 관련 CSS */

.sidebar {
    width: 80px;
    background: #111;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 1rem 0;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
    position: fixed;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    height: 90%;
    border-radius: 20px;
    transition: width 0.3s ease;
}

.sidebar-line {
    border-top: 1px solid #ddd;
    width: 100%;
    margin: 10px 0;
}

.sidebar.expanded {
    width: 260px;
    display: flex;
    align-items: flex-start;
    padding: 1rem;
    padding-top: 28px;
}

.sidebar-item {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    /* padding: 0 15px; */
    box-sizing: border-box;
}

/* ---------------------------------------------------- */
/* ✅ 추가: sidebar-item 호버 시 텍스트 색상 변경 */
.sidebar-item:hover .label,
.sidebar-item:hover .section-title {
    color: #FF6200 !important; /* 주황색으로 변경, !important는 dark-mode 오버라이딩을 피하기 위함 */
    transition: color 0.3s ease;
}

/* ✅ 다크 모드 호버 스타일: 흰색/밝은 회색 계열 유지 */
body.dark-mode .sidebar-item:hover .label,
body.dark-mode .sidebar-item:hover .section-title {
    color: #ffd700 !important; /* 골드 계열로 변경하여 대비를 높임 */
}
/* ---------------------------------------------------- */


.sidebar .label {
    display: none;
    color: #fff;
    font-size: 0.95rem;
    white-space: nowrap;
}

.sidebar.expanded .label {
    display: inline;
}

.sidebar.expanded .sidebar-search input {
    display: block;
}

.sidebar-search {
    width: 90%;
    /* padding: 0 15px; */
    margin-bottom: 1rem;
    box-sizing: border-box;
}

.sidebar-search input {
    width: 100%;
    padding: 8px 12px;
    border-radius: 10px;
    border: 1px solid #ddd;
    display: none;
}

.sidebar.expanded .sidebar-search input {
    display: block;
}

.sidebar-section {
    width: 100%;
    /* padding: 0 15px; */
    box-sizing: border-box;
}

.sidebar.expanded .section-title {
    display: block;
    /* margin-bottom: 10px; */
    font-size: 0.9rem;
    color: #fff;
}


.chat-item {
    font-size: 0.9rem;
    color: #444;
    margin-bottom: 5px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    cursor: pointer;
}

.sidebar.expanded .chat-item {
    white-space: normal;
}

.sidebar-search {
    width: 90%;
    /* padding: 0 15px; */
    margin-bottom: 1rem;
    box-sizing: border-box;
}

.sidebar-icon {
    width: 40px;
    height: 40px;
    /* margin: 1rem auto; */
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
}

/* 아이콘 고정 */
.sidebar-icon {
    width: 40px;
    height: 40px;
    background: no-repeat center center;
}

.sidebar-icon.menu {
    background-image: url('../images/icon/menu.svg');
}

body.dark-mode .sidebar-icon.menu {
    background-image: url('../images/icon/menu-dark.svg');
}

.sidebar-icon.write {
    position: relative;
    background-image: url('../images/icon/edit_square.svg');
    border-radius: 15px;
    cursor: pointer;
    overflow: hidden;
}


body.dark-mode .sidebar-icon.write {
    background-image: url('../images/icon/edit_square_dark.svg');
}

.sidebar-icon.write:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/icon/edit_square_hover.svg') no-repeat center
        center;
    opacity: 0;
    transition: opacity 0.2s ease-in-out;
    pointer-events: none;
}

.sidebar-icon.write:hover:after {
    opacity: 1;
}

.sidebar-icon.write:hover {
    box-shadow: 5px 5px 4px 0px rgba(0, 132, 255, 0.4);
    border-radius: 20px;
}

body.dark-mode .sidebar-icon.write:hover {
    background-color:black;
}
    
.sidebar-icon.help {
    background-image: url('../images/icon/help.svg');
}

body.dark-mode .sidebar-icon.help {
    background-image: url('../images/icon/help_dark.svg');
}


.sidebar-icon.setting {
    background-image: url('../images/icon/setting.svg');
}


body.dark-mode .sidebar-icon.setting {
    background-image: url('../images/icon/setting_dark.svg');
}

.sidebar-icon.history {
    background-image: url('../images/icon/history.svg');
}

body.dark-mode .sidebar-icon.history {
    background-image: url('../images/icon/history_dark.svg');
}


.sidebar:not(.expanded) .sidebar-section, .sidebar:not(.expanded) .sidebar-search
    {
    display: none;
}

.chat-item {
    padding: 8px 12px;
    border-radius: 10px;
    transition: background-color 0.2s;
}

.chat-item {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 6px 8px;
    width: 200px;
    height: 36px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    cursor: pointer;
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
    font-size: clamp(12px, 1.167vw, 14px);
}

.chat-item.active {
    background: linear-gradient(0deg, rgba(216, 216, 216, 0.2),
        rgba(216, 216, 216, 0.2)), rgba(255, 255, 255, 0.12);
    box-shadow: inset 1px 1px 2px rgba(0, 0, 0, 0.25);
    border-radius: 12px;
}

.chat-item.active .chat-title {
    font-weight: 600;
}

/* 텍스트 영역 */
.chat-item .chat-title {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: inherit;
}

body.dark-mode .chat-item .chat-title{
    color:white;
}


/* more_horiz.svg 아이콘 (우측) */
.chat-item .chat-more-icon {
    width: 20px;
    height: 20px;
    background: url('../images/icon/more_horiz.svg') no-repeat center center;
    background-size: 16px 16px;
    opacity: 0.7;
    transition: opacity 0.2s ease;
    flex-shrink: 0;
}


body.dark-mode .chat-item .chat-more-icon {
    background: url('../images/icon/more_horiz_dark.svg') no-repeat center center;
}




.chat-item .chat-more-icon:hover {
    opacity: 1;
}

.sidebar-chat-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-height: 250px;
    overflow-y: auto;
        overflow-x: hidden;
}

.chat-item {
    padding: 10px 12px;
    font-size: 0.95rem;
    color: #333;
    border-radius: 8px;
    cursor: pointer;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    transition: background-color 0.2s;
}

.chat-item:hover {
    background-color: #f2f2f2;
}

.sidebar-bottom {
    margin-top: auto; /* 남은 공간을 위로 밀어서 아래에 고정 */
    display: flex;
    flex-direction: column;
    align-items: center;
}


.sidebar-bottom .sidebar-item{
    height:40px;
}



.sidebar-item {
    display: flex;
    align-items: center;
}

/* 추가: 축소 상태에서 write 아이콘만 중앙 정렬되도록 분기 */
.sidebar:not(.expanded) .sidebar-item {
    justify-content: center;
}


.sidebar .label, .sidebar .section-title, .sidebar .chat-item {
    opacity: 0;
    visibility: hidden;
    white-space: nowrap;
    transition: opacity 0.3s ease, visibility 0.3s ease, white-space 0s
        linear 0.3s;
}

/* 사이드바가 펼쳐진 상태일 때 텍스트를 즉시 보이게 합니다. */
.sidebar.expanded .label, .sidebar.expanded .section-title,
    .sidebar.expanded .chat-item {
    opacity: 1;
    visibility: visible;
    white-space: normal;
    transition-delay: 0s;
}

.sidebar-icon.darkmode {
    background-image: url('../images/icon/moon.svg'); /* 기본: 밤 아이콘 */
    width: 40px;   /* 요소의 전체 크기를 40px로 설정 */
    height: 40px;  /* 요소의 전체 크기를 40px로 설정 */
    cursor: pointer;
    transition: background-image 0.3s ease;

    /* 아이콘(background-image) 자체의 크기를 25px로 설정하고 중앙에 배치 */
    background-size: 25px 25px; /* 배경 이미지의 실제 크기를 25x25px로 지정 */
    background-repeat: no-repeat;
    background-position: center;
}


body.dark-mode .sidebar {
    background-color: #1e1e1e;
}

body.dark-mode .section-title, body.dark-mode .sidebar-item .label{
    color:white !important;
}

/* ---------------------------------------------------- */
/* ✅ 추가: 챗봇 플로팅 창 관련 스타일 */
/* ---------------------------------------------------- */
/* 작은 아이콘 스타일 */
#chatbot-icon {
    position: fixed;
    bottom: 8%;
    right: 8%;
    width: 60px;
    height: 60px;
    background-color: #111;
    border-radius: 50%;
    z-index: 9999;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: bold;
    font-size: clamp(14px, 1.333vw, 16px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    transition: all 0.5s ease-in-out; /* 크기 변경 트랜지션 추가 */
}
#chatbot-icon:hover {
    width: 70px;
    height: 70px;
    /* transition: 0.5s ease-in-out; (기존 중복 코드 제거) */
        background: linear-gradient(135deg, #FF6200 0%, #ff9900 100%);
}

/* 플로팅 창 스타일 (데스크톱 기본값) */
#chatbot-floating {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 460px; /* 데스크톱 너비 */
    height: 720px; /* 데스크톱 높이 */
    border: 1px solid #ccc;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    z-index: 9999;
    background-color: #fff;
    overflow: hidden;
    display: none; /* 초기에는 숨김 */
    transition: all 0.3s ease; /* 전환 효과 추가 */
}

#chatbot-floating iframe {
    width: 100%;
    height: 100%;
    border: none;
}

#chatbot-floating-toggle {
    cursor: pointer;
    color: #fff;
    padding-right: 14px;
    font-size: 12px;
    display: flex;
    align-items: center;
    
}
.chat-top-box{
    display: flex; justify-content: space-between;     border-bottom: 1px solid #E5E5EC;
}
   .chat-top{
    display: flex; align-items: center; justify-content:center; gap:12px; padding: 20px 14px 16px;
   }

/* ---------------------------------------------------- */
/* ✅ 모바일 해상도 (768px 이하)일 때 전체 화면으로 변경 */
/* ---------------------------------------------------- */
@media (max-width: 768px) {
    /* 1. 챗봇 아이콘 위치 조정 (선택 사항: 화면 모서리) */
    #chatbot-icon {
        bottom: 20px;
        right: 20px;
    }
    
    /* 2. 플로팅 창을 전체 화면으로 확장 */
    #chatbot-floating {
        /* 화면을 꽉 채우도록 위치 및 크기 조정 */
        width: 100%;
        height: 100%;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        
        /* 모바일에서는 모서리 둥글게 처리 제거 (전체 화면이므로) */
        border-radius: 0; 
        border: none;
    }
    .tab-buttons{
        flex-direction: column;
    }
    .content-wrapper{
        flex-direction: column;
    }
}
