/* 알림장 도우미 */
#chatWindow{
    overflow: visible;
}
.chat-window {
    width: 100vw;
    height:calc(100vh - 54px);
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    background: #fff;
    margin-top:54px;
    z-index:1000;
}
.chat-window.expanded {
    width: 700px;
    height: 800px;
}
.chat-header {
    background-color: var(--bg);
    color: #414040;
    padding: 10px 12px;
    height:60px;
    border-bottom:solid 1px #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.chat-header strong{
    font-size:18px;
    font-weight: bold;
    padding-left: 10px;
}
/* 버튼 컨테이너 */
.chat-header-buttons {
    display: flex;
    align-items: center;
    gap: 4px; /* 버튼 사이 간격 최소화 */
}
/* 모든 아이콘 버튼 공통 스타일 */
.icon-btn {
    background: none;
    border: none;
    color: #414040;
    font-size: 16px;
    padding: 6px;
    cursor: pointer;
}
/* .icon-btn:hover {
  opacity: 0.8;
} */
.icon-btn.new-feature-btn{
    width: 32px;
}
.icon-btn.new-feature-btn img{
    width: 100%;
    object-fit: contain;
}
.chat-body {
    flex: 1;              /* 남은 영역을 채우도록 */
    overflow-y: auto;     /* 채팅 내용 스크롤 */
    padding: 16px;
}

.chat-body.bookmark {
    padding-top:60px;
}

.chat-message {
    max-width: 100%;
    padding: 12px 16px;
    border-radius: 16px;
    font-size: 14px;
    line-height: 1.5;
    word-break: break-word;
    position: relative;
}

.chat-wrapper[data-key="button"] .chat-message{
    max-width: 96%;
}
.chat-wrapper[data-key="selectClass"] .chat-message{
    width: 290px;
}

.chat-message.bot {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-self: flex-start;
    background-color: #f7f7f7;
    color: #333;
}

