.sentinel-review-container {
  max-width: 100%;
  margin: 20px auto;
}

.sentinel-review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid #eee;
  padding-bottom: 15px;
  margin-bottom: 20px;
}

.sentinel-btn {
  background-color: #000;
  color: #fff;
  padding: 10px 20px;
  border: none;
  cursor: pointer;
  font-weight: bold;
}

.sentinel-btn-submit {
  background-color: #007cba;
  color: #fff;
  padding: 12px 25px;
  border: none;
  cursor: pointer;
  font-weight: bold;
  width: 100%;
}

.sentinel-review-form-wrapper {
  background: #f9f9f9;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 30px;
}

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: 600;
}

.form-group input[type="email"],
.form-group textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

/* Star Rating Input */
.star-rating-input {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
}

.star-rating-input input {
  display: none;
}

.star-rating-input label {
  font-size: 30px;
  color: #ddd;
  cursor: pointer;
}

.star-rating-input input:checked ~ label,
.star-rating-input label:hover,
.star-rating-input label:hover ~ label {
  color: #f5a623;
}

/* Review List */
.sentinel-review-item {
  border-bottom: 1px solid #eee;
  padding: 20px 0;
}

.review-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.stars {
  color: #f5a623;
  font-size: 18px;
}

.review-date {
  color: #888;
  font-size: 14px;
}

.review-content {
  line-height: 1.6;
}

.review-media {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 15px;
}

.review-photo,
.review-video {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 4px;
  background: #000;
}

.review-video {
  cursor: pointer;
}

/* Thank You Card CSS */
.sentinel-thank-you-card {
  background: #ffffff;
  padding: 40px;
  border-radius: 8px;
  text-align: center;
  border: 1px solid #e6e6e2;
  max-width: 500px;
  margin: 40px auto;
}

.sentinel-card-content h2 {
  color: #463214;
  font-size: 28px;
  margin-top: 0;
  margin-bottom: 16px;
  font-weight: normal;
}

.sentinel-card-content p {
  color: #555555;
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
}

.sentinel-success-icon {
  width: 64px;
  height: 64px;
  background-color: #f9f9f7;
  color: #463214;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
  border: 1px solid #e6e6e2;
}

.sentinel-success-icon svg {
  width: 32px;
  height: 32px;
}

/* ==========================================================================
   Judge.me Style Review Widget Styles
   ========================================================================== */

#sent_product_review {
  background: #ffffff;
  padding: 30px;
  border-radius: 8px;
  border: 1px solid #e6e6e2;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
  margin-top: 30px;
  margin-bottom: 30px;
}

/* Widget Header Summary */
.sentinel-widget-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  padding-bottom: 30px;
  border-bottom: 1px solid #eee;
  margin-bottom: 25px;
}

@media (max-width: 768px) {
  .sentinel-widget-header {
    flex-direction: column;
    align-items: stretch;
    gap: 25px;
  }
}

.sentinel-summary-main {
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: #fdfdfd;
  border-radius: 6px;
  border: 1px solid #f1f1ee;
}

.sentinel-big-rating {
  font-size: 64px;
  font-weight: bold;
  color: #463214;
  line-height: 1;
  margin-bottom: 8px;
}

.sentinel-summary-stars {
  font-size: 24px;
  color: #f5a623;
  margin-bottom: 8px;
}

.sentinel-summary-stars .star.empty {
  color: #ddd;
}

.sentinel-total-reviews-label {
  color: #666;
  font-size: 14px;
}

/* Star Distribution Bars */
.sentinel-summary-distribution {
  flex: 2;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.distribution-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 4px 8px;
  border-radius: 4px;
  transition: background-color 0.2s;
  cursor: pointer;
}

.distribution-row:hover {
  background-color: #f9f9f7;
}

.distribution-row.active-filter {
  background-color: #f4f1ea;
  border: 1px solid #cbd5e1;
}

.rating-label {
  width: 50px;
  font-size: 14px;
  color: #555;
  text-align: right;
  white-space: nowrap;
}

.progress-bar-container {
  flex-grow: 1;
  height: 10px;
  background-color: #f1f1ee;
  border-radius: 5px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background-color: #f5a623;
  border-radius: 5px;
  transition: width 0.6s ease;
}

.rating-count {
  width: 30px;
  font-size: 14px;
  color: #666;
  text-align: left;
}

