.status-body {
  min-height: 100vh;
  overflow-x: hidden;
}

.status-page {
  min-height: 100vh;
  position: relative;
  box-sizing: border-box;
}

/* Background: shop_background.png */
.status-page::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: url("/assets/shop_background-f82f5064.png") center center no-repeat;
  background-size: cover;
}

.status-content {
  position: relative;
  z-index: 1;
  padding: 100px 24px 80px;
  max-width: 1400px;
  margin: 0 auto;
  box-sizing: border-box;
}

.status-panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}

@media (max-width: 800px) {
  .status-panels {
    grid-template-columns: 1fr;
  }
}

.status-panel {
  padding: 28px 24px 32px;
  min-height: 480px;
  box-sizing: border-box;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
}

.status-panel--review {
  background-image: url("/assets/status/box_reviews-f147d41f.png");
}

.status-panel-purchase-wrap {
  position: relative;
  min-height: 480px;
}

.status-panel--purchase {
  background-image: url("/assets/status/box_purchase-2cbf8d68.png");
}

.status-prize-img {
  position: absolute;
  right: 12px;
  top: 33%;
  transform: translateY(-50%);
  width: 220px;
  height: auto;
  max-height: 260px;
  object-fit: contain;
  object-position: right center;
  pointer-events: none;
  z-index: 2;
  display: block;
  filter: drop-shadow(0 0 20px rgba(212, 160, 23, 0.5)) drop-shadow(0 0 40px rgba(212, 160, 23, 0.25));
  animation: status-prize-glow 2.5s ease-in-out infinite;
}

@keyframes status-prize-glow {
  0%, 100% {
    filter: drop-shadow(0 0 16px rgba(212, 160, 23, 0.45)) drop-shadow(0 0 32px rgba(212, 160, 23, 0.2));
    transform: translateY(-50%) scale(1);
  }
  50% {
    filter: drop-shadow(0 0 28px rgba(212, 160, 23, 0.7)) drop-shadow(0 0 52px rgba(212, 160, 23, 0.35));
    transform: translateY(-50%) scale(1.02);
  }
}

@media (prefers-reduced-motion: reduce) {
  .status-prize-img {
    animation: none;
    filter: drop-shadow(0 0 20px rgba(212, 160, 23, 0.5));
  }
}

/* --- Modal --- */
.status-modal[aria-hidden="true"] {
  display: none;
}

.status-modal[aria-hidden="false"] {
  display: block;
  position: fixed;
  inset: 0;
  z-index: 5000;
}

.status-modal__backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
}

.status-modal__dialog {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(820px, calc(100vw - 32px));
  max-height: min(80vh, 760px);
  overflow: auto;
  background: rgba(30, 20, 12, 0.95);
  border: 1px solid #272016;
  border-radius: 10px;
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.6);
}

.status-modal__close {
  position: sticky;
  top: 0;
  float: right;
  margin: 10px 12px 0 0;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid #272016;
  background: #523530;
  color: #f0e6d2;
  font-size: 22px;
  line-height: 32px;
  cursor: pointer;
}

.status-modal__body {
  padding: 22px 22px 26px;
  color: #f0e6d2;
}

.status-project-detail__title {
  font-family: Georgia, serif;
  margin: 0 0 10px;
  font-size: 1.6rem;
  text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.5);
}

.status-project-detail__meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 16px;
  margin-bottom: 16px;
}

@media (max-width: 700px) {
  .status-project-detail__meta {
    grid-template-columns: 1fr;
  }
}

.status-project-detail__label {
  color: #a89878;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-right: 8px;
}

.status-project-detail__section {
  margin-top: 14px;
}

.status-project-detail__section-title {
  font-family: Georgia, serif;
  font-weight: 700;
  margin-bottom: 8px;
}

.status-project-detail__feedback {
  background: #523530;
  border: 1px solid #272016;
  border-radius: 6px;
  padding: 10px 12px;
  white-space: pre-wrap;
}

.status-project-comments__empty {
  color: #a89878;
  margin-bottom: 10px;
}

.status-project-comment {
  background: #523530;
  border: 1px solid #272016;
  border-radius: 6px;
  padding: 10px 12px;
  margin-bottom: 8px;
}

.status-project-comment__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
}

.status-project-comment__author {
  font-weight: 700;
}

.status-project-comment__time {
  color: #a89878;
  font-size: 0.85rem;
}

.status-project-comment__body {
  white-space: pre-wrap;
}