.chat-message.user {
    align-self: flex-end;
    background-color: #C0DFF8;
    color: #414040;
    padding: 10px 14px;
    border-radius: 16px 16px 0 18px;
    max-width: 75%;
    width: fit-content;
    word-break: break-word;
    margin: 0;
    display: inline-block;
    text-align: left;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.usage-count {
    position: absolute;
    bottom: 8px;
    right: 12px;
    font-size: 12px;
    color: #666;
}
.intro-card {
    border-radius: 16px;
    padding: 20px;
    text-align: center;
}
.intro-card img{
    width: 150px;
    height: 150px;
    padding: 15px;
    box-sizing: border-box;
    display:inline;
}
.intro-header {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.intro-text {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 16px;
    text-align: left;
}

.intro-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.intro-btn {
    padding: 8px 16px;
    background-color: #FDDFE8;
    color: #414040;
    border: none;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.intro-btn.detail{
    background-color: #fff;
}
.intro-btn.detail:hover{
    background-color: #eee;
}
.intro-btn.start{
    background-color: #C0DFF8;
}
.intro-btn.start:hover {
    background-color: #B2D7F5;
}
/* 버튼 스타일 */
.tone-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.tone-btn {
    padding: 6px 14px;
    border: 1px solid #ccc;
    border-radius: 20px;
    background-color: #fff;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.tone-btn:hover {
    background-color: #C0DFF8;
    color: #414040;
    border-color: transparent;
}

.tone-btn.selected {
    background-color: #C0DFF8;
    color: #414040;
    border-color: transparent;
}

.tone-btn.long {
    padding-left: 16px;
    padding-right: 16px;
    font-size: 13px;
}

.button-group {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.chat-wrapper .select-btn {
    padding: 6px 12px;
    border-radius: 20px;
    border: 1px solid #ccc;
    background-color: #fff;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.chat-wrapper .select-btn.active,
.chat-wrapper .select-btn:not(:disabled):hover {
    background-color: #C0DFF8;
    color: #414040;
    border-color: #C0DFF8;
}

.chat-wrapper .select-btn:disabled,
.chat-wrapper .select-btn.disabled{
    cursor: default;
    color: #333;
    opacity: 1;
    pointer-events: none;
}


.chat-footer {
    flex-shrink: 0;       /* 푸터가 눌리지 않게 */
    border-top: 1px solid #ddd;
    background: #fff;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.class-manage {
    display: flex;
    flex-direction: column;
    align-items: center;
    white-space: nowrap; /* 줄바꿈 방지 */
    color: #666;
    font-size: 12px;
    flex-shrink: 0;
}

.class-manage i {
    font-size: 18px;
}


/* .chat-footer input[type="text"] {
  flex: 1;
  padding: 10px 16px;
  border-radius: 20px;
  border: 1px solid #ccc;
  font-size: 14px;
  box-sizing: border-box;
} */

.chat-footer textarea {
    flex: 1;
    min-height: 40px;
    max-height: 150px;
    padding: 10px;
    line-height: 1.4;
    border-radius: 8px;
    resize: none;
    overflow-y: auto;
    font-size: 16px;
    border: none;                /* 테두리 없앰 */
    background: #f5f7fb;         /* 은은한 배경만 */
    outline: none;
    box-shadow: none;
}

.chat-footer textarea.full-text{
    padding: 4px 7px;
    overflow-y :hidden;
    line-height: 1.1;
}

.send-btn {
    padding: 10px 16px;
    height:41px;
    border: none;
    background-color: #cce6ff;
    border-radius:8px;
    font-size: 14px;
    cursor: pointer;
    white-space: nowrap;
}

.close-btn {
    background: none;
    border: none;
    font-size: 20px;
    color: #414040;
    cursor: pointer;
}
/* 타임 스탬프 */
.timestamp-wrapper {
    margin-top: 4px;
    font-size: 11px;
    color: #999;
    text-align: left;
}

/* 기본적으로 숨김 처리 */
.timestamp-wrapper {
    margin-top: 4px;
    font-size: 11px;
    color: #999;
    text-align: left;
}
.chat-wrapper{
    display: flex;
    flex-direction: column;
    margin-bottom: 12px;
}
.chat-wrapper.user .timestamp-wrapper {
    text-align: right;
}

.action-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.action-btn {
    padding: 10px 16px;
    border: none;
    border-radius: 24px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    color: #333;
    width: fit-content;
    transition: background-color 0.2s ease;
}

.action-btn.blue {
    background-color: #C0DFF8;
}

.action-btn.yellow {
    background-color: #FDDFE8;
}

.action-btn.pink {
    background-color: #C0DFF8;
}
.action-btn.back{
    background-color: #F9E4AB;
}
/* 선택 레이아웃 */
.dropdown-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    max-width: 479px;
    width: 100%;
    margin: 0;
}
.dropdown-box {
    position: relative;
    /* flex: 1; */
    width: 180px;
}

/* 버튼 */
.dropdown-btn {
    width: 100%;
    padding: 8px 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 6px;
    background-color: #fff;
    cursor: pointer;
    text-align: left;
    font-weight: 400;
    position: relative;
    padding-right: 24px;
    width: 200px; /* 버튼도 넉넉하게 */
}
.dropdown-btn i {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none; /* 클릭 막기 (선택 사항) */
}
.dropdown-btn.open .arrow {
    transform: translateY(-40%) rotate(180deg);
}
.dropdown-btn .arrow{
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none; /* 클릭 방지 */
}
/* 드롭다운 리스트 */
.dropdown-list {
    position: absolute;
    top: 100%;
    left: 0;
    width: 200px;  /* 이 부분을 키워보세요 */
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    z-index: 1000;
    padding: 10px 0;
}
.dropdown-list.show {
    display: block;
}

.dropdown-box.active .dropdown-list {
    display: block;
}

.dropdown-list label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    cursor: pointer;
}
.custom-checkbox {
    display: block;
    padding: 4px 14px;
    font-size: 14px;
    white-space: nowrap;
    cursor: pointer;
}

/* select 메뉴 커스텀 */
.custom-select-wrapper {
    position: relative;
    width: 100%;
    flex: 1 1 auto;
    font-size: 16px;
}

/* 원아 선택 래퍼일 때만 세로 → 가로 레이아웃 */
.custom-select-wrapper[data-type="class"],
.custom-select-wrapper[data-type="child"]{
    width: 190px;
}
.custom-select-wrapper[data-type="child"] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.custom-select-wrapper .select-confirm-wrap {
    flex: 0 0 auto;
}

/* 드롭다운이 버튼 공간 남기고 적당히 확장 */
.custom-select-wrapper[data-type="child"] .custom-select,
.custom-select-wrapper[data-type="class"] .custom-select{
    width: 170px;
    flex: 1 1 auto;
}

.custom-select {
    position: relative;
    display: block; /* 또는 inline-block */
    width: 100%;
    background: #fff;
    cursor: pointer;
}

.custom-select-trigger {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: center;
    padding: 8px 10px;
    background: #ffffff;
    border-radius: 6px;
    cursor: pointer;
}

.custom-select-trigger.select-class-child {
    width: 170px;
}
.custom-select-trigger.select-class-child .select-btn {
    padding: 6px 19px;
}

.custom-select-trigger i{
    font-size: var(--font-size-xl);
}
.custom-select.open .arrow {
    transform: rotate(180deg);
}
.arrow {
    float: right;
    transition: transform 0.3s ease;
}

/* 목록 4항목만 보이게 수정 */
.custom-options {
    position: absolute;
    left: 0;
    width: 100%; /* 부모 너비 기준 */
    border: 1px solid #ccc;
    border-radius: 6px;
    background: white;
    display: none;
    flex-direction: column;
    align-items: stretch;
    z-index: 1000;
    /* ✅ 여기가 중요: 한 줄 높이 45px 4줄에 맞춰서 높이 설정 */
    max-height: 170px; /* 4줄 정도로 제한 */
    overflow-y: auto;
    overflow-x: hidden;
}
.custom-options .down{
    top: 100%; /* 아래로 붙게 */
}
.custom-options.up{
    bottom: 100%; /* 위로 붙게 */
}
.custom-option {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 14px;
    height: 45px;
    width: 100%;
    cursor: pointer;
    box-sizing: border-box;
}

.custom-option .child-check {
    position: relative;
    z-index: 2;
    pointer-events: all;
}

.custom-option.option-child:hover {
    background: #ffffff;
}

.custom-option.option-child.selected {
    color: #414040;
    background: #c0dff8;
}



.custom-select.open .custom-options {
    display: flex;
    flex-direction: column;
}
.custom-select.disabled {
    opacity: 0.6;
    pointer-events: none;
}

.custom-select.disabled .custom-select-trigger {
    background-color: #eee;
    cursor: not-allowed;
}

#wrap.test{
    min-height: 500px;
}
.copy-popup {
    display: none;
    background: white;
    border: 1px solid #ccc;
    padding: 8px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    z-index: 999;
}

.copy-menu-item {
    display: block;
    padding: 6px 10px;
    background: none;
    border: none;
    text-align: left;
    width: 100%;
    cursor: pointer;
}

.copy-menu-item:hover {
    background-color: #f0f0f0;
}
.fixed-select{
    z-index: 10;
    width:calc(100% - 20px);
    position: fixed;
    top:110px;
    left:10px;
    right:10px;
}

.dropdown-wrapper{
    max-width: 500px;
    width: 100%;
}
.typing-indicator {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
    height: 24px;
    padding: 4px 8px;
}

.typing-indicator span {
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: #aaa;
    border-radius: 50%;
    animation: blink 1.4s infinite;
}

.typing-indicator span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes blink {
    0% { opacity: 0.3; transform: translateY(0); }
    20% { opacity: 1; transform: translateY(-2px); }
    100% { opacity: 0.3; transform: translateY(0); }
}
/* scrap 버튼 */
.chat-message.bot button.scrap{
    position: absolute;
    top: -2%;
    right: -12%;
    transform: translate(-12%, -2%);
    background-color: transparent;
    border: 0;
    transition: all 0.3s;
    cursor: pointer;
    color: #3E5FAC;
}
.chat-message.bot button.scrap i{
    font-size: 20px;
}
.chat-message.bot button.scrap:hover{
    color: #ccc;
}
#chatWindow.expanded .chat-message .scrap{
    right: -7%;
}
.chat-message.bot.scrap{
    padding-right: 10px;
}
.chat-message.bot p{
    padding-right: 10px;
    box-sizing: border-box;
    white-space: pre-line;
}
/* 툴팁 디자인 */
/* 툴팁 기본 스타일 숨김 */
[data-tooltip] {
    position: relative;
    cursor: pointer;
}

[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    top:10px; /* 버튼 위에 표시 */
    left:-80px;
    transform: translateX(-50%);
    background-color: #333;
    color: white;
    padding: 6px 10px;
    border-radius: 6px;
    white-space: nowrap;
    font-size: 13px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 999;
}

/* 툴팁 화살표 */
[data-tooltip]::before {
    display: none;
    content: "";
    position: absolute;
    bottom: 110%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: #333 transparent transparent transparent;
    opacity: 0;
    transition: opacity 0.2s ease;
}

/* 마우스 호버 시 툴팁 표시 */
[data-tooltip]:hover::after,
[data-tooltip]:hover::before {
    opacity: 1;
}
/* modal창 커스텀 */
.custom-alert {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    font-size: 15px;
}

.custom-alert-box {
    background: #fff;
    width: 400px;
    padding: 20px 30px;
    box-sizing: border-box;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

.custom-alert-buttons button {
    margin: 10px 3px;
    padding: 6px 20px;
    border: none;
    border-radius: 5px;
    background-color: #C0DFF8;
    color: #414040;
    cursor: pointer;
}

.custom-alert-buttons button:hover {
    background-color: #a4d6ff;
}

.hidden {
    display: none;
}
/* 스크랩 버튼 */
.scrap-btn {
    position: absolute;
    top:-15px;
    right:-15px;
    transform: translate(-12%, -5%);
    /*display: none;*/
    background: none;
    border: none;
    cursor: pointer;
    color: #ccc;
    padding: 10px;
}
.chat-message .scrap-btn i{
    font-size: 20px;
}
.chat-message:hover .scrap-btn {
    display: block;
}
.scrap-btn:hover {
    color: #3E5FAC;
}
.chat-message.scrapped .scrap-btn {
    display: block;
    color: #3E5FAC;
    font-weight: bold;
}
/* 확대 상태일 때 위치 조정 */
#chatWindow.expanded .chat-message .scrap-btn {
    right: -7%;
}
.toast {
    position: absolute;
    bottom: 70px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0,0,0,0.8);
    color: #fff;
    padding: 12px 20px;
    border-radius: 30px;
    font-size: 14px;
    opacity: 0;
    pointer-events: none;
    z-index: 9999;
    transition: opacity 0.3s ease;
}
.toast.show {
    opacity: 1;
}
/* 알림장 정리해서 보여주는 구분 선*/
.chat-divider {
    border: none;
    border-top: 1px solid #C0DFF8; /* 파란색 */
    margin: 16px 0;
    width: 100%;
}

