.feedback-main {
	direction: rtl;
	background: #f8fbfb;
	color: #444;
	padding-block: clamp(2.5rem, 6vw, 5rem);
}

.feedback-shell {
	max-width: 960px;
}

.feedback-hero {
	max-width: 720px;
	margin: 0 auto 2rem;
	text-align: center;
}

.feedback-hero h1 {
	margin: .35rem 0 .75rem;
	font-size: clamp(2rem, 5vw, 3.25rem);
}

.feedback-card {
	background: #fff;
	border: 1px solid #d9e8e8;
	border-radius: 4px;
	box-shadow: 0 18px 50px rgba(23, 70, 70, .08);
	padding: clamp(1rem, 4vw, 2.5rem);
}

.feedback-progress {
	position: relative;
	height: 8px;
	margin-bottom: 2.5rem;
	background: #e8f2f2;
	border-radius: 4px;
}

.feedback-progress > span {
	display: block;
	width: 33.333%;
	height: 100%;
	background: #0cb8b6;
	border-radius: inherit;
	transition: width 220ms ease;
}

.feedback-progress strong {
	display: block;
	margin-top: .65rem;
	color: #555;
	font-size: .9rem;
}

.feedback-step h2 {
	margin-bottom: 1.4rem;
}

.feedback-type-options,
.feedback-fields {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1rem;
}

.feedback-type-card {
	display: grid;
	grid-template-columns: 48px 1fr;
	gap: .25rem 1rem;
	min-height: 132px;
	padding: 1.25rem;
	border: 2px solid #d9e8e8;
	border-radius: 4px;
	background: #fff;
	color: #444;
	text-align: right;
	cursor: pointer;
	transition: border-color 180ms ease, box-shadow 180ms ease;
}

.feedback-type-card > span {
	grid-row: 1 / 3;
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	border-radius: 4px;
	background: #eefafa;
	color: #0a7776;
	font-size: 1.4rem;
	font-weight: 700;
}

.feedback-type-card strong {
	font-size: 1.15rem;
}

.feedback-type-card small {
	line-height: 1.7;
}

.feedback-type-card.is-selected {
	border-color: #0cb8b6;
	box-shadow: 0 0 0 3px rgba(12, 184, 182, .12);
}

.feedback-form [hidden] {
	display: none !important;
}

.feedback-form .form-field {
	display: flex;
	flex-direction: column;
	gap: .45rem;
}

.feedback-form .form-field small {
	color: #5f6f73;
	font-size: 13px;
	line-height: 1.6;
}

.feedback-form label,
.feedback-reply-form label,
.feedback-rating-form label {
	font-weight: 600;
}

.feedback-form input,
.feedback-form select,
.feedback-form textarea,
.feedback-reply-form textarea,
.feedback-rating-form textarea {
	width: 100%;
	min-height: 46px;
	border: 1px solid #b9cece;
	border-radius: 4px;
	background: #fff;
	padding: .75rem;
	font: inherit;
	color: #333;
}

.feedback-form textarea,
.feedback-reply-form textarea,
.feedback-rating-form textarea {
	min-height: 110px;
	resize: vertical;
}

.feedback-form input:focus,
.feedback-form select:focus,
.feedback-form textarea:focus,
.feedback-reply-form textarea:focus,
.feedback-rating-form textarea:focus,
.feedback-type-card:focus-visible {
	outline: 3px solid rgba(12, 184, 182, .3);
	outline-offset: 2px;
	border-color: #0a7776;
}

/* Headings receive programmatic focus for screen readers, not keyboard interaction. */
.feedback-step h2[tabindex="-1"]:focus {
	outline: 0;
}

.feedback-form input[type="time"] {
	font-variant-numeric: tabular-nums;
}

.feedback-checkbox {
	display: flex;
	align-items: flex-start;
	gap: .7rem;
	font-weight: 400 !important;
}

.feedback-checkbox input {
	width: 22px;
	min-height: 22px;
	margin-top: .15rem;
}

