.rc-version { font-size: 1em; font-style: italic; margin-bottom: 8px; }
.rc-modal {
	position: fixed;
	top: 0; left: 0; right: 0; bottom: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
}
.rc-modal[hidden] {
	display: none !important;
}
.rc-modal-backdrop {
	position: absolute;
	top: 0; left: 0; right: 0; bottom: 0;
	background: rgba(0,0,0,0.5);
}
.rc-modal-dialog {
	position: relative;
	background: #fff;
	border-radius: 4px;
	box-shadow: 0 4px 20px rgba(0,0,0,0.3);
	max-height: 85vh;
	overflow-y: auto;
	width: 90%;
	max-width: 520px;
}
.rc-modal-header {
	padding: 12px 16px;
	border-bottom: 1px solid #e5e5e5;
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.rc-modal-header h2 { margin: 0; font-size: 16px; }
.rc-modal-close {
	background: none; border: none; font-size: 24px; cursor: pointer; padding: 0; line-height: 1; color: #666;
}
.rc-modal-close:hover { color: #000; }
.rc-modal-body { padding: 16px; }
.rc-modal-footer {
	padding: 12px 16px;
	border-top: 1px solid #e5e5e5;
	display: flex;
	gap: 8px;
	justify-content: flex-end;
}
.rc-modal-error { color: #d63638; margin: 0 0 12px; }
