@charset "utf-8";

/* 팝업 오버레이 */
.msg-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    animation: fadeIn 0.3s;
}

.msg-overlay.active {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 팝업 컨테이너 */
.msg-popup {
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    min-width: 320px;
    max-width: 500px;
    animation: slideDown 0.3s;
}

/* 팝업 헤더 */
.msg-header {
    padding: 20px 20px 15px;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.msg-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 16px;
}

.msg-icon.success {
    background: #4CAF50;
    color: white;
}

.msg-icon.warning {
    background: #ff9800;
    color: white;
}

.msg-icon.error {
    background: #f44336;
    color: white;
}

.msg-icon.info {
    background: #2196F3;
    color: white;
}

.msg-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    white-space: pre-line;
}

/* 팝업 본문 */
.msg-body {
    padding: 20px;
    color: #666;
    line-height: 1.6;
    font-size: 14px;
    white-space: pre-line;
}

/* 팝업 푸터 */
.msg-footer {
    padding: 15px 20px;
    border-top: 1px solid #e0e0e0;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.msg-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s;
}

.msg-btn:hover {
    opacity: 0.8;
}

.msg-btn.primary {
    background: #2196F3;
    color: white;
}

.msg-btn.secondary {
    background: #e0e0e0;
    color: #666;
}

.msg-btn.danger {
    background: #f44336;
    color: white;
}


