.hf-review-page {
  display: grid;
  gap: 1rem;
  max-width: 52rem;
}

.hf-review-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.hf-review-title {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 800;
  color: #1a100c;
}

.hf-review-sub {
  margin: 0.35rem 0 0;
  color: #64748b;
  font-size: 0.88rem;
  line-height: 1.45;
}

.hf-review-sub--warn {
  color: #dc2626;
  font-weight: 700;
}

.hf-review-list-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 2.6rem;
  padding: 0.55rem 0.85rem;
  border: 1px solid rgba(249, 115, 22, 0.22);
  border-radius: 0.85rem;
  background: rgba(249, 115, 22, 0.08);
  color: #c2410c;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
  flex-shrink: 0;
}

.hf-review-list-btn .hf-mi {
  font-size: 1.15rem !important;
}

.hf-review-list-btn__label {
  display: none;
}

@media (min-width: 480px) {
  .hf-review-list-btn__label {
    display: inline;
  }
}

.hf-review-card {
  padding: 1rem;
  border-radius: 1rem;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}

.hf-review-card-title {
  margin: 0 0 0.85rem;
  font-size: 1rem;
  font-weight: 800;
}

.hf-review-field {
  display: grid;
  gap: 0.45rem;
  margin-bottom: 0.85rem;
}

.hf-review-label {
  font-size: 0.78rem;
  font-weight: 800;
  color: #334155;
}

.hf-review-required {
  color: #ea580c;
}

.hf-review-search-wrap {
  position: relative;
}

.hf-review-search-icon {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 1.1rem !important;
}

.hf-review-input,
.hf-review-select,
.hf-review-textarea {
  width: 100%;
  border: 1px solid rgba(15, 23, 42, 0.14);
  border-radius: 0.8rem;
  background: #fff;
  color: #0f172a;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 650;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.hf-review-input::placeholder,
.hf-review-textarea::placeholder {
  color: #64748b;
  opacity: 1;
}

.hf-review-input:hover,
.hf-review-select:hover,
.hf-review-textarea:hover {
  border-color: rgba(249, 115, 22, 0.35);
  background: #fffefb;
}

.hf-review-input:focus,
.hf-review-select:focus,
.hf-review-textarea:focus {
  outline: none;
  border-color: #f97316;
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.14);
  background: #fff;
}

.hf-review-input,
.hf-review-select {
  min-height: 2.75rem;
  padding: 0.65rem 0.85rem;
}

.hf-review-search-wrap .hf-review-input {
  padding-left: 2.4rem;
}

.hf-review-input--otp {
  width: 100%;
  max-width: none;
  letter-spacing: 0.18em;
  font-weight: 800;
}

.hf-review-field--otp {
  width: 100%;
}

.hf-review-textarea {
  padding: 0.75rem 0.85rem;
  resize: vertical;
}

.hf-review-customer-meta,
.hf-review-selected {
  padding: 0.75rem 0.85rem;
  border-radius: 0.8rem;
  background: rgba(249, 115, 22, 0.06);
  border: 1px solid rgba(249, 115, 22, 0.14);
}

.hf-review-meta-row {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  font-size: 0.82rem;
  color: #475569;
}

.hf-review-meta-row + .hf-review-meta-row {
  margin-top: 0.35rem;
}

.hf-review-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.hf-review-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 2.6rem;
  padding: 0.55rem 1rem;
  border-radius: 0.8rem;
  border: 0;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
}

.hf-review-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.hf-review-btn--primary {
  background: linear-gradient(135deg, #f97316, #ea580c);
  color: #fff;
}

.hf-review-btn--ghost {
  background: rgba(15, 23, 42, 0.06);
  color: #334155;
}

.hf-review-btn--submit {
  width: 100%;
  background: linear-gradient(135deg, #ea580c, #c2410c);
  color: #fff;
}

.hf-review-hint {
  margin: 0.65rem 0 0;
  font-size: 0.72rem;
  font-weight: 700;
  color: #64748b;
}

.hf-review-hint.is-error {
  color: #dc2626;
}

.hf-review-upload {
  display: grid;
  gap: 0.45rem;
}

.hf-review-upload-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.hf-review-upload-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  width: fit-content;
  min-height: 2.5rem;
  padding: 0.5rem 0.9rem;
  border-radius: 0.75rem;
  background: rgba(59, 130, 246, 0.1);
  color: #2563eb;
  font-size: 0.8rem;
  font-weight: 800;
  cursor: pointer;
}

.hf-review-upload-note {
  margin: 0;
  font-size: 0.68rem;
  color: #94a3b8;
}

.hf-review-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(6.5rem, 1fr));
  gap: 0.55rem;
}

