.language-selector {
    position: fixed;
    top: 0;
    right: 10px;
    z-index: 1002;
    color: white;
    font-size: 14px;
    line-height: 40px;
    cursor: pointer;
    padding: 0 10px;
    border-radius: 10px;
    transition: all 0.3s ease;
}
.language-dropdown {
    display: none;
    position: absolute;
    top: 38px;
    right: 0;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    border-radius: 5px;
    width: 200px;
    max-height: 300px;
    overflow-y: auto;
    z-index: 1003;
}
.language-dropdown ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.language-dropdown li {
    padding: 0 15px;
    color: #333;
    cursor: pointer;
    font-size: 13px;
    border-bottom: 1px solid #f0f0f0;
}
.language-dropdown li:hover {
    background: #f5f5f5;
}
.language-dropdown li.selected {
    background-color: #ffecf1;
    color: #ff3b69;
    font-weight: bold;
}
.language-dropdown-active {
    display: block !important;
}
.language-dropdown a {display:block;}

body {margin:0; font-family:'-apple-system-font'; color:#202020; position:relative; top:0 !important;}
.title {text-align:center; font-weight:bold; position:fixed; top:0; left:0; width:100%; padding:10px 0; border-bottom:1px solid #fd7192; background:#ff3b69; color:white; z-index:1000;}
.title a {color:white;}
body, div:not(.swal2-container *) {-moz-box-sizing: border-box; -webkit-box-sizing: border-box; -ms-box-sizing: border-box; box-sizing:border-box;}
.swal2-popup {box-sizing: content-box;}
.menu, .menu div {transition: all 0.3s ease;}
.menu {position:fixed; top:0; left:-150px; background:white; height:100%; z-index:999; width:150px; overflow:hidden; transform: translateX(0);}
.menu.open {transform: translateX(150px);}
.btn {position:fixed; top:0; left:0; width:42px; height:38px; background:#ff3b69; z-index:1001; cursor:pointer; transition: all 0.3s ease;}
.btn div {transition: all 0.3s ease;}
.bar1, .bar2, .bar3 {position:absolute; left:12px; width:18px; height:1px; border-top:1px solid white;}
.bar1 {top:14px;}
.bar2 {top:20px;}
.bar3 {top:26px;}

.menu .cate {position:absolute; top:0; left:0; width:150px; height:100%; background:white; padding-top:40px; color:#202020;}
.menu .cate .cate_in {padding:10px; border-bottom:1px solid #ffecf1; font-size:12px; cursor:pointer;}
.black {position:fixed; top:0; left:0; width:100%; height:100%; z-index:998; background:black; opacity:0; visibility:hidden; transition: opacity 0.3s ease-in-out, visibility 0s 0.3s; cursor:pointer;}
.black.visible {opacity:0.5; visibility:visible; transition: opacity 0.3s ease-in-out, visibility 0s;}

.wrap {z-index:1; margin:50px auto 130px auto; max-width:800px; width:100%;}
.month {display:none;}
.dayinfo {border-top: 1px solid #ffc8d5 !important; border-right: 1px solid #ffc8d5 !important; border-bottom: 1px solid #ffc8d5 !important; padding: 5px 0 !important;}
.days {display:inline-block; width:14.285%; border-bottom:1px solid #ffe5e5; border-right:1px solid #ffe5e5; text-align:center; padding:10px 0; cursor:default; font-size:12px;}
.Sat {color:#2929d2; border-right:none !important;}
.Sun {color:#ff3b69;}
.ym {text-align:center; margin:30px 0 10px; font-weight:bold;}
.wonder {background:#ffeaef; cursor:pointer; border-bottom: 1px solid #ffd4d4; border-right: 1px solid #ffd4d4;}
#today {text-align:center;}
.before_view {font-size:12px; text-align:center; cursor:pointer;}
#today_info {font-size:12px; text-align:center; padding:10px 20px;}
a {text-decoration:none; color:black;}
.birth {position:fixed;bottom:0; left:0; width:100%; height:26px; background:white; border-top:1px solid #ddd; z-index:997; font-size:12px; color:#202020;}
.bbirth {position:absolute; left:20px; top:0; padding:5px;}
.bdday {position:absolute; right:20px; top:0; padding:5px;}

label { display: inline-block; padding: .625em 2em; color: #fff; font-size: inherit; line-height: normal; vertical-align: middle; background-color: #3085d6; cursor: pointer; border: 1px solid #3085d6; border-bottom-color: #e2e2e2; border-radius: .25em; } input[type="file"] {position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip:rect(0,0,0,0); border: 0; }
.image-container {
    position: relative;
    display: inline-block;
    margin: 0 auto;
    width: 250px;
    height: 250px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    background: linear-gradient(45deg, #ff3b69, #ff8e9e);
}
.image-container:hover {
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}
#image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 60px;
    position: relative;
    overflow: hidden;
}
#image::before {
    content: "\f030";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
}
#image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background:white;
}
.upload-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0,0,0,0.5);
    height: 30px;
    overflow: hidden;
}
.upload-progress-bar {
    width: 0%;
    height: 30px;
    background-color: #ff3b69;
    transition: width 0.3s;
}
.upload-text {
    position: absolute;
    bottom: 8px;
    width: 100%;
    text-align: center;
    font-size: 14px;
    color: white;
    z-index: 1;
    font-weight: bold;
}
.upload-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.3);
    opacity: 0;
    transition: opacity 0.3s;
    display: flex;
    justify-content: center;
    align-items: center;
}
.image-container:hover .upload-overlay {
    opacity: 1;
}
.upload-icon {
    color: white;
    font-size: 40px;
    text-shadow: 0 2px 5px rgba(0,0,0,0.5);
}
#app_mod_url {display:none; font-size:6pt; position:fixed; top:0; right:0; z-index:10000000000000; width:100%; text-align:center; color:white;}


#last_day_info {font-size:12px; text-align:center; margin:20px auto;}

.cate_info {padding:10px; border-bottom:1px solid #ffd5df; font-size:13px; margin-top:20px; font-weight:600;}
.info_light_font {color:white;}
.info_dark_font {color:#202020;}
.info_light_bg {background:white;}
.info_dark_bg {background:#202020;}
.sel_box, .info_box {display:flex;}
.noti {position: fixed; bottom: 26px; left: 0; width: 100%; padding:5px; background: white; border-top: 1px solid #ddd; z-index: 999; font-size: 8pt; color: #202020; cursor:pointer;}
.noti .inner {float:right; width:90%;}
.noti .both {clear:both;}
.noti .oc {width:10%; float:right; width:10%; text-align:right;}
.swal2-html-container {text-align:left !important;}
.swal2-container {z-index:100000000 !important;}
.swal2-icon {text-align:center !important;}
.swal2-actions {display:block !important;}
.swal2-title {font-size:1.5em !important; font-weight:normal !important;}
.swal2-html-container {font-size:1em !important; line-height:1.5em !important;}

.language-selector-new {
    max-width: 500px;
    width: 65%;
    margin: 10px auto 20px auto;
    text-align: center;
    position: relative;
    z-index: 1001;
}
#language-select-button {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #dedede;
    border-radius: 10px;
    font-size: 9pt;
    background-color: white;
    color: #202020;
    text-align: left;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
#language-select-button:hover {
    border-color: #ff3b69;
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
}
#language-select-button:after {
    content: '';
    display: inline-block;
    width: 10px;
    height: 10px;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}
#language-select-list {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    max-height: 250px;
    overflow-y: auto;
    background: white;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
    z-index: 1002;
    margin-top: 5px;
    padding: 5px 0;
    border: 1px solid #f0f0f0;
    display: none; /* 초기 상태에서 숨김 */
}
#language-select-list li {
    margin: 0;
    padding: 0;
    list-style: none;
}
#language-select-list li a {
    display: block;
    padding: 8px 15px;
    color: #333;
    font-size: 9pt;
    text-decoration: none;
    transition: all 0.2s ease;
    text-align: left;
}
#language-select-list li a:hover {
    background-color: #ffecf1;
    color: #ff3b69;
}
#language-select-list li.selected a {
    background-color: #ffecf1;
    color: #ff3b69;
    font-weight: bold;
}
.swal2-icon {box-sizing: content-box !important;}
.table_center {position:fixed; top:0; left:0; z-index:100000000; width:100%; height:100%; justify-content: center; display:flex; flex-direction: column;} 
.date_wrap {z-index:1; font-size:10pt;}
#ww_date {z-index:2; display:none; font-size:10pt;}
.date_container {max-width:500px; width:80%; margin:0 auto; border:1px solid #dedede; border-radius:10px; text-align: center; padding:30px;}
.ww_title {font-size:1.875em; margin-bottom:10px;}
.ww_info {font-size:8pt; margin-bottom:30px;}
.date_container input[type=text] {display:block; border:1px solid #dedede; padding:10px; margin:10px 0; width:100%; border-radius:10px; font-size:9pt;}
.date_container input[type=text]::placeholder {color:lightgrey;}
#date_pick {border:1px solid #dedede; padding:10px; margin:10px 0; width:100%; border-radius:10px; font-size:10pt; text-align:left; color:lightgrey; cursor:pointer; font-size:9pt;}
.date_picker {max-width:400px; width:80%; margin:0 auto; border:1px solid #dedede; border-radius:10px; text-align: center; padding:10px; z-index:2; background:white; min-height:320px;}
#date_black {z-index:1; position:fixed; top:0; left:0; width:100%; height:100%; background:black; opacity:.4;}
.date_header {text-align:center; position:relative; margin-bottom:20px;}
.date_header div {position:absolute; top:-5px; padding:5px 10px; cursor:pointer; font-weight:600;}
#year_prev {left:0;}
#month_prev {left:30px;}
#month_next {right:30px;}
#year_next {right:0;}
#date_select {text-align:left;}
#date_select div {display:inline-block; width:14.2%; padding:10px 0; text-align:center; cursor:pointer;}
.pick_sel {border-radius:10px; background:#eee;}
#ww_confirm {margin:20px auto 10px auto; background:grey; border-radius:10px; padding:10px 0; color:white; cursor:pointer;}