.feedback-help,
.feedback-notice {
	margin-top: 1rem;
	padding: .9rem 1rem;
	border-right: 4px solid #dd9933;
	background: #fff8ed;
	border-radius: 4px;
}

.feedback-notice--error {
	margin-bottom: 1rem;
	border-color: #b32d2e;
	background: #fff0f0;
}

.feedback-form-actions,
.feedback-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: .75rem;
	margin-top: 2rem;
}

.feedback-success {
	text-align: center;
}

.feedback-success__icon {
	display: grid;
	place-items: center;
	width: 64px;
	height: 64px;
	margin: 0 auto 1rem;
	border-radius: 50%;
	background: #e8f8f3;
	color: #08795b;
	font-size: 2rem;
}

.feedback-receipt {
	display: grid;
	gap: .75rem;
	max-width: 640px;
	margin: 1.5rem auto;
	text-align: right;
}

.feedback-receipt > div {
	padding: 1rem;
	border: 1px solid #d9e8e8;
	border-radius: 4px;
}

.feedback-receipt dt {
	color: #667;
	font-size: .9rem;
}

.feedback-receipt dd {
	margin: .3rem 0 0;
	font-weight: 700;
	overflow-wrap: anywhere;
}

.feedback-tracking__head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1rem;
}

.feedback-status {
	display: inline-flex;
	align-items: center;
	min-height: 32px;
	padding: .25rem .75rem;
	border: 1px solid #0cb8b6;
	border-radius: 999px;
	background: #eefafa;
	color: #075f5e;
	font-weight: 700;
	white-space: nowrap;
}

.feedback-status::before {
	content: "";
	width: 8px;
	height: 8px;
	margin-left: .45rem;
	border-radius: 50%;
	background: currentColor;
}

.feedback-status--closed,
.feedback-status--declined {
	border-color: #778;
	background: #f1f1f3;
	color: #4d4d58;
}

.feedback-timeline {
	list-style: none;
	margin: 2rem 0;
	padding: 0;
	border-right: 2px solid #d9e8e8;
}

.feedback-timeline li {
	position: relative;
	padding: 0 1.5rem 1.5rem 0;
}

.feedback-timeline__dot {
	position: absolute;
	top: .4rem;
	right: -7px;
	width: 12px;
	height: 12px;
	border: 3px solid #fff;
	border-radius: 50%;
	background: #0cb8b6;
	box-shadow: 0 0 0 1px #0cb8b6;
}

.feedback-timeline p {
	margin: 0 0 .25rem;
}

.feedback-timeline time {
	color: #667;
	font-size: .85rem;
}

.feedback-reply-form,
.feedback-rating-form {
	display: grid;
	gap: .75rem;
	margin-top: 1.5rem;
	padding-top: 1.5rem;
	border-top: 1px solid #d9e8e8;
}

.feedback-rating-options {
	display: flex;
	flex-wrap: wrap;
	gap: .6rem;
}

.feedback-rating-options label {
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	border: 1px solid #b9cece;
	border-radius: 4px;
	cursor: pointer;
}

.feedback-rating-options input {
	position: absolute;
	opacity: 0;
}

.feedback-rating-options label:has(input:checked) {
	border-color: #0cb8b6;
	background: #eefafa;
	color: #075f5e;
}

.feedback-hp {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
}

.feedback-form [data-feedback-time-input] {
	cursor: pointer;
	background-color: #fff;
	background-image: linear-gradient(90deg, transparent calc(100% - 46px), #eef9f8 calc(100% - 46px));
}

body.feedback-time-picker-open {
	overflow: hidden;
}

.feedback-time-picker[hidden] {
	display: none !important;
}

.feedback-time-picker {
	position: fixed;
	z-index: 100000;
	inset: 0;
	display: grid;
	place-items: center;
	padding: 1.25rem;
	background: rgba(20, 42, 45, .58);
	backdrop-filter: blur(4px);
}

.feedback-time-picker__panel {
	width: min(100%, 31rem);
	padding: 1.5rem;
	border: 1px solid #cfe4e3;
	border-top: 5px solid #0cb8b6;
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 24px 70px rgba(12, 45, 50, .24);
	animation: feedback-time-enter .18s ease-out both;
}

@keyframes feedback-time-enter {
	from { opacity: 0; transform: translateY(12px) scale(.98); }
	to { opacity: 1; transform: translateY(0) scale(1); }
}

.feedback-time-picker__header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1rem;
}

