﻿.modal {
    --tab-active-color: #5c5fc0;
    --main-background-color: #f7f8fc;
    --default-bg-color: #fff;
    --default-box-shadow-color: #00000029;
    --main-text-color: #4c4c4c;
    --sub-text-color: #fff;
    /** organization list **/
    --org-list-title-text-color: #fff;
    --org-list-title-back-color: #5c5fc0;
    --list-header-border-color: #e1e1e1;
    --list-header-border-color: #e1e1e1;
    --profile-border-color: #4c4c4c;
    --bookmark-icon-back-color: #5c5fc080;
    --bookmarked-back-color: #ffde00;
    --org-list-item-back-color: #fff;
    --org-list-item-border-color: #5c5fc080;
    --org-list-item-box-shadow-color: #5c5fc033;
    --org-tree-odd-back-color: #5c5fc01a;
    --org-tree-even-back-color: #ffffff1a;
    --concurrent-position-text-color: #5c5fc0;
    --absensce-text-color: #ff5a81;
    --state-all--text-color: #8a8a8a;
    --state-emp--text-color: #4285f4;
    --state-cop--text-color: #34a853;
    --state-vac--text-color: #e68a00;
    --state-bus--text-color: #d95c5c;
    /** tab **/
    --tab-separator-color: #d1d1d1;
    --active-tab-back-color: #5c5fc0;
    --active-tab-text-color: #fff;
    /** scroll bar **/
    --scroll-bar-color: #a2a2a2;
    --scroll-track-color: #e1e1e1;
}
.page[data-name="eappl-custom-form"] .container {
    --tab-active-color: #5c5fc0;
    --main-background-color: #f7f8fc;
    --default-bg-color: #fff;
    --default-box-shadow-color: #00000029;
    --main-text-color: #4c4c4c;
    --sub-text-color: #fff;
    --form-border-color: #ececec;
    /** tab **/
    --tab-separator-color: #d1d1d1;
    --active-tab-back-color: #5c5fc0;
    --active-tab-text-color: #fff;
    /** scroll bar **/
    --scroll-bar-color: #a2a2a2;
    --scroll-track-color: #e1e1e1;
}
/* ------------------------- Main ----------------------------- */
.edms-draft-info-area {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    /*width:calc(100% - 190px);*/
}

.edms-draft-info {
    display: flex;
    flex-direction: row;
    width: 100%;
    height: 100%;
    padding: 20px;
}

.edms-draft-info-table-top {
    display: flex;
    border: 1px solid #5c5fc0;
    border-radius: 10px 10px 0px 0px;
    background-color: #5c5fc0;
    color: white;
    width: 100%;
    /*width: 1430px;*/
    height: 50px;
    justify-content: left;
    align-items: center;
    font-size: var(--xlg-font);
    font-weight: var(--normal-font);
    padding: 0 0 0 20px;
    box-shadow: 0 0 6px 0 var(--default-box-shadow-color);
}

.edms-draft-info-wrap {
    padding: 15px 20px 20px 20px;
}

.edms-draft-info-title-area {
    display: flex;
    justify-content: space-between;
}

.edms-draft-info-title {
    font-size: var(--xlg-font);
    font-weight: var(--bold-font);
    flex: 1;
}

.edms-draft-info-top-area {
    display: flex;
    gap: 1rem;
    width: 100%;
}

.edms-draft-info-middle-area {
    display: flex;
    gap: 1rem;
    width: 100%;
}

.edms-draft-info-bottom-area {
    display: flex;
    gap: 1rem;
    width: 100%;
    padding-bottom: 30px;
}

.edms-draft-info-upload-area {
    padding: 30px 0 30px 0;
}

.edms-draft-info-set-first-radio {
    display: flex;
    justify-content: flex-start;
}
    .edms-draft-info-set-first-radio .default-radio {
        min-width: 150px;
    }

.edms-draft-info-set-second-radio {
    display: flex;
    justify-content: flex-start;
}
    .edms-draft-info-set-second-radio .default-radio {
        min-width: 150px;
    }

.edms-draft-info-set-third-radio {
    display: flex;
    justify-content: flex-start;
}
    .edms-draft-info-set-third-radio .default-radio {
        min-width: 150px;
    }

