/**
 * Transtoyou Reviews Plugin CSS - Premium Modern Design
 * Synchronized with About Us and How We Work pages styling
 */

/* ========================================
   CSS Variables & Root Setup
   ======================================== */
:root {
    --tty-primary: #005f5f;
    --tty-primary-light: #007777;
    --tty-secondary: #e5924c;
    --tty-bg-primary: #f8f9fa;
    --tty-bg-secondary: #ffffff;
    --tty-text-primary: #2c3e50;
    --tty-text-secondary: #6c757d;
    --tty-border-light: rgba(0, 95, 95, 0.1);
    --tty-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --tty-shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
    --tty-shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.12);
    --tty-gradient: linear-gradient(135deg, var(--tty-primary) 0%, var(--tty-primary-light) 100%);
    --tty-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --tty-border-radius: 20px;
}

[data-theme="dark"] {
    --tty-bg-primary: #1a1a1a;
    --tty-bg-secondary: #2a2a2a;
    --tty-bg-accent: #3a3a3a;
    --tty-text-primary: #e0e0e0;
    --tty-text-secondary: #a0a0a0;
    --tty-border-light: rgba(255, 255, 255, 0.1);
}

/* ========================================
   Main Container
   ======================================== */
.transtoyou-reviews-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    position: relative;
}

/* ========================================
   Header Banner - Premium Hero Style
   ======================================== */
.transtoyou-banner-reverse {
    margin: 40px 0 60px;
}

.tty-hero-title {
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--tty-header-primary);
  letter-spacing: -0.02em;
}

.subtitle {
    font-size: 24px;
    color: var(--tty-primary);
    margin: 0px;
}

.transtoyou-reviews-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 9%;
  width: 40%;
  height: 100%;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 5v10m0 30v10m-20-25h10m30 0h10' stroke='%23005F5F' stroke-width='1'/%3E%3Ccircle cx='30' cy='30' r='5' fill='%23005F5F'/%3E%3Ccircle cx='30' cy='15' r='2' fill='%23005F5F'/%3E%3Ccircle cx='30' cy='45' r='2' fill='%23005F5F'/%3E%3Ccircle cx='20' cy='30' r='2' fill='%23005F5F'/%3E%3Ccircle cx='40' cy='30' r='2' fill='%23005F5F'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}


/* ========================================
   SVG Stars Styling
   ======================================== */
.tty-star {
    display: inline-block;
    vertical-align: middle;
    width: 18px;
    height: 18px;
}

.tty-star-full path {
    fill: #FFC107;
}

.tty-star-half path:first-child {
    fill: #FFC107;
}

.tty-star-half path:last-child {
    fill: #E0E0E0;
}

.tty-star-empty path {
    fill: #E0E0E0;
}

.review-rating .tty-star,
.score-stars .tty-star {
    width: 20px;
    height: 20px;
    margin: 0 2px;
}

.score-stars .tty-star {
    width: 28px;
    height: 28px;
}

/* ========================================
   Reviews Container - Modern Grid
   ======================================== */
.reviews-container {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
    margin-bottom: 80px;
}

/* ========================================
   Sidebar - Premium Glass Design
   ======================================== */
.reviews-sidebar {
    top: 20px;
    height: fit-content;
}

.reviews-summary-card,
.reviews-filter-card {
  background-color: var(--tty-bg-secondary);
  border-radius: 30px;
  padding: 20px;
  margin-bottom: 20px;
  position: relative;
}

[data-theme="dark"] .reviews-summary-card,
[data-theme="dark"] .reviews-filter-card {
    background: rgba(42, 42, 42, 0.95);
}

/* Overall Score Section */
.overall-score {
    text-align: center;
    padding-bottom: 25px;
}

