@charset "utf-8";

#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:2px}
#bo_cate a {display:block;line-height:28px;padding:5px 15px;border-radius:30px;border:1px solid #d6e9ff;color:#6794d3}
#bo_cate a:focus, #bo_cate a:hover, #bo_cate a:active {text-decoration:none;background:#3a8afd;color:#fff}
#bo_cate #bo_cate_on {z-index:2;background:#3a8afd;color:#fff;font-weight:bold;border:1px solid #3a8afd;
-webkit-box-shadow:inset 0 2px 5px rgb(33, 135, 202);
-moz-box-shadow:inset 0 2px 5px rgb(33, 135, 202);
box-shadow:inset 0 2px 5px rgb(33, 135, 202)}

#faq_wrap {margin:10px 0 30px}
#faq_wrap h2 {position:absolute;font-size:0;line-height:0;overflow:hidden}
.faq_admin {text-align:right}
#faq_wrap ol {margin:0;padding:0;list-style:none}
#faq_wrap li {border-bottom:1px solid #ececec;background:#fff;position:relative}
#faq_wrap li:first-child {border-top:1px solid #ececec}
#faq_wrap li h3 {min-height:50px;line-height:30px;padding:15px;padding-left:50px;position:relative}
#faq_wrap li h3 .tit_btn {position:absolute;right:15px;top:15px;border:0;width:30px;height:30px;background:#fff;color:#c5cdd8;font-size:1.2em}
#faq_wrap li h3 .tit_bg {display:inline-block;position:absolute;top:15px;left:15px;text-align:center;color:#000;font-size:1.6em}
#faq_wrap li h3.faq_li_open a {color:#3a8afd}

#faq_con .con_inner {display:none;padding:5px 5px 20px 50px}
#faq_con .con_inner .tit_bg {display:inline-block;position:absolute;top:10px;left:10px;text-align:center;background:#777;color:#fff;border-radius:50%;width:30px;line-height:30px;height:30px}
#faq_con .con_inner .closer_btn {position:absolute;right:15px;top:15px;border:0;width:30px;height:30px;background:#fff;color:#3a8afd;font-size:1.2em}

#faq_sch {background:#f7f7f7;padding:30px;text-align:center;margin:0 0 10px}
#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 #d0d3db;width:300px;height:45px;border-radius:0;border-radius:3px}
#faq_sch .btn_submit {padding:0 10px;height:45px;width:88px;font-size:1.083em;font-weight:bold;color:#fff;background:#434a54}

/* LottoGPT FAQ accessibility overrides */
/* 고객지원 FAQ - 40대 이상 사용자 가독성 기준 */

#faq_wrap {
    margin: 20px 0 40px;
    font-size: 16px;
    color: #222;
}

#faq_wrap li {
    background: #fff;
    border-color: #d9dde2;
}

/* 질문 */
#faq_wrap li h3 {
    min-height: 66px;
    padding: 18px 60px 18px 58px;
    line-height: 30px;
    background: #fff;
}

#faq_wrap li h3 a {
    display: inline-block;
    font-size: 18px !important;
    line-height: 1.6;
    font-weight: 700;
    color: #222 !important;
    text-decoration: none;
}

#faq_wrap li h3 a:hover,
#faq_wrap li h3 a:focus,
#faq_wrap li h3.faq_li_open a {
    color: #0b63ce !important;
}

#faq_wrap li h3 .tit_bg {
    top: 18px;
    left: 18px;
    font-size: 22px;
    line-height: 30px;
    font-weight: 700;
    color: #111 !important;
}

#faq_wrap li h3 .tit_btn {
    top: 18px;
    right: 18px;
    width: 34px;
    height: 34px;
    font-size: 18px;
    color: #555 !important;
}

/* 답변 */
#faq_con .con_inner {
    position: relative;
    padding: 18px 60px 24px 58px;
    font-size: 17px !important;
    line-height: 1.8;
    color: #333 !important;
    background: #fafafa;
}

#faq_con .con_inner,
#faq_con .con_inner p,
#faq_con .con_inner div,
#faq_con .con_inner span,
#faq_con .con_inner strong,
#faq_con .con_inner b,
#faq_con .con_inner em,
#faq_con .con_inner li,
#faq_con .con_inner td {
    font-size: 17px !important;
    line-height: 1.8;
    color: #333 !important;
}

#faq_con .con_inner a {
    font-size: 17px !important;
    color: #0b63ce !important;
}

#faq_con .con_inner .tit_bg {
    top: 18px;
    left: 18px;
    width: 32px;
    height: 32px;
    line-height: 32px;
    font-size: 16px !important;
    font-weight: 700;
    background: #555;
    color: #fff !important;
}

#faq_con .con_inner .closer_btn {
    top: 18px;
    right: 18px;
    width: 34px;
    height: 34px;
    font-size: 18px;
}