.edms-draft-info-set-flex-first-radio {
    display: flex;
    justify-content: flex-start;
    gap: 1rem;
    width: 20%;
    min-width: 220px;
}
    .edms-draft-info-set-flex-first-radio .default-radio {
        min-width: 150px;
    }

.edms-draft-info-set-flex-second-radio {
    display: flex;
    justify-content: flex-start;
    gap: 1rem;
    width: 20%;
    min-width: 220px;
}
    .edms-draft-info-set-flex-second-radio .default-radio {
        min-width: 150px;
    }


.edms-draft-info-flex-td {
    align-items: center;
    display: flex;
    gap: 5px;
    height: 100%;
}

.edms-draft-info-font-highlight {
    background-color: #88888826;
    width: 70px;
    height: 30px;
    font-size: var(--md-font);
    font-weight: var(--normal-font);
    color: #4c4c4c;
    text-align: center;
    padding-top: 4px;
}

.upload-title {
    color: #5c5fc0;
}

.page[data-name="eappl-custom-form"] .text-input {
    border: 1px solid #9a9e9c;
    width: 300px;
}

    .page[data-name="eappl-custom-form"] .text-input.title-input {
        width: 100%;
    }
    .page[data-name="eappl-custom-form"] .text-input.category-input {
        width: 200px;
    }

.middle-input {
    height: 60px;
    width: 1188px;
    border: 1px solid #9a9e9c;
}

    .middle-input:focus {
        border-color: #5c5fc0;
        outline: none;
    }

.info-big-input {
    height: 35px;
    width: 100%;
    border: 1px solid #9a9e9c;
    padding-left: 8px;
    padding-right: 8px;
}

    .info-big-input input {
        height: 100%;
        width: 100%;
    }

    .info-big-input:focus {
        border-color: #5c5fc0;
        outline: none;
    }

.info-small-input {
    height: 35px;
    width: 100%;
    border: 1px solid #9a9e9c;
    padding-left: 8px;
}

    .info-small-input input {
        height: 100%;
        width: 100%;
    }

    .info-small-input:focus {
        border-color: #5c5fc0;
        outline: none;
    }

    .info-small-input:has(.edms-draft-info-search-input) {
        height: 35px;
        width: 31%
    }

.check-space {
    padding-right: 15px;
}

/* -------------------------Table Design----------------------- */
.edms-draft-info-top-table {
    width: 25%;
}

    .edms-draft-info-top-table td {
        border-right: 2px solid #ececec;
        border-bottom: 2px solid #ececec;
        font-size: var(--md-font);
        font-weight: var(--normal-font);
        color: #000000;
        height: 92px;
    }

    .edms-draft-info-top-table th {
        border-right: 2px solid #ffffff;
        font-size: var(--md-font);
        font-weight: var(--normal-font);
        color: #4c4c4c;
    }

.edms-draft-info-middle-table th {
    width: 110px;
    height: 60px;
    border-bottom: 1px solid #ececec;
    font-size: var(--md-font);
    font-weight: var(--normal-font);
    color: #4c4c4c;
    background-color: #ffffff;
}

.edms-draft-info-middle-table td {
    border-bottom: 1px solid #ececec;
    text-align: left;
    padding-left: 40px;
    font-size: var(--md-font);
    font-weight: var(--normal-font);
    color: #000000;
}

.edms-draft-info-bottom-table th {
    height: 60px;
    border-bottom: 2px solid #ffffff;
    font-size: var(--md-font);
    font-weight: var(--normal-font);
    color: #4c4c4c;
    text-align: left;
    padding-left: 15px;
}

.edms-draft-info-bottom-table td {
    border-top: 1px solid #ececec;
    border-bottom: 1px solid #ececec;
    border-right: 1px solid #ececec;
    font-size: var(--md-font);
    font-weight: var(--normal-font);
    color: #000000;
    text-align: left;
    padding-left: 20px;
    padding-right: 20px;
}

.upload-table {
    border: 1px solid #e2e2e2;
}

/* -------------------------select box custom----------------------- */
.edms-draft-info-wrap .custom-selects {
    width: 100%;
    height: 30px;
    padding: 2px 7px;
    font-size: var(--sm-font);
    color: #333;
    background-color: #f9f9f9;
    border: 1px solid #9a9e9c;
    border-radius: 5px;
    appearance: none; /* Remove default dropdown arrow */
    -webkit-appearance: none;
    -moz-appearance: none;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    outline: none;
    cursor: pointer;
    transition: all 0.3s ease;
    background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"%3E%3Cpath d="M6 9l6 6 6-6"%3E%3C/path%3E%3C/svg%3E');
    background-repeat: no-repeat;
    background-position: right 5px center;
    background-size: 10px; /* Adjusted arrow size */
}

