.minimalblog-support-page {
	max-width: 900px;
}

.minimalblog-support-intro {
	background: #fff;
	border: 1px solid #dcdcde;
	border-radius: 8px;
	padding: 16px 18px;
	margin-top: 12px;
}

.minimalblog-support-email {
	margin: 12px 0 16px;
}

.minimalblog-support-email a {
	font-weight: 600;
}

.minimalblog-support-launcher-wrap {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 99990;
}

.minimalblog-support-launcher {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	border: 0;
	border-radius: 999px;
	background: #2271b1;
	color: #fff;
	padding: 10px 14px;
	font-weight: 600;
	cursor: pointer;
	box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
}

.minimalblog-support-launcher .dashicons {
	font-size: 18px;
	width: 18px;
	height: 18px;
}

.minimalblog-support-launcher:hover,
.minimalblog-support-launcher:focus {
	background: #135e96;
	color: #fff;
}

.minimalblog-support-modal {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 100000;
}

.minimalblog-support-modal.is-open {
	display: block;
}

.minimalblog-support-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.5);
}

.minimalblog-support-modal__dialog {
	position: relative;
	width: min(760px, calc(100vw - 32px));
	margin: 5vh auto 0;
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
	overflow: hidden;
}

.minimalblog-support-modal__header,
.minimalblog-support-modal__footer {
	padding: 14px 20px;
	background: #f6f7f7;
	border-bottom: 1px solid #e2e4e7;
}

.minimalblog-support-modal__footer {
	border-top: 1px solid #e2e4e7;
	border-bottom: 0;
	display: flex;
	gap: 8px;
}

.minimalblog-support-modal__body {
	padding: 16px 20px;
}

.minimalblog-support-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0 14px;
}

.minimalblog-support-modal__body label {
	display: block;
	margin: 12px 0 6px;
	font-weight: 600;
}

.minimalblog-support-modal__body input,
.minimalblog-support-modal__body textarea {
	width: 100%;
}

.minimalblog-support-modal__body textarea {
	min-height: 150px;
	resize: vertical;
}

.minimalblog-support-modal__close {
	background: transparent;
	border: 0;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
}

.minimalblog-support-modal__status {
	margin-top: 12px;
	padding: 10px 12px;
	border-radius: 4px;
}

.minimalblog-support-modal__status.is-error {
	color: #b32d2e;
	background: #fef2f2;
}

.minimalblog-support-modal__status.is-success {
	color: #1d7f1d;
	background: #effaf0;
}

#minimalblog-support-submit.is-busy {
	opacity: 0.8;
	pointer-events: none;
}

@media (max-width: 782px) {
	.minimalblog-support-modal__dialog {
		margin-top: 16px;
	}

	.minimalblog-support-grid {
		grid-template-columns: 1fr;
	}

	.minimalblog-support-launcher-wrap {
		right: 12px;
		bottom: 12px;
	}

	.minimalblog-support-launcher {
		padding: 9px 12px;
	}
}
