html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--main-background);
    color: var(--text-color);
}
/* 그리드 */
.grid_header, .grid_body {
    display: grid;
}

.register_btn_admin_icon {
    margin-right: 5px;
}

.fa-circle-check {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    cursor: pointer;
}

.add_manager_btn {
    display: flex;
    align-items: center;
    background: #89B4FF;
}

.add_manager_btn svg {
    margin-right: 5px;
}

/* top_section */
@font-face {
    font-family: Pretendard-Regular;
    src: url('/font/Pretendard-Regular.otf') format('opentype'); /* OTF 글꼴 경로 및 형식 설정 */
}

.main_article {
    display: flex;
    width: 100%;
    /*height: 100%;*/
    /*overflow: auto;*/
    min-height: 100vh; /* 최소 높이 보장 */
}

.top_section {
    margin-top: 20px;
    padding: 22px 20px;
    background: #FFFFFF;
    font-size: 20px;
    height: 4.5rem;
    border-radius: 10px;
    box-shadow: 0px 4px 14px rgba(218, 218, 218, 0.69);
}

.top_menu_section {
    margin-top: 20px;
    padding: 0 10px;
}

.top_menu_section button {
    padding: 10px 15px;
    border: none;
    background-color: var(--main-blue);
    color: white;
    cursor: pointer;
}

.grid_body button {
    min-width: 97px;
    padding: 10px 15px;
    border-radius: 6px;
    border: 1px solid var(--main-blue);
    background-color: white;
    color: var(--main-blue);
    font-weight: bold;
    cursor: pointer;
}

.grid_wrapper {
    padding: 55px 55px 40px 55px;
    border-radius: 10px;
    background-color: white;
    box-shadow: 0px 4px 14px 0px #DADADAB0;
}

.grid_box {
    font-size: 0.9rem;
}

.grid_box > li > div {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 10px;
}

.grid_header {
    background-color: var(--color-table-head);
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
    border-bottom: 1px solid var(--color-table-line1);
    padding: 5px 0;
}

.grid_body {
    border-bottom: 1px solid #d3d3d3;
}

.grid_body div:last-child button {
    border: 1px solid var(--btn-cancel);
    background-color: white;
    color: var(--btn-cancel);
    font-weight: bold;
}

.grid_body div button.popup_del_btn {
    background-color: var(--btn-cancel);
    color: white;
}

.grid_body div .manage_btn_div button[data-value=updt]:first-child {
    margin-right: 3px;
    border: 1px solid var(--btn-permit);
    border-radius: 3px;
    background-color: white;
    color: var(--btn-permit);
}

.grid_body div .manage_btn_div button[data-value=del]:last-child {
    color: var(--btn-cancel);
    border: 1px solid var(--btn-cancel);
    border-radius: 3px;
}

.grid_box> li div:has(.deleteModelBtn),
.grid_box> li div:has(.updateModelModalBtn){
    padding: 6px 6px;
}

/* main_article 끝 */

/* 페이지네이션 시작 */
.pagenation, .popup_pagenation {
    display: flex;
    justify-content: center;
    padding: 15px 20px;
    font-size: 13px;
    gap: 3.5px;
}

.pnation_move.pnation_active {
    min-width: 8px;
    height: 19px;
    color: #384366;;
    font-weight: 700;
}

.pnation_move {
    min-width: 8px;
    height: 19px;
    background-color: transparent;
    display: flex;
    padding: 0 6px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #A8ADC2;
}

.page_prev, .page_next {
    width: 20px;
    height: 19px;
    color: #A8ADC2;
    cursor: pointer;
}

.page_prev {
    background: url(/images/icons/ico_prev.svg) center no-repeat transparent;
}

.page_next {
    background: url(/images/icons/ico_next.svg) center no-repeat transparent;
}
/* 페이지네이션 끝 */

/* content_top */
/* 검색창 외 */
.no_record {
    grid-template-columns: 1fr !important;
    text-align: center !important;
}

.content_top {
    height: 38px;
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

/* content_top 클래스에 추가로 align_left나,
   align_right 붙이면 왼쪽이나 오른족에 align */
.content_top.align_left {
    justify-content: flex-start;
}

.content_top.align_right {
    justify-content: flex-end;
}

.content_top.align_between {
    justify-content: space-between;
}

.content_top select
, .content_top input {
    padding: 10px 15px;
    outline: none;
    background-color: white;
    border: 1px solid #A8ADC2;
}

/* content 영역 시작 */
.content_section {
    width: 100%;
    height: 100%;
    margin: 20px 0 20px 0 ;
    /*
    overflow: auto;
    lnb 영역 고정, vpn연결 리스트 부분은 스크롤
    */
}

.grid_box > li div:has(.manage_btn_div){
    padding: 8px 8px;
}

.manage_btn_div {
    display: flex;
}

.grid_body div:last-child .manage_btn_div button {
    min-width: 50px;
    padding: 10px;
    border: none;
}

.grid_body div:last-child .manage_btn_div button:first-child {
    background-color: white;
    color: var(--btn-permit);
    border: 1px solid var(--btn-permit);
    outline: none;
}

.grid_body div:last-child .manage_btn_div button:last-child {
    color: var(--btn-cancel);
    border: 1px solid var(--btn-cancel);
    margin-left: 5px;
    outline: none;
}


/* --- faceIdManager.jsp START --- */
.content_section
, .iframe_user_list {
    width: 100%;
    height: 100%;
}

.top_header h1 {
    font-size: 19.92px;
}

.iframe_faceid_reg {
    display: none;
    width: 100%;
    min-width: var(--window-min-width);
    height: 100%;
    min-height: 1024px;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 10px;
    box-shadow: rgba(0,0,0,0.4) 0 0 0 999999px;
}

.popup_train_success {
    display: none;
    width: 270px;
    height: 200px;
    position: fixed;
    right: 20px;
    bottom: 35px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
    background-color: white;
    border-radius: 10px;
    animation: popup_slide_down 0.3s;
}

.popup_train_esc {
    width: 30px;
    height: 30px;
    position: absolute;
    top: 0;
    right: 0;
    background-color: var(--btn-cancel);
    color: white;
    border: none;
    border-top-right-radius: 10px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}

.popup_train_content {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 45px;
    font-size: 28px;
    font-family: 'Pretendard', sans-serif;
    font-weight: 600;
}
/* --- faceIdManager.jsp END --- */

