.foodord-deactivation-feedback {
	--foodord-deactivation-feedback-safe-top: env(safe-area-inset-top, 0);
	--foodord-deactivation-feedback-safe-right: env(safe-area-inset-right, 0);
	--foodord-deactivation-feedback-safe-bottom: env(safe-area-inset-bottom, 0);
	--foodord-deactivation-feedback-safe-left: env(safe-area-inset-left, 0);
	--foodord-deactivation-feedback-edge-space: 24px;
	position: fixed;
	inset: 0;
	height: 100vh;
	height: 100dvh;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding:
		calc(var(--foodord-deactivation-feedback-edge-space) + var(--foodord-deactivation-feedback-safe-top))
		calc(var(--foodord-deactivation-feedback-edge-space) + var(--foodord-deactivation-feedback-safe-right))
		calc(var(--foodord-deactivation-feedback-edge-space) + var(--foodord-deactivation-feedback-safe-bottom))
		calc(var(--foodord-deactivation-feedback-edge-space) + var(--foodord-deactivation-feedback-safe-left));
	box-sizing: border-box;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	perspective: 1000px;
}

.foodord-deactivation-feedback[hidden] {
	display: none;
}

.foodord-deactivation-feedback__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(15, 23, 42, 0.45);
	backdrop-filter: blur(8px);
	animation: foodord-fade-in 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.foodord-deactivation-feedback__dialog {
	position: relative;
	z-index: 10;
	width: 100%;
	max-width: 540px;
	max-height: calc(100vh - (2 * var(--foodord-deactivation-feedback-edge-space)) - var(--foodord-deactivation-feedback-safe-top) - var(--foodord-deactivation-feedback-safe-bottom));
	max-height: calc(100dvh - (2 * var(--foodord-deactivation-feedback-edge-space)) - var(--foodord-deactivation-feedback-safe-top) - var(--foodord-deactivation-feedback-safe-bottom));
	display: flex;
	flex-direction: column;
	background: #ffffff;
	border-radius: 24px;
	border: 1px solid rgba(226, 232, 240, 0.8);
	overflow-x: hidden;
	overflow-y: auto;
	overscroll-behavior: contain;
	-webkit-overflow-scrolling: touch;
	animation: foodord-modal-reveal 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.foodord-deactivation-feedback__close {
	position: absolute;
	top: 16px;
	right: 16px;
	width: 32px;
	height: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	background: #f1f5f9;
	border: none;
	border-radius: 50%;
	color: #64748b;
	cursor: pointer;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	z-index: 20;
}

.foodord-deactivation-feedback__close:hover {
	background: #fee2e2;
	color: #ef4444;
	transform: rotate(90deg);
}

.foodord-deactivation-feedback__header {
	padding: 40px 32px 24px;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.foodord-deactivation-feedback__visual {
	position: relative;
	width: 100%;
	height: 80px;
	margin-bottom: 24px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.foodord-deactivation-feedback__crying-face {
	position: relative;
	width: 100px;
	height: 40px;
}

.foodord-deactivation-feedback__eye {
	position: absolute;
	top: 10px;
	width: 24px;
	height: 1.5px;
	background: #94a3b8;
	border-radius: 2px;
	animation: foodord-eye-squint 4s ease-in-out infinite;
}

.foodord-deactivation-feedback__eye--left {
	left: 10px;
}

.foodord-deactivation-feedback__eye--right {
	right: 10px;
}

.foodord-deactivation-feedback__tear {
	position: absolute;
	top: 12px;
	width: 6px;
	height: 6px;
	background: #3b82f6;
	border-radius: 50% 0 50% 50%;
	transform: rotate(-45deg) scale(0);
	opacity: 0;
}

.foodord-deactivation-feedback__tear--left {
	left: 19px;
	animation: foodord-tear-stream 4s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.foodord-deactivation-feedback__tear--right {
	right: 19px;
	animation: foodord-tear-stream 4s cubic-bezier(0.4, 0, 0.6, 1) infinite 2s;
}

@keyframes foodord-eye-squint {

	0%,
	100% {
		transform: scaleY(1);
		opacity: 0.5;
	}

	40%,
	60% {
		transform: scaleY(4) translateY(1px);
		opacity: 1;
		border-radius: 2px 2px 0 0;
	}
}

@keyframes foodord-tear-stream {
	0% {
		transform: rotate(-45deg) translateY(0) scale(0);
		opacity: 0;
	}

	15% {
		transform: rotate(-45deg) translateY(0) scale(1.2);
		opacity: 1;
	}

	45%,
	100% {
		transform: rotate(-45deg) translateY(35px) scale(0.6);
		opacity: 0;
	}
}

@keyframes foodord-modal-reveal {
	0% {
		opacity: 0;
		transform: translateY(30px) scale(0.98);
		filter: blur(20px);
	}

	100% {
		opacity: 1;
		transform: translateY(0) scale(1);
		filter: blur(0);
	}
}

@keyframes foodord-item-reveal {
	from {
		opacity: 0;
		transform: translateX(-10px);
	}

	to {
		opacity: 1;
		transform: translateX(0);
	}
}

.foodord-deactivation-feedback__title {
	margin: 0 0 12px;
	font-size: 24px;
	font-weight: 800;
	color: #0f172a;
	line-height: 1.2;
}

.foodord-deactivation-feedback__intro {
	margin: 0;
	font-size: 15px;
	line-height: 1.6;
	color: #64748b;
}

.foodord-deactivation-feedback__body {
	padding: 0 32px 24px;
}

.foodord-deactivation-feedback__list {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.foodord-deactivation-feedback__item {
	margin: 0;
	opacity: 0;
	animation: foodord-item-reveal 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.foodord-deactivation-feedback__item:nth-child(1) {
	animation-delay: 0.1s;
}

.foodord-deactivation-feedback__item:nth-child(2) {
	animation-delay: 0.15s;
}

.foodord-deactivation-feedback__item:nth-child(3) {
	animation-delay: 0.2s;
}

.foodord-deactivation-feedback__item:nth-child(4) {
	animation-delay: 0.25s;
}

.foodord-deactivation-feedback__item:nth-child(5) {
	animation-delay: 0.3s;
}

.foodord-deactivation-feedback__item:nth-child(6) {
	animation-delay: 0.35s;
}

.foodord-deactivation-feedback__label {
	display: grid;
	grid-template-columns: 20px 1fr;
	align-items: center;
	gap: 16px;
	padding: 14px 18px;
	border: 1.5px solid #f1f5f9;
	background: #f8fafc;
	border-radius: 16px;
	cursor: pointer;
	transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.foodord-deactivation-feedback__label:hover {
	border-color: #cbd5e1;
	background: #ffffff;
	transform: scale(1.01) translateX(4px);
}

.foodord-deactivation-feedback__label input[type="radio"] {
	appearance: none;
	width: 20px;
	height: 20px;
	border: 2px solid #cbd5e1;
	border-radius: 50%;
	background: #ffffff;
	margin: 0;
	position: relative;
	display: grid;
	place-content: center;
	transition: all 0.2s ease;
	cursor: pointer;
}

.foodord-deactivation-feedback__label input[type="radio"]::before {
	content: "";
	width: 10px;
	height: 10px;
	border-radius: 50%;
	transform: scale(0);
	transition: 0.2s transform cubic-bezier(0.34, 1.56, 0.64, 1);
	background-color: #ffffff;
}

.foodord-deactivation-feedback__label input[type="radio"]:checked {
	border-color: #0f172a;
	background-color: #0f172a;
}

.foodord-deactivation-feedback__label input[type="radio"]:checked::before {
	transform: scale(1);
}

.foodord-deactivation-feedback__radio-text {
	font-size: 14px;
	font-weight: 600;
	color: #334155;
}

.foodord-deactivation-feedback__details,
.foodord-deactivation-feedback__other {
	margin: 12px 0 8px;
	padding: 16px;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 16px;
	animation: foodord-fade-in 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.foodord-deactivation-feedback__details-label {
	display: block;
	margin-bottom: 8px;
	font-size: 13px;
	font-weight: 700;
	color: #475569;
}

.foodord-deactivation-feedback__textarea {
	width: 100%;
	min-height: 90px;
	padding: 12px 14px;
	border: 1.5px solid #e2e8f0;
	border-radius: 12px;
	font-size: 14px;
	transition: all 0.2s ease;
	background: #fcfdfe;
}

.foodord-deactivation-feedback__textarea:focus {
	border-color: #0f172a;
	background: #ffffff;
	outline: none;
}

.foodord-deactivation-feedback__error {
	margin-top: 16px;
	padding: 12px 16px;
	background: #fef2f2;
	border: 1px solid #fee2e2;
	color: #991b1b;
	border-radius: 14px;
	font-size: 13px;
	font-weight: 500;
	text-align: center;
	animation: foodord-fade-in 0.3s ease-out;
}

.foodord-deactivation-feedback__footer {
	padding: 24px 32px 30px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	border-top: 1px solid #f8fafc;
	background: #fcfdfe;
}

.foodord-deactivation-feedback__skip {
	color: #94a3b8;
	font-size: 13px;
	font-weight: 500;
	background: none;
	border: none;
	padding: 8px 0;
	cursor: pointer;
	text-decoration: none;
	transition: all 0.2s ease;
	opacity: 0.8;
}

.foodord-deactivation-feedback__skip:hover {
	color: #64748b;
	opacity: 1;
	transform: translateX(-2px);
}

.foodord-deactivation-feedback__main-actions {
	display: flex;
	gap: 10px;
}

.foodord-deactivation-feedback__cancel {
	background: transparent;
	color: #64748b;
	border: 1px solid #e2e8f0;
	padding: 8px 18px;
	border-radius: 12px;
	font-size: 13px;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.2s ease;
	white-space: nowrap;
}

.foodord-deactivation-feedback__cancel:hover {
	background: #ffffff;
	border-color: #cbd5e1;
	color: #0f172a;
	transform: translateY(-1px);
}

.foodord-deactivation-feedback .foodord-deactivation-feedback__submit {
	background: #2271b1;
	color: #ffffff;
	border: 1px solid #2271b1;
	padding: 8px 24px;
	border-radius: 12px;
	font-size: 13px;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.2s ease;
	white-space: nowrap;
}

.foodord-deactivation-feedback .foodord-deactivation-feedback__submit:hover {
	background: #135e96;
	border-color: #135e96;
	transform: translateY(-1px);
}

.foodord-deactivation-feedback__submit:active {
	transform: translateY(0) scale(0.96);
}

.foodord-deactivation-feedback__submit:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

@keyframes foodord-fade-in {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

@keyframes foodord-modal-reveal {
	0% {
		opacity: 0;
		transform: scale(0.9) translateY(40px);
		filter: blur(10px);
	}

	100% {
		opacity: 1;
		transform: scale(1) translateY(0);
		filter: blur(0);
	}
}

@keyframes foodord-item-reveal {
	from {
		opacity: 0;
		transform: translateX(-10px);
	}

	to {
		opacity: 1;
		transform: translateX(0);
	}
}

@keyframes foodord-float {
	0% {
		transform: translateY(0) rotate(0deg);
	}

	25% {
		transform: translateY(-8px) rotate(-5deg);
	}

	75% {
		transform: translateY(-4px) rotate(5deg);
	}

	100% {
		transform: translateY(0) rotate(0deg);
	}
}

@media (max-width: 540px) {
	.foodord-deactivation-feedback {
		--foodord-deactivation-feedback-edge-space: 16px;
	}

	.foodord-deactivation-feedback__header {
		padding: 32px 24px 20px;
	}

	.foodord-deactivation-feedback__body {
		padding: 0 24px 20px;
	}

	.foodord-deactivation-feedback__footer {
		flex-direction: column-reverse;
		gap: 20px;
		padding: 24px;
		text-align: center;
	}

	.foodord-deactivation-feedback__main-actions {
		width: 100%;
		flex-direction: column;
		gap: 10px;
	}

	.foodord-deactivation-feedback__submit,
	.foodord-deactivation-feedback__cancel {
		width: 100%;
		padding: 12px 20px;
		display: flex;
		justify-content: center;
	}

	.foodord-deactivation-feedback__skip {
		padding: 4px 0;
	}
}
