/* ─────────────────────────────────────────────────────────────
   Doğrulanmış Alıcı Değerlendirmesi — THE BATH FACTORY teması
   Hesabım > Siparişlerim'deki "Değerlendir" butonu/rozeti ve
   değerlendirme modal'ındaki yıldızlar.
   Sinoz karşılığı: /themes/sinoz/css/sinoz/product-review.css
   ───────────────────────────────────────────────────────────── */

/* Sipariş ürün satırındaki buton */
.product-review-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: transparent;
    color: #fe6908;
    border: 1px solid #fe6908;
    border-radius: 6px;
    padding: 3px 10px;
    margin-top: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

.product-review-btn:hover {
    background: #FFEDE3;
}

/* Değerlendirilmiş ürün rozeti */
.product-review-done {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #fe6908;
    background: #FFEDE3;
    border-radius: 6px;
    padding: 3px 10px;
    margin-top: 6px;
    font-size: 12px;
    font-weight: 600;
}

/* Modal yıldızları */
.account-review-stars {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin: 6px 0 12px;
}

.account-review-stars a {
    font-size: 30px;
    line-height: 1;
    color: #d9d9d9;
    text-decoration: none;
    transition: color 0.15s ease;
}

.account-review-stars a.active {
    color: #f5a623;
}

.account-review-stars a:hover {
    color: #f5a623;
}

#account-review-comment {
    margin-bottom: 12px;
}

/* Ürün detay yorum formu bilgilendirme notu */
.review-verified-note {
    display: block;
    background: #FFEDE3;
    color: #8a3c07;
    border-radius: 6px;
    padding: 8px 12px;
    margin-bottom: 12px;
    font-size: 13px;
}

/* ── Doğrulanmış alıcı rozeti (ürün yorumları) ──
   Yalnızca satın alma kuralı sonrası yapılan yorumlarda gösterilir
   (DTO.IsVerifiedBuyer = CustomerUserId dolu). Eski yorumlarda çıkmaz. */
.verified-buyer-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-left: 8px;
    padding: 2px 8px;
    border-radius: 20px;
    background: #FFEDE3;
    border: 1px solid #ffd6bd;
    color: #fe6908;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.6;
    white-space: nowrap;
}

.verified-buyer-badge i {
    font-size: 10px;
}

/* ── KVKK: Hesap kapatma (devre dışı / kalıcı silme) ──
   Hesabım > Hesap Bilgilerim altındaki "tehlikeli bölge" ve onay modalı. */
.account-danger-zone {
    border: 1px solid #f0d5d5;
}

.account-danger-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid #f0f0f0;
}

.account-danger-row:last-child {
    border-bottom: none;
}

.account-danger-text strong {
    display: block;
    font-size: 15px;
    color: #222;
    margin-bottom: 4px;
}

.account-danger-text p {
    margin: 0;
    font-size: 13px;
    color: #777;
    line-height: 1.5;
}

/* Kalıcı silme butonu */
.account-btn-danger {
    background: #fff;
    border: 1.5px solid #d64545;
    color: #d64545;
    white-space: nowrap;
}

.account-btn-danger:hover {
    background: #d64545;
    color: #fff;
}

/* Devre dışı hesap uyarı bandı */
.account-reactivate-notice {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    background: #fff8e6;
    border: 1px solid #f0dca8;
    border-radius: 10px;
    padding: 14px 18px;
    margin-bottom: 18px;
    color: #7a5c00;
    font-size: 14px;
    line-height: 1.5;
}

/* Onay modalı: ikon rozeti uyarı rengi, onay butonu moda göre kırmızı */
.account-closure-icon {
    background: #fdeaea;
    color: #d64545;
}

.member-offer-modal .btn.account-closure-confirm--danger {
    background: #d64545;
}

.member-offer-modal .btn.account-closure-confirm--danger:hover {
    background: #b93a3a;
}

@media (max-width: 576px) {
    .account-danger-row {
        flex-direction: column;
        align-items: stretch;
    }

    .account-danger-row .btn-custom {
        width: 100%;
    }
}

/* ── Yorum Ekle yıldızları (TBF turuncusu) ──
   Paylaşılan star-rating.css `.rate__star.active { color:#A3D7C9 }` (yeşil) ile aynı
   özgüllükte olup sonra yüklendiği için TBF turuncusunu eziyordu. `.rate` ata seçicisiyle
   özgüllüğü artırıp (0,3,0 > 0,2,0) yükleme sırasından bağımsız turuncuyu garantiliyoruz. */
.rate .rate__star.active,
.rate .rate__star:hover {
    color: #fe6908 !important;
}

/* Boş (seçilmemiş) yıldızlar: nötr açık gri */
.rate .rate__star {
    color: #d9d9d9 !important;
}
