.ura-loading {
  position: relative !important;
  min-height: 200px;
}
.ura-loading::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(2px);
  background: rgb(255 255 255 / 0.8);
  z-index: 1;
}
.ura-loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 48px;
  height: 48px;
  border: 4px solid rgb(0 0 0 / 0.1);
  border-top-color: #0073aa;
  border-bottom-color: #0073aa;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: ura-spin 1.2s ease-in-out infinite;
  z-index: 2;
  box-shadow: 0 0 20px rgb(0 115 170 / 0.2);
}
@keyframes ura-spin {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(720deg);
  }
}
.ura-error {
  color: #dc3232;
  padding: 15px;
  border: 1px solid #dc3232;
  margin: 10px 0;
}
.ura-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen-Sans, Ubuntu, Cantarell, sans-serif;
}
.ura-content {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.ura-review {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 15px rgb(0 0 0 / 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.ura-review:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgb(0 0 0 / 0.1);
}
.ura-product-thumb {
  width: 50px;
  height: 50px !important;
  border-radius: 6px;
  object-fit: cover;
  border: 1px solid #eee;
}
.ura-review-content {
  flex: 1;
}
.ura-product-title {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  color: #1a1a1a;
}
.ura-review-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
  color: #666;
}
.ura-rating {
  display: inline-flex;
  gap: 2px;
}
.ura-rating .star-rating {
  color: #ffb900;
  font-size: 0.9em;
}
.ura-author {
  font-weight: 500;
  color: #2c3338;
}
.ura-date {
  font-size: 0.85em;
  opacity: 0.9;
}
.ura-review-text {
  line-height: 1.6;
  color: #404040;
  font-size: 0.95rem;
}
.ura-pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
  padding: 1rem 0;
}
.ura-pagination a,
.ura-pagination span {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}
.ura-pagination a {
  color: #2271b1;
  background: #f6f7f7;
  border: 1px solid #dcdcde;
}
.ura-pagination a:hover {
  background: #f0f0f1;
  border-color: #949494;
}
.ura-pagination .current {
  background: #2271b1;
  color: #fff;
  border-color: #135e96;
}
.ura-pagination .prev,
.ura-pagination .next {
  font-weight: 500;
}
.ura-loading {
  position: relative;
  min-height: 200px;
}
.ura-loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 24px;
  height: 24px;
  border: 3px solid rgb(0 0 0 / 0.1);
  border-top-color: #2271b1;
  border-radius: 50%;
  animation: ura-spin 0.8s linear infinite;
  transform: translate(-50%, -50%);
}
@keyframes ura-spin {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}
.ura-error {
  color: #d63638;
  padding: 1rem;
  background: #f8ebea;
  border: 1px solid #e2b8b7;
  border-radius: 4px;
  margin: 1rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.ura-error::before {
  content: "⚠️";
}
@media (max-width: 768px) {
  .ura-review {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
  }
  .ura-product-thumb {
    width: 50px;
    height: 50px !important;
  }
  .ura-product-title {
    font-size: 1rem;
  }
  .ura-review-meta {
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  .ura-pagination {
    flex-wrap: wrap;
  }
}
@media (max-width: 480px) {
  .ura-container {
    padding: 1rem 0.5rem;
  }
  .ura-review-text {
    font-size: 0.9rem;
  }
  .ura-pagination a,
  .ura-pagination span {
    padding: 0.5rem 0.75rem;
    font-size: 0.85rem;
  }
}
.urs-error {
  color: #dc3545;
  padding: 1rem;
  margin: 1rem 0;
  background: #f8d7da;
  border: 1px solid #f5c6cb;
  border-radius: 4px;
}
.urs-rating {
  --star-size: 18px;
  --star-color: #ffc107;
  --star-spacing: 2px;
}
.urs-rating .fas {
  color: var(--star-color);
  font-size: var(--star-size);
  margin: 0 var(--star-spacing);
}
.urs-rating .far {
  color: #e4e5e9;
  font-size: var(--star-size);
  margin: 0 var(--star-spacing);
}