/* Filters & Search Row */
.sentinel-widget-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  align-items: center;
  padding-bottom: 20px;
  border-bottom: 1px solid #f1f1ee;
  margin-bottom: 20px;
}

.filter-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.filter-group label {
  font-size: 14px;
  color: #555;
  font-weight: 600;
}

.sentinel-select {
  padding: 8px 12px;
  border-radius: 4px;
  border: 1px solid #ccc;
  background-color: #fff;
  font-size: 14px;
  color: #333;
  cursor: pointer;
  outline: none;
  min-width: 140px;
}

.sentinel-select:focus {
  border-color: #463214;
}

.search-group {
  position: relative;
  margin-left: auto;
  min-width: 200px;
}

@media (max-width: 768px) {
  .search-group {
    margin-left: 0;
    width: 100%;
  }
}

.sentinel-input {
  width: 100%;
  padding: 8px 30px 8px 12px;
  border-radius: 4px;
  border: 1px solid #ccc;
  font-size: 14px;
  outline: none;
}

.sentinel-input:focus {
  border-color: #463214;
}

.search-clear {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  color: #999;
  cursor: pointer;
}

.search-clear:hover {
  color: #333;
}

/* Active Filters Badge Row */
.sentinel-active-filters {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding: 10px 12px;
  background-color: #f9f9f7;
  border-radius: 4px;
  border: 1px solid #e6e6e2;
}

.filter-badge {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  padding: 4px 10px;
  border-radius: 15px;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #333;
}

.badge-remove {
  font-weight: bold;
  cursor: pointer;
  color: #999;
}

.badge-remove:hover {
  color: #cc0000;
}

.filter-reset-all {
  font-size: 13px;
  color: #463214;
  cursor: pointer;
  text-decoration: underline;
  margin-left: auto;
}

.filter-reset-all:hover {
  color: #000;
}

/* Review Items List */
.sentinel-reviews-list {
  display: flex;
  flex-direction: column;
}

.sentinel-review-item {
  display: flex;
  padding: 25px 0;
  border-bottom: 1px solid #f1f1ee;
  gap: 30px;
  transition: background-color 0.2s;
  padding: 30px;
}

.sentinel-review-item:hover {
  background-color: #fafaf9;
}

@media (max-width: 768px) {
  .sentinel-review-item {
    flex-direction: column;
    gap: 15px;
  }
}

/* Author Column */
.sentinel-review-author-col {
  width: 200px;
  flex-shrink: 0;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

@media (max-width: 768px) {
  .sentinel-review-author-col {
    width: 100%;
  }
}

.sentinel-author-avatar {
  width: 44px;
  height: 44px;
  background-color: #f4f1ea;
  color: #463214;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 16px;
  border: 1px solid #e6e6e2;
}

.sentinel-author-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sentinel-author-name {
  font-weight: bold;
  color: #333;
  font-size: 16px;
}

.sentinel-verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #2e5a44;
  font-size: 12px;
  font-weight: bold;
}

.sentinel-verified-badge svg {
  width: 12px;
  height: 12px;
  stroke: #2e5a44;
}

/* Details Column */
.sentinel-review-details-col {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sentinel-review-item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sentinel-review-item-header .stars {
  color: #f5a623;
  font-size: 18px;
}

.review-date {
  color: #888;
  font-size: 13px;
}

.sentinel-review-details-col .review-content {
  color: #444;
  font-size: 16px;
  line-height: 1.6;
}

/* Review Media Grid */
.review-media {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 15px;
}

.media-wrapper {
  position: relative;
  width: 90px;
  height: 90px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #e6e6e2;
  cursor: pointer;
  background: #000;
  transition: transform 0.2s;
}

.media-wrapper:hover {
  transform: scale(1.04);
}

.review-photo-thumb,
.review-video-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-play-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: background-color 0.2s;
}

.video-play-overlay svg {
  width: 24px;
  height: 24px;
}

.video-wrapper:hover .video-play-overlay {
  background: rgba(0, 0, 0, 0.1);
}

/* Lightbox Modal */
.sentinel-lightbox {
  position: fixed;
  z-index: 999999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.2s;
  user-select: none;
}

.lightbox-close:hover {
  color: #f5a623;
}

.lightbox-content {
  max-width: 80%;
  max-height: 80%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: 4px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.5);
}

.sentinel-no-reviews {
  text-align: center;
  padding: 40px 20px;
  color: #888;
}