.score-number {
    font-size: 56px;
    font-weight: 700;
    background: var(--tty-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 10px;
}

.score-stars {
    display: flex;
    justify-content: center;
    gap: 3px;
    margin-bottom: 10px;
}

.reviews-count {
    font-size: 16px;
    color: var(--tty-text-secondary);
    font-weight: 500;
}


.breakdown-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    transition: var(--tty-transition);
}

.breakdown-row:hover {
    transform: translateX(5px);
}

.breakdown-label {
    min-width: 45px;
    font-weight: 600;
    color: var(--tty-text-primary);
    display: flex;
    align-items: center;
    gap: 5px;
}

.breakdown-label .tty-star {
    width: 16px;
    height: 16px;
}

.breakdown-bar {
    flex: 1;
    height: 10px;
    background: var(--tty-border-light);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.breakdown-fill {
    height: 100%;
    background: linear-gradient(90deg, #FFC107 0%, #FFD54F 100%);
    border-radius: 10px;
    transition: width 0.8s ease;
    position: relative;
    overflow: hidden;
}

.breakdown-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    100% { left: 100%; }
}

.breakdown-percent {
  display: none !important;
}

.breakdown-percent {
    min-width: 45px;
    text-align: right;
    font-weight: 600;
    color: var(--tty-text-secondary);
}

/* Aspect Ratings */
.aspect-ratings {
    padding: 25px 0;
}

.aspect-ratings h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--tty-primary);
    margin-bottom: 20px;
}

.aspect-rating {
    margin-bottom: 15px;
    padding: 12px;
    background: rgba(0, 95, 95, 0.03);
    border-radius: 12px;
    transition: var(--tty-transition);
}

.aspect-rating:hover {
    background: rgba(0, 95, 95, 0.06);
    transform: translateX(3px);
}

.aspect-rating-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.aspect-name {
    font-weight: 500;
    color: var(--tty-text-primary);
}

.aspect-score {
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 600;
    color: var(--tty-primary);
}

.aspect-score .tty-star {
    width: 14px;
    height: 14px;
}

.aspect-bar {
    height: 6px;
    background: var(--tty-border-light);
    border-radius: 6px;
    overflow: hidden;
}

.aspect-fill {
    height: 100%;
    background: var(--tty-gradient);
    border-radius: 6px;
    transition: width 0.8s ease;
}

/* Verification Badges */
.reviews-badges {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 25px 0;
}

.verification-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: linear-gradient(135deg, rgba(0, 95, 95, 0.05) 0%, rgba(0, 95, 95, 0.08) 100%);
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    transition: var(--tty-transition);
}

.verification-badge:hover {
    background: linear-gradient(135deg, rgba(0, 95, 95, 0.08) 0%, rgba(0, 95, 95, 0.12) 100%);
    transform: translateX(3px);
}

.verification-badge i {
    font-size: 18px;
    color: var(--tty-primary);
}

/* Write Review CTA */
.write-review-cta {
    text-align: center;
    margin-top: 25px;
}

.write-review-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: var(--tty-transition);
  position: relative;
  overflow: hidden;
  background: var(--tty-gradient);
  color: white;
  text-decoration: none;
  box-shadow: 0 8px 30px rgba(0, 95, 95, 0.3);
}

.write-review-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.write-review-btn:hover::before {
    left: 100%;
}

.write-review-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 95, 95, 0.4);
    color: white;
}

/* ========================================
   Filter Card - Modern Design
   ======================================== */
.reviews-filter-card h3 {
    font-size: 20px;
    color: var(--tty-primary);
    margin-bottom: 25px;
    font-weight: 600;
}


.filter-section:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.filter-section h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--tty-text-primary);
    margin-bottom: 0px;
}

/* Filter Options */
.filter-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.filter-option {
    position: relative;
    display: flex;
    align-items: center;
    padding: 12px 16px;
    background: rgba(0, 95, 95, 0.03);
    border: 2px solid transparent;
    border-radius: 12px;
    cursor: pointer;
    transition: var(--tty-transition);
    font-size: 14px;
}

