.pwp-wg-modal {
	display: none;
	position: fixed;
	z-index: 99999;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0,0,0,0.5);
}

.pwp-wg-modal-content {
	background-color: #fff;
	margin: 5% auto;
	padding: 20px;
	border: 1px solid #888;
	width: 90%;
	max-width: 600px;
	border-radius: 8px;
	position: relative;
	max-height: 80vh;
	overflow-y: auto;
}

.pwp-wg-close {
	color: #aaa;
	float: right;
	font-size: 28px;
	font-weight: bold;
	cursor: pointer;
}

.pwp-wg-close:hover {
	color: black;
}

.pwp-wg-btn {
	padding: 10px 15px;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	font-weight: bold;
	margin: 5px 0;
}
.pwp-wg-btn-primary { background: #0073aa; color: #fff; }
.pwp-wg-btn-secondary { background: #e2e4e7; color: #333; }
.pwp-wg-btn-warning { background: #f0b840; color: #fff; }
.pwp-wg-btn-danger { background: #dc3232; color: #fff; }

.pwp-wg-user-info {
	background: #f9f9f9;
	padding: 10px;
	border-radius: 4px;
	margin-bottom: 20px;
}

.pwp-wg-group-list {
	margin-bottom: 20px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.pwp-wg-checkbox-label {
	display: flex;
	align-items: center;
	gap: 8px;
	cursor: pointer;
}

.pwp-wg-checkbox-label.pwp-wg-subscribed {
	color: #666;
	cursor: not-allowed;
}
.pwp-wg-checkbox-label.pwp-wg-subscribed em {
	font-size: 0.85em;
	color: #888;
}

.pwp-wg-manage-item {
	border: 1px solid #ddd;
	padding: 15px;
	border-radius: 4px;
	margin-bottom: 15px;
}

.pwp-wg-item-actions {
	display: flex;
	gap: 10px;
	margin-top: 10px;
}

.pwp-wg-msg {
	margin-top: 15px;
	padding: 10px;
	border-radius: 4px;
	display: none;
}
.pwp-wg-msg.success { background: #d4edda; color: #155724; display: block; }
.pwp-wg-msg.error { background: #f8d7da; color: #721c24; display: block; }