.hf-review-preview {
  position: relative;
  aspect-ratio: 1;
  border-radius: 0.75rem;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.hf-review-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hf-review-preview-remove {
  position: absolute;
  top: 0.35rem;
  right: 0.35rem;
  width: 1.6rem;
  height: 1.6rem;
  border: 0;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.72);
  color: #fff;
  cursor: pointer;
}

.hf-review-error {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  color: #dc2626;
}

.hf-review-loader {
  position: fixed;
  inset: 0;
  z-index: 1600;
  display: grid;
  place-items: center;
  background: rgba(15, 23, 42, 0.42);
  backdrop-filter: blur(3px);
}

.hf-review-loader-card {
  width: min(18rem, calc(100vw - 2rem));
  padding: 1.1rem;
  border-radius: 1rem;
  background: #fff;
  text-align: center;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
}

.hf-review-loader-ring {
  width: 2.5rem;
  height: 2.5rem;
  margin: 0 auto 0.75rem;
  border-radius: 999px;
  border: 3px solid rgba(249, 115, 22, 0.18);
  border-top-color: #ea580c;
  animation: hf-review-spin 0.8s linear infinite;
}

.hf-review-loader-title {
  display: block;
  font-size: 0.95rem;
}

.hf-review-loader-sub {
  margin: 0.25rem 0 0.75rem;
  font-size: 0.72rem;
  color: #64748b;
}

.hf-review-loader-bar {
  height: 0.45rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.08);
  overflow: hidden;
}

.hf-review-loader-bar-fill {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #fb923c, #ea580c);
  transition: width 0.18s ease;
}

.hf-review-loader-percent {
  display: block;
  margin-top: 0.45rem;
  font-size: 0.82rem;
  font-weight: 800;
  color: #c2410c;
}

@keyframes hf-review-spin {
  to { transform: rotate(360deg); }
}

.hf-notif-empty {
  margin: 0;
  padding: 1.2rem 0.75rem;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 700;
  color: #94a3b8;
}

.hf-rating-blocker {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(15, 23, 42, 0.58);
  backdrop-filter: blur(4px);
}

.hf-rating-modal {
  width: min(26rem, 100%);
  max-height: calc(100vh - 2rem);
  overflow: auto;
  padding: 1rem;
  border-radius: 1rem;
  background: linear-gradient(180deg, #fff 0%, #fffaf6 100%);
  box-shadow: 0 20px 44px rgba(15, 23, 42, 0.22);
}

.hf-rating-modal__head {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
}

.hf-rating-modal__badge {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(249, 115, 22, 0.14);
  color: #ea580c;
}

.hf-rating-modal__title {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
}

.hf-rating-modal__sub {
  margin: 0.2rem 0 0;
  font-size: 0.72rem;
  color: #64748b;
}

.hf-rating-modal__provider {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 0.85rem;
  padding: 0.65rem;
  border-radius: 0.8rem;
  background: rgba(15, 23, 42, 0.04);
}

.hf-rating-modal__avatar {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 999px;
  object-fit: cover;
}

.hf-rating-modal__gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.35rem;
  margin-top: 0.75rem;
}

.hf-rating-modal__gallery img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 0.55rem;
}

.hf-rating-modal__desc {
  margin: 0.75rem 0 0;
  font-size: 0.78rem;
  line-height: 1.45;
  color: #475569;
}

.hf-rating-modal__form {
  margin-top: 0.85rem;
  display: grid;
  gap: 0.65rem;
}

.hf-rating-stars {
  display: flex;
  justify-content: center;
  gap: 0.25rem;
}