/* Add a custom dropdown arrow */
.custom-select-container::after {
    content: "\\25BC"; /* Downward triangle arrow */
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    font-size: 12px;
    color: #333;
    pointer-events: none;
}

/* Hover and focus styles */
.edms-draft-info-wrap .custom-selects:hover {
    background-color: #f1f1f1;
}

.edms-draft-info-wrap .custom-selects:focus {
    border-color: #5c5fc0;
    box-shadow: 0 0 5px #5c5fc0;
}

.edms-draft-info-set-space {
    justify-content: space-between;
    display: flex;
    padding: 17px 12px 17px 0;
    align-items: center;
}

.edms-draft-info-set-area {
    display: flex;
    width: 100%;
    padding: 10px 0 10px 0;
    gap: 10px;
    flex-direction: column;
}

.edms-draft-info-set-user {
    position: relative;
    display: flex;
    flex-direction: row;
}

.edms-draft-info-set-info {
    display: flex;
    flex-direction: column;
    width: 50%;
    min-width: 500px;
    height: 150px;
    border: 1px solid #9a9e9c;
}

.edms-draft-info-search-btn-area {
    display: flex;
    flex-direction: row;
    gap: 10px;
}

.edms-draft-info-search-user {
    display: flex;
    border: 1px solid #ececec;
    width: 70px;
    justify-content: center;
    height: 30px;
    align-items: center;
}

.edms-draft-info-textarea {
    width: 80%;
    max-width: 80%;
    min-width: 80%;
    border: 1px solid #9a9e9c;
}

    .edms-draft-info-textarea:focus {
        border-color: #5c5fc0;
        outline: none;
    }

.edms-draft-info-info-area {
    height: 100%;
}

.edms-draft-info-detail-area {
    height: 100%;
}

.edms-draft-info-tab-area {
    display: flex;
    border-bottom: 1px solid var(--form-border-color);
    height: 45px;
}

    .edms-draft-info-tab-area .tab-btn-group {
        display: flex;
        align-content: end;
        flex-wrap: wrap;
    }
        .edms-draft-info-tab-area .tab-btn-group .tab-btn.draft-edit-tab {
            border-left: 1px solid var(--form-border-color);
        }



.set-category {
    display: flex;
    flex-direction: row;
    gap: 0.8rem;
}

.title-flex {
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
}

.red-dot {
    display: flex;
    align-items: center;
    color: red;
    padding-top: 3px;
}

.eappl-custom-calendar {
    display: flex;
    flex-direction: row;
    width: 100%;
    height: 32px;
    justify-content: flex-start;
    gap: 3px;
}
/* 캘린더 */
    .eappl-custom-calendar .eappl-date {
        display: flex;
        align-items: center;
        height: 32px;
        cursor: pointer;
        width: 200px;
    }
    .eappl-custom-calendar .eappl-date .calendar {
        height: 32px;
    }

        .eappl-custom-calendar .eappl-date input {
            border-radius: 5px 0px 0px 5px;
            border: 1px solid #5c5fc0;
            border-right: none;
            cursor: pointer;
        }

    .eappl-custom-calendar .icon-area {
        display: flex;
        align-items: center;
        justify-content: center;
        border: 1px solid #5c5fc0;
        width: 30px;
        height: 100%;
        border-radius: 0px 5px 5px 0px;
        color: #5c5fc0;
    }

    .eappl-custom-calendar .calendar-day-disabled {
        color: var(--daemon-calendar-disabled-color);
        pointer-events: none;
        opacity: 0.6;
    }


.edms-draft-info-pop-calendar {
    border: 1px solid #ececec ;
    min-width: 105px;
    width: 100%;
    height: 32px;
    border-right: none;
    padding: 5px;
}

    .edms-draft-info-pop-calendar:hover {
        cursor: pointer
    }