.filter-option:hover {
    background: rgba(0, 95, 95, 0.06);
    border-color: rgba(0, 95, 95, 0.2);
    transform: translateX(3px);
}

.filter-option input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.checkbox-custom {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(0, 95, 95, 0.3);
    border-radius: 6px;
    margin-right: 12px;
    position: relative;
    transition: var(--tty-transition);
}

.filter-option input[type="checkbox"]:checked + .checkbox-custom {
    background: var(--tty-primary);
    border-color: var(--tty-primary);
}

.filter-option input[type="checkbox"]:checked + .checkbox-custom::after {
    content: '\f00c';
    font-family: 'Font Awesome 7 Pro';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 11px;
}

.filter-option input[type="checkbox"]:checked ~ span {
    color: var(--tty-primary);
    font-weight: 600;
}

.filter-option input[type="checkbox"] ~ span {
  display: flex;
  gap: 10px;
}

.filter-option .count {
    margin-left: auto;
    background: rgba(0, 95, 95, 0.1);
    color: var(--tty-primary);
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

/* Language Filter */
.filter-section.language .filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    margin-bottom: 15px;
}

.filter-toggle-icon {
    color: var(--tty-primary);
    transition: transform 0.3s ease;
}

.filter-toggle-icon.active {
    transform: rotate(180deg);
}

.filter-section.language .filter-options {
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.filter-section.language .filter-options.expanded {
    max-height: 700px;
}

.language-flag-wrapper {
    position: relative;
    width: 26px;
    height: 26px;
    margin-right: 12px;
}

.language-flag-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: var(--tty-transition);
}

.filter-option:hover .language-flag-icon {
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Sort Dropdown */
.sort-options {
    margin-top: 10px;
}

.sort-dropdown {
    width: 100%;
    padding: 12px 16px;
    background: white;
    border: 2px solid var(--tty-border-light);
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    color: var(--tty-text-primary);
    cursor: pointer;
    transition: var(--tty-transition);
}

.sort-dropdown:hover {
    border-color: var(--tty-primary);
}

.sort-dropdown:focus {
    outline: none;
    border-color: var(--tty-primary);
    box-shadow: 0 0 0 3px rgba(0, 95, 95, 0.1);
}

/* ========================================
   Main Content Area
   ======================================== */
.reviews-content {
    flex: 1;
}

/* Reviews Header */
.reviews-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.reviews-header h2 {
    font-size: 32px;
    color: var(--tty-primary);
    font-weight: 700;
    margin: 0;
}

.reviews-showing {
    color: var(--tty-text-secondary);
    font-size: 14px;
    margin: 10px 0px 0px 0px;
}

/* Header Buttons */
.reviews-header-buttons {
    display: flex;
    gap: 12px;
}

.review-header-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--tty-transition);
    position: relative;
    overflow: hidden;
}

.review-header-btn.filter-btn {
    background: rgba(0, 95, 95, 0.1);
    color: var(--tty-primary);
}

.review-header-btn.write-btn {
    background: var(--tty-gradient);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 95, 95, 0.3);
}

.review-header-btn:hover {
    transform: translateY(-2px);
}

.review-header-btn.filter-btn:hover {
    background: rgba(0, 95, 95, 0.15);
}

.review-header-btn.write-btn:hover {
    box-shadow: 0 6px 20px rgba(0, 95, 95, 0.4);
}

/* ========================================
   Reviews List - Modern Cards
   ======================================== */
.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
    position: relative;
    min-height: 400px;
}

.reviews-list.loading {
    opacity: 0.6;
}

.reviews-loading {
    position: absolute;
    top: 50px;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 20px 40px;
    border-radius: 20px;
    box-shadow: var(--tty-shadow-lg);
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 500;
    z-index: 10;
}

.reviews-loading i {
    font-size: 20px;
    color: var(--tty-primary);
}

