.header-menu { position: absolute; top: 0; right: -100%; width: 100%; height: 100vh; background-color: #fff; transition: right 0.3s ease-in-out; z-index: 99999; }
.header-menu.active { right: 0; }
.header-menu-wrap { position: relative; width: 100%; height: 100vh; }
.header-menu-hd { display: flex; justify-content: space-between; padding: 10px 2rem; background: var(---primary, #0D3D48); position: absolute; top: 0; left: 0; width: 100%; }
.header-menu-hd-btns { display: flex; grid-gap: 6px; align-items: center; }
.header-menu-hd-btns > button { cursor: pointer; }
.header-menu-hd-btns > div { cursor: pointer; }
.header-menu .menu-content { display: flex; flex-direction: column; grid-gap: 30px; padding: 30px 2rem; padding-top: 76px; height: 100dvh; overflow-y: scroll; scrollbar-width: none; -ms-overflow-style: none; background-color: #fff; padding: 0; grid-gap: 20px; padding-top: 92px; }
.header-menu .menu-content::-webkit-scrollbar { display: none;     /* Chrome, Safari, Opera */ }
.menu-content-login { display: flex; flex-direction: column; grid-gap: 20px; padding: 0 2rem; }
.menu-content-login-top { display: flex; flex-direction: column; grid-gap: 10px; justify-content: center; flex-direction: row; justify-content: space-between; width: 100%; align-items: center; }
.menu-content-login-top.line { padding-bottom: 20px; border-bottom: 1px solid #ECEFF4; }
.menu-content-login .title { color: var(--gray-80, #282D2F); font-family: Pretendard; font-size: 22px; font-style: normal; font-weight: 500; line-height: 150%;     /* 33px */ letter-spacing: -0.44px; }
.menu-content-login .title > span { color: var(---Emerald, #447D8B); }
.menu-content-login .more { display: flex; grid-gap: 4px; align-items: center; color: var(--gray-90, #172225);     /* sub/SB14 */ font-family: Pretendard; font-size: 14px; font-style: normal; font-weight: 600; line-height: 1;     /* 19.6px */ letter-spacing: -0.28px; color: var(--gray-90, #172225); text-align: center; font-family: Pretendard; font-size: 12px; font-style: normal; font-weight: 400; letter-spacing: -0.24px; }
.menu-content-login .more > span { display: flex; justify-content: center; align-items: center; }
.menu-content-login-bottom { display: flex; padding: 11px 16px; height: auto; align-items: center; justify-content: space-between; border-radius: 6px; background: var(--gray-20, #E1E6E8); grid-gap: 0; }
.menu-content-login-bottom .bar { height: 100%; width: 1px; border-right: 1px solid var(--gray-30, #AEB8BC); }
.menu-content-login-bottom > div a { display: flex; align-items: center; color: var(---primary, #0D3D48);     /* sub/me14 */ font-family: Pretendard; font-size: 14px; font-style: normal; font-weight: 500; letter-spacing: -0.28px; grid-gap: 3px; }
.menu-content-login-bottom .btns { display: flex; width: 100%; flex: 1; justify-content: center; justify-content: space-between; align-items: center; }
.menu-content-login-bottom .btns .btns_title { color: var(---primary, #0D3D48); font-family: Pretendard; font-size: 14px; font-style: normal; font-weight: 500; letter-spacing: -0.28px; display: flex; align-items: center; grid-gap: 4px; }
.menu-content-login-bottom .btns .btns_title .order_count { color: var(---point-color, #0083A4); margin-left: 4px; }
.menu-content-login-after { display: flex; grid-gap: 10px; margin-bottom: 0; }
.menu-content-login-after .menu-content-login-img { width: 71px; position: relative; }
.menu-content-login-img .img_box { width: 71px; height: 71px; position: relative; border-radius: 50%; overflow: hidden; background-color: #0D3D48; display: flex; justify-content: center; align-items: center; }
.menu-content-login-img > a { position: absolute; bottom: 0; right: 0; background-color: #172225; border-radius: 50%; overflow: hidden; display: flex; justify-content: center; align-items: center; width: 24px; height: 24px; }
.menu-content .menu_box_list { display: flex; flex-direction: column; grid-gap: 20px; padding: 0 2rem; }
.menu-content .menu_box .custom-details { }
.menu-content .menu_box .custom-details summary { list-style: none; cursor: pointer; display: flex; grid-gap: 20px; padding: 20px 10px; justify-content: space-between; align-items: center; color: var(--gray-50, #778083); font-size: 16px; font-weight: 600; }
.menu-content .menu_box .custom-details summary > div.order_summary { overflow: hidden; color: var(--gray-90, #172225); text-overflow: ellipsis; font-size: 14px; font-weight: 600; width: 100%; flex: 1; display: flex; align-items: center; justify-content: flex-end; grid-gap: 4px; }
.menu-content .menu_box .custom-details summary .i_3 { width: 20px; transition: transform 0.3s ease; }
.menu-content .menu_box .custom-details[open] summary .i_3 { transform: rotate(180deg); }
.menu-content .menu_box .custom-details > div {     /* overflow: hidden;
height: 0;
transition: height 1s ease;
padding: 20px 10px;
padding-top: 0; */ }
.menu-content .menu_box .custom-details > div > ul { display: flex; flex-direction: column; grid-gap: 16px; color: var(--gray-90, #172225); font-size: 14px; font-style: normal; font-weight: 600; padding-top: 16px; }
.menu-content .menu_box .custom-details > div > ul li a { color: var(--gray-90, #172225); }
.menu-content .menu_box .custom-details[open] > div { height: auto; }
.menu-content .menu_box .custom-details .summary { display: flex; padding: 10px 0px; align-items: center; gap: 10px; align-self: stretch; color: var(--gray-50, #778083); text-align: center; font-family: Pretendard; font-size: 14px; font-style: normal; font-weight: 600; letter-spacing: -0.28px; border-bottom: 1px solid var(--gray-20, #E1E6E8); }
.cmn_btn_submit { display: flex; width: 100%; padding: 14px 8px; justify-content: center; align-items: center; color: #FFF; border-radius: 10px; background: var(--Enford-Main-Color, #0D3D48); font-size: 16px; font-weight: 600; }
.cmn_btn_submit:disabled { background: var(--gray-30, #AEB8BC); color: #fff; cursor: not-allowed; }
.cmn_login_input_box { display: flex; flex-direction: column; grid-gap: 5px; }
.cmn_login_input_box > label { color: var(--gray-50, #778083); font-family: Pretendard; font-size: 12px; font-style: normal; font-weight: 400; letter-spacing: -0.24px; }
.cmn_login_input_box > input[type="text"] { display: flex; height: 38px; width: 100%; padding: 8px 10px; align-items: center; gap: 8px; align-self: stretch; border-radius: 0; background: #FFF; color: var(--gray-70, #40474A); font-size: 14px; font-weight: 400; border: none; border-bottom: 1px solid var(--gray-30, #AEB8BC); padding-left: 0; }
.cmn_login_input_box > input[type="text"]::placeholder { color: var(--gray-30, #AEB8BC); }
.cmn_login_input_box > input[type="password"] { display: flex; height: 38px; width: 100%; padding: 8px 10px; align-items: center; gap: 8px; align-self: stretch; border-radius: 0; background: #FFF; color: var(--gray-70, #40474A); font-size: 14px; font-weight: 400; border: none; border-bottom: 1px solid var(--gray-30, #AEB8BC); }
.flex_row_list { display: flex; flex-direction: column; grid-gap: 20px; }
.alert-layer { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.5); display: flex; justify-content: center; align-items: center; z-index: 9999; }
.alert-content { display: flex; width: 100%; max-width: 320px; padding-top: 20px; flex-direction: column; align-items: center; gap: 25px; border-radius: 16px; background: var(--gray-10, #FFF); overflow: hidden; }
.alert-msg-box { display: flex; padding: 10px; flex-direction: column; justify-content: center; align-items: center; gap: 10px; }
.alert-content p { color: var(--gray-80, #282D2F); text-align: center; font-family: Pretendard; font-size: 14px; font-style: normal; font-weight: 500; line-height: 140%; letter-spacing: -0.28px; }
.alert-content button { cursor: pointer; display: flex; height: 50px; padding: 10px; justify-content: center; align-items: center; gap: 10px; align-self: stretch; background: var(---primary, #0D3D48); color: #fff; font-size: 14px; font-style: normal; font-weight: 500; }
.menu-content .gray_box { display: flex; width: 100%; height: 12px; justify-content: center; align-items: center; background: var(--gray-bg, #ECEFF4); }
.menu-content .sns_box { padding: 0 2rem; display: flex; flex-direction: column; grid-gap: 20px; padding-top: 20px; padding-bottom: 200px; }
.menu-content .sns_box .title { color: var(--gray-90, #172225); font-family: Pretendard; font-size: 18px; font-style: normal; font-weight: 700; letter-spacing: -0.36px; }
.menu-content .sns_box .sns_list { display: grid; grid-template-columns: repeat(4, 1fr); grid-gap: 20px; }
.menu-content .sns_box .icon_box { display: flex; flex-direction: column; grid-gap: 6px; width: 100%; }
.menu-content .sns_box .icon_box > div { color: var(--gray-50, #778083); font-size: 12px; font-style: normal; font-weight: 400; text-align: center; }
#chat-setting { }
#chat-setting .header-menu-wrap { }
#chat-setting .menu-content { padding-left: 20px; padding-right: 20px; background: var(--gray-bg, #ECEFF4); }
#chat-setting .menu-content .list { display: flex; flex-direction: column; grid-gap: 10px; }
#chat-setting .menu-content .list .item { display: flex; padding: 15px 16px; justify-content: space-between; align-items: center; align-self: stretch; border-radius: 10px; background: #FFF; }
#chat-setting .menu-content .list .item > p { color: var(--gray-90, #172225);     /* sub/B16 */ font-family: Pretendard; font-size: 16px; font-style: normal; font-weight: 700; letter-spacing: -0.32px; }
.toggle-switch { position: relative; display: inline-block; width: 36px; height: 22px; }
.toggle-switch input { opacity: 0; width: 0; height: 0; }
.slider { position: absolute; cursor: pointer; background-color: #ccc; border-radius: 34px; top: 0; left: 0; right: 0; bottom: 0; transition: 0.4s; }
.slider:before { content: ""; position: absolute; height: 20px; width: 20px; left: 2px; bottom: 1px; background-color: white; border-radius: 50%; transition: 0.4s; }
.toggle-switch input:checked + .slider { background-color: #427A87; }
.toggle-switch input:checked + .slider:before { transform: translateX(12px); }
#chat-setting .lang-select-box { display: flex; justify-content: flex-end; align-items: center; gap: 4px; align-items: center; }
#chat-setting .lang-select-box span { color: var(--gray-80, #282D2F);     /* sub/me14 */ font-family: Pretendard; font-size: 14px; font-style: normal; font-weight: 500; letter-spacing: -0.28px; line-height: 1; }
#chat-setting #overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.5);     /* 반투명 검정색 */ display: none;     /* 기본 숨김 */ z-index: 9;     /* slideDiv 아래 */ }
/* 활성화 시 */
#chat-setting #overlay.active { display: block;     /* 보이게 설정 */ }
#chat-setting #slideDiv { position: absolute; bottom: -100%;     /* 화면 밖으로 숨김 */ left: 0; background-color: #fff; transition: bottom 0.3s ease;     /* 애니메이션 */ z-index: 10; display: flex; width: 100%; height: auto; padding: 15px 20px; flex-direction: column; align-items: center; gap: 30px; border-radius: 16px 16px 0px 0px; }
#chat-setting #slideDiv.active { bottom: 0;     /* 화면에 보이게 */ }
#chat-setting #slideDiv .floor_box { width: 100%; font-size: 14px; }
#chat-setting #slideDiv .floor_box > li { display: flex; grid-gap: 20px; height: 56px; justify-content: space-between; align-items: center; border-bottom: 1px solid #ECEFF4; cursor: pointer; }
#chat-setting #slideDiv .floor_box > li .i_1 { width: 52px; }
#chat-setting #slideDiv .floor_box > li .i_2 { width: 100%; flex: 1; }
#chat-setting .slide-bar { display: flex; justify-content: center; align-items: center; }
#chat-setting .slide-bar > div { border-radius: 999px; background: #D9D9D9; width: 35px; height: 5px; }
#chat-setting .list_box { width: 100%; display: flex; flex-direction: column; grid-gap: 14px; }
#chat-setting .list_box p { color: var(--gray-90, #172225);     /* sub/B16 */ font-family: Pretendard; font-size: 16px; font-style: normal; font-weight: 700; line-height: 140%;     /* 22.4px */ letter-spacing: -0.32px; }
#chat-setting .list_box > ul { display: flex; flex-direction: column; grid-gap: 8px; }
#chat-setting .list_box > ul > li { display: flex; justify-content: space-between; padding: 15px 22px; align-items: center; align-self: stretch; border-radius: 10px; background: #FFF; box-shadow: 0px 0px 7.1px 0px rgba(143, 175, 183, 0.30); }
#chat-setting .list_box > ul > li > span { display: flex; align-items: center; gap: 4px; color: var(--gray-80, #282D2F); font-family: Pretendard; font-size: 14px; font-style: normal; font-weight: 500; letter-spacing: -0.28px; }
#chat-setting .custom-radio input[type="radio"] { display: none; }
#chat-setting .custom-radio .radio-label { color: var(--gray-90, #172225); font-size: 16px; font-weight: 400; display: flex; align-items: center; line-height: 1; flex: 1; }
#chat-setting .custom-radio .radio-label::before { content: ""; width: 22px; min-width: 22px; height: 22px; border: 2px solid #000; border-radius: 50%; display: inline-block; margin-right: 8px; box-sizing: border-box; }
#chat-setting .custom-radio input[type="radio"]:checked + .radio-label::before { background-color: #000; border-color: #000; box-shadow: inset 0 0 0 4px white; }


#lang-setting .menu-content{
    background-color: #ECEFF4;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 72px;
    grid-gap: 40px;
}

#lang-setting .list_box { width: 100%; display: flex; flex-direction: column; grid-gap: 14px; }
#lang-setting .list_box.flex{
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}
#lang-setting .list_box p { color: var(--gray-90, #172225);     /* sub/B16 */ font-family: Pretendard; font-size: 16px; font-style: normal; font-weight: 700; line-height: 140%;     /* 22.4px */ letter-spacing: -0.32px; }
#lang-setting .list_box > ul { display: flex; flex-direction: column; grid-gap: 8px; }
#lang-setting .list_box > ul > li { display: flex; justify-content: space-between; padding: 15px 22px; align-items: center; align-self: stretch; border-radius: 10px; background: #FFF; box-shadow: 0px 0px 7.1px 0px rgba(143, 175, 183, 0.30); }
#lang-setting .list_box > ul > li > span { display: flex; align-items: center; gap: 4px; color: var(--gray-80, #282D2F); font-family: Pretendard; font-size: 14px; font-style: normal; font-weight: 500; letter-spacing: -0.28px; }
#lang-setting .custom-radio input[type="radio"] { display: none; }
#lang-setting .custom-radio .radio-label { color: var(--gray-90, #172225); font-size: 16px; font-weight: 400; display: flex; align-items: center; line-height: 1; flex: 1; }
#lang-setting .custom-radio .radio-label::before { content: ""; width: 22px; min-width: 22px; height: 22px; border: 2px solid #000; border-radius: 50%; display: inline-block; margin-right: 8px; box-sizing: border-box; }
#lang-setting .custom-radio input[type="radio"]:checked + .radio-label::before { background-color: #000; border-color: #000; box-shadow: inset 0 0 0 4px white; }

#popup-alarm .menu-content {
    background-color: #ECEFF4;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 72px;
    grid-gap: 40px;
}

#popup-alarm .list{
    padding: 0;
    display: flex;
    flex-direction: column;
    grid-gap: 12px;
}

#popup-alarm .item{
display: flex;
width: 100%;
padding: 20px 16px;
flex-direction: column;
align-items: flex-start;
gap: 12px;
border-radius: 10px;
background: #FFF;
border-radius: 10px;
background: #FFF;
}

#popup-alarm .item > div:first-child{
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    grid-gap: 7px;
}

#popup-alarm .subject{
    color: var(--gray-90, #172225);
font-size: 16px;
font-style: normal;
font-weight: 600;
position: relative;
display: flex;
justify-content: space-between;
align-items: center;
width: 100%;
}

#popup-alarm .subject span{
    color: #0083A4;
}

#popup-alarm .message{
    color: var(--gray-80, #282D2F);
font-size: 12px;
font-style: normal;
font-weight: 400;
letter-spacing: -0.24px;
}

#popup-alarm .created_at{

color: var(--gray-50, #778083);
font-size: 12px;
font-style: normal;
font-weight: 400;
}

.alarm-badge {
    position: absolute;
    top: 0;
    right: 0;
    width: 5px;
    height: 5px;
    background-color: red;
    border-radius: 50%;
    animation: blink 1s infinite;
    z-index: 10;
    display: none;
}

.alarm-badge.on{
    display: block;
}

.chat-badge {
    position: absolute;
    top: -3px;
    right: -6px;
    width: 5px;
    height: 5px;
    background-color: red;
    border-radius: 50%;
    animation: blink 1s infinite;
    z-index: 10;
    display: none;
}

.chat-badge.on{
    display: block;
}