/**
 * No Signal Media feedback form.
 */

.nsm-feedback-panel,
.nsm-feedback-panel * {
	box-sizing: border-box;
}

.nsm-feedback-panel {
	width: min(100%, 980px);
	margin: clamp(28px, 5vw, 56px) auto 0;
	padding: clamp(24px, 4vw, 42px);
	border: 1px solid rgba(243, 240, 232, 0.14);
	border-radius: 18px;
	background:
		linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018)),
		#171919;
	color: var(--nsm-text, #f3f0e8);
	white-space: normal;
}

.nsm-feedback-panel *,
.nsm-feedback-panel *::before,
.nsm-feedback-panel *::after {
	white-space: normal;
}

.nsm-feedback-panel ::selection {
	background: rgba(216, 194, 122, 0.3);
	color: #fffaf0;
}

.nsm-feedback-intro {
	max-width: 720px;
	margin: 0 0 28px;
}

.nsm-feedback-kicker {
	margin: 0 0 8px;
	color: var(--nsm-accent, #d8c27a);
	font-size: 0.76rem;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.nsm-feedback-intro h2 {
	margin: 0;
	color: var(--nsm-text, #f3f0e8);
	font-size: clamp(2rem, 5vw, 4rem);
	line-height: 1;
	letter-spacing: 0;
}

.nsm-feedback-intro p:not(.nsm-feedback-kicker) {
	margin: 14px 0 0;
	color: var(--nsm-muted, rgba(244, 242, 234, 0.68));
	font-size: clamp(1rem, 2vw, 1.2rem);
	line-height: 1.5;
}

.nsm-feedback-notice {
	margin: 0 0 22px;
	padding: 12px 14px;
	border-radius: 12px;
	font-weight: 700;
}

.nsm-feedback-notice--success {
	border: 1px solid rgba(95, 167, 111, 0.34);
	background: rgba(95, 167, 111, 0.12);
	color: #cfe9d4;
}

.nsm-feedback-notice--error {
	border: 1px solid rgba(255, 120, 90, 0.34);
	background: rgba(255, 120, 90, 0.12);
	color: #ffd4ca;
}

.nsm-feedback-form {
	display: block;
	margin: 0;
}

.nsm-feedback-form input[type="hidden"],
.nsm-feedback-form .nsm-feedback-hp {
	display: none !important;
	visibility: hidden !important;
	width: 0 !important;
	height: 0 !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	overflow: hidden !important;
}

.nsm-feedback-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
	align-items: start;
	margin-bottom: 20px;
}

.nsm-feedback-panel label.nsm-feedback-field {
	display: block !important;
	height: auto !important;
	min-height: 0 !important;
	min-width: 0;
	row-gap: 0 !important;
	column-gap: 0 !important;
	align-content: normal !important;
	justify-content: normal !important;
}

.nsm-feedback-field--wide {
	grid-column: 1 / -1;
}

.nsm-feedback-field--email {
	grid-column: 1 / -1;
	max-width: min(100%, 520px);
}

.nsm-feedback-field--wide {
	margin-bottom: 20px;
}

.nsm-feedback-field span {
	display: block;
	margin: 0 0 8px;
	color: var(--nsm-text, #f3f0e8);
	font-size: 0.82rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.nsm-feedback-panel .nsm-feedback-field input,
.nsm-feedback-panel .nsm-feedback-field select,
.nsm-feedback-panel .nsm-feedback-field textarea {
	width: 100%;
	min-height: 48px;
	padding: 11px 13px;
	border: 1px solid rgba(243, 240, 232, 0.18);
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.055);
	color: var(--nsm-text, #f3f0e8);
	font: inherit;
	box-shadow: none;
}

.nsm-feedback-panel .nsm-feedback-field textarea {
	min-height: 180px;
	line-height: 1.45;
	resize: vertical;
	white-space: pre-wrap;
}

.nsm-feedback-panel .nsm-feedback-field input:focus,
.nsm-feedback-panel .nsm-feedback-field select:focus,
.nsm-feedback-panel .nsm-feedback-field textarea:focus {
	border-color: rgba(216, 194, 122, 0.78);
	box-shadow: 0 0 0 2px rgba(216, 194, 122, 0.16);
	outline: 0;
}

.nsm-feedback-panel .nsm-feedback-field select option {
	background: #171919;
	color: #f3f0e8;
}

.nsm-feedback-panel .nsm-feedback-field textarea::placeholder {
	color: rgba(244, 242, 234, 0.46);
}

.nsm-feedback-actions {
	display: flex;
	justify-content: flex-end;
}

.nsm-feedback-actions button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 10px 20px;
	border: 1px solid var(--nsm-text, #f3f0e8);
	border-radius: 999px;
	background: var(--nsm-text, #f3f0e8);
	color: var(--nsm-bg, #0e0f0f);
	font: inherit;
	font-weight: 800;
	cursor: pointer;
}

.nsm-feedback-actions button:hover,
.nsm-feedback-actions button:focus {
	border-color: var(--nsm-accent, #d8c27a);
	background: var(--nsm-accent, #d8c27a);
	color: var(--nsm-bg, #0e0f0f);
}

@media (max-width: 760px) {
	.nsm-feedback-grid {
		grid-template-columns: 1fr;
	}

	.nsm-feedback-actions {
		justify-content: stretch;
	}

	.nsm-feedback-actions button {
		width: 100%;
	}
}
