/* 팝업 전체 배경 (오버레이) */
.common-popup-overlay {
    position: fixed !important;   /* 화면 전체 기준 고정 */
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(0,0,0,0.55);
    justify-content: center !important;
    align-items: center !important;
    z-index: 99999 !important;    /* 최상단 고정 */
}

/* 팝업 박스 */
.common-popup-box {
    width: 600px;
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    font-size: 15px;
    margin: 0 !important;         /* 중앙에서 밀리는 문제 방지 */
    position: relative;           /* 부모 영향 안받게 고정 */
}

.common-popup-header {
    background: var(--color-primary);
    padding: 12px 16px;
}

.common-popup-title {
    color: white;
    font-weight: bold;
    font-size: 18px;
}

/* 내용 영역 */
.common-popup-content {
    padding: 20px;
    line-height: 1.6;
}

/* 풋터 */
.common-popup-footer {
    padding: 10px;
    text-align: right;
}

.common-popup-close-btn {
    padding: 6px 16px;
    background: #ccc;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.common-popup-close-btn:hover {
    background: #bbb;
}

.common-popup-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.common-popup-footer > div {
    display: flex;
    gap: 8px;
}

.common-popup-footer .btn {
    height: initial;
}

.notice-list-item {
    border-bottom: 1px solid #dee2e6 !important;
}

.accordion-button {
    font-size: 15px;
    padding: 12px 16px;
}

.accordion-button:not(.collapsed) {
    background-color: #fff;
    color: inherit;
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(0,0,0,.125);
}

.accordion-body {
    line-height: 1.7;
    max-height: 300px;
    overflow-y: auto;
}

.accordion-body::-webkit-scrollbar {
    width: 6px;
}

.accordion-body::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}