/* Review Item Card */
.review-item {
    background-color: var(--tty-bg-secondary);
    border-radius: var(--tty-border-radius);
    padding: 30px;
    transition: var(--tty-transition);
    position: relative;
    overflow: hidden;
}

[data-theme="dark"] .review-item {
    background: var(--tty-bg-secondary);
}

.review-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--tty-gradient);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.review-item:hover {
    box-shadow: var(--tty-shadow-md);
    transform: translateY(-2px);
}

/* Review Header */
.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.reviewer-info {
    display: flex;
    gap: 15px;
}

.reviewer-initial {
    width: 48px;
    height: 48px;
    background: var(--tty-gradient);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 20px;
    flex-shrink: 0;
    transition: var(--tty-transition);
}

.review-item:hover .reviewer-initial {
    transform: scale(1.1);
}

.reviewer-details {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.reviewer-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--tty-text-primary);
}

.review-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 14px;
    color: var(--tty-text-secondary);
}

.review-date {
    background: rgba(0, 95, 95, 0.08);
    padding: 3px 10px;
    border-radius: 15px;
    font-size: 10px;
    font-weight: 500;
}

.review-separator {
    color: rgba(0, 95, 95, 0.3);
    display: none;
}

.review-service {
  background: #e3f2fd;
  color: #467997;
  padding: 2px 10px;
  font-size: 10px;
  font-weight: 500;
  border-radius: 30px;
  border-left: 3px solid #0277bd;
  padding: 3px 10px;
}

/* Rating Wrapper */
.la-review-rating-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
}

.review-language {
    position: relative;
    height: 26px;
}

.review-flag {
    display: flex;
    align-items: center;
    gap: 8px;
}

.review-flag-posted-in {
    font-size: 12px;
    color: var(--tty-text-secondary);
    font-weight: 500;
    align-items: center;
    display: flex;
}

.language-flag {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: var(--tty-transition);
    cursor: help;
}

.review-language:hover .language-flag {
    transform: scale(1.1);
}

.language-name-tooltip {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: var(--tty-transition);
    margin-bottom: 5px;
    z-index: 200;
}

.language-name-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: rgba(0, 0, 0, 0.9);
}

.review-language:hover .language-name-tooltip {
    opacity: 1;
    visibility: visible;
}

.review-rating {
    display: flex;
    gap: 2px;
}

.review-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--tty-text-primary);
    margin: 0px;
    line-height: 1.4;
}

.review-text {
    font-size: 16px;
    line-height: 1.6;
    color: var(--tty-text-primary);
    margin-bottom: 0px;
}

/* Review Footer */
.review-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 15px;
  flex-wrap: wrap;
  gap: 10px;
}

.review-verification {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #4CAF50;
    font-size: 14px;
    font-weight: 500;
}

.review-verification i {
    font-size: 16px;
}

.review-actions {
    display: flex;
    gap: 12px;
}

.review-translate-btn,
.review-helpful-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: rgba(0, 95, 95, 0.05);
    border: 1px solid var(--tty-border-light);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--tty-text-primary);
    cursor: pointer;
    transition: var(--tty-transition);
}

.review-translate-btn:hover,
.review-helpful-btn:hover {
    background: rgba(0, 95, 95, 0.1);
    border-color: var(--tty-primary);
    color: var(--tty-primary);
    transform: translateY(-1px);
}

.review-translate-btn.showing-original,
.review-helpful-btn.active {
    background: var(--tty-primary);
    border-color: var(--tty-primary);
    color: white;
}

/* Admin Response Section */
.review-admin-response {
    margin-top: 20px;
    padding: 20px;
    background: var(--tty-text-light);
    border-radius: 15px;
    border-left: 3px solid var(--tty-primary);
}

.transtoyou-review-responce-image {
  margin-bottom: -7px;
}

.admin-response-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.admin-response-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--tty-primary);
}

.transtoyou-review-responce-image img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.review-item.showing-original .review-header .language-flag,
  .review-admin-response.showing-original .language-flag.admin-flag {
  border: 2px solid #29ae5d;
  background: #29ae5d;
  animation: pulse-border 2s infinite;
}