.status-project-comment-form {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.status-project-comment-form__textarea {
  width: 100%;
  resize: vertical;
  padding: 10px 12px;
  border-radius: 6px;
  border: 1px solid #272016;
  background: rgba(0, 0, 0, 0.25);
  color: #f0e6d2;
  font-family: Georgia, serif;
  box-sizing: border-box;
}

.status-project-comment-form__textarea:focus-visible {
  outline: 2px solid rgba(240, 230, 210, 0.45);
  outline-offset: 2px;
}

.status-project-comment-form__submit {
  align-self: flex-start;
  border-radius: 6px;
  border: 1px solid #272016;
  background: #523530;
  color: #f0e6d2;
  padding: 8px 14px;
  cursor: pointer;
  font-family: Georgia, serif;
  font-weight: 700;
}

.status-project-comment-form__submit:hover {
  filter: brightness(1.06);
}

.status-panel-title {
  font-family: Georgia, serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: #f0e6d2;
  text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.5);
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.status-panel-title-icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

/* --- Review Status panel --- */
.status-review-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.status-review-intro {
  font-family: Georgia, serif;
  font-size: 0.88rem;
  line-height: 1.45;
  color: #c8bba8;
  margin: 0 0 14px;
  max-width: 42em;
}

.status-review-list > li {
  margin: 0;
  padding: 0;
}

.status-review-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  background: #523530;
  border: 1px solid #272016;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  min-height: 44px;
  box-sizing: border-box;
}

.status-review-item--btn {
  width: 100%;
  cursor: pointer;
  text-align: left;
}

.status-review-item--btn:hover {
  filter: brightness(1.06);
}

.status-review-item--btn:active {
  transform: translateY(1px);
}

.status-review-item--btn:focus-visible {
  outline: 2px solid rgba(240, 230, 210, 0.55);
  outline-offset: 2px;
}

.status-review-name {
  font-family: Georgia, serif;
  font-size: 1rem;
  color: #e8ddc8;
  flex: 1;
  min-width: 0;
}

.status-review-badge {
  font-family: Georgia, serif;
  font-size: 0.9rem;
  font-weight: 700;
  flex-shrink: 0;
  text-transform: capitalize;
}

.status-review-badge--pending,
.status-review-badge--in-review {
  color: #8ba3c7;
  text-shadow: 0 0 12px rgba(139, 163, 199, 0.5);
}

.status-review-badge--approved {
  color: #7cb87c;
  text-shadow: 0 0 12px rgba(124, 184, 124, 0.5);
}

.status-review-badge--rejected,
.status-review-badge--denied,
.status-review-badge--refunded {
  color: #d47878;
  text-shadow: 0 0 12px rgba(212, 120, 120, 0.4);
}

/* --- Purchase History panel --- */
.status-purchase-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.status-total-chips {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 10px 18px 12px;
  background: #523530;
  border: 1px solid #272016;
  border-radius: 4px;
  min-width: 340px;
  box-sizing: border-box;
}

.status-total-chips .status-chip-icon {
  width: 22px;
  height: 22px;
  margin-bottom: 2px;
  object-fit: contain;
}

.status-total-chips-label {
  font-family: Georgia, serif;
  font-size: 0.9rem;
  color: #a89878;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.status-total-chips-value {
  font-family: Georgia, serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: #f0e6d2;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}


.status-purchase-section {
  margin-bottom: 18px;
}

.status-purchase-section:last-child {
  margin-bottom: 0;
}

.status-purchase-section-title {
  font-family: Georgia, serif;
  font-size: 1rem;
  font-weight: 700;
  color: #e8ddc8;
  margin: 0 0 8px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
}

.status-purchase-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.status-purchase-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 16px;
  padding: 10px 12px;
  background: #523530;
  border: 1px solid #272016;
  border-radius: 4px;
  margin-bottom: 6px;
  font-size: 0.9rem;
  box-sizing: border-box;
}

.status-purchase-row:last-child {
  margin-bottom: 0;
}

.status-purchase-row .shop-order-usd-breakdown {
  flex-basis: 100%;
  margin-top: 4px;
}

.status-purchase-item-name {
  font-family: Georgia, serif;
  color: #e8ddc8;
  flex: 1;
  min-width: 0;
}

.status-purchase-qty {
  color: #a89878;
}

.status-purchase-chips {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #c4b89a;
  font-weight: 600;
}

.status-chip-icon-inline {
  width: 18px;
  height: 18px;
  object-fit: contain;
  vertical-align: middle;
}

.status-purchase-at {
  color: #8a7d6a;
  font-size: 0.85rem;
  margin-left: auto;
}

/* Coming Soon for non-admins */
.status-coming-soon-wrap {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 120px 24px 80px;
  box-sizing: border-box;
}

.status-coming-soon {
  font-family: Georgia, serif;
  font-weight: 900;
  text-align: center;
  font-size: clamp(3rem, 8vw, 7rem);
  letter-spacing: 0.06em;
  color: rgba(255, 245, 235, 0.98);
  text-shadow:
    0 6px 18px rgba(0, 0, 0, 0.55),
    0 0 30px rgba(212, 160, 23, 0.35);
  animation: statusPulse 1.9s ease-in-out infinite;
  user-select: none;
}

@keyframes statusPulse {
  0%, 100% {
    transform: translateY(0) scale(1);
    filter: drop-shadow(0 0 0 rgba(212, 160, 23, 0));
    opacity: 0.92;
  }
  50% {
    transform: translateY(-10px) scale(1.03);
    filter: drop-shadow(0 0 22px rgba(212, 160, 23, 0.55));
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .status-coming-soon {
    animation: none;
  }
}
