/* BEST COP 사칭 사기 주의 팝업 스타일 */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
}

.popup-container {
    background: white;
    border-radius: 12px;
    border: 2px solid #007bff;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: popupSlideIn 0.3s ease-out;
}

.popup-large {
    max-width: 800px;
    max-height: 95vh;
}

@keyframes popupSlideIn {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(-50px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.popup-header {
    display: flex;
    align-items: center;
    padding: 20px 20px 15px 20px;
    border-bottom: 1px solid #e9ecef;
}

.popup-warning-icon {
    width: 24px;
    height: 24px;
    background: #ffc107;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    flex-shrink: 0;
}

.popup-warning-icon::before {
    content: "!";
    color: #000;
    font-weight: bold;
    font-size: 16px;
}

.popup-title {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin: 0;
}

.popup-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 30px;
    height: 30px;
    background: #6c757d;
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s;
}

.popup-close-btn:hover {
    background: #5a6268;
}

.popup-close-btn::before {
    content: "×";
    font-size: 18px;
    line-height: 1;
}

.popup-content {
    padding: 20px;
    line-height: 1.6;
    color: #333;
}

.popup-content p {
    margin: 0 0 15px 0;
    font-size: 14px;
}

.popup-content p:last-child {
    margin-bottom: 0;
}

.popup-section {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.popup-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.popup-section h3 {
    color: #007bff;
    font-size: 16px;
    font-weight: bold;
    margin: 0 0 10px 0;
    display: flex;
    align-items: center;
}

.popup-list {
    margin: 0;
    padding-left: 0;
    list-style: none;
}

.popup-list li {
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
    line-height: 1.5;
    font-size: 14px;
}

.popup-list li::before {
    content: "•";
    color: #007bff;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
}

.popup-highlight {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #007bff;
    margin-top: 15px;
}

.popup-highlight h3 {
    color: #333;
    margin-bottom: 10px;
}

.popup-contact {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin: 15px 0;
    border-left: 4px solid #007bff;
}

.popup-contact strong {
    color: #007bff;
    font-weight: bold;
}

.popup-contact a {
    color: #007bff;
    text-decoration: none;
}

.popup-contact a:hover {
    text-decoration: underline;
}

.popup-footer {
    padding: 15px 20px 20px 20px;
    border-top: 1px solid #e9ecef;
    background: #f8f9fa;
    border-radius: 0 0 12px 12px;
}

.popup-footer p {
    margin: 0;
    font-size: 13px;
    color: #666;
    text-align: center;
}

/* 모바일 반응형 */
@media (max-width: 768px) {
    .popup-overlay {
        padding: 10px;
    }
    
    .popup-container {
        max-width: 100%;
        margin: 0;
    }
    
    .popup-title {
        font-size: 18px;
    }
    
    .popup-content {
        padding: 15px;
    }
    
    .popup-content p {
        font-size: 13px;
    }
    
    .popup-header {
        padding: 15px 15px 10px 15px;
    }
    
    .popup-footer {
        padding: 10px 15px 15px 15px;
    }
}

@media (max-width: 480px) {
    .popup-title {
        font-size: 16px;
    }
    
    .popup-warning-icon {
        width: 20px;
        height: 20px;
        margin-right: 8px;
    }
    
    .popup-warning-icon::before {
        font-size: 14px;
    }
}