.admin-response-content p,
.admin-response-content {
  font-size: 15px;
  line-height: 1.6;
  color: var(--tty-text-primary);
  margin: 0px;
}

/* ========================================
   Trust Signals Section
   ======================================== */
.trust-signals {
    background-color: var(--tty-bg-secondary);
    border-radius: 30px;
    padding: 30px;
    box-shadow: var(--tty-shadow-md);
    margin-bottom: 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-top: 50px;
}

.trust-signals::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 40%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 95, 95, 0.03) 0%, transparent 70%);
    animation: float 30s ease-in-out infinite alternate;
    pointer-events: none;
}

.trust-signals h2 {
    font-size: 36px;
    color: var(--tty-primary);
    margin-bottom: 10px;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.trust-signals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-top: 20px;
    position: relative;
    z-index: 1;
}

.trust-signal {
    text-align: center;
    padding: 30px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(0, 95, 95, 0.03) 0%, rgba(0, 95, 95, 0.06) 100%);
    transition: var(--tty-transition);
}

.trust-signal:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.trust-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: var(--tty-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 36px;
    transition: var(--tty-transition);
}

.trust-signal:hover .trust-icon {
    transform: scale(1.1) rotate(5deg);
}

.trust-signal h3 {
    font-size: 22px;
    color: var(--tty-primary);
    margin-bottom: 15px;
    font-weight: 600;
}

.trust-signal p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--tty-text-secondary);
}

/* Review Guidelines */
.review-guidelines {
    background: white;
    border-radius: 20px;
    padding: 30px;
    margin-top: 40px;
    border: 2px solid var(--tty-border-light);
}

.review-guidelines h3 {
    font-size: 20px;
    color: var(--tty-primary);
    margin-bottom: 20px;
    font-weight: 600;
}

.review-guidelines ul {
    list-style: none;
    padding: 0;
}

.review-guidelines li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
    color: var(--tty-text-primary);
    line-height: 1.6;
}

.review-guidelines li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Duotone';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--tty-primary);
}

/* Consent group styling */
.consent-group {
    margin-top: 25px;
}

.consent-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 14px;
}

.consent-label input[type="checkbox"] {
    margin-top: 2px;
}

.consent-label a {
    color: var(--tty-primary);
    font-weight: 500;
    text-decoration: none;
}

.consent-label a:hover {
    text-decoration: underline;
}

/* Header link styling */
.tty-reviews-header-link {
    text-decoration: none;
    display: flex;
    align-items: center;
    flex-direction: column;
    transition: var(--tty-transition);
}

.tty-reviews-header-link:hover {
    transform: translateY(-2px);
}

.tty-reviews-header {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.tty-reviews-header-stars {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
}

.tty-reviews-header-stars .tty-star {
    width: 20px;
    height: 20px;
}

.tty-reviews-header-score {
    color: var(--tty-primary);
    line-height: 1;
    font-weight: 600;
}

.tty-reviews-header-count {
    font-size: 12px;
    color: var(--tty-text-secondary);
}

/* Dark theme support for Trust Signals */
[data-theme="dark"] .trust-signals {
    background: var(--tty-bg-secondary);
}

[data-theme="dark"] .trust-signal {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.06) 100%);
}

[data-theme="dark"] .review-guidelines {
    background: var(--tty-bg-secondary);
}

.admin-response-actions {
    margin-top: 12px;
    text-align: right;
}

.admin-response-translate-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: #edf4f6;
    border: 1px solid var(--tty-border-light);
    border-radius: 18px;
    font-size: 13px;
    font-weight: 500;
    color: var(--tty-text-primary);
    cursor: pointer;
    transition: var(--tty-transition);
}

.admin-response-translate-btn:hover {
    background: var(--tty-primary);
    border-color: var(--tty-primary);
    color: white;
}

