/* RTS Unified Proof Cards & Media Hub Styles */
.rts-proof-strip {
  margin: 12px 0 16px 0;
  padding: 10px 12px;
  background: #ffffff;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}
.rts-proof-strip-header {
  margin-bottom: 8px;
}
.rts-proof-nav-pills {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.rts-pill {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 6px;
  background: #f1f5f9;
  color: #334155;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}
.rts-pill:hover, .rts-pill-active {
  background: #0284c7;
  color: #ffffff;
}
.rts-proof-thumbs-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
}
.rts-proof-thumb-wrap {
  flex: 0 0 68px;
  width: 68px;
  height: 68px;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid #e2e8f0;
  cursor: pointer;
  transition: transform 0.2s;
}
.rts-proof-thumb-wrap:hover {
  transform: scale(1.05);
  border-color: #0284c7;
}
.rts-proof-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.rts-proof-thumb-more {
  background: linear-gradient(135deg, #0284c7, #0369a1);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.rts-proof-thumb-more strong {
  font-size: 14px;
  line-height: 1;
}
.rts-proof-thumb-more span {
  font-size: 10px;
}

/* Modal Overlay */
.rts-proof-modal-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(6px);
  z-index: 999999;
  justify-content: center;
  align-items: center;
  padding: 16px;
}
.rts-proof-modal-overlay.active {
  display: flex;
}
.rts-proof-modal-dialog {
  background: #ffffff;
  width: 100%;
  max-width: 900px;
  max-height: 92vh;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
  overflow: hidden;
  animation: rtsScaleIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes rtsScaleIn {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}

.rts-proof-modal-header {
  padding: 16px 20px;
  background: #0f172a;
  color: #ffffff;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.rts-proof-modal-title {
  font-size: 16px;
  font-weight: 700;
}
.rts-proof-modal-close {
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}
.rts-proof-modal-close:hover {
  color: #ffffff;
}

/* Modal Tabs */
.rts-proof-modal-tabs {
  display: flex;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  padding: 0 16px;
}
.rts-tab-btn {
  padding: 12px 18px;
  font-size: 13px;
  font-weight: 700;
  color: #64748b;
  border: none;
  background: transparent;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  transition: all 0.2s;
}
.rts-tab-btn:hover {
  color: #0284c7;
}
.rts-tab-btn.active {
  color: #0284c7;
  border-bottom-color: #0284c7;
  background: #ffffff;
}

/* Modal Body */
.rts-proof-modal-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  background: #ffffff;
}
.rts-tab-pane {
  display: none;
}
.rts-tab-pane.active {
  display: block;
}

/* Photos Pane */
.rts-photo-viewer {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #090d16;
  border-radius: 12px;
  overflow: hidden;
  height: 420px;
}
.rts-photo-main-wrap {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.rts-photo-main-wrap img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.rts-photo-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 10px 16px;
  background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
  color: #f8fafc;
  font-size: 13px;
  text-align: center;
}
.rts-nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(15,23,42,0.65);
  color: #ffffff;
  border: none;
  font-size: 24px;
  width: 44px; height: 44px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.rts-nav-arrow:hover {
  background: #0284c7;
}
.rts-prev { left: 12px; }
.rts-next { right: 12px; }

.rts-photo-thumbs-scroll {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 12px 0 4px 0;
}
.rts-photo-thumb-strip-item {
  flex: 0 0 76px;
  width: 76px; height: 76px;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  opacity: 0.7;
}
.rts-photo-thumb-strip-item.active {
  border-color: #0284c7;
  opacity: 1;
}
.rts-photo-thumb-strip-item img {
  width: 100%; height: 100%; object-fit: cover;
}

/* Videos Pane */
.rts-video-player-container {
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 14px;
}
.rts-video-placeholder {
  height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  font-size: 14px;
}
.rts-video-caption {
  padding: 10px 14px;
  background: #0f172a;
  color: #f1f5f9;
  font-size: 13px;
  font-weight: 600;
}
.rts-video-list-scroll {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 12px;
  max-height: 220px;
  overflow-y: auto;
}
.rts-video-list-item {
  display: flex;
  gap: 10px;
  padding: 8px;
  background: #f8fafc;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  cursor: pointer;
  transition: all 0.2s;
}
.rts-video-list-item:hover, .rts-video-list-item.active {
  border-color: #0284c7;
  background: #f0f9ff;
}
.rts-video-item-thumb {
  position: relative;
  flex: 0 0 80px;
  height: 54px;
  border-radius: 6px;
  overflow: hidden;
  background: #000;
}
.rts-video-item-thumb img {
  width: 100%; height: 100%; object-fit: cover;
}
.rts-video-item-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 16px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}
.rts-video-item-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.rts-video-item-title {
  font-size: 12px;
  font-weight: 600;
  color: #1e293b;
  line-height: 1.3;
  max-height: 2.6em;
  overflow: hidden;
}
.rts-video-item-badge {
  font-size: 10px;
  color: #0284c7;
  margin-top: 4px;
}

/* Reviews Pane */
.rts-reviews-summary {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 10px;
  margin-bottom: 16px;
}
.rts-rating-big {
  font-size: 20px;
  font-weight: 800;
  color: #15803d;
}
.rts-rating-meta {
  font-size: 13px;
  color: #166534;
}
.rts-reviews-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 480px;
  overflow-y: auto;
}
.rts-review-bubble {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 14px 16px;
}
.rts-review-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}
.rts-review-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: #0284c7;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
}
.rts-review-author-info {
  flex: 1;
}
.rts-review-author-name {
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
}
.rts-review-author-city {
  font-size: 12px;
  color: #64748b;
}
.rts-review-stars {
  color: #eab308;
  font-size: 14px;
  letter-spacing: 2px;
}
.rts-review-quote {
  font-size: 13px;
  color: #334155;
  line-height: 1.5;
  margin-bottom: 8px;
}
.rts-review-verified {
  font-size: 11px;
  font-weight: 600;
  color: #059669;
}

/* Modal Footer */
.rts-proof-modal-footer {
  padding: 14px 20px;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.rts-footer-trust {
  font-size: 12px;
  color: #475569;
  flex: 1;
  min-width: 250px;
}
.rts-footer-actions {
  display: flex;
  gap: 10px;
}
.rts-btn-max {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: 8px;
  background: #0284c7;
  color: #ffffff !important;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s;
}
.rts-btn-max:hover {
  background: #0369a1;
}
.rts-btn-order {
  padding: 8px 18px;
  border-radius: 8px;
  background: #16a34a;
  color: #ffffff;
  border: none;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
}
.rts-btn-order:hover {
  background: #15803d;
}

@media (max-width: 640px) {
  .rts-photo-viewer { height: 260px; }
  .rts-video-placeholder, .rts-video-player-container iframe { height: 220px !important; }
  .rts-proof-modal-footer { flex-direction: column; align-items: stretch; }
  .rts-footer-actions { flex-direction: column; }
}
