.wcfgd-wrapper {
	margin: 1.5rem 0;
	position: relative;
}

.wcfgd-card {
	border: 1px solid #d9d9d9;
	border-radius: 14px;
	padding: 1.5rem;
	background: linear-gradient(180deg, #ffffff 0%, #faf8f1 100%);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.wcfgd-card-modal {
	display: none;
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: min(92vw, 640px);
	max-height: 85vh;
	overflow-y: auto;
	z-index: 100001;
}

.wcfgd-card-modal.is-open {
	display: block;
}

.wcfgd-modal-backdrop {
	position: fixed;
	inset: 0;
	background: rgba(15, 23, 42, 0.6);
	backdrop-filter: blur(3px);
	z-index: 100000;
}

.wcfgd-open-modal-button,
.wcfgd-download-button {
	margin-top: 1rem;
	background: #111827;
	color: #fff;
	border: 0;
	border-radius: 999px;
	padding: 0.9rem 1.2rem;
	cursor: pointer;
}

.wcfgd-open-modal-button:hover,
.wcfgd-download-button:hover {
	background: #1f2937;
}

.wcfgd-close-modal-button {
	position: absolute;
	top: 0.75rem;
	right: 0.75rem;
	background: transparent;
	border: 0;
	font-size: 1.75rem;
	line-height: 1;
	cursor: pointer;
	color: #111827;
}

.wcfgd-title {
	margin: 0 0 0.5rem;
	font-size: 1.4rem;
	line-height: 1.2;
}

.wcfgd-description {
	margin: 0 0 1rem;
	color: #555;
}

.wcfgd-status {
	margin-top: 1rem;
	font-weight: 600;
}

.wcfgd-status.is-error {
	color: #b42318;
}

.wcfgd-status.is-success {
	color: #027a48;
}

.wcfgd-notice {
	padding: 1rem;
	border-left: 4px solid #b42318;
	background: #fff3f2;
	color: #7a271a;
}

body.wcfgd-modal-open {
	overflow: hidden;
}