.edms-draft-info-pop-icon-area {
    display: flex;
    width: 30px;
    border: 1px solid #ececec;
    height: 32px;
    border-left: none;
    color: #4c4c4c !important;
    border-radius: 0 5px 5px 0;
    align-items: center;
    justify-content: center;
    font-size: var(--lg-font);
}

.edms-draft-info-pop-from-date {
    display: flex;
    align-items: center;
}

.edms-draft-info-pop-to-date {
    display: flex;
    align-items: center;
}

.edms-draft-info-submit-area {
    width: 100%;
    padding-bottom: 40px;
}

.edms-draft-info-btn-area {
    display: flex;
    flex-direction: row;
    gap: 10px;
    justify-content: right;
    height: 35px;
}

.edms-draft-info-save-btn {
    display: flex;
    border: 1px solid #5c5fc0;
    justify-content: center;
    align-items: center;
    width: 100px;
    height: 35px;
    color: #5c5fc0;
}

    .edms-draft-info-save-btn:hover {
        background-color: #5c5fc0;
        color: white;
        border-color: #5c5fc0;
        cursor: pointer;
    }

.edms-draft-info-cancle-btn {
    display: flex;
    border: 1px solid #ff0000;
    justify-content: center;
    align-items: center;
    width: 7%;
    height: 100%;
    color: #ff0000;
}

    .edms-draft-info-cancle-btn:hover {
        background-color: #ff0000;
        color: white;
        border-color: #ff0000;
        cursor: pointer;
    }

/*------------category modal-------------*/
/* 전체 트리 구조 스타일 */
.category-group-domain-root {
    display: flex;
    align-items: center;
    padding: 20px 100px 0 0;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    background-color: #f8f9fa;
    transition: background-color 0.3s;
}

/* 트리 항목 스타일 */
.category-tree-label {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    cursor: pointer;
}

/* 아이콘 스타일 */
.category-label-icon {
    font-size: 18px;
    color: #6c757d;
    transition: transform 0.2s;
    cursor: pointer;
}

/* 펼쳐진 상태 */
.expanded .category-label-icon {
    transform: rotate(90deg);
}

/* 하위 목록 스타일 */
.category-list-mng {
    list-style: none;
    margin: 0;
    padding-left: 20px;
    /*display: none;*/
}

    /* 하위 항목 디자인 */
    .category-list-mng li {
        display: block;
        align-items: center;
        padding: 6px 0;
        font-size: var(--sm-font);
        font-weight: var(--normal-font);
        border-left: 2px solid #5c5fc0;
        padding-left: 25px;
        transition: background-color 0.2s;
    }

        .category-list-mng li:hover {
            background-color: #f1f3f5;
        }

.category-item {
    display: flex;
    align-items: center;
}

/* 아이콘 없는 항목의 placeholder (자리 맞추기) */
.category-label-icon.placeholder {
    visibility: hidden; /* 토글 아이콘이 없는 경우 공간 유지 */
    padding-left: 5px;
    padding-top: 20px;
}

/* 링크 스타일 */
.category-name {
    text-decoration: none;
    color: #343a40;
    font-size: var(--md-font);
    font-weight: var(--normal-font);
}

    .category-name:hover {
        text-decoration: underline;
        color: #5c5fc0;
        font-weight: var(--bold-font);
    }

    .category-name:focus {
        text-decoration: underline;
        color: #5c5fc0;
        font-weight: var(--bold-font);
        background-color: #f1f3f5;
    }

.category-works {
    text-decoration: none;
    color: #343a40;
    font-size: var(--sm-font);
    font-weight: var(--normal-font);
}

    .category-works:hover {
        text-decoration: underline;
        color: #5c5fc0;
        font-weight: var(--bold-font);
    }

    .category-works:focus {
        text-decoration: underline;
        color: #5c5fc0;
        font-weight: var(--bold-font);
        background-color: #f1f3f5;
    }

.edms-draft-info-confirm-area {
    display: flex;
    justify-content: center;
    padding: 20px 0 0 0;
}

.edms-draft-info-submit-btn {
    display: flex;
    border: 1px solid #5c5fc0;
    justify-content: center;
    align-items: center;
    width: 50%;
    height: 100%;
    color: #5c5fc0;
}

    .edms-draft-info-submit-btn:hover {
        border-color: #5c5fc0;
        color: white;
        background-color: #5c5fc0;
        cursor: pointer;
    }

