/* ===========================================
   AKB Yorum Güzelleştirme
   Trustindex Google Reviews Override
   =========================================== */

/* ============ WRAPPER / CONTAINER ============ */
.ti-widget {
    font-family: 'Plus Jakarta Sans', 'Segoe UI', -apple-system, sans-serif !important;
}

/* ============ HEADER (Rating Bar) ============ */
.ti-widget .ti-widget-header {
    background: linear-gradient(145deg, #0e4a3e, #1a6b5a) !important;
    border-radius: 14px !important;
    padding: 20px 24px !important;
    border: none !important;
    margin-bottom: 16px !important;
}

.ti-widget .ti-widget-header .ti-header-title,
.ti-widget .ti-widget-header .source-Google {
    color: #fff !important;
}

.ti-widget .ti-widget-header .ti-rating-text {
    color: rgba(255,255,255,0.8) !important;
    font-weight: 600 !important;
}

.ti-widget .ti-widget-header .ti-stars .ti-star {
    color: #fbbf24 !important;
}

.ti-widget .ti-widget-header a {
    color: #2dd4a8 !important;
    font-weight: 600 !important;
}

/* ============ REVIEW CARDS ============ */
.ti-widget .ti-review-item {
    background: #fff !important;
    border: 1px solid #eef4f1 !important;
    border-radius: 14px !important;
    padding: 20px !important;
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
    box-shadow: none !important;
}

.ti-widget .ti-review-item:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 12px 30px rgba(14,74,62,0.1) !important;
    border-color: rgba(14,74,62,0.15) !important;
}

/* Reviewer Name */
.ti-widget .ti-review-item .ti-name {
    font-weight: 700 !important;
    color: #0a2e36 !important;
    font-size: 14px !important;
}

/* Review Date */
.ti-widget .ti-review-item .ti-date {
    color: #8a9e97 !important;
    font-size: 12px !important;
}

/* Star Rating */
.ti-widget .ti-review-item .ti-stars .ti-star {
    color: #fbbf24 !important;
}

.ti-widget .ti-review-item .ti-stars .ti-star.f {
    color: #fbbf24 !important;
}

/* Review Text */
.ti-widget .ti-review-item .ti-review-text,
.ti-widget .ti-review-item .ti-review-content {
    color: #3a5a50 !important;
    font-size: 13.5px !important;
    line-height: 1.6 !important;
}

/* Read More Link */
.ti-widget .ti-review-item .ti-read-more {
    color: #0e4a3e !important;
    font-weight: 600 !important;
}

/* Reviewer Avatar */
.ti-widget .ti-review-item .ti-profile-img,
.ti-widget .ti-review-item img.ti-img {
    border-radius: 50% !important;
    border: 2px solid #eef4f1 !important;
    width: 40px !important;
    height: 40px !important;
}

/* Google Logo / Source Badge */
.ti-widget .ti-review-item .source-Google,
.ti-widget .ti-review-item .ti-source-icon {
    opacity: 0.6 !important;
}

/* Verified Badge */
.ti-widget .ti-review-item .ti-verified {
    color: #0e4a3e !important;
    font-size: 11px !important;
}

/* ============ SLIDER ARROWS ============ */
.ti-widget .ti-controls .ti-prev,
.ti-widget .ti-controls .ti-next,
.ti-widget .slick-prev,
.ti-widget .slick-next {
    background: #fff !important;
    border: 1px solid #eef4f1 !important;
    border-radius: 50% !important;
    width: 38px !important;
    height: 38px !important;
    box-shadow: 0 3px 12px rgba(0,0,0,0.08) !important;
    transition: all 0.3s ease !important;
    color: #0e4a3e !important;
}

.ti-widget .ti-controls .ti-prev:hover,
.ti-widget .ti-controls .ti-next:hover,
.ti-widget .slick-prev:hover,
.ti-widget .slick-next:hover {
    background: #0e4a3e !important;
    color: #fff !important;
    border-color: #0e4a3e !important;
    transform: scale(1.08) !important;
}

.ti-widget .slick-prev:before,
.ti-widget .slick-next:before {
    color: inherit !important;
}

/* ============ DOTS / PAGINATION ============ */
.ti-widget .ti-controls .ti-dots .ti-dot,
.ti-widget .slick-dots li button {
    background: #d4e8e2 !important;
    border: none !important;
    width: 8px !important;
    height: 8px !important;
    border-radius: 4px !important;
    transition: all 0.3s ease !important;
}

.ti-widget .ti-controls .ti-dots .ti-dot.active,
.ti-widget .slick-dots li.slick-active button {
    background: #0e4a3e !important;
    width: 20px !important;
}

/* ============ FOOTER / BRANDING ============ */
.ti-widget .ti-footer {
    opacity: 0.4 !important;
    transition: opacity 0.3s ease !important;
}

.ti-widget .ti-footer:hover {
    opacity: 0.7 !important;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 768px) {
    .ti-widget .ti-review-item {
        padding: 16px !important;
        border-radius: 12px !important;
    }

    .ti-widget .ti-widget-header {
        padding: 16px 18px !important;
        border-radius: 12px !important;
    }
}

/* ============ DARK MODE ============ */
[data-wp-dark-mode-active="true"] .ti-widget .ti-review-item {
    background: #162220 !important;
    border-color: #243835 !important;
}

[data-wp-dark-mode-active="true"] .ti-widget .ti-review-item:hover {
    box-shadow: 0 12px 30px rgba(0,0,0,0.3) !important;
    border-color: #2a5a4a !important;
}

[data-wp-dark-mode-active="true"] .ti-widget .ti-review-item .ti-name {
    color: #d4e8e2 !important;
}

[data-wp-dark-mode-active="true"] .ti-widget .ti-review-item .ti-review-text,
[data-wp-dark-mode-active="true"] .ti-widget .ti-review-item .ti-review-content {
    color: #7a9990 !important;
}

[data-wp-dark-mode-active="true"] .ti-widget .ti-review-item .ti-date {
    color: #5a7a70 !important;
}

[data-wp-dark-mode-active="true"] .ti-widget .ti-review-item .ti-profile-img,
[data-wp-dark-mode-active="true"] .ti-widget .ti-review-item img.ti-img {
    border-color: #2a4a42 !important;
}

[data-wp-dark-mode-active="true"] .ti-widget .ti-controls .ti-prev,
[data-wp-dark-mode-active="true"] .ti-widget .ti-controls .ti-next,
[data-wp-dark-mode-active="true"] .ti-widget .slick-prev,
[data-wp-dark-mode-active="true"] .ti-widget .slick-next {
    background: #1a2e2a !important;
    border-color: #2a4a42 !important;
    color: #7dcfb8 !important;
}

[data-wp-dark-mode-active="true"] .ti-widget .ti-controls .ti-dots .ti-dot,
[data-wp-dark-mode-active="true"] .ti-widget .slick-dots li button {
    background: #243835 !important;
}

[data-wp-dark-mode-active="true"] .ti-widget .ti-controls .ti-dots .ti-dot.active,
[data-wp-dark-mode-active="true"] .ti-widget .slick-dots li.slick-active button {
    background: #2dd4a8 !important;
}
