/* סגנון כללי לגריד */
#notary-reviews-box {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
    align-items: flex-start;
}

/* כל בלוק של המלצה */
.review-block {
    width: 30%;
    min-width: 280px;
    background: #f5f5f5;
    border: 1px solid #ccc;
    padding: 15px;
    box-sizing: border-box;
    border-radius: 6px;
}

/* שדות בתוך ההמלצה */
.review-block label {
    display: block;
    font-weight: bold;
    margin-bottom: 8px;
    font-size: 13px;
}

.review-block input,
.review-block textarea {
    width: 100%;
    padding: 6px 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
    margin-bottom: 10px;
    font-size: 13px;
}

/* כפתור מחיקה */
.review-block .remove-review {
    background-color: #e74c3c;
    color: #fff;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
}

.review-block .remove-review:hover {
    background-color: #c0392b;
}

/* כפתור הוספה */
#add-review-placeholder {
    width: 30%;
    min-width: 280px;
    height: 200px;
    background: #e1e1e1;
    border: 2px dashed #999;
    border-radius: 6px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 40px;
    color: #333;
    cursor: pointer;
    transition: background 0.2s;
}

#add-review-placeholder:hover {
    background: #d4d4d4;
}

/* כשלא ניתן להוסיף יותר */
#add-review-placeholder.disabled {
    opacity: 0.5;
    pointer-events: none;
    cursor: default;
}

/* מובייל - שורה אחת */
@media (max-width: 768px) {
    #notary-reviews-box {
        flex-direction: column;
    }

    .review-block,
    #add-review-placeholder {
        width: 100%;
    }
}