.product-tabs {
  display: flex;
  border-bottom: 2px solid #f5b301;
  margin: 24px 0 16px;
  gap: 8px;
  background:#0a0a0a;
  padding:0 8px;
  border-radius:8px 8px 0 0;
}

.tab-btn {
  padding: 12px 20px;
  border: none;
  background: none;
  cursor: pointer;
  font-size: 15px;
  font-weight: 500;
  color: #d1d5db;
  border-bottom: 3px solid transparent;
  transition: all 0.2s ease;
  position: relative;
  top: 2px;
}

.tab-btn:hover {
  color: #f5b301;
}

.tab-btn.active {
  color: #1a1300;
  background:linear-gradient(135deg,#f5b301,#ffd966);
  border-bottom-color: #d99a00;
  border-radius:6px 6px 0 0;
}

.tab-content {
  padding: 20px 0;
  background:#0a0a0a;
  color:#e5e7eb;
}

/* Review Statistics */
.review-stats {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 32px;
  padding: 24px;
  background: linear-gradient(160deg,#141414 0%, #0a0a0a 100%);
  border:1px solid rgba(245,179,1,0.35);
  border-radius: 12px;
  margin-bottom: 24px;
}

.rating-summary {
  text-align: center;
}

.avg-rating {
  display: block;
  font-size: 48px;
  font-weight: 700;
  color: #f5b301;
  line-height: 1;
  text-shadow:0 0 20px rgba(245,179,1,0.4);
}

.rating-summary .stars {
  font-size: 24px;
  color: #f5b301;
  margin: 8px 0;
}

.total-reviews {
  display: block;
  font-size: 14px;
  color: #d1d5db;
  margin-top: 4px;
}

.rating-breakdown {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rating-bar {
  display: flex;
  align-items: center;
  gap: 12px;
}

.rating-label {
  font-size: 14px;
  color: #e5e7eb;
  width: 32px;
  text-align: right;
}

.bar-container {
  flex: 1;
  height: 8px;
  background: #1f1f1f;
  border:1px solid rgba(245,179,1,0.25);
  border-radius: 4px;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #f5b301 0%, #ffd966 100%);
  transition: width 0.3s ease;
  box-shadow:0 0 10px rgba(245,179,1,0.5);
}

.rating-count {
  font-size: 14px;
  color: #d1d5db;
  width: 40px;
  text-align: right;
}

.review-filters {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.review-sort {
  padding: 8px 12px;
  border: 1px solid rgba(245,179,1,0.45);
  border-radius: 8px;
  font-size: 14px;
  background: #141414;
  color:#f5b301;
}

.write-review-btn {
  padding: 10px 20px;
  background: linear-gradient(135deg,#f5b301,#d99a00);
  color: #1a1300;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow:0 4px 14px -4px rgba(245,179,1,0.6);
}

.write-review-btn:hover {
  background: linear-gradient(135deg,#ffd966,#f5b301);
  transform:translateY(-2px);
  box-shadow:0 6px 18px -4px rgba(245,179,1,0.8);
}

/* Review List */
.reviews-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.review-item {
  padding: 20px;
  background: linear-gradient(160deg,#141414 0%, #0a0a0a 100%);
  border: 1px solid rgba(245,179,1,0.25);
  border-radius: 12px;
  transition: box-shadow 0.2s, border-color .2s, transform .2s;
}

.review-item:hover {
  box-shadow: 0 8px 24px -8px rgba(245,179,1,0.5);
  border-color:rgba(245,179,1,0.6);
  transform:translateY(-2px);
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 8px;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 8px;
}

.review-author strong {
  font-size: 15px;
  color: #f5b301;
}

.verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: #1a1300;
  background: linear-gradient(135deg,#f5b301,#ffd966);
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 700;
}

.anonymous-badge {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  color: #d1d5db;
  background: #1f1f1f;
  border:1px solid rgba(245,179,1,0.25);
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 4px;
  cursor: help;
}

.review-rating .stars {
  font-size: 16px;
  color: #f5b301;
}

.review-date {
  font-size: 13px;
  color: #9ca3af;
  margin-bottom: 12px;
}

.review-text {
  font-size: 15px;
  line-height: 1.6;
  color: #e5e7eb;
  margin-bottom: 12px;
}

.review-images {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.review-img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.2s;
  border:1px solid rgba(245,179,1,0.35);
}

.review-img:hover {
  transform: scale(1.05);
  border-color:#f5b301;
}

.review-actions {
  display: flex;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(245,179,1,0.20);
}

.btn-helpful {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: #141414;
  border: 1px solid rgba(245,179,1,0.30);
  border-radius: 6px;
  font-size: 13px;
  color: #d1d5db;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-helpful:hover {
  background: #1f1f1f;
  color: #f5b301;
  border-color: #f5b301;
}

.btn-helpful.voted {
  background: linear-gradient(135deg,#f5b301,#d99a00);
  color: #1a1300;
  border-color: #d99a00;
  font-weight:600;
}

.helpful-icon {
  font-size: 14px;
}

.no-reviews {
  text-align: center;
  padding: 60px 20px;
  color: #9ca3af;
  font-size: 15px;
}

.load-more-btn {
  display: block;
  margin: 24px auto 0;
  padding: 12px 32px;
  background: #141414;
  border: 1px solid rgba(245,179,1,0.45);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #f5b301;
  cursor: pointer;
  transition: all 0.2s;
}

.load-more-btn:hover {
  background: linear-gradient(135deg,#f5b301,#d99a00);
  color:#1a1300;
  border-color: #d99a00;
}

/* ===================================
   POINT BALANCE WIDGET
   =================================== */

.point-balance-card {
  background: linear-gradient(135deg, #1a1300 0%, #3d2c00 55%, #f5b301 100%);
  color: #fff;
  padding: 24px;
  border-radius: 16px;
  margin-bottom: 24px;
  box-shadow: 0 10px 30px -8px rgba(245,179,1, 0.5);
  border:1px solid rgba(245,179,1,0.4);
}

.point-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.point-header h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  color:#FFE7A3;
}

.point-header .balance {
  font-size: 32px;
  font-weight: 700;
  color:#fff;
  text-shadow:0 0 20px rgba(245,179,1,0.8);
}

.point-value {
  font-size: 14px;
  opacity: 0.95;
  margin: 8px 0 16px;
}

.point-stats {
  display: flex;
  gap: 20px;
  font-size: 13px;
  opacity: 0.9;
  margin-bottom: 16px;
}

.btn-view-history {
  display: inline-block;
  padding: 10px 20px;
  background: rgba(26,19,0,0.35);
  color: #FFE7A3;
  text-decoration: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.2s;
  border:1px solid rgba(255,231,163,0.4);
}

.btn-view-history:hover {
  background: rgba(26,19,0,0.55);
}

/* ===================================
   CHECKOUT POINT REDEMPTION
   =================================== */

.checkout-points {
  padding: 16px;
  background: linear-gradient(160deg,#1a1300 0%, #2a1f00 100%);
  border: 2px solid #f5b301;
  border-radius: 12px;
  margin-bottom: 16px;
}

.points-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.points-header input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color:#f5b301;
}

.points-header label {
  font-size: 15px;
  color: #FFE7A3;
  cursor: pointer;
  margin: 0;
  font-weight:600;
}

#points-slider {
  padding: 16px;
  background: #141414;
  border:1px solid rgba(245,179,1,0.3);
  border-radius: 8px;
  margin-top: 12px;
}

#points-slider label {
  display: block;
  font-size: 14px;
  color: #e5e7eb;
  margin-bottom: 8px;
  font-weight: 500;
}

#points-amount {
  width: 100%;
  margin-bottom: 8px;
  accent-color:#f5b301;
}

#points-display {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: #FFE7A3;
  margin-top: 8px;
}

#points-display .discount-amount {
  color: #f5b301;
  font-weight: 600;
}

.price-row.point-discount {
  color: #f5b301;
  font-weight: 500;
}


.reviewable-orders {
  background: linear-gradient(160deg,#141414 0%, #0a0a0a 100%);
  border: 1px solid rgba(245,179,1,0.30);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 24px;
}

.reviewable-orders h3 {
  font-size: 18px;
  margin-bottom: 16px;
  color: #f5b301;
}

.order-card {
  display: flex;
  gap: 16px;
  padding: 16px;
  background: #1f1f1f;
  border:1px solid rgba(245,179,1,0.20);
  border-radius: 8px;
  margin-bottom: 12px;
}

.order-card:last-child {
  margin-bottom: 0;
}

.order-card img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
  border:1px solid rgba(245,179,1,0.35);
}

.order-info {
  flex: 1;
}

.order-info h4 {
  font-size: 15px;
  margin: 0 0 4px;
  color: #e5e7eb;
}

.order-info p {
  font-size: 13px;
  color: #9ca3af;
  margin: 0 0 12px;
}

.btn-review {
  padding: 8px 16px;
  background: linear-gradient(135deg,#f5b301,#d99a00);
  color: #1a1300;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow:0 4px 12px -4px rgba(245,179,1,0.6);
}

.btn-review:hover {
  background: linear-gradient(135deg,#ffd966,#f5b301);
  transform:translateY(-1px);
}


.review-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  padding: 14px 20px;
  background: #0a0a0a;
  color: #f5b301;
  border:1px solid #f5b301;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.4;
  box-shadow: 0 10px 30px rgba(245,179,1, 0.45);
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 10000;
  max-width: 400px;
  word-wrap: break-word;
}

.review-toast.show {
  transform: translateY(0);
  opacity: 1;
}

@media (max-width: 768px) {
  .review-toast {
    bottom: 80px;
    right: 16px;
    left: 16px;
    max-width: calc(100% - 32px);
  }
}

.review-toast.toast-success {
  background: linear-gradient(135deg,#f5b301,#d99a00);
  color:#1a1300;
  border-color:#d99a00;
}

.review-toast.toast-error {
  background: #0a0a0a;
  color: #f87171;
  border-color:#dca226;
}

.review-toast.toast-info {
  background: #0a0a0a;
  color: #FFE7A3;
  border-color:#f5b301;
}

/* ===================================
   RESPONSIVE
   =================================== */

@media (max-width: 768px) {
  .point-balance-card {
    border-radius: 0;
  }

  .review-stats {
    grid-template-columns: 70px 1fr;
    gap: 20px;
    padding: 16px;
  }

  .rating-summary { text-align: center; }

  .rating-summary .avg-rating { font-size: 32px; }

  .rating-summary .stars { font-size: 18px; margin: 4px 0; }

  .total-reviews { font-size: 11px; }

  .rating-breakdown { gap: 2px; }

  .rating-breakdown .rating-bar { gap: 4px; }

  .rating-breakdown .rating-label {
    font-size: 11px;
    width: 16px;
    min-width: 16px;
    text-align: left;
  }

  .rating-breakdown .bar-container { height: 6px; }

  .rating-breakdown .rating-count {
    font-size: 11px;
    width: 16px;
    min-width: 16px;
  }

  .review-header {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }

  .review-rating { order: -1; margin-bottom: 4px; }

  .review-rating .stars { font-size: 14px; }

  .review-filters {
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
  }

  .review-sort { width: 100%; }

  .point-header .balance { font-size: 24px; }

  .point-stats { flex-direction: column; gap: 8px; }

  .order-card { flex-direction: column; }

  .order-card img { width: 100%; height: 200px; }
}

/* ===================================
   LOADING & ERROR STATES
   =================================== */

.review-loading {
  text-align: center;
  padding: 40px;
  color: #f5b301;
  font-size: 14px;
}

.review-error {
  text-align: center;
  padding: 40px;
  color: #fca5a5;
  font-size: 14px;
  background: #450a0a;
  border:1px solid #7f1d1d;
  border-radius: 8px;
}

.review-empty {
  text-align: center;
  padding: 10px;
  color: #d1d5db;
  font-size: 14px;
}

/* ===================================
   REVIEWABLE ORDERS LIST
   =================================== */

.reviewable-orders-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.reviewable-order-item {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 16px;
  padding: 16px;
  background: linear-gradient(160deg,#141414 0%, #0a0a0a 100%);
  border: 1px solid rgba(245,179,1,0.30);
  border-radius: 12px;
  align-items: center;
  transition: all 0.2s;
}

.reviewable-order-item:hover {
  box-shadow: 0 4px 16px -4px rgba(245,179,1, 0.5);
  border-color:rgba(245,179,1,0.6);
  transform:translateY(-2px);
}

.reviewable-order-item .roi-image {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(245,179,1,0.35);
}

.reviewable-order-item .roi-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.reviewable-order-item .roi-info h4 {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: #e5e7eb;
  line-height: 1.4;
}

.reviewable-order-item .roi-meta {
  margin: 0;
  font-size: 13px;
  color: #9ca3af;
}

.reviewable-order-item .btn-write-review {
  white-space: nowrap;
  padding: 10px 20px;
  font-size: 14px;
}

@media (max-width: 640px) {
  .reviewable-order-item {
    grid-template-columns: 60px 1fr;
    gap: 12px;
  }

  .reviewable-order-item .roi-image { width: 60px; height: 60px; }

  .reviewable-order-item .btn-write-review {
    grid-column: 1 / -1;
    width: 100%;
  }
}

/* ===================================
   REVIEW SUBMISSION MODAL
   =================================== */

#review-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.75) !important;
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999 !important;
  padding: 20px;
}

.review-modal {
  max-width: 600px !important;
  width: 90% !important;
  background: linear-gradient(160deg,#141414 0%, #0a0a0a 100%);
  border:1px solid rgba(245,179,1,0.45);
  border-radius: 16px !important;
  box-shadow: 0 25px 60px rgba(245,179,1, 0.30);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden !important;
}

#review-modal-overlay .modal-content,
.review-modal .modal-content {
  padding: 0 !important;
  flex: initial !important;
  overflow-y: visible !important;
}

.review-modal .modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(245,179,1,0.25);
  background:linear-gradient(135deg,#1a1300,#2a1f00);
}

.review-modal .modal-title {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: #f5b301;
}

.review-modal .modal-close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: #d1d5db;
  transition: color 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.review-modal .modal-close:hover {
  color: #f5b301;
}

.review-modal .modal-body {
  padding: 24px;
  max-height: calc(90vh - 140px);
  overflow-y: auto;
  color:#e5e7eb;
}

.review-modal .modal-body::-webkit-scrollbar { width: 8px; }

.review-modal .modal-body::-webkit-scrollbar-track {
  background: #1f1f1f;
  border-radius: 4px;
}

.review-modal .modal-body::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #f5b301 0%, #d99a00 100%);
  border-radius: 4px;
}

.review-modal .modal-body::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #ffd966 0%, #f5b301 100%);
}

.review-modal .modal-body {
  scrollbar-width: thin;
  scrollbar-color: #f5b301 #1f1f1f;
}

.review-modal .modal-footer {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(245,179,1,0.25);
}

.review-product-info {
  display: flex;
  gap: 16px;
  padding: 16px;
  background: #1f1f1f;
  border:1px solid rgba(245,179,1,0.25);
  border-radius: 8px;
  margin-bottom: 24px;
}

.review-product-thumb {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid rgba(245,179,1,0.35);
}

.review-product-details h4 {
  margin: 0 0 8px 0;
  font-size: 16px;
  font-weight: 600;
  color: #e5e7eb;
}

.review-product-details p {
  margin: 0;
  font-size: 13px;
  color: #9ca3af;
}

/* Star Rating Input */
.star-rating-input {
  display: inline-flex;
  gap: 8px;
  margin-right: 12px;
  vertical-align: middle;
}

.star-btn {
  background: none;
  border: none;
  font-size: 32px;
  color: #3a3a3a;
  cursor: pointer;
  transition: all 0.2s;
  padding: 0;
  line-height: 1;
}

.star-btn:hover,
.star-btn.active {
  color: #f5b301;
  transform: scale(1.1);
  text-shadow:0 0 14px rgba(245,179,1,0.7);
}

.rating-label {
  display: inline-block;
  font-size: 15px;
  color: #d1d5db;
  margin: 0;
  vertical-align: middle;
  min-width: 150px;
}

/* Form Elements */
.review-form .form-group { margin-bottom: 20px; }

.review-form .form-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #f5b301;
  margin-bottom: 8px;
}

.review-form .form-control {
  width: 100%;
  padding: 12px;
  border: 1px solid rgba(245,179,1,0.35);
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  background:#1f1f1f;
  color:#e5e7eb;
  transition: border-color 0.2s, box-shadow .2s;
}

.review-form .form-control:focus {
  outline: none;
  border-color: #f5b301;
  box-shadow: 0 0 0 3px rgba(245, 179, 1, 0.25);
}

.review-form .form-hint {
  font-size: 13px;
  color: #9ca3af;
  margin-top: 8px;
}

/* Image Upload */
.btn-upload-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: #1f1f1f;
  border: 2px dashed rgba(245,179,1,0.45);
  border-radius: 8px;
  color: #e5e7eb;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s;
}

.btn-upload-trigger:hover {
  background: #2a1c00;
  border-color: #f5b301;
  color: #f5b301;
}

.image-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.image-preview-item {
  position: relative;
  aspect-ratio: 1;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(245,179,1,0.35);
}

.image-preview-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.remove-image {
  position: absolute;
  top: 4px;
  right: 4px;
  background: rgba(0, 0, 0, 0.8);
  border: none;
  color: #f5b301;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.remove-image:hover {
  background: rgba(0, 0, 0, 0.95);
  color:#fff;
}

/* Point Reward Info */
.point-reward-info {
  background: linear-gradient(135deg, #1a1300 0%, #2a1f00 100%);
  border: 2px solid #f5b301;
  border-radius: 12px;
  padding: 16px;
  margin: 20px 0;
  box-shadow:0 0 24px -8px rgba(245,179,1,0.5);
}

.pri-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 700;
  color: #FFE7A3;
  margin-bottom: 12px;
}

.pri-list {
  list-style: none;
  padding: 0;
  margin: 0 0 12px 0;
}

.pri-list li {
  padding: 6px 0;
  font-size: 14px;
  color: #e5e7eb;
  transition: opacity 0.2s;
}

.pri-total {
  padding-top: 12px;
  border-top: 2px solid rgba(251, 191, 36, 0.4);
  font-size: 16px;
  color: #f5b301;
  font-weight: 700;
}

.form-error {
  background: #45350a;
  border: 1px solid #dcac26;
  color: #fca5a5;
  padding: 12px;
  border-radius: 8px;
  font-size: 14px;
  margin-top: 16px;
}

/* Buttons */
.review-form .btn {
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.review-form .btn-primary {
  background: linear-gradient(135deg,#f5b301,#d99a00);
  color: #1a1300;
  box-shadow:0 4px 14px -4px rgba(245,179,1,0.7);
}

.review-form .btn-primary:hover {
  background: linear-gradient(135deg,#ffd966,#f5b301);
  transform:translateY(-1px);
}

.review-form .btn-primary:disabled {
  background: #3a3a3a;
  color:#6b7280;
  cursor: not-allowed;
  box-shadow:none;
}

.review-form .btn-secondary {
  background: #1f1f1f;
  color: #d1d5db;
  border:1px solid rgba(245,179,1,0.25);
}

.review-form .btn-secondary:hover {
  background: #2a2a2a;
  color: #f5b301;
  border-color:rgba(245,179,1,0.5);
}

@media (max-width: 768px) {
    #review-modal-overlay { padding: 0; }
    .review-modal { max-width: 100%; width: 100% !important; }
}

/* ===================================
   POINT SUMMARY GRID (Profile Page)
   =================================== */

.point-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}

.point-summary-card {
  background: linear-gradient(135deg, #1a1300 0%, #f5b301 100%);
  border: 1px solid rgba(245,179,1,0.45);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  transition: all 0.2s;
  color:#1a1300;
}

.point-summary-card:hover {
  box-shadow: 0 8px 24px -8px rgba(245,179,1, 0.7);
  transform: translateY(-4px);
  border-color:#f5b301;
}

.point-summary-card .psc-icon {
  font-size: 32px;
  margin-bottom: 8px;
}

.point-summary-card .psc-label {
  font-size: 13px;
  color: #1a1300;
  margin-bottom: 8px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity:.85;
}

.point-summary-card .psc-value {
  font-size: 28px;
  font-weight: 700;
  color: #1a1300;
}

/* Point History Section */
.point-history-section {
  margin-top: 32px;
}

.point-history-section h3 {
  font-size: 18px;
  font-weight: 600;
  color: #f5b301;
  margin-bottom: 16px;
}

.point-history-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.point-history-item {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  gap: 16px;
  padding: 16px;
  background: linear-gradient(160deg,#141414 0%, #0a0a0a 100%);
  border: 1px solid rgba(245,179,1,0.25);
  border-radius: 10px;
  align-items: center;
  transition: all 0.2s;
}

.point-history-item:hover {
  box-shadow: 0 4px 16px -4px rgba(245,179,1,0.5);
  border-color:rgba(245,179,1,0.55);
  transform:translateY(-2px);
}

.point-history-item.credit {
  border-left: 3px solid #f5b301;
}

.point-history-item.debit {
  border-left: 3px solid #d99a00;
}

.point-history-item .phi-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  border-radius: 50%;
  background: #1f1f1f;
}

.point-history-item.credit .phi-icon {
  background: linear-gradient(135deg,#f5b301,#ffd966);
}

.point-history-item.debit .phi-icon {
  background: linear-gradient(135deg,#3d2c00,#5a4200);
}

.point-history-item .phi-details {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.point-history-item .phi-desc {
  font-size: 15px;
  font-weight: 500;
  color: #e5e7eb;
}

.point-history-item .phi-date {
  font-size: 13px;
  color: #9ca3af;
}

.point-history-item .phi-amount {
  font-size: 18px;
  font-weight: 700;
}

.point-history-item .phi-amount.credit {
  color: #f5b301;
}

.point-history-item .phi-amount.debit {
  color: #d99a00;
}

@media (max-width: 640px) {
  .point-summary-grid { grid-template-columns: 1fr; }

  .point-history-item {
    grid-template-columns: 36px 1fr;
    gap: 12px;
  }

  .point-history-item .phi-amount {
    grid-column: 2;
    text-align: right;
    margin-top: 8px;
  }
}