/* QRABBCT: модальное окно вставки ссылки (BBCode URL) */
.qrabbct-urlmend-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-urlmend-dialog {
	background: #f5f5f0;
	border: 3px solid #2a7fff;
	border-radius: 8px;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
	max-width: 480px;
	width: 100%;
	padding: 14px 16px 12px;
	box-sizing: border-box;
	font-size: 13px;
	color: #333;
}

.qrabbct-urlmend-row {
	display: flex;
	align-items: center;
	margin-bottom: 10px;
	gap: 10px;
}

.qrabbct-urlmend-row label {
	flex: 0 0 150px;
	max-width: 42%;
	font-weight: normal;
	text-align: left;
}

.qrabbct-urlmend-row .qrabbct-urlmend-input {
	flex: 1 1 auto;
	min-width: 0;
	padding: 4px 8px;
	border: 1px solid #ccc;
	border-radius: 3px;
	background: #fff;
}

.qrabbct-urlmend-row-example label {
	color: #555;
}

.qrabbct-urlmend-row-example .qrabbct-urlmend-input {
	background: #fafafa;
	color: #666;
}

.qrabbct-urlmend-hr {
	height: 1px;
	background: #d8d8d8;
	margin: 8px 0 12px;
}

.qrabbct-urlmend-footer {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: flex-end;
	margin-top: 14px;
	padding-top: 12px;
	border-top: 1px solid #ddd;
}

.qrabbct-urlmend-footer .button {
	min-width: 120px;
}

@media (max-width: 550px) {
	.qrabbct-urlmend-row {
		flex-direction: column;
		align-items: stretch;
	}
	.qrabbct-urlmend-row label {
		max-width: 100%;
	}
}
