.order-feedback-page {
  padding: clamp(3rem, 6vw, 5rem) 1.5rem;
  background: radial-gradient(circle at top, rgba(63, 141, 170, 0.28), transparent 55%)
              , radial-gradient(circle at bottom, rgba(31, 184, 108, 0.18), transparent 60%);
}

.order-feedback {
  display: flex;
  justify-content: center;
}

.order-feedback__container {
  width: min(960px, 100%);
  background: rgba(15, 18, 22, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.35);
  border-radius: 28px;
  padding: clamp(2.5rem, 4vw, 3.75rem);
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  gap: clamp(2rem, 4vw, 3rem);
}

.order-feedback__header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.order-feedback__headline {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.order-feedback__headline h1 {
  font-size: clamp(2rem, 3vw, 2.75rem);
  line-height: var(--lh-tight);
  margin: 0;
}

.order-feedback__intro {
  margin: 0;
  color: var(--color-text-muted);
  font-size: var(--text-base);
}

.order-feedback__description {
  margin: 0;
  font-size: var(--text-md);
  color: rgba(255, 255, 255, 0.85);
}

.order-feedback__journey {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.75rem;
  margin: 0;
  padding: 0;
}

.order-feedback__journey li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  font-size: var(--text-base);
  color: rgba(255, 255, 255, 0.78);
}

.order-feedback__journey li::before {
  content: '\f005';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  color: var(--color-brand-400);
  font-size: var(--text-base);
}

.order-feedback__notices {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.order-feedback__notice {
  border-radius: 16px;
  padding: 1rem 1.25rem;
  font-size: var(--text-base);
  line-height: var(--lh-ui);
  border: 1px solid transparent;
}

.order-feedback__notice--success {
  background: rgba(40, 167, 69, 0.12);
  border-color: rgba(40, 167, 69, 0.45);
}

.order-feedback__notice--error {
  background: rgba(220, 53, 69, 0.12);
  border-color: rgba(220, 53, 69, 0.45);
}

.order-feedback__notice--info {
  background: rgba(0, 123, 255, 0.12);
  border-color: rgba(0, 123, 255, 0.35);
}

.order-feedback__form {
  display: flex;
  flex-direction: column;
  gap: clamp(1.75rem, 4vw, 2.5rem);
}

.order-feedback__fieldset {
  border: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.order-feedback__fieldset legend {
  font-size: var(--text-lg);
  font-weight: 600;
}

.order-feedback__fieldset-helper {
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
}

.order-feedback__rating-group {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.order-feedback__rating-group--overall {
  padding-inline: clamp(1rem, 4vw, 2rem);
}

.order-feedback__rating-header {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.order-feedback__rating-title {
  font-weight: 600;
  font-size: var(--text-md);
}

.order-feedback__rating-helper {
  margin: 0;
  font-size: var(--text-base);
  color: rgba(255, 255, 255, 0.65);
}

.order-feedback__stars {
  display: inline-flex;
  flex-direction: row-reverse;
  gap: 0.5rem;
  align-items: center;
}

.order-feedback__rating-group .order-feedback__stars {
  justify-content: flex-start;
}

.order-feedback__rating-group--overall .order-feedback__stars {
  justify-content: center;
}

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

.order-feedback__stars label {
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: rgba(255, 255, 255, 0.25);
  cursor: pointer;
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-flex;
  align-items: center;
}

.order-feedback__stars label::before {
  content: '\f005';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
}

.order-feedback__stars label:hover,
.order-feedback__stars label:hover ~ label {
  color: var(--color-brand-400);
  transform: translateY(-2px);
}

.order-feedback__stars input:focus-visible + label {
  outline: 2px solid var(--color-ui-focus);
  outline-offset: 4px;
}

.order-feedback__stars input:checked + label,
.order-feedback__stars input:checked + label ~ label {
  color: var(--color-brand-500);
}

.order-feedback__rating-output {
  margin: 0;
  font-size: var(--text-base);
  color: rgba(255, 255, 255, 0.75);
}

.order-feedback__ratings-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.order-feedback__field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.order-feedback__field label,
.order-feedback__field .order-feedback__field-label {
  font-weight: 600;
  font-size: var(--text-base);
}

.order-feedback__field textarea,
.order-feedback__field input[type="text"],
#order-feedback-comment {
  width: 100%;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  padding: 0.85rem 1rem;
  font: inherit;
  resize: vertical;
  min-height: 110px;
}

.order-feedback__field textarea:focus-visible,
#order-feedback-comment:focus-visible {
  outline: 2px solid var(--color-ui-focus);
  outline-offset: 2px;
}

.order-feedback__submit {
  align-self: flex-start;
  border-radius: 999px;
  padding: 0.9rem 2.5rem;
  font-size: var(--text-base);
  font-weight: 600;
  background: linear-gradient(135deg, var(--color-brand-400), var(--color-brand-600));
  color: var(--color-on-primary);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.order-feedback__submit:hover,
.order-feedback__submit:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 20px 35px rgba(43, 216, 121, 0.35);
}

/* Responsive géré via styles/responsive/mobile/order-feedback.css */

.order-feedback-thank-you-page {
  padding: clamp(3rem, 5vw, 6rem) 1.5rem;
  background: radial-gradient(circle at top, rgba(255, 255, 255, 0.08), transparent 55%);
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.order-feedback-thank-you__container {
  max-width: 720px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 32px;
  padding: clamp(2.5rem, 4vw, 4rem);
  box-shadow: 0 40px 120px rgba(18, 21, 35, 0.35);
  backdrop-filter: blur(14px);
}

.order-feedback-thank-you__header h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
  color: #fff;
}

.order-feedback-thank-you__header p {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.order-feedback-thank-you__content p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 2.25rem;
  font-size: clamp(1rem, 2vw, 1.2rem);
}

.order-feedback-thank-you__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 2.6rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #ffb347, #ffcc33);
  color: #121523;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.order-feedback-thank-you__cta:hover,
.order-feedback-thank-you__cta:focus {
  transform: translateY(-2px);
  box-shadow: 0 20px 35px rgba(255, 204, 51, 0.3);
  color: #121523;
}
