@media print {
    .no-print {
        display: none !important;
    }
}

.readonly,
.readonly + label,
.readonly + label + .label_right {
    pointer-events: none;
    background-color: var(--gray-soft);
    color: #666;
}

input.readonly {
    pointer-events: none;
    background-color: var(--gray-soft);
    cursor: default;
}

.strike {
    text-decoration: line-through;
}

#popupLayer, #popupLayer-p1, #popupLayer-p2, #popupLayer-p9 {
    cursor: move;
}

.tableStyle {
    cursor: default;
}

.popup-scroll {
    overflow-y: auto;
    max-height: 550px;
}

.popup-small-wrap, .popup-small-wrap-p1, .popup-small-wrap-p2, .popup-small-wrap-p9 {
    position: fixed;
    top: 4%;
    left: 33%;
    width: 600px;
    height: auto;
    max-height: 760px;
    background: #fff;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    z-index: 9999;
    overflow: auto;
    border-radius: 8px;
}

.popup-middle-wrap, .popup-middle-wrap-p1, .popup-middle-wrap-p2, .popup-middle-wrap-p9 {
    position: fixed;
    top: 4%;
    left: 23%;
    width: 800px;
    height: auto;
    max-height: 760px;
    background: #fff;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    z-index: 9999;
    overflow: auto;
    border-radius: 8px;
}

.popup-large-wrap, .popup-large-wrap-p1, .popup-large-wrap-p2, .popup-large-wrap-p9 {
    position: fixed;
    top: 4%;
    left: 16%;
    width: 1024px;
    height: auto;
    max-height: 760px;
    background: #fff;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    z-index: 9999;
    overflow: auto;
    border-radius: 8px;
}

.popup-huge-wrap, .popup-huge-wrap-p1, .popup-huge-wrap-p2, .popup-huge-wrap-p9 {
    position: fixed;
    top: 4%;
    left: 10%;
    width: 1200px;
    height: auto;
    max-height: 760px;
    background: #fff;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    z-index: 9999;
    overflow: auto;
    border-radius: 8px;
}

.popup-auto-wrap, .popup-auto-wrap-p1, .popup-auto-wrap-p2, .popup-auto-wrap-p9 {
    position: fixed;
    top: 4%;
    left: 30%;
    width: auto;
    height: auto;
    max-height: 760px;
    background: #fff;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    z-index: 9999;
    overflow: auto;
    border-radius: 8px;
}

.popup-overlay, .popup-overlay-p1, .popup-overlay-p2, .popup-overlay-p9 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
}

.popup-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 24px;
    z-index: 9999;
}

.popup-close-btn .icon_close::before {
    content: "";
    display: inline-block;
    width: 16px;   /* 아이콘 크기 */
    height: 16px;
    background-image: url(/images/btn_close.png);
    background-size: contain;
    background-repeat: no-repeat;
}

.tag-input-wrapper {
    position: relative;
    padding-left: 30px;
}

.input-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px;
    border: 1px solid #cbd0dd;
    padding: 2px 5px;
    min-height: 34px;
}

.input-group .tag-input {
    border: none;
    outline: none;
    height: 28px;
    padding: 0;

    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: 150px;
    width: auto;
}

.tag-input-container {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.tag-item {
    display: inline-flex;
    align-items: center;
    background-color: var(--primary-100, #e5edff);
    color: var(--primary-600, #003cc7);
    padding: 3px 8px;
    border-radius: var(--border-radius-sm, 0.25rem);
    font-size: 1.3rem;
    font-weight: 500;
}

.tag-remove {
    margin-left: 8px;
    cursor: pointer;
    font-weight: bold;
}

.tag-remove:hover {
    color: var(--danger-500, #cc1b00);
}

.btn-multi-select {
    position: absolute;
    left: 5px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    padding: 0;
    font-size: 0;
    border: none;
    cursor: pointer;
    background-image: url('/images/icon/icon_btn_common_18px.png');
    background-repeat: no-repeat;
    background-color: transparent;
    background-position: -36px 0;
}
