/* 시스템 공지사항 팝업 (Figma Style) */
#modal_notice_system .modal-dialog {
    border-radius: 20px !important;
    overflow: hidden;
    box-shadow: 0 20px 60px -10px rgba(0, 0, 0, 0.15) !important;
    border: none !important;
    font-family: 'Pretendard', sans-serif;
}

#modal_notice_system .modal-content {
    border: none !important;
    padding: 0 !important;
    background: #fff;
}

/* 헤더 영역 */
#modal_notice_system .custom-popup-header {
    background: transparent;
    /* 배경 제거 */
    padding: 24px 24px 0 24px;
    /* 하단 패딩 제거하고 상단 여백만 */
    text-align: left;
    /* 좌측 정렬 */
    padding-bottom: 24px;
    /* 구분선과 간격을 위해 패딩 복구 */
    position: relative;
}

/* border를 ::after로 분리하여 SVG 렌더링에 영향을 주지 않음 */
#modal_notice_system .custom-popup-header::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    border-bottom: 1px solid #eee;
}

#modal_notice_system .popup-wrapper {
    position: relative;
}

#modal_notice_system .header-close-btn {
    position: absolute;
    top: 24px;
    right: 24px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

/* 닫기 버튼 스타일 보정 */
#modal_notice_system .header-close-btn .svg-icon {
    /* 원래 흰색 아이콘이라면 반전시켜 검게 만듭니다. 아니라면 밝기 조절로 검게. */
    filter: invert(0) brightness(0);
    width: 24px;
    height: 24px;
    display: block;
}

/* 본문 영역 */
#modal_notice_system .custom-popup-body {
    padding: 24px 24px 32px;
    /* 상단 패딩 조정 */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

#modal_notice_system .notice-icon-circle {
    width: 64px;
    height: 64px;
    /* background: #E8F3FF; 배경 제거 요청에 따라 제거하거나 흰색 유지 */
    background: transparent;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

#modal_notice_system .notice-icon-circle img {
    width: 48px;
    /* 아이콘 크기 키움 (배경이 없으므로) */
    height: 48px;
}

#modal_notice_system .popup-title-text {
    font-size: 2.4rem;
    /* 요청받은 크기 */
    font-weight: 700;
    color: #0070BD;
    /* 요청받은 색상 */
    margin: 0 0 12px 0;
    letter-spacing: -0.5px;
}

#modal_notice_system .popup-desc-text {
    font-size: 15px;
    color: #495057;
    line-height: 1.6;
    margin-bottom: 28px;
    word-break: keep-all;
}

#modal_notice_system .popup-desc-text strong {
    color: #228be6;
    font-weight: 600;
}

#modal_notice_system .popup-contact-text {
    font-size: 13px;
    color: #868e96;
    margin: -16px 0 24px 0;
    /* desc와 간격 줄이고 버튼과 간격 확보 */
    letter-spacing: -0.25px;
}

/* 액션 버튼 */
#modal_notice_system .action-download-btn {
    width: 100%;
    padding: 14px 0;
    background: #228be6;
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(34, 139, 230, 0.25);
}

#modal_notice_system .action-download-btn:hover {
    background: #1c7ed6;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(34, 139, 230, 0.35);
}

#modal_notice_system .action-download-btn:active {
    transform: translateY(1px);
}

/* 푸터 영역 */
#modal_notice_system .custom-popup-footer {
    padding: 16px 24px;
    background: transparent;
    /* 배경 제거 */
    border-top: 1px solid #eee;
    /* 구분선 복구 */
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    /* 하단 여백 추가 */
}

#modal_notice_system .check-today-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    user-select: none;
    margin-bottom: 0;
}

#modal_notice_system .check-today-label input {
    accent-color: #228be6;
    width: 18px;
    height: 18px;
    margin: 0;
    cursor: pointer;
}

#modal_notice_system .check-today-label span {
    font-size: 14px;
    color: #868e96;
    /* 텍스트 컬러 약간 연하게 */
    font-weight: 500;
}

#modal_notice_system .text-btn-close {
    background: none;
    border: none;
    font-size: 14px;
    color: #868e96;
    cursor: pointer;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 6px;
    transition: all 0.2s;
}

#modal_notice_system .text-btn-close:hover {
    color: #212529;
    background: rgba(0, 0, 0, 0.05);
}

/* ICAPP 모달 기본 패딩 제거 오버라이드 */
#modal_notice_system .modal-conts .conts-area {
    padding: 0 !important;
}