/* .tbay-reviews-wrapper { border:1px solid #eee; padding:12px; border-radius:6px; }
.tbay-review-item{ border-bottom:1px solid #f1f1f1; padding:8px 0 }
.tbay-review-meta{ font-size:13px; color:#333 }
.tbay-review-content{ margin-top:6px } */

 .tbay-reviews-wrapper { 
    border:1px solid #eee; 
    padding:12px; 
    border-radius:6px; 
    width: 100%;
    max-width: 500px;
}

.tbay-star-rating .star {
    font-size: 28px;
    cursor: pointer;
    color: #ccc;
    transition: color .2s;
}

.tbay-star-rating .star.active {
    color: #ffcc00;
}
.tbay-review-rating .star {
    color: #ccc;
    font-size: 20px;
    margin-right: 2px;
}

.tbay-review-rating .star.active {
    color: #ffcc00;
}

/* =============================
   TỔNG QUAN ĐÁNH GIÁ
============================= */
.tbay-reviews-summary {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
}

.summary-score {
    display: flex;
    align-items: baseline;
    font-weight: bold;
    font-size: 32px;
    color: #f5a623;
}

.summary-score .score-text {
    font-size: 20px;
    color: #555;
    margin-left: 3px;
}

.summary-count {
    font-size: 15px;
    color: #666;
}

/* =============================
   DANH SÁCH ĐÁNH GIÁ
============================= */
.tbay-reviews-list .tbay-review-item {
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.tbay-review-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 6px;
}

.reviewer-name {
    font-weight: 600;
    color: #333;
}

.tbay-review-date {
    font-size: 13px;
    color: #999;
}

/* =============================
   SAO TRONG DANH SÁCH
============================= */
.tbay-review-rating {
    display: flex;
    gap: 2px;
    margin-bottom: 8px;
}

.tbay-review-rating .star {
    font-size: 18px;
    color: #ccc;          /* sao tắt */
}

.tbay-review-rating .star.active {
    color: #f5a623;       /* sao sáng */
}

/* Nội dung review */
.tbay-review-content {
    font-size: 15px;
    line-height: 1.5;
    color: #444;
}


/* Khung form */
.tbay-review-form-wrapper {
    background: #fff;
    padding: 25px 30px;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.05);
    border: 1px solid #eee;
    margin-top: 30px;
    
}

/* Tiêu đề */
.tbay-review-form-wrapper h3 {
    margin-bottom: 20px;
    font-size: 22px;
    font-weight: 600;
}

/* Nhãn (label) */
.tbay-review-form-wrapper label {
    display: block;
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 6px;
    margin-top: 15px;
}

/* Input chung */
.tbay-review-form-wrapper input[type="text"],
.tbay-review-form-wrapper input[type="email"],
.tbay-review-form-wrapper textarea {
    width: 100%;
    padding: 10px 12px;
    border-radius: 6px;
    border: 1px solid #ddd;
    font-size: 15px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.tbay-review-form-wrapper textarea {
    min-height: 80px;
}

.tbay-review-form-wrapper input:focus,
.tbay-review-form-wrapper textarea:focus {
    border-color: #1e88e5;
    box-shadow: 0 0 0 2px rgba(30,136,229,0.15);
}

/* Nút gửi */
.tbay-review-form-wrapper button,
.tbay-review-form-wrapper input[type="submit"] {
    margin-top: 18px;
    background: #1e88e5;
    color: #fff;
    padding: 10px 18px;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.2s;
}

.tbay-review-form-wrapper button:hover,
.tbay-review-form-wrapper input[type="submit"]:hover {
    background: #1565c0;
}

/* Sao rating */
.tbay-star-rating {
    margin-top: 5px;
    margin-bottom: 10px;
}

.tbay-star-rating .star {
    font-size: 30px;
    cursor: pointer;
    color: #ccc;
    margin-right: 5px;
    transition: color 0.2s;
}

.tbay-star-rating .star.active {
    color: #ffcc00;
}
