/* ============================================================
   REVIEWS MODULE – Separated from business.php styles
   ============================================================ */

.reviews-module {
    margin-top: 8px;
}

.review-filters {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 8px;
}

.review-filters .filter-btn {
    background: none;
    border: none;
    font-weight: 600;
    padding: 6px 12px;
    cursor: pointer;
    color: #64748b;
    transition: all 0.2s ease;
    border-bottom: 2px solid transparent;
}

.review-filters .filter-btn.active {
    color: #2563eb;
    border-bottom-color: #2563eb;
}

.review-filters .filter-btn:hover {
    color: #1e40af;
}

.reviews-container {
    max-height: 350px;
    overflow-y: auto;
}

.review-item {
    background: white;
    padding: 16px;
    border-radius: 16px;
    margin-bottom: 12px;
    border: 1px solid #e2e8f0;
}

.reviewer {
    font-weight: 700;
    margin-bottom: 4px;
    display: flex;
    justify-content: space-between;
}

.review-rating {
    color: #fbbf24;
}

.review-text {
    margin-top: 4px;
    color: #334155;
}

.owner-reply {
    background: #ecfdf5;
    border-radius: 10px;
    padding: 10px;
    margin-top: 8px;
    border-left: 3px solid #10b981;
}

.review-date {
    font-size: 11px;
    color: #94a3b8;
    margin-top: 8px;
}

.review-feedback {
    margin: 12px 0;
    padding: 12px;
    border-radius: 12px;
    display: none;
}

.review-feedback.success {
    display: block;
    background: #d1fae5;
    color: #065f46;
}

.review-feedback.error {
    display: block;
    background: #fee2e2;
    color: #991b1b;
}

.review-form {
    background: #f8fafc;
    padding: 20px;
    border-radius: 20px;
    margin-top: 20px;
}

.review-form h4 {
    margin: 0 0 16px 0;
    font-size: 16px;
}

.review-form input,
.review-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    box-sizing: border-box;
    font-size: 14px;
}

.review-form input:focus,
.review-form textarea:focus {
    outline: none;
    border-color: #2563eb;
}

.star-rating {
    display: flex;
    gap: 8px;
    font-size: 28px;
    margin: 10px 0;
}

.star-rating span {
    cursor: pointer;
    color: #cbd5e1;
    transition: color 0.2s ease;
}

.star-rating span.active {
    color: #fbbf24;
}

.star-rating span:hover {
    color: #fcd34d;
}

.cf-turnstile {
    margin: 12px 0;
    min-height: 65px;
}

.loading-placeholder {
    text-align: center;
    padding: 20px;
    color: #64748b;
}