.hf-rating-star {
  border: 0;
  background: transparent;
  color: #cbd5e1;
  cursor: pointer;
}

.hf-rating-star.is-active {
  color: #f59e0b;
}

.hf-rating-star .hf-mi {
  font-size: 1.8rem !important;
  font-variation-settings: 'FILL' 1, 'wght' 600, 'GRAD' 0, 'opsz' 24;
}

.hf-rating-label {
  font-size: 0.74rem;
  font-weight: 800;
  color: #334155;
}

.hf-rating-textarea {
  width: 100%;
  min-height: 4.5rem;
  padding: 0.65rem 0.75rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(15, 23, 42, 0.12);
  font: inherit;
  font-size: 0.82rem;
}

.hf-rating-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 2.7rem;
  border: 0;
  border-radius: 0.8rem;
  background: linear-gradient(135deg, #f97316, #ea580c);
  color: #fff;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 800;
  cursor: pointer;
}

.hf-rating-error {
  margin: 0;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
  color: #dc2626;
}

body.hf-rating-lock {
  overflow: hidden;
}

body.hf-rating-lock .hf-nav,
body.hf-rating-lock .hf-main,
body.hf-rating-lock .hf-footer,
body.hf-rating-lock .hf-bottomtabs {
  pointer-events: none;
  user-select: none;
}

.hf-review-submissions-loading,
.hf-review-submissions-empty {
  display: grid;
  justify-items: center;
  gap: 0.45rem;
  padding: 1.5rem 0.75rem;
  text-align: center;
  color: #64748b;
}

.hf-review-submissions-empty .hf-mi {
  font-size: 2rem !important;
  color: #94a3b8;
}

.hf-review-submissions-list {
  display: grid;
  gap: 0.75rem;
}

.hf-review-submissions-toolbar {
  margin-bottom: 0.85rem;
}

.hf-review-submissions-search,
.hf-review-search-wrap {
  position: relative;
}

.hf-review-submissions-search {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.75rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.hf-review-submissions-search:focus-within {
  border-color: #f97316;
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.14);
}

.hf-review-submissions-search .hf-mi,
.hf-review-search-icon {
  color: #64748b;
  transition: color 0.15s ease;
}

.hf-review-submissions-search:focus-within .hf-mi,
.hf-review-search-wrap:focus-within .hf-review-search-icon {
  color: #ea580c;
}

.hf-review-submissions-search input,
.hf-review-search-wrap .hf-review-input {
  width: 100%;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 650;
  color: #0f172a;
  outline: none;
}

.hf-review-submissions-search input::placeholder {
  color: #64748b;
  opacity: 1;
}

.hf-review-search-hint {
  margin: 0.35rem 0 0;
  font-size: 0.72rem;
  color: #64748b;
}

.hf-review-suggest {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 0.35rem);
  z-index: 30;
  max-height: 16rem;
  overflow: auto;
  border-radius: 0.85rem;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: #fff;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.12);
}

.hf-review-suggest-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 0;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  background: #fff;
  text-align: left;
  cursor: pointer;
}

.hf-review-suggest-item:last-child {
  border-bottom: 0;
}

.hf-review-suggest-item:hover,
.hf-review-suggest-item:focus-visible {
  background: rgba(249, 115, 22, 0.08);
}

.hf-review-suggest-copy {
  display: grid;
  gap: 0.1rem;
  min-width: 0;
}

.hf-review-suggest-copy strong {
  font-size: 0.84rem;
  color: #0f172a;
}

.hf-review-suggest-copy span {
  font-size: 0.72rem;
  color: #64748b;
}

.hf-review-suggest-empty {
  margin: 0;
  padding: 0.85rem;
  font-size: 0.78rem;
  color: #64748b;
  text-align: center;
}

.hf-review-optional {
  color: #64748b;
  font-weight: 600;
}

.hf-review-submission {
  border-radius: 0.95rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #fff;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.05);
  overflow: hidden;
}

.hf-review-submission__toggle {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 0.65rem;
  align-items: center;
  width: 100%;
  padding: 0.85rem;
  border: 0;
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.07), rgba(255, 255, 255, 0.96));
  text-align: left;
  cursor: pointer;
  transition: background 0.2s ease;
}

