/* TrustBuilder Pro - Frontend Styles */
.tb-single-review {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease-in-out;
}

.tb-single-review:hover {
    transform: translateY(-2px);
}

.tb-review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    gap: 15px;
    flex-wrap: wrap;
}

.tb-verified-badge {
    background: #28a745;
    color: #ffffff;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.85em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tb-review-category {
    color: #6c757d;
    font-style: italic;
    font-size: 0.9em;
    background: #f8f9fa;
    padding: 4px 10px;
    border-radius: 4px;
}

.tb-review-content {
    line-height: 1.7;
    color: #495057;
    font-size: 15px;
    margin-bottom: 20px;
}

.tb-review-content .star-rating {
    font-size: 1.2em;
    margin-bottom: 10px;
}

.tb-review-author {
    font-size: 0.9em;
    color: #6c757d;
    border-top: 1px solid #eee;
    padding-top: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tb-review-author:before {
    content: "\f338";
    font-family: dashicons;
    font-size: 16px;
    color: #007bff;
}

/* Responsive Design */
@media (max-width: 768px) {
    .tb-review-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .tb-single-review {
        padding: 20px;
        margin-bottom: 25px;
    }
    
    .tb-review-content {
        font-size: 14px;
    }
}

/* WooCommerce Compatibility */
.woocommerce #reviews .tb-single-review {
    margin: 0 0 20px;
    padding: 0;
    border: none;
    box-shadow: none;
}

.woocommerce #reviews .tb-review-content {
    margin: 0 0 15px;
}