/* 검색 영역 */
#faq_sch {
    padding: 30px;
    margin-bottom: 18px;
    background: #f5f6f7;
}

#faq_sch .frm_input {
    width: 320px;
    height: 48px;
    padding: 0 12px;
    font-size: 16px;
    color: #222;
    background: #fff;
    border: 1px solid #aaa;
}

#faq_sch .btn_submit {
    width: 92px;
    height: 48px;
    padding: 0 12px;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    background: #343a40;
}

/* FAQ 그룹/카테고리 */
#faq_cate {
    margin: 0 0 18px;
}

#faq_cate a {
    min-height: 40px;
    padding: 9px 14px;
    font-size: 15px !important;
    line-height: 22px;
    font-weight: 700;
}

/* 관리자 아이콘 */
.faq_admin .btn {
    min-width: 46px;
    min-height: 40px;
    font-size: 16px;
}

/* 빈 목록 */
#faq_wrap .empty_list,
.empty_list {
    padding: 35px 20px;
    font-size: 16px;
    line-height: 1.7;
    color: #555 !important;
}

@media (max-width: 768px) {
    #faq_sch {
        padding: 20px 15px;
    }

    #faq_sch .frm_input {
        width: calc(100% - 100px);
        min-width: 0;
    }

    #faq_wrap li h3 {
        padding-left: 52px;
        padding-right: 52px;
    }

    #faq_con .con_inner {
        padding-left: 52px;
        padding-right: 52px;
    }

    #faq_wrap li h3 a {
        font-size: 17px !important;
    }

    #faq_con .con_inner,
    #faq_con .con_inner p,
    #faq_con .con_inner div,
    #faq_con .con_inner span {
        font-size: 16px !important;
    }
}

/* LottoGPT FAQ action visibility */

.faq_admin {
    margin-top: 20px;
    text-align: right;
}

.faq_admin .btn_admin {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-width: 118px;
    height: 44px;
    padding: 0 16px;
    border: 1px solid #9aa1a8 !important;
    border-radius: 4px;
    background: #ffffff !important;
    color: #222222 !important;
    font-size: 16px !important;
    font-weight: 700;
}

.faq_admin .btn_admin::after {
    content: "FAQ 수정";
}

.faq_admin .btn_admin:hover,
.faq_admin .btn_admin:focus {
    border-color: #333 !important;
    background: #f3f4f5 !important;
    color: #111 !important;
}

#faq_wrap .empty_list,
.empty_list {
    padding: 38px 20px !important;
    font-size: 17px !important;
    line-height: 1.7;
    color: #444 !important;
}

/* LottoGPT FAQ final readability fix */

/* 빈 FAQ 안내문 - 어두운 사이트 배경에서 확실히 보이게 */
#faq_wrap .empty_list,
#faq_con .empty_list {
    display: block;
    width: 100%;
    margin: 28px 0;
    padding: 32px 20px !important;
    box-sizing: border-box;
    background: #ffffff !important;
    border: 1px solid #d8dde3;
    border-radius: 4px;
    font-size: 17px !important;
    line-height: 1.7;
    font-weight: 500;
    text-align: center;
    color: #333333 !important;
}

#faq_wrap .empty_list a,
#faq_con .empty_list a {
    font-size: 17px !important;
    font-weight: 700;
    color: #0b63ce !important;
}

/* FAQ 그룹 버튼 */
#faq_cate a {
    min-width: 120px;
    min-height: 42px;
    padding: 10px 16px !important;
    box-sizing: border-box;
    font-size: 16px !important;
    line-height: 22px;
    font-weight: 700;
    white-space: nowrap;
}

/* FAQ 수정 버튼 */
.faq_admin {
    margin-top: 22px;
    text-align: right;
}

.faq_admin .btn_admin {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: auto !important;
    min-width: 130px !important;
    height: 46px !important;
    padding: 0 18px !important;
    box-sizing: border-box;
    overflow: visible;
    border: 1px solid #9aa1a8 !important;
    border-radius: 4px;
    background: #ffffff !important;
    color: #222222 !important;
    font-size: 16px !important;
    line-height: 1 !important;
    font-weight: 700;
    white-space: nowrap !important;
}

.faq_admin .btn_admin i {
    display: inline-block;
    flex: 0 0 auto;
    font-size: 16px;
    color: #333333 !important;
}

.faq_admin .btn_admin::after {
    content: "FAQ 수정";
    display: inline-block;
    position: static;
    width: auto;
    height: auto;
    margin: 0;
    padding: 0;
    font-size: 16px;
    line-height: 1;
    font-weight: 700;
    color: #222222;
    white-space: nowrap;
}

.faq_admin .btn_admin:hover,
.faq_admin .btn_admin:focus {
    border-color: #333333 !important;
    background: #f2f3f4 !important;
    color: #111111 !important;
}
