/* 모달 래퍼 */
.popup-wrapper {
    position: relative;
    width: 100%;
    max-width: 584px;
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* 우측 상단 닫기 버튼 */
.header-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 32px;
    height: 32px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 10;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-close-btn:hover {
    opacity: 0.7;
}

.header-close-btn .svg-icon {
    width: 24px;
    height: 24px;
    display: block;
}

/* 헤더 영역 */
.custom-popup-header {
    padding: 24px 24px 16px;
    border-bottom: 1px solid #f0f0f0;
}

.custom-popup-header img {
    height: 32px;
    display: block;
}

/* 본문 영역 */
.custom-popup-body {
    padding: 18px 10px 10px;
    text-align: center;
}

/* 정보 아이콘 원형 */
.notice-icon-circle {
    width: 65px;
    height: 65px;
    margin: 0 auto 4px;
    background: #ffffff;
    border-radius: 10%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notice-icon-circle img {
    width: 60px;
    height: 60px;
}

/* 타이틀 텍스트 */
.popup-title-text {
    font-size: 20px;
    font-weight: 700;
    color: #1E88E5;
    line-height: 1.4;
    margin: 0 0 20px;
}

/* 설명 텍스트 */
.popup-desc-text {
    font-size: 16px;
    color: #333333;
    line-height: 1.6;
    margin: 0 0 16px;
}

.popup-desc-text strong {
    color: #1E88E5;
    font-weight: 600;
}

/* 연락처 텍스트 */
.popup-contact-text {
    font-size: 14px;
    color: #666666;
    line-height: 1.5;
    margin: 0 0 32px;
}

/* 다운로드 버튼 */
.action-download-btn {
    width: 100%;
    max-width: 400px;
    height: 52px;
    background: #1E88E5;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.action-download-btn:hover {
    background: #1976D2;
}

.action-download-btn:active {
    background: #1565C0;
}

/* 푸터 영역 */
.custom-popup-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    background: #fafafa;
    border-top: 1px solid #f0f0f0;
}

/* 체크박스 라벨 */
.check-today-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    color: #666666;
    user-select: none;
}

.check-today-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0 8px 0 0;
    cursor: pointer;
    accent-color: #1E88E5;
}

.check-today-label:hover {
    color: #333333;
}

/* 닫기 텍스트 버튼 */
.text-btn-close {
    background: transparent;
    border: none;
    color: #666666;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    padding: 8px 16px;
    transition: color 0.2s ease;
}

.text-btn-close:hover {
    color: #333333;
}

/* 반응형 처리 */
@media (max-width: 640px) {
    .popup-wrapper {
        max-width: 100%;
        border-radius: 12px;
    }
    
    .custom-popup-body {
        padding: 10px 12px 12px;
    }
    
    .popup-title-text {
        font-size: 20px;
    }
    
    .popup-desc-text {
        font-size: 15px;
    }
    
    .action-download-btn {
        font-size: 15px;
        height: 48px;
    }
    
    .custom-popup-footer {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }
}