@charset "utf-8";

/* FAQ 페이지 다크모드 스타일 */

/* 카테고리 스타일 */
#bo_cate {margin-bottom:28px}
#bo_cate h2 {position:absolute;font-size:0;line-height:0;overflow:hidden}
#bo_cate ul {zoom:1}
#bo_cate ul:after {display:block;visibility:hidden;clear:both;content:""}
#bo_cate li {display:inline-block;padding:3px}
#bo_cate a {
    display:block;
    line-height:30px;
    padding:8px 20px;
    border-radius:25px;
    border:1px solid #3d3d3d;
    background:#252525;
    color:#9ca3af;
    font-weight:500;
    transition:all 0.2s ease;
    font-size:0.95em;
}
#bo_cate a:focus, #bo_cate a:hover, #bo_cate a:active {
    text-decoration:none;
    background:#4a9eff;
    color:#fff;
    border-color:#4a9eff;
    transform:translateY(-2px);
    box-shadow:0 4px 8px rgba(74, 158, 255, 0.3);
}
#bo_cate #bo_cate_on {
    z-index:2;
    background:#4a9eff;
    color:#fff;
    font-weight:600;
    border:1px solid #4a9eff;
    box-shadow:0 4px 12px rgba(74, 158, 255, 0.4);
}

/* FAQ 전체 래퍼 */
#faq_wrap {
    margin:20px 0 30px;
}
#faq_wrap h2 {position:absolute;font-size:0;line-height:0;overflow:hidden}
.faq_admin {text-align:right;margin-bottom:10px}
#faq_wrap ol {margin:0;padding:0;list-style:none}

/* FAQ 아이템 스타일 */
#faq_wrap li {
    border:1px solid #2d2d2d;
    background:#1a1a1a;
    position:relative;
    margin-bottom:12px;
    border-radius:12px;
    overflow:hidden;
    transition:all 0.3s ease;
}
#faq_wrap li:hover {
    background:#1e1e1e;
    border-color:#3d3d3d;
    transform:translateY(-2px);
    box-shadow:0 4px 12px rgba(0,0,0,0.3);
}
#faq_wrap li:first-child {
    margin-top:0;
}
#faq_wrap li h3 {
    min-height:60px;
    line-height:30px;
    padding:20px;
    padding-left:60px;
    position:relative;
    margin:0;
    cursor:pointer;
    color:#e0e0e0;
    transition:all 0.2s ease;
}
#faq_wrap li h3:hover {
    color:#fff;
}
#faq_wrap li h3 .tit_btn {
    position:absolute;
    right:20px;
    top:50%;
    transform:translateY(-50%);
    border:0;
    width:32px;
    height:32px;
    background:#252525;
    color:#9ca3af;
    font-size:1.3em;
    border-radius:50%;
    transition:all 0.2s ease;
    cursor:pointer;
}
#faq_wrap li h3 .tit_btn:hover {
    background:#2a2a2a;
    color:#4a9eff;
}
#faq_wrap li h3 .tit_bg {
    display:inline-block;
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    left:20px;
    text-align:center;
    color:#4a9eff;
    font-size:1.5em;
    font-weight:600;
    width:30px;
    height:30px;
    line-height:30px;
}
#faq_wrap li h3.faq_li_open {
    color:#4a9eff;
}
#faq_wrap li h3.faq_li_open .tit_btn {
    background:#4a9eff;
    color:#fff;
    transform:translateY(-50%) rotate(45deg);
}

/* FAQ 답변 내용 */
#faq_con .con_inner {
    display:none;
    padding:0 60px 25px 60px;
    color:#b0b0b0;
    line-height:1.8;
    font-size:0.95em;
    border-top:1px solid #2d2d2d;
    margin-top:-5px;
    background:#161616;
}
#faq_con .con_inner .tit_bg {
    display:inline-block;
    position:absolute;
    top:20px;
    left:20px;
    text-align:center;
    background:#252525;
    color:#86efac;
    border-radius:50%;
    width:30px;
    line-height:30px;
    height:30px;
    font-weight:600;
}
#faq_con .con_inner .closer_btn {
    position:absolute;
    right:20px;
    top:20px;
    border:0;
    width:30px;
    height:30px;
    background:#252525;
    color:#dc3545;
    font-size:1.2em;
    border-radius:50%;
    cursor:pointer;
    transition:all 0.2s ease;
}
#faq_con .con_inner .closer_btn:hover {
    background:#dc3545;
    color:#fff;
}

/* FAQ 검색 영역 */
#faq_sch {
    background:#1e1e1e;
    padding:30px;
    text-align:center;
    margin:0 0 20px;
    border:1px solid #2d2d2d;
    border-radius:12px;
}
#faq_sch .sch_tit {
    position:absolute;
    margin:0;
    padding:0;
    font-size:0;
    line-height:0;
    text-indent:-9999em;
    overflow:hidden;
}
#faq_sch .frm_input {
    border:1px solid #3d3d3d;
    width:350px;
    height:45px;
    border-radius:6px;
    background:#252525;
    color:#e0e0e0;
    padding:0 15px;
    font-size:0.95em;
    transition:all 0.2s ease;
}
#faq_sch .frm_input:focus {
    background:#2a2a2a;
    border-color:#4a9eff;
    outline:none;
    box-shadow:0 0 0 3px rgba(74, 158, 255, 0.2);
}
#faq_sch .frm_input::placeholder {
    color:#6b7280;
}
#faq_sch .btn_submit {
    padding:0 20px;
    height:45px;
    min-width:100px;
    font-size:1em;
    font-weight:600;
    color:#fff;
    background:#4a9eff;
    border:none;
    border-radius:6px;
    cursor:pointer;
    transition:all 0.2s ease;
    margin-left:8px;
}
#faq_sch .btn_submit:hover {
    background:#3a8eef;
    transform:translateY(-1px);
    box-shadow:0 4px 8px rgba(74, 158, 255, 0.3);
}

/* 관리자 버튼 스타일 */
.faq_admin a {
    display:inline-block;
    padding:8px 16px;
    background:#374151;
    color:#e0e0e0;
    border-radius:6px;
    font-size:0.9em;
    font-weight:500;
    transition:all 0.2s ease;
    text-decoration:none;
}
.faq_admin a:hover {
    background:#4b5563;
    color:#fff;
}

/* 링크 스타일 */
#faq_con a {
    color:#60a5fa;
    text-decoration:underline;
}
#faq_con a:hover {
    color:#93bbfc;
}

/* 반응형 스타일 */
@media (max-width: 768px) {
    #bo_cate a {
        padding:6px 15px;
        font-size:0.9em;
    }
    #faq_wrap li h3 {
        padding:15px;
        padding-left:50px;
        min-height:50px;
    }
    #faq_wrap li h3 .tit_bg {
        left:15px;
        font-size:1.3em;
    }
    #faq_wrap li h3 .tit_btn {
        right:15px;
        width:28px;
        height:28px;
        font-size:1.1em;
    }
    #faq_con .con_inner {
        padding:0 50px 20px 50px;
    }
    #faq_sch .frm_input {
        width:calc(100% - 120px);
        margin-bottom:10px;
    }
    #faq_sch .btn_submit {
        width:100px;
    }
}

/* 스크롤바 스타일 */
::-webkit-scrollbar {
    width:12px;
    height:12px;
}
::-webkit-scrollbar-track {
    background:#1e1e1e;
}
::-webkit-scrollbar-thumb {
    background:#3d3d3d;
    border-radius:6px;
}
::-webkit-scrollbar-thumb:hover {
    background:#4d4d4d;
}