.auto-translation-indicator i {
    font-size: 14px;
}

/* ========================================
   Pagination - Modern Design
   ======================================== */
.reviews-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 50px;
}

.pagination-prev,
.pagination-next {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: white;
    border: 2px solid var(--tty-border-light);
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    color: var(--tty-text-primary);
    cursor: pointer;
    transition: var(--tty-transition);
}

.pagination-prev:hover:not(:disabled),
.pagination-next:hover:not(:disabled) {
    background: var(--tty-primary);
    border-color: var(--tty-primary);
    color: white;
    transform: translateY(-2px);
}

.pagination-prev:disabled,
.pagination-next:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.pagination-numbers {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pagination-number {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border: 2px solid var(--tty-border-light);
    border-radius: 50%;
    font-size: 14px;
    font-weight: 600;
    color: var(--tty-text-primary);
    cursor: pointer;
    transition: var(--tty-transition);
}

.pagination-number:hover {
    background: rgba(0, 95, 95, 0.05);
    border-color: var(--tty-primary);
    color: var(--tty-primary);
}

.pagination-number.active {
    background: var(--tty-primary);
    border-color: var(--tty-primary);
    color: white;
    transform: scale(1.1);
}

.pagination-ellipsis {
    color: var(--tty-text-secondary);
    padding: 0 5px;
}

/* ========================================
   No Reviews Message
   ======================================== */
.no-reviews-message {
    text-align: center;
    padding: 80px 40px;
    background: linear-gradient(135deg, rgba(0, 95, 95, 0.03) 0%, rgba(0, 95, 95, 0.06) 100%);
    border-radius: var(--tty-border-radius);
    border: 2px dashed var(--tty-border-light);
}

.no-reviews-message p {
    font-size: 18px;
    color: var(--tty-text-secondary);
    margin-bottom: 30px;
}

/* ========================================
   Write Review Section
   ======================================== */
.write-review-section {
    background: linear-gradient(135deg, var(--tty-bg-secondary) 0%, rgba(0, 95, 95, 0.03) 100%);
    border-radius: 30px;
    padding: 50px;
    margin: 60px 0;
    position: relative;
    overflow: hidden;
    box-shadow: var(--tty-shadow-md);
}

.write-review-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 50%;
    height: 200%;
    background: radial-gradient(circle, rgba(229, 146, 76, 0.05) 0%, transparent 70%);
    animation: float 25s ease-in-out infinite reverse;
    pointer-events: none;
}

.write-review-section h2 {
    font-size: 32px;
    color: var(--tty-primary);
    margin-bottom: 10px;
    font-weight: 700;
}

.write-review-intro {
    font-size: 18px;
    color: var(--tty-text-secondary);
    margin-bottom: 40px;
}

/* Form Styling */
.review-form {
    position: relative;
    z-index: 1;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    position: relative;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    background: white;
    border: 2px solid var(--tty-border-light);
    border-radius: 15px;
    font-size: 16px;
    font-family: inherit;
    transition: var(--tty-transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--tty-primary);
    box-shadow: 0 0 0 4px rgba(0, 95, 95, 0.1);
}

/* Floating Labels */
.form-group label {
    position: absolute;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    font-size: 16px;
    color: var(--tty-text-secondary);
    transition: var(--tty-transition);
    background: white;
    padding: 0 8px;
    pointer-events: none;
}

.form-group textarea + label {
    top: 25px;
}

.form-group input:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group select:focus ~ label,
.form-group select:valid ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:not(:placeholder-shown) ~ label,
.form-group label.active {
    top: 0;
    font-size: 13px;
    color: var(--tty-primary);
    font-weight: 600;
}

/* Rating Stars Input */
.rating-stars-input-label {
    font-size: 16px;
    font-weight: 600;
    color: var(--tty-text-primary);
    margin-bottom: 15px;
}