.hf-review-submission__toggle:hover {
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.12), rgba(255, 247, 237, 0.98));
}

.hf-review-submission__toggle:focus-visible {
  outline: 2px solid rgba(249, 115, 22, 0.45);
  outline-offset: -2px;
}

.hf-review-submission__icon {
  width: 2.2rem;
  height: 2.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.7rem;
  background: rgba(249, 115, 22, 0.12);
  color: #ea580c;
}

.hf-review-submission__meta {
  display: grid;
  gap: 0.12rem;
  min-width: 0;
}

.hf-review-submission__name {
  font-size: 0.88rem;
  color: #0f172a;
}

.hf-review-submission__mobile,
.hf-review-submission__time,
.hf-review-submission__rated-at {
  font-size: 0.72rem;
  color: #64748b;
}

.hf-review-submission__status {
  font-size: 0.68rem;
  font-weight: 800;
  padding: 0.28rem 0.5rem;
  border-radius: 999px;
  white-space: nowrap;
}

.hf-review-submission__status--pending {
  background: rgba(245, 158, 11, 0.14);
  color: #b45309;
}

.hf-review-submission__status--rated {
  background: rgba(34, 197, 94, 0.14);
  color: #15803d;
}

.hf-review-submission__chevron {
  transition: transform 0.34s cubic-bezier(0.22, 1, 0.36, 1), color 0.2s ease;
  color: #64748b;
}

.hf-review-submission.is-expanded .hf-review-submission__chevron {
  transform: rotate(180deg);
  color: #ea580c;
}

.hf-review-submission__body {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  border-top: 1px solid transparent;
  background: linear-gradient(180deg, rgba(255, 250, 246, 0.92), #fff);
  transition:
    grid-template-rows 0.36s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.28s ease,
    border-color 0.28s ease;
}

.hf-review-submission.is-expanded .hf-review-submission__body {
  grid-template-rows: 1fr;
  opacity: 1;
  border-top-color: rgba(15, 23, 42, 0.06);
}

.hf-review-submission__body-inner {
  overflow: hidden;
  min-height: 0;
  padding: 0 0.85rem;
  transition: padding 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.hf-review-submission.is-expanded .hf-review-submission__body-inner {
  padding: 0.55rem 0.85rem 0.85rem;
}

.hf-review-submission__address,
.hf-review-submission__desc,
.hf-review-submission__feedback {
  margin: 0 0 0.55rem;
  font-size: 0.78rem;
  line-height: 1.45;
  color: #475569;
}

.hf-review-submission__gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.45rem;
  margin-top: 0.55rem;
}

.hf-review-submission-photo {
  display: block;
  padding: 0;
  border: 0;
  border-radius: 0.65rem;
  overflow: hidden;
  cursor: pointer;
  background: transparent;
}

.hf-review-submission-photo img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
}

.hf-review-submission__rating {
  margin-top: 0.7rem;
  padding-top: 0.7rem;
  border-top: 1px dashed rgba(15, 23, 42, 0.1);
  display: grid;
  gap: 0.35rem;
}

.hf-review-submission__rating-label {
  font-size: 0.72rem;
  font-weight: 800;
  color: #334155;
}

.hf-review-submission__stars {
  display: flex;
  gap: 0.1rem;
}

.hf-review-submission-star {
  font-size: 1.1rem !important;
  color: #cbd5e1;
  font-variation-settings: 'FILL' 1, 'wght' 600, 'GRAD' 0, 'opsz' 24;
}

.hf-review-submission-star.is-active {
  color: #f59e0b;
}

.hf-review-lightbox {
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(15, 23, 42, 0.82);
}

.hf-review-lightbox.hidden {
  display: none;
}

.hf-review-lightbox img {
  max-width: min(100%, 720px);
  max-height: min(78vh, 720px);
  border-radius: 0.85rem;
  object-fit: contain;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.hf-review-lightbox__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  cursor: pointer;
}

.hf-review-lightbox__download {
  position: absolute;
  bottom: 1.2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: #f97316;
  color: #fff;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 700;
}