/*modal*/
.org-modal-scroll-wrapper {
    position: relative;
    min-width: 280px;
    width: 320px;
    height: 100%;
}

.org-modal-header {
    border-bottom: 1px solid var(--list-header-border-color);
    height: 20px;
}

.org-modal-structure-container {
    overflow: hidden !important;
    position: relative;
    min-width: 280px;
    width: 300px;
    height: 500px;
    background-color: #ffffff;
    box-shadow: 0 0 6px 0 var(--default-box-shadow-color);
    border-radius: 3px 0px 0px 0px;
}

.org-modal-left-wrapper {
    width: 320px;
    height: 500px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

    .org-modal-left-wrapper .org-modal-left-wrapper-sub {
        min-width: 320px;
        height: calc(100% - 30px);
        display: flex;
        flex-direction: column;
    }

        .org-modal-left-wrapper .org-modal-left-wrapper-sub .org-modal-selected-header {
            min-width: 320px;
            height: 30px;
            border-bottom: 1px solid var(--form-border-color);
            background-color: #ffffff;
            border-radius: 3px 3px 0px 0px;
        }

        .org-modal-left-wrapper .org-modal-left-wrapper-sub .org-modal-structure-container-selected {
            position: relative;
            display: flex;
            flex-direction: column;
            height: 500px;
            width: fit-content;
            min-width: 100%;
            background-color: #ffffff;
            box-shadow: 0 0 6px 0 var(--default-box-shadow-color);
            border-radius: 3px 3px 0px 0px;
        }

            .org-modal-left-wrapper .org-modal-left-wrapper-sub .org-modal-structure-container-selected .tree-label {
                display: flex;
                white-space: nowrap;
                width: 100%;
                align-items: center;
                justify-content: space-between; /* X 버튼을 오른쪽 끝으로 이동 */
            }

                .org-modal-left-wrapper .org-modal-left-wrapper-sub .org-modal-structure-container-selected .tree-label .delete-btn {
                    color: red; /* X 버튼을 빨간색으로 */
                    font-weight: bold;
                    cursor: pointer;
                    padding: 2px 5px;
                }


.org-modal-button-wrapper {
    display: flex;
    height: auto;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    align-items: center;
}

/*.org-modal-button-wrapper .org-modal-button {
        display: flex;
        justify-content: center;
        width: 70px;
        height: 30px;*/
/* UI Properties */
/*background: #ffffff 0% 0% no-repeat padding-box;
        border: 2px solid #5c5fc0;
        border-radius: 10px;
        opacity: 1;
        position: relative;
    }

        .org-modal-button-wrapper .org-modal-button button {
            text-align: center;
            color: #5c5fc0;
            background: #fff 0% 0% no-repeat padding-box;
            border: none;
            border-radius: 10px;
            opacity: 1;
        }*/

.org-modal-button {
    display: flex;
    border: 1px solid #5c5fc0;
    border-radius: 5px;
    justify-content: center;
    align-items: center;
    background: #fff 0% 0% no-repeat padding-box;
    width: 70px;
    height: 30px;
    color: #5c5fc0 !important;
}

    .org-modal-button:hover {
        background-color: #5c5fc0;
        color: white !important;
        border-color: #5c5fc0;
        cursor: pointer;
    }

.org-modal-save-button {
    display: flex;
    border: 1px solid #ff0000;
    border-radius: 5px;
    justify-content: center;
    align-items: center;
    width: 70px;
    height: 30px;
    color: #ff0000;
    margin-left: auto;
}

    .org-modal-save-button:hover {
        background-color: #ff0000;
        color: white;
        border-color: #ff0000;
        cursor: pointer;
    }

.org.org-modal-tab-btn-group {
    display: flex;
    flex-direction: row;
    border: none;
    border-radius: 10px 10px 10px 10px;
}

.org .org-modal-tab-separator {
    width: 1px;
    height: 30px;
    background-color: #ececec;
}

.org .org-modal-tab-btn-first {
    border-radius: 3px 0 0 0;
}

.org .org-modal-tab-btn {
    border-radius: 3px 3px 0 0;
    display: flex;
    border: none;
    padding: 0;
    height: 30px;
    align-items: center;
    justify-content: center;
    width: -webkit-fill-available;
    font-size: var(--sm-font);
    background-color: var(--default-bg-color);
    border-bottom: 1px solid var(--tab-separator-color) !important;
}

    .org .org-modal-tab-btn.active::before {
        display: none;
    }

.org-modal-tab-btn.active {
    background-color: var(--active-tab-back-color);
    color: var(--active-tab-text-color);
    cursor: initial;
    border-bottom: #5c5fc0;
}

.org .org-modal-tab-content {
    background-color: var(--default-bg-color);
}

.autocomplete-list {
    position: absolute;
    border: 1px solid var(--form-border-color);
    background: white;
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000; /* 다른 요소 위에 표시 */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    top: calc(100% - 10px);
    width: 31%;
    font-size: var(--xlg-font);
}

.autocomplete-item {
    padding: 8px;
    cursor: pointer;
    transition: background 0.2s;
    font-size: var(--xsm-font);
}

    .autocomplete-item:hover,
    .autocomplete-active {
        background-color: #f0f0f0;
    }

.div-table {
    width: 100%;
    gap: 0;
    border-collapse: collapse;
}

.div-tr {
    display: grid;
    grid-template-columns: 200px 3fr 200px 2fr;
    /*grid-template-rows: repeat(auto-fill, minmax(60px, auto));*/
    /*grid-auto-rows: minmax(60px, auto);*/
    min-height: 60px;
}

.div-th, .div-td {
    display: flex;
    height: auto;
    padding: 8px;
    border-bottom: 1px solid #ddd;
    border-right: 1px solid #ddd;
    vertical-align: middle;
    justify-content: left;
    align-items: center;
}

.div-tr:first-child .div-td,
.div-tr:first-child .div-th {
    border-top: 1px solid #ddd;
}

.div-td:first-child,
.div-th:first-child {
    border-left: 1px solid #ddd;
}

.div-th {
    background-color: #f1f2f7;
    text-align: center;
    position: sticky;
    left: 0;
}

/* colspan 처리 */
.div-td[colspan="3"] {
    grid-column: span 3;
}

.edms-draft-info-body-tab-wrap {
    height: 100%;
    /*min-width: 1430px;*/
    width: 100%;
    background-color: #ffffff;
    padding: 21px 0 21px;
}

    .edms-draft-info-body-tab-wrap .draft-edit-area .draft-edit-header {
        display: flex;
        justify-content: space-between;
    }

        .edms-draft-info-body-tab-wrap .draft-edit-area .draft-edit-header .draft-edit-btn-wrapper {
            display: flex;
            flex-direction: row;
            gap: 10px;
            padding: 10px;
        }

            .edms-draft-info-body-tab-wrap .draft-edit-area .draft-edit-header .draft-edit-btn-wrapper .row-add-btn {
                display: flex;
                align-items: center;
                justify-content: center;
                border-radius: 5px;
                border: 1px solid #ddd;
                height: 20px;
                min-width: 20px;
                width: 20px;
            }

            .edms-draft-info-body-tab-wrap .draft-edit-area .draft-edit-header .draft-edit-btn-wrapper .row-set-btn {
                display: flex;
                align-items: center;
                justify-content: center;
                border-radius: 5px;
                border: 1px solid #ddd;
                height: 20px;
                min-width: 20px;
            }


.draft-edit-area .draft-edit-body .added-rows {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
    .draft-edit-area .draft-edit-body .added-rows .handle-row {
        display: flex;
        width: auto;
        height: 100%;
        align-items: center;
        justify-content: center;
        border-right: 2px solid var(--tab-separator-color);
        font-size: var(--sm-font);
        color: var(--tab-separator-color);
        aspect-ratio: 2 / 3;
    }

    .draft-edit-area .draft-edit-body .added-rows .default-row {
        display: flex;
        height: 45px;
        align-items: center;
        justify-content: center;
        border-radius: 5px;
        background-color: #f1f2f7;
        font-size: var(--md-font);
    }

    .draft-edit-area .draft-edit-body .added-rows .added-row-wrapper {
        display: flex;
        flex-direction: row;
        border-radius: 5px;
        text-align: center;
        font-size: var(--xsm-font);
        height: 45px;
        border: 2px solid var(--tab-separator-color);
    }
    .draft-edit-area .draft-edit-body .added-rows .added-row {
        display: flex;
        flex-direction: row;
        text-align: center;
        font-size: var(--xsm-font);
        width: 100%;
    }

        .draft-edit-area .draft-edit-body .added-rows .added-row .element-box {
            display: flex;
            align-items: center;
            border-radius: 0px;
            justify-content: center;
            background-color: #e7e8f6;
            height: 100%;
            width: 100%;
            min-width: 20px;
            border-right: 2px solid var(--tab-separator-color);
        }
            .draft-edit-area .draft-edit-body .added-rows .added-row .element-box.seprate-line {
                font-size: var(--sm-font);
                filter: brightness(0.9);
            }
            .draft-edit-area .draft-edit-body .added-rows .added-row .element-box.notset {
                background-color: #fff;
            }
            .draft-edit-area .draft-edit-body .added-rows .added-row .element-box:first-child {
            }
            .draft-edit-area .draft-edit-body .added-rows .added-row .element-box:last-child {
                border-radius: 0 3px 3px 0;
                border-right: none;
            }

            .draft-edit-area .draft-edit-body .added-rows .added-row .element-box:hover {
                filter: brightness(0.9);
            }


.edms-draft-info-area .page-block-wrapper {
    padding: 0;
}

.edms-draft-info-area .page-block {
    border-radius: 0 0 10px 10px;
}


.preview-table {
    width: 100%;
    gap: 0;
    border-collapse: collapse;
}

.preview-tr {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    /*grid-template-rows: repeat(auto-fill, minmax(60px, auto));*/
    /*grid-auto-rows: minmax(60px, auto);*/
    min-height: 60px;
}

.preview-th, .preview-td {
    display: flex;
    height: auto;
    padding: 8px;
    border-bottom: 1px solid #ddd;
    border-right: 1px solid #ddd;
    vertical-align: middle;
    justify-content: left;
    align-items: center;
}

.preview-tr:first-child .preview-td,
.preview-tr:first-child .preview-th {
    border-top: 1px solid #ddd;
}

.preview-td:first-child,
.preview-th:first-child {
    border-left: 1px solid #ddd;
}

.preview-th {
    background-color: #f1f2f7;
    text-align: center;
    position: sticky;
    left: 0;
}

.edms-draft-info-set-info .user-list-text {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 5px;
    height: 30px;
    padding: 5px 10px;
    border-bottom: 1px solid var(--user-list-modal-border-color);
    font-size: var(--sm-font);
    cursor: pointer;
    background-color: var(--default-bg-color);
}

    .edms-draft-info-set-info .user-list-text:not(.focus):hover {
        filter: brightness(95%);
    }

    .edms-draft-info-set-info .user-list-text.focus {
        background-color: #cecfec;
    }
.context-menu-item {
    cursor: pointer;
    font-size: var(--sm-font);
    background: #fff;
    align-items: center;
    border-radius: 5px;
}
    .context-menu-item:hover {
        filter: brightness(95%);
    }

/** Tab custom 스타일 *********************************************/
.page[data-name="eappl-custom-form"] .tab-btn-group {
    border: none;
    /*    border-radius: 10px 0 0 0;*/
}

.page[data-name="eappl-custom-form"] .tab-separator {
    width: 1px;
    background-color: var(--form-border-color);
}

.page[data-name="eappl-custom-form"] .tab-btn {
    border: none;
    padding: 0;
    height: 100%;
    width: 100px;
    background-color: var(--default-bg-color);
    border-top: 1px solid var(--form-border-color);
}

    .page[data-name="eappl-custom-form"] .tab-btn.active::before {
        display: none;
    }
/**/
    .page[data-name="eappl-custom-form"] .tab-btn.active {
        background-color: #7c7fdd;
        border-top: 1px solid #7c7fdd;
        color: var(--active-tab-text-color);
        cursor: initial;
        border-bottom: #adafdf;
    }

.page[data-name="eappl-custom-form"] .tab-content {
    background-color: var(--default-bg-color);
}


.draft-tab-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--form-border-color);
    border-bottom: none;
    height: 100%;
    width: 100px;
}

    .draft-tab-btn:focus {
        color: #5c5fc0;
    }

    .draft-tab-btn:hover {
        color: #5c5fc0;
        cursor: pointer;
    }

    .draft-tab-btn:active {
        color: #ff0000;
    }

    .draft-tab-btn.selected {
        font-weight: bold;
        color: #5c5fc0;
        border-bottom: #fff;
    }