
/* === FORM STYLES === */
.bp-review-form .bp-review-field {
    margin-bottom: 15px;
}
.bp-review-form .bp-review-field label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

/* === RATING STARS === */
.bp-rating-stars {
    display: inline-flex;
    flex-direction: row-reverse;
    gap: 5px;
}
.bp-rating-stars input[type="radio"] {
    display: none;
}
.bp-rating-stars label {
    color: #ddd;
    cursor: pointer;
    transition: color 0.2s;
    font-size: 1.2em;
}
.bp-rating-stars input[type="radio"]:checked ~ label,
.bp-rating-stars label:hover,
.bp-rating-stars label:hover ~ label {
    color: #ffc107;
}

/* === REVIEW ITEM === */
.bp-review-item {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 16px;
    position: relative;
}
.bp-rating {
    margin-bottom: 8px;
}
.bp-review-name {
    display: block;
    margin-bottom: 4px;
    font-weight: 600;
}

/* === ADMIN REPLY === */
.bp-reply-item {
    background: #f0f8ff;
    border-left: 4px solid #007cba;
    padding: 12px;
    margin-bottom: 1px;
    border-radius: 0 6px 6px 0;
    font-size: 0.95em;
}
.bp-reply-name {
    font-weight: 600;
    color: #007cba;
}

/* === PAGINATION — KHUSUS UNTUK DISPLAY WIDGET === */
.bp-reviews-container .bp-pagination {
    margin: 30px 0 10px !important;
    text-align: center;
    clear: both;
    display: block !important;
    font-size: 14px;
}
.bp-reviews-container .bp-pagination a {
    display: inline-block !important;
    min-width: 40px;
    height: 40px;
    line-height: 38px;
    margin: 0 6px;
    padding: 0 !important;
    border: 2px solid #ddd;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    background: #fff;
    color: #333;
    transition: all 0.2s;
}
.bp-reviews-container .bp-pagination a:hover,
.bp-reviews-container .bp-pagination a.current {
    background: #007cba;
    color: #fff;
    border-color: #007cba;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .bp-review-layout-grid .bp-review-list {
        grid-template-columns: 1fr;
    }
    .bp-review-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Rating Stars - Form */
.bp-rating-stars {
    display: inline-flex;
    flex-direction: row-reverse;
    gap: 5px;
    font-size: 24px;
    line-height: 1;
}
.bp-rating-stars input[type="radio"] {
    display: none;
}
.bp-rating-stars label {
    cursor: pointer;
    transition: color 0.2s;
    color: #ddd;
}
.bp-rating-stars input[type="radio"]:checked ~ label,
.bp-rating-stars label:hover,
.bp-rating-stars label:hover ~ label {
    color: #ffc107 !important;
}

/* Message */
.bp-review-message {
    padding: 12px;
    border-radius: 6px;
    border: 1px solid;
    margin-top: 15px;
}
.bp-review-message.success {
    background: #d4edda;
    color: #155724;
    border-color: #c3e6cb;
}
.bp-review-message.error {
    background: #f8d7da;
    color: #721c24;
    border-color: #f5c6cb;
}

/* === LOCATION STYLE === */
.bp-review-location {
    font-style: italic;
    margin-bottom: 8px;
}