.rating-stars-input {
    display: flex;
    flex-direction: row-reverse;
    gap: 8px;
    justify-content: flex-end;
    margin-bottom: 10px;
}

.rating-stars-input input {
    display: none;
}

.rating-stars-input label {
    position: static;
    font-size: 32px;
    color: #DDD;
    cursor: pointer;
    transition: var(--tty-transition);
    padding: 0;
    transform: none;
}

.rating-stars-input label:hover,
.rating-stars-input label:hover ~ label,
.rating-stars-input input:checked ~ label {
    color: #FFC107;
    transform: scale(1.1);
}

/* Submit Button */
.form-actions {
    text-align: center;
    margin-top: 40px;
}

.submit-review-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 40px;
    background: var(--tty-gradient);
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 8px 30px rgba(0, 95, 95, 0.3);
    transition: var(--tty-transition);
    position: relative;
    overflow: hidden;
}

.submit-review-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.submit-review-button:hover::before {
    left: 100%;
}

.submit-review-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 95, 95, 0.4);
}

.submit-review-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Success Message */
.form-success-message {
    background: linear-gradient(135deg, #4CAF50 0%, #66BB6A 100%);
    color: white;
    padding: 20px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 16px;
    font-weight: 600;
    animation: slideInUp 0.5s ease;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (min-width: 768px) {

    .review-item .auto-translation-indicator {
        position: absolute;
        top: 75px;
        right: 35px;
    }
}

/* ========================================
   Mobile Responsive
   ======================================== */
@media (max-width: 1024px) {
    .reviews-container {
        grid-template-columns: 1fr;
    }
    
    .reviews-sidebar {
        position: relative;
        top: 0;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    
    .reviews-summary-card {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .review-body .auto-translation-indicator {
        margin-top: 11px;
        display: inline-block;
    }
    
    .transtoyou-banner-reverse {
        margin: 20px 0px;
    }
    
    .reviews-sidebar {
        grid-template-columns: 1fr;
    }
    
    .reviews-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .reviews-header-buttons {
        width: 100%;
        justify-content: space-between;
    }
    
    .review-header-btn {
        flex: 1;
        justify-content: center;
        padding: 12px 12px;
        font-size: 18px;
    }
    
    .review-header-btn span {
        display: none;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .write-review-section {
        padding: 30px 20px;
    }
    
    .review-item {
        padding: 10px;
    }
    
    .pagination-numbers {
        display: none;
    }
}

@media (max-width: 760px) {
    .review-header {
        flex-direction: column;
        gap: 15px;
        align-items: start;
    }
    
    .reviews-filter-card {
        display: none;
    }
    
    .review-separator {
        display: none;
    }
    
    .review-meta {
        flex-direction: column;
        align-items: start;
    }
    
    .review-date {
        font-size: 10px;
    
    
    .auto-translation-indicator {
        position: absolute;
        top: 22px;
        right: 22px;
    }
    
    .la-review-rating-wrapper {
        width: 100%;
        justify-content: space-between;
    }
    
    .review-footer {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .review-actions {
        width: 100%;
        justify-content: space-between;
    }
}

/* ========================================
   Hide WordPress Comments Section
   ======================================== */
.transtoyou-reviews-wrapper ~ #comments,
.transtoyou-reviews-wrapper ~ .commentlist,
.transtoyou-reviews-wrapper ~ .navigation,
.transtoyou-reviews-wrapper ~ .comments-title,
.transtoyou-reviews-wrapper ~ #respond {
    display: none !important;
}

/* Hide comments when reviews are present on page */
body:has(.transtoyou-reviews-wrapper) #comments,
body:has(.transtoyou-reviews-wrapper) .commentlist,
body:has(.transtoyou-reviews-wrapper) .navigation,
body:has(.transtoyou-reviews-wrapper) .comments-title,
body:has(.transtoyou-reviews-wrapper) .comment-form,
body:has(.transtoyou-reviews-wrapper) #respond {
    display: none !important;
}
