
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@100..900&display=swap');
*{
    font-family: "Noto Sans KR";
}
*::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

*::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 5px;
}

*::-webkit-scrollbar-thumb {
    background: #c5c5c5;
    border: 1px solid #e2e2e2;
    border-radius: 5px;
}

*::-webkit-scrollbar-thumb:hover {
    background: #555;
}
.epione-footer {
    background-color: #f8f8f8;
    padding: 20px;
    width: 100%;
    position: relative;
    display: flex;
    justify-content: center; /* 수평 중앙 정렬 */
    align-items: center; /* 수직 중앙 정렬 */
    font-size: 12px;
    color: #666;
    box-sizing: border-box;
    bottom: 0;
    left: 0;
    clear: both;
}

.footer-content {
    width: 900px;
}



.footer-content a {
    color: #666;
    text-decoration: none;
}

.footer-content a:hover {
    text-decoration: underline;
}

.footer-logo {
    width: auto;
    text-align: right;
}
.footer-logo img{
    max-width: 200px;
    width: 100%;
}

.fixed-widget {
    position: fixed;
    top: 54%; /* 화면 하단에서 20px 위로 고정 */
    right: 5%; /* 화면 우측에서 20px 왼쪽으로 고정 */
    z-index: 998; /* 다른 요소보다 위에 나타나도록 설정 */
}

.fixed-widget img {
    height: auto;
    cursor: pointer;
}

/* 모달 기본 스타일 */
.modal-overlay {
    display: none; /* 기본적으로 숨김 */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* 어두운 반투명 배경 */
    z-index: 999; /* 모달보다 뒤에 위치하도록 */
}

.main-footer-modal {
    display: none; /* 기본적으로 모달을 숨김 */
    position: fixed;
    z-index: 1000;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    max-width: 600px;
    overflow: hidden;
}

.modal-container {
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2), 0 6px 20px rgba(0, 0, 0, 0.19);
    overflow: hidden;
}

/* 모달 닫기 버튼을 위한 상단 영역 */
.modal-top {
    height: 40px; /* 충분한 공간 확보 */
    visibility: hidden; /* 시각적으로 보이지 않도록 설정 */
    position: relative;
}

.close-modal {
    color: white;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    top: 0;
    right: 0;
    visibility: visible; /* 닫기 버튼은 보이도록 설정 */
}

.close-modal:hover {
    text-decoration: underline;
}

/* 모달 헤더 */
.modal-header {
    padding: 15px;
    background-color: #f1f1f1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.modal-title-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.modal-title-container h2 {
    margin: 0;
    font-size: 18px;
    font-weight: bold;
}

.modal-logo {
    width: 150px;
    margin-left: auto; /* 우측에 정렬 */
}

/* 모달 본문 */
.modal-content-wrapper {
    padding: 20px;
    background-color: #fff;
}

.modal-body-box {
    background-color: #ffffff;
    padding: 15px;
    border: 1px solid #ddd;
    max-height: 200px;
    overflow-y: auto;
    
}
.modal-body-content div{
    font-size: 14px;
    color : #707070;
    margin: 0 30px 0 30px;
    max-height: 250px;
}
.modal-body-content h2,
.modal-body-content p,
.modal-body-content ul{
    margin : 0;
}
.modal-body-content table {
    font-size: 12px;
    width: 100%;
    border-collapse: collapse; 
    box-sizing: border-box; 
}
.modal-body-content table th, td{
    padding: 8px; /* 셀 내부 여백 */
    border: 1px solid; /* 셀 테두리 */
    text-align: left; /* 텍스트 정렬 */
    box-sizing: border-box; /* 셀 자체에 박스 사이징 적용 */
}
.modal-body-content ul{
    list-style-type: decimal-inside;
    display: inline-block;
}

.modal-body-title {
    margin-bottom: 10px;
}
.modal-body-title h3{
    margin-left: 10px;
}

.modal-body-content {
    padding: 10px;
}

/* 모달 푸터 */
.modal-footer {
    padding: 10px 20px;
    background-color: #fff;
    text-align: center;
    border-top: 1px solid #ddd;
}

#modal-confirm-btn {
    background-color: #f48fb1;
    color: white;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

#modal-confirm-btn:hover {
    background-color: #ec407a;
}

/* 바디 스크롤 방지 */
body.modal-open {
    overflow: hidden;
}

@media (max-width: 460px) {
    .epione-footer{
        flex-direction: column;
        padding : 5px;
        align-items: start;
        display: block;
        padding-bottom: 80px;
    }
    .footer-content{
        width: unset;
        font-size: 11px;
        justify-content: start;
    }
    .footer-content p span{
        margin-right:5px;
    }
    .footer-content p a{
        margin-right:5px;
    }
    .footer-logo{
        text-align:right;
    }
    .footer-logo img{
        max-width: 130px;
    }
    .modal-logo{
        width: 60px;
    }
    .modal-body-content{
        font-size: 10px;
    }
    #modal-confirm-btn{
        padding: 5px 60px;
    }
    
    .fixed-widget img{
        width: 60px;
    }
    .fixed-widget{
        top: 29%;
        right: 2%;

    }
}
