@charset "UTF-8";
/* ------------------

common.css

--------------------- */
@font-face {
    font-family: Pretendard;
    src: url('/font/Pretendard.woff2') format('woff2');
}

html, body {
    overscroll-behavior: none;
}

body, input, textarea, button, select {
    font-family: 'Pretendard', sans-serif;
}

body {
    background-color: #ddcaff;
}

/* loading */
#loading_background {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background-color: transparent;
    z-index: 9999;
}

#loading {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9998;
    display: flex;
    align-items: center; /* 수직가운데정렬 */
    justify-content: center; /* 수평가운데정렬 */
}

/*메시지있는컨펌박스*/
#confirm_background {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9998;
    background-color: rgba(0, 0, 0, 0.5);
}

#confirm {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13pt;
}

#confirm_message {
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    width: 250px;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    border-bottom: solid 1px #efefef;
    color: #1f2937;
}

#confirm_message > div {
    margin: 25px;
    word-break: break-all;
}

#confirm_btn_box {
    display: flex;
    height: 50px;
}

#confirm_yes_btn {
    width: 124px;
    height: 100%;
    background: #FFFFFF;
    color: #3897f0;
    text-align: center;
    line-height: 50px;
    border-bottom-left-radius: 12px;
    border-right: solid 1px #efefef;
}

#confirm_no_btn {
    width: 125px;
    height: 100%;
    background-color: #FFFFFF;
    color: #ed4956;
    line-height: 50px;
    text-align: center;
    border-bottom-right-radius: 12px;
}

#confirm_yes_btn:active {
    background-color: #efefef;
}

#confirm_no_btn:active {
    background-color: #efefef;
}

/*메시지없는컨펌박스*/
#confirm_without_message_background {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9998;
    background-color: rgba(0, 0, 0, 0.5);
}

#confirm_without_message {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11pt;
}

#confirm_without_message_yes_btn {
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    width: 250px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ed4956;
    background: #FFFFFF;
    border-bottom: solid 1px #efefef;
}

#confirm_without_message_no_btn {
    color: #1f2937;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    width: 250px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
}

#confirm_without_message_yes_btn:active {
    background-color: #efefef;
}

#confirm_without_message_no_btn:active {
    background-color: #efefef;
}

/*얼럿박스*/
#alert_box_background {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9998;
    background-color: rgba(0, 0, 0, 0.5);
}

#alert {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13pt;
}

#alert_message {
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    width: 250px;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1f2937;
    background: #FFFFFF;
    border-bottom: solid 1px #efefef;
}

#alert_message > div {
    margin: 25px;
    word-break: break-all;
}

#alert_ok_btn {
    color: #3897f0;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    width: 250px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
}

#alert_ok_btn:active {
    background-color: #efefef;
}

#progress_box {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 30px;
    left: 0;
    z-index: 9997;
    display: flex;
    align-items: center; /* 수직가운데정렬 */
    justify-content: center; /* 수평가운데정렬 */
}

#progress_msg {
    padding: 0 4px 0 4px;
    font-size: 8pt;
    background-color: #2e2f2a;
    color: #FFFFFF;
    border-radius: 7px;
}

#loading img {
    width: 30px;
}

/* header */
#page_header {
    display: flex;
    line-height: 30px;
    position: fixed;
    padding-top: 10px;
    padding-bottom: 10px;
    left: 0;
    top: 0;
    width: 100%;
    background-color: #ddcaff;
    color: #7c7c7c;
    z-index: 999;
    height: 30px;
}

#title_box {
    width: 50%;
    font-size: 20pt;
    display: flex;
    justify-content: left;
    align-items: center;
    color: #1f2937;
    padding-left: 15px;
}

#header_btn_box {
    display: flex;
    justify-content: right;
    align-items: center;
    width: 50%;
    padding-right: 5px;
}

#left_btn_box {
    width: 47px;
    height: 47px;
    font-size: 20pt;
    display: flex;
    align-items: center;
    justify-content: center;
}

#right_btn_box {
    width: 47px;
    height: 47px;
    font-size: 20pt;
    display: flex;
    align-items: center;
    justify-content: center;
}

#notification_btn {
    position: relative;
    text-align: right;
    font-size: 14pt;
}

#notification_count {
    width: 7px;
    height: 7px;
    background: #ED0000;
    border-radius: 50%;
    position: absolute;
    top: 7px;
    right: 17px;
    color: #fff;
}

/* footer */
.align_footer {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 65px;
}

#page_footer {
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    bottom: 20px;
    width: 85%;
    max-width: 500px;
    z-index: 999;
    height: 65px;
    border-radius: 100px;

    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

#page_footer ul li {
    height: 100%;
    float: left;
    width: 25%;
    list-style: none;
    text-align: center;
    color: #7c7c7c;
    font-size: 18pt;
    position: relative;
}

.footer_title {
    font-size: 7pt;
}

.image_button_32px {
    width: 32px;
    height: 32px;
    background-size: cover;
    background-position: center;
}

.image_button_27px {
    width: 27px;
    height: 27px;
    background-size: cover;
    background-position: center;
}

.image_button_20px {
    width: 20px;
    height: 20px;
    background-size: cover;
    background-position: center;
}

#message_btn {
    position: relative;
}

#not_readed_message_total_count {
    width: 7px;
    height: 7px;
    background: #ED0000;
    border-radius: 50%;
    position: absolute;
    top: 0;
    right: -3px;
}

/* 공통 */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    text-decoration: none;
    /* 폰에서 터치 길게 했을때 아무 반응 없게 하려고 추가 */
    -ms-user-select: none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}

::-webkit-scrollbar { /* Safari and Chrome */
    display: none;
}


/* input, textarea 브라우저에서 클릭시 생기는 테두리 없애기. */
input:focus, textarea:focus {
    outline: none;
}

/* safari에서 input, textarea 그림자효과 없애기 */
input, textarea {
    -webkit-appearance: none;
}

.emoji::before {
    content: attr(data-emoji);
}

.nav_footer_emoji {
    opacity: 0.55;
    transition: opacity 0.15s ease;
    position: relative; /* 추가 */
}

.nav_footer_emoji.is-active {
    opacity: 1;
}


.nav_footer_emoji.is-active::after {
    content: '';
    position: absolute;
    top: -10px;
    left: -25px;
    right: -25px;
    bottom: -10px;
    border-radius: 100px;
    background-color: rgba(180, 180, 180, 0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1),
    0 1px 2px rgba(0, 0, 0, 0.05);
    z-index: -1;
    pointer-events: none;
}