.feedback-time-picker__header span {
	display: block;
	margin-bottom: .2rem;
	color: #087c7a;
	font-size: .78rem;
	font-weight: 700;
}

.feedback-time-picker__header h2 {
	margin: 0;
	color: #263f42;
	font-size: clamp(1.25rem, 4vw, 1.55rem);
}

.feedback-time-picker__close {
	display: grid;
	flex: 0 0 44px;
	width: 44px;
	height: 44px;
	padding: 0;
	place-items: center;
	border: 1px solid #d4e4e3;
	border-radius: 50%;
	background: #f7fbfb;
	color: #496164;
	font: inherit;
	font-size: 1.55rem;
	line-height: 1;
	cursor: pointer;
}

.feedback-time-picker__intro {
	margin: .8rem 0 1.25rem;
	color: #63777a;
	font-size: .9rem;
	line-height: 1.7;
}

.feedback-time-picker__controls {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
	align-items: end;
	gap: .75rem;
	padding: 1.1rem;
	border: 1px solid #d9e9e8;
	border-radius: 7px;
	background: linear-gradient(135deg, #f4fbfb 0%, #fffaf1 100%);
}

.feedback-time-picker__controls label {
	display: grid;
	gap: .45rem;
	color: #496164;
	font-size: .78rem;
	font-weight: 700;
	text-align: center;
}

.feedback-time-picker__controls select {
	width: 100%;
	min-height: 58px;
	padding: .5rem .75rem;
	border: 2px solid #afd7d5;
	border-radius: 6px;
	background-color: #fff;
	color: #203b3e;
	font-size: 1.35rem;
	font-weight: 700;
	text-align: center;
}

.feedback-time-picker__separator {
	padding-bottom: .55rem;
	color: #0b8e8c;
	font-size: 2rem;
	font-weight: 700;
}

.feedback-time-picker__preview {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-top: 1rem;
	padding: .85rem 1rem;
	border-right: 4px solid #dd9933;
	border-radius: 5px;
	background: #fff8ed;
	color: #66543c;
}

.feedback-time-picker__preview strong {
	color: #263f42;
	font-size: 1.35rem;
	letter-spacing: .06em;
}

.feedback-time-picker__actions {
	display: grid;
	grid-template-columns: 1fr 1.4fr;
	gap: .75rem;
	margin-top: 1.25rem;
}

.feedback-time-picker__actions .btn {
	min-height: 48px;
}

.feedback-time-picker__close:hover,
.feedback-time-picker__close:focus-visible {
	border-color: #0cb8b6;
	background: #eaf9f8;
	color: #075f5e;
}

.feedback-time-picker__close:focus-visible,
.feedback-time-picker__controls select:focus-visible {
	outline: 3px solid rgba(12, 184, 182, .28);
	outline-offset: 2px;
}

@media (max-width: 699px) {
	.page-template-page-feedback #PhoneWhats {
		display: none;
	}

	.feedback-time-picker {
		align-items: end;
		padding: 0;
	}

	.feedback-time-picker__panel {
		width: 100%;
		padding: 1.2rem;
		border-right: 0;
		border-bottom: 0;
		border-left: 0;
		border-radius: 10px 10px 0 0;
	}
}

@media (min-width: 700px) {
	.feedback-type-options,
	.feedback-fields {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.form-field--full {
		grid-column: 1 / -1;
	}
}

@media (prefers-reduced-motion: reduce) {
	.feedback-progress > span,
	.feedback-type-card,
	.feedback-time-picker__panel {
		transition: none;
		animation: none;
	}
}