/* 클릭 시 스크랩 복사 기능 */
.chat-message.bot{
    position: relative;
    cursor: pointer;
}
.copy-menu {
    position: absolute;
    bottom: 50%;
    right: 0;
    transform: translateY(-8px); /* 메뉴 띄우기 (또는 margin-bottom 써도 됨) */
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    padding: 8px 4px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-width: 120px;
    /*  height: 100px;*/
    z-index: 1000;
    box-sizing: border-box;
}
.copy-menu.only{
    height: 55px;
}
.copy-menu.item3{
    height: 136px;
}

/* 메뉴 아이템 스타일 */
.copy-menu-item {
    width: 100%;
    padding: 10px 12px;
    background: none;
    border: none;
    text-align: left;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    transition: all 0.3s;
}

.copy-menu-item:hover {
    background-color: #f0f0f0;
}


/* 횟수 제한 알림 */
.chat-warning {
    background-color: #FFEEF5; /* 옅은 노란색 배경 */
    border: 1px solid #FFCEE0; /* 경고 느낌의 테두리 */
    color: #414040; /* 약간 진한 갈색 텍스트 */
    padding: 12px 16px;
    margin: 16px 0;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.6;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.chat-warning-btn {
    margin-top: 8px;
    background-color: #ffa0c3;
    color: #fff;
    border: none;
    padding: 8px 18px;
    font-size: 14px;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s;
}
/* 이전 대화 보기 버튼 */
.load-prev-wrapper {
    text-align: center;
    margin-bottom: 12px;
}

.load-prev-btn {
    padding: 6px 12px;
    font-size: 13px;
    background-color: #fff;
    color: #333;
    border: 1px solid #ccc;
    border-radius: 15px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.load-prev-btn:hover {
    background-color: #ddd;
}

/* 업무지원 서비스 말풍선 */
.gnb-menu-list > li.menu-support {
    position: relative; /* 말풍선 위치 기준 */
    width: 137px;
}

/* 업무지원 서비스 링크 스타일 */
.menu-support a.support {
    display: inline-block;
    padding: 4px 20px;
    border: 3px solid #FFD7E5; /* 핑크 테두리 */
    border-radius: 30px;
    text-decoration: none;
    vertical-align: top;
    top: -8px;
    color: #555;
    position: relative;
    text-align: center;
    background-color: #FFD7E5;
}

/* 말풍선 */
.menu-bubble img{
    width: 10px;
    top: -2px;
    position: relative;
}

@keyframes bubbleBlink {
    0%, 70%, 100% {
        opacity: 1; /* 완전히 보임 */
    }
    85% {
        opacity: 0.4; /* 반투명 */
    }
}

.menu-bubble {
    position: absolute;
    top: -40px;
    left: 4%;
    transform: translateX(-100%);
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    background: linear-gradient(to bottom, #FFF6F9 0%, #FFD7E5 100%);
    color: #333;
    border: 6px solid rgba(255, 255, 255, 0.5);
    border-radius: 16px 16px 0 16px;
    box-shadow:
            0 4px 8px rgba(0, 0, 0, 0.15),
            inset 0 2px 4px rgba(255, 255, 255, 0.7),
            inset 0 -2px 4px rgba(0, 0, 0, 0.05);
    z-index: 10;

    /* 깜빡임 추가 */
    animation: bubbleBlink 1.5s infinite ease-in-out;
}

/* 꼬리 외곽선 */
.menu-bubble::before {
    content: "";
    position: absolute;
    bottom: -10px;      /* 높이 줄였으니 위로 살짝 올림 */
    right: 2px;
    border-width: 10px 0 0 13px;   /* ↓꼬리 더 짧고 좁게! */
    border-style: solid;
    border-color: #FFD7E5 transparent transparent transparent;
    transform: skew(-25deg, 0deg);
    z-index: 0;
}

/* 꼬리(오른쪽 하단, 본체와 완전히 붙음) */
.menu-bubble::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -12px;      /* 높이 줄였으니 위로 살짝 올림 */
    border-width: 12px 0 0 16px;   /* ↓꼬리 더 짧고 좁게! */
    border-style: solid;
    border-color: #FFD7E5 transparent transparent transparent;
    display: block;
    z-index: 2;
}

/* 플러스 버튼 */
.plus-menu {
    position: relative;
}

.plus-btn {
    width: 36px;
    height: 36px;
    border-radius:12px;
    background: #fff;
    font-size: 22px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border:1px solid #dfe6ee;
}

/* 드롭다운 메뉴 - 가로 배치 */
.plus-dropdown {
    position: absolute;
    bottom: 52px; /* 버튼 위로 */
    left: -15px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    display: none; /* 기본 숨김 */
    width: 140px; /* 가로 길이 고정 */
}
.plus-dropdown button {
    all: unset; /* 모든 기본 스타일 제거 */
    display: flex;
}
.plus-dropdown .menu-item {
    display: flex;              /* 아이콘 + 텍스트 가로 배치 */
    align-items: center;        /* 세로 중앙 정렬 */
    gap: 6px;                   /* 아이콘과 텍스트 간격 */
    width: 100%;
    padding: 12px 14px;
    box-sizing: border-box;
    font-size: 14px;
    text-decoration: none;
    color: #333;
    border-bottom: 1px solid #eee;
    cursor: pointer;
}

.plus-dropdown .menu-item i {
    width: 16px;                /* 아이콘 영역 고정 */
    text-align: center;         /* 아이콘 가운데 맞춤 */
}

.plus-dropdown .menu-item:last-child {
    border-bottom: none;
}

.plus-dropdown .menu-item:hover {
    background: #f8f8f8;
}


/* 새로운 원아 알림장 작성 안내 */
/* 강조 안내 메시지 */
/* 강조 안내 메시지 */
.chat-message.bot.chat-message-highlight{
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-self: flex-start;
    background-color: #f7f7f7;
    color: #333;
    animation: blink-bg 1.5s infinite ease-in-out; /* 깜빡임 */
}

/* 깜빡임 애니메이션 */
@keyframes blink-bg {
    0%, 100% {
        background-color: #f7f7f7; /* 원래 색 */
    }
    50% {
        background-color: #eeeeee;
    }
}

/* 툴팁 강제 표시 상태 */
.icon-btn[data-tooltip].show-tooltip::after {
    opacity: 1; /* hover 안 해도 표시 */
}

/* ✅ select 4개를 2개씩/2행으로 배치 */
.chat-wrapper.bot.grid-2x2 .chat-message.bot{
    display: grid;
    grid-template-columns: repeat(2, minmax(120px, 1fr)); /* 2열 */
    gap: 12px;                                            /* 박스 간 간격 */
    align-items: start;
}


.intro-btn.start.btn-pink
{
    background-color: #FFD7E5;
}
.intro-btn.start.btn-pink:hover{
    background-color: #ffc1d7;
}

/* 신고 팝업 스타일 */
.report-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
}

.report-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.report-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 12px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.report-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.report-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.report-close {
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #666;
    line-height: 1;
}

.report-body {
    padding: 20px;
}

.report-body p {
    margin: 0 0 15px 0;
    color: #666;
    font-size: 14px;
}

.report-reasons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 15px;
}

.report-reasons label {
    display: flex;
    align-items: center;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.report-reasons label:hover {
    background: #f8f9fa;
    border-color: #007bff;
}

.report-reasons input[type="radio"] {
    margin-right: 10px;
    margin-bottom:2px;
}

#reportDescription {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    resize: vertical;
    font-family: inherit;
}

.report-footer {
    padding: 15px 20px;
    border-top: 1px solid #eee;
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.report-footer button {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
}

.btn-cancel {
    background: #f1f3f5;
    color: #495057;
}

.btn-cancel:hover {
    background: #e9ecef;
}

.btn-submit-report {
    background: #dc3545;
    color: white;
}

.btn-submit-report:hover {
    background: #c82333;
}

.btn-submit-report:disabled {
    background: #ccc;
    cursor: not-allowed;
}