@charset "utf-8";

/* 팝업레이어 스타일 시작 - shadcn UI 스타일 */
/* 배경 오버레이 */
#rumipopup_sub {
    position: fixed;
    width:100%;
    height:100%;
    top:0px;
    left:0px;
    border: 0px;
    z-index : 9998;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

/* 모달 컨테이너 - shadcn 스타일 */
#rumipopup {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    overflow: hidden;
    border: 1px solid #e5e7eb;
    background-color: #fff;
    padding:0px;
    border-radius:12px;
    box-sizing: border-box;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    z-index : 9999;
}

/* 모바일 대응 */
@media (max-width:768px) {
	#rumipopup {
        width: 100% !important;
        height: 100% !important;
        max-width: 100%;
        max-height: 100%;
        border-radius: 0px;
    }
}

/* 헤더 영역 - shadcn 스타일 */
#rumipopup .rumiHead {
    height:56px;
    width:100%;
}
#rumipopup .rumiTitle {
    background:#ffffff;
    width:100%;
    height:56px;
    border-bottom:1px solid #e5e7eb;
    line-height:56px;
    font-size:16px;
    font-weight:600;
    padding:0 20px;
    color:#1f2937;
    display: flex;
    align-items: center;
}

/* 닫기 버튼 - shadcn 스타일 */
#rumipopup .rumiClose {
    display:inline-flex;
    align-items: center;
    justify-content: center;
    padding:0px;
    font-size:20px;
    color:#6b7280;
    position:absolute;
    top:12px;
    right:16px;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    cursor:pointer;
    transition: all 0.2s ease;
}
#rumipopup .rumiClose:hover {
    background: #f3f4f6;
    color:#1f2937;
}

/* 리로드 버튼 - 숨김 */
#rumipopup .rumiReload {
    display:none !important;
}

/* 컨텐츠 영역 */
#rumipopup .noIframe {
    width:100%;
    height:100%;
    background:#fff;
    border:0px;
    display:none;
    overflow:auto;
}
#rumipopup .rumiIframe {
    height:100%;
    background:#fff;
    border:0px;
    padding:16px !important;
}
#rumipopup .pop_inbox {
    width:100%;
    height:100%;
    padding:20px;
    background:#fff;
    overflow:auto;
}

/* 버튼 영역 - shadcn 스타일 */
#rumipopup .rumiButton {
    width:100%;
    height:64px;
    padding:12px 20px;
    position:absolute;
    bottom:0px;
    left:0px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3px;
    border-top:1px solid #e5e7eb;
    background:#f9fafb;
}

/* 버튼 그룹 컨테이너 */
#rumipopup .rumiButton > div {
    display: flex;
    gap: 3px;
}

/* 버튼 스타일 - shadcn 스타일 */
#rumipopup button {
    padding:8px 16px !important;
    border:1px solid #e5e7eb;
    border-radius:8px;
    color:#374151 !important;
    background:#ffffff !important;
    font-weight:500;
    font-size:14px !important;
    outline:none;
    transition: all 0.2s ease;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}
#rumipopup button:hover {
    background:#f9fafb;
    border-color:#667eea;
    color:#667eea;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(102, 126, 234, 0.1);
}

/* 주요 액션 버튼 (수정, 삭제 등) */
#rumipopup button:first-child {
    background:linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color:#ffffff;
    border-color:transparent;
}
#rumipopup button:first-child:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 10px -1px rgba(102, 126, 234, 0.4);
}

#rumipopup .fa-folder-open {
    font-size:17px;
    vertical-align:middle;
}
.rumi_html_fixed {
    position:fixed;
    width:100%;
    overflow-y: scroll;
}
/* 팝업 레이어 스타일 끝 */


