/* The beta's feedback form, in the dashboard's look (as /dashboard/not-me/): near-black under a glow of
   the Vauz blues, one glass card with a white edge, Mukta in white. Even pixel values only. */
* { box-sizing: border-box; }
[hidden] { display: none !important; }

body {
	margin: 0;
	min-height: 100vh;
	min-height: 100dvh;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #0a0a0a;
	color: white;
	font-family: 'Mukta', sans-serif;
}

body::before {
	content: "";
	position: fixed;
	inset: 0;
	z-index: -1;
	background:
		radial-gradient(60vmax 50vmax at 15% 10%, rgba(4, 145, 234, 0.45), transparent 70%),
		radial-gradient(55vmax 45vmax at 90% 95%, rgba(23, 107, 252, 0.35), transparent 70%),
		#0a0a0a;
}

.feedback {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
	width: 100%;
	max-width: 520px;
	margin: 24px 16px;
	padding: 28px 28px 32px;
	background: rgba(25, 25, 25, 0.25);
	backdrop-filter: blur(24px);
	-webkit-backdrop-filter: blur(24px);
	border: 2px solid rgba(255, 255, 255, 0.4);
	border-radius: 20px;
}

.feedback_brand {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: white;
	font-size: 16px;
	font-weight: 700;
	text-decoration: none;
	opacity: 0.85;
}

.feedback_brand img { border-radius: 6px; }

.feedback_form,
.feedback_done {
	display: flex;
	flex-direction: column;
	gap: 10px;
	width: 100%;
}

.feedback_done { text-align: center; }

.feedback_title {
	margin: 0;
	font-size: 26px;
	line-height: 1.2;
	font-weight: 700;
	text-align: center;
	text-wrap: balance;
}

.feedback_text {
	margin: 0 0 6px;
	font-size: 16px;
	line-height: 1.5;
	opacity: 0.8;
	text-align: center;
	text-wrap: balance;
}

.feedback_label {
	margin: 6px 0 0;
	font-size: 14px;
	font-weight: 600;
	opacity: 0.9;
}

.feedback_optional {
	margin-left: 4px;
	font-weight: 400;
	opacity: 0.7;
}

/* What it is about: four squares with rounded corners, one chosen */
.feedback_kinds {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 8px;
	margin: 0;
	padding: 0;
	border: none;
}

.feedback_kinds legend { padding: 0; margin-bottom: 8px; }

.feedback_kinds label { position: relative; }

.feedback_kinds input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

/* Every button on the page is one height (48px): the four kinds and Send */
.feedback_kinds span {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 48px;
	padding: 0 12px;
	white-space: nowrap;
	border: 2px solid rgba(255, 255, 255, 0.24);
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.06);
	font-size: 15px;
	font-weight: 600;
	text-align: center;
	cursor: pointer;
	transition: background 0.2s, border-color 0.2s;
}

.feedback_kinds input:checked + span {
	border-color: #04f2da;
	background: rgba(4, 242, 218, 0.14);
}

.feedback_kinds input:focus-visible + span { outline: 2px solid #04f2da; outline-offset: 2px; }

.feedback textarea,
.feedback input[type="email"] {
	width: 100%;
	padding: 10px 12px;
	border: 2px solid rgba(255, 255, 255, 0.24);
	border-radius: 10px;
	background: rgba(0, 0, 0, 0.24);
	color: white;
	font-family: inherit;
	font-size: 16px;
	line-height: 1.4;
	resize: vertical;
}

.feedback textarea:focus,
.feedback input[type="email"]:focus {
	outline: none;
	border-color: #04f2da;
}

.feedback_count {
	margin: -4px 0 0;
	font-size: 13px;
	opacity: 0.7;
	text-align: right;
	min-height: 0;
}

.feedback_count:empty { display: none; }

/* The details the app offered: chips with a remove button each */
.feedback_chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.feedback_chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 4px 6px 4px 10px;
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.2);
	font-size: 14px;
}

.feedback_chip_remove {
	display: grid;
	place-items: center;
	width: 22px;
	height: 22px;
	padding: 0;
	border: none;
	border-radius: 6px;
	background: rgba(255, 255, 255, 0.12);
	color: white;
	font-size: 12px;
	cursor: pointer;
}

.feedback_chip_remove:hover { background: rgba(255, 255, 255, 0.24); }

.feedback_hint {
	margin: 0;
	font-size: 13px;
	opacity: 0.7;
	text-wrap: balance;
}

.feedback_hint a { color: #04f2da; }

.feedback_trap {
	position: absolute;
	left: -9999px;
	width: 2px;
	height: 2px;
	opacity: 0;
}

.feedback_send {
	width: 100%;
	height: 48px;
	margin-top: 8px;
	padding: 0 16px;
	font-family: inherit;
	font-size: 16px;
	font-weight: 600;
	color: white;
	background: #1a6bff;
	border: 2px solid #1a6bff;
	border-radius: 10px;
	cursor: pointer;
	transition: background 0.2s, color 0.2s;
}

.feedback_send:hover:not(:disabled) { background: transparent; color: #8fb5ff; }
.feedback_send:disabled { opacity: 0.6; cursor: progress; }

.feedback_state {
	margin: 0;
	font-size: 14px;
	color: rgb(245, 196, 120);
	text-align: center;
}

/* The security line stands apart from the support address above it */
.feedback_security {
	margin-top: 2px;
}

/* A phone: a narrower card edge and smaller kinds, so "Something broke" stays on one line */
@media (max-width: 420px) {
	.feedback {
		padding: 24px 18px 28px;
	}
	.feedback_kinds span {
		padding: 0 8px;
		font-size: 14px;
	}
}

.feedback_send:focus-visible,
.feedback_chip_remove:focus-visible,
.feedback_brand:focus-visible { outline: 2px solid #04f2da; outline-offset: 2px; }
