/* QRABBCT: модальное окно заголовка spoiler */
.qrabbct-spoiler-overlay {
	position: fixed;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	z-index: 100050;
	background: rgba(0, 0, 0, 0.45);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	box-sizing: border-box;
}

.qrabbct-spoiler-dialog {
	background: #f5f5f0;
	border: 3px solid #2a7fff;
	border-radius: 8px;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
	max-width: 420px;
	width: 100%;
	padding: 14px 16px 12px;
	box-sizing: border-box;
	font-size: 13px;
	color: #333;
}

.qrabbct-spoiler-header {
	font-weight: 700;
	font-size: 14px;
	margin-bottom: 6px;
	color: #2b587a;
}

.qrabbct-spoiler-hint {
	margin: 0 0 12px;
	font-size: 12px;
	line-height: 1.45;
	color: #666;
	font-weight: normal;
	white-space: pre-line;
	word-break: break-word;
}

.qrabbct-spoiler-row {
	display: flex;
	align-items: center;
	margin-bottom: 10px;
	gap: 10px;
}

.qrabbct-spoiler-row label {
	flex: 0 0 110px;
	max-width: 42%;
	font-weight: normal;
	text-align: left;
}

.qrabbct-spoiler-row .qrabbct-spoiler-input {
	flex: 1 1 auto;
	min-width: 0;
	padding: 4px 8px;
	border: 1px solid #ccc;
	border-radius: 3px;
	background: #fff;
}

.qrabbct-spoiler-footer {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: flex-end;
	margin-top: 14px;
	padding-top: 12px;
	border-top: 1px solid #ddd;
}

.qrabbct-spoiler-footer .button {
	min-width: 120px;
}

@media (max-width: 550px) {
	.qrabbct-spoiler-row {
		flex-direction: column;
		align-items: stretch;
	}
	.qrabbct-spoiler-row label {
		max-width: 100%;
	}
}
