
.customer-review-item .star-rating {
    position: absolute;
    top: -8px;
    right: 5px;
    padding: 2px 5px;
    background: white;
    border: 1px solid #ccc;
    border-radius: 18px;
    display: flex;
    align-items: center;
}
.manual-review-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.customer-review-item a {
    font-weight: 500;
}
.modal.add-review-modal p {
    margin: 0;
    text-indent: 1em;
    font-size: 0.7em;
}
.matched-customers{
    width: 100%;
}
.add-review-modal .matched-providers,
.add-review-modal .matched-customers {
    flex-direction: column;
    align-items: start;
}

.matched-customers {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    gap: 5px;
    box-sizing: border-box;
    align-items: center;
    justify-content: space-between;
}
.matched-providers{
    display: flex;
    font-size: 0.8em;
    align-self: start;
    align-items: center;
    gap: 10px;
}
.matched-customers{
        grid-template-columns: auto 30%;
}
.system-attached-images img {
    height: 50px;
    border-radius: var(--block-border);
    cursor: pointer;
}
.star-rating-input svg {
    width: 30px;
    cursor: pointer;
}
.row.solved {
    width: fit-content;
    justify-self: end;
    border: none!important;
    color: var(--confirm-color);
}
.primary-icon.solved path{
    fill: var(--confirm-color);
    stroke:var(--confirm-color); 
}
.star-rating-input {
    width: fit-content;
}

.add-review-modal .column {
    gap: 3px;
}
.system-attached-images {
    display: flex;
    gap: 0.5rem;
}
.review-action-row {
    display: flex;
    gap: 10px;
    align-self: end;
}
.customer-review-item .column .label-small {
    margin-left: 5px;
    margin-bottom: 3px;
}

.system-unresolved-wrapper {
    padding: 20px;
    border-bottom: 1px solid #ccc;
    border-top: 1px solid #ccc;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: #f9c8c88c;
}
.customer-review-item.unresolved .star-rating {
    border-color: var(--cancel-color);
}
.delete-matched-provider-btn,
.delete-matched-customer-btn {
    position: absolute;
    align-items: center;
    justify-content: center;
    padding: 0;
    right: -6px;
    top: -6px;
    width: 13px;
    height: 13px;
    font-size: 10px;
    color: var(--inactive-color);
    border: 1px solid var(--inactive-color);
    border-radius: 50%;
    background: white;
    flex-shrink: 0;
}
.delete-matched-provider-btn,
.delete-matched-customer-btn{
    display:none;
}
.review-provider-item:hover .delete-matched-provider-btn,
.review-customer-item:hover .delete-matched-customer-btn {
    display: flex;
}
.delete-matched-provider-btn:hover,
.delete-matched-customer-btn:hover {
    color: white;
    background: var(--inactive-color);
}
.link-button.add-matched-review-provider-btn,
.link-button.add-matched-review-cutomer-btn {
    white-space: nowrap;
}
.link-button.add-matched-review-provider-btn{
    width: fit-content;
    height: 32px;
    justify-self: end;
    align-self: end;
}
/*.customer-review-item .row {
    padding-top: 0.5rem;
    justify-content: space-between;
    padding:0;
}*/
.review-answer {
    display: flex;
    flex-direction: column;
    border-top: 1px solid #ccc;
    background: var(--menu-bar-color);
    border: 1px solid #ccc;
    border-radius: var(--block-border);
    padding: 5px;
    gap: 10px;
}
.post-reply-btn {
    width: fit-content;
    align-self: end;
}
.customer-review-item .customer-review p {
    display: flex;
}

@media (max-width:768px) {
    .reviews-actions-section {
        grid-template-columns: 1fr 1fr;
    }
}
.review-answer p{
    text-indent: 2em;
    margin: 0;
    font-size:0.8em;
}
.customer-review-item .primary-icon.tooltip svg {
    width: 20px;
    height: 20px;
}
.service-info.column .row {
    width: fit-content;
    align-items: end;
}
.service-info.column .label-small {
    margin-left: 0;
}
.answered-by {
    align-self: end;
    width: fit-content;
    display: flex;
    font-size: 0.6em;
}

.not-matched.tooltip-hover {
    background: var(--cancel-color);
    color: white;
    border-color: var(--cancel-color);
}
.verified-review .not-matched.tooltip-hover {
    display: none;
}
.review-provider-item span {
    display: flex;
    align-items: center;
}
.other-text-container {
    display: flex;
    gap: 10px;
}
.review-answer-row {
    display: flex;
    align-items: center;
    gap: 0.5em;
    padding: 5px;
    border: 1px solid;
    border-radius: var(--block-border);
    width: fit-content;
    color: var(--cancel-color);
}
.other-text-container input {
    width: 400px;
}
span.review-provider-item-span {
    gap: 5px;
}
.verify-review-btn {
    text-decoration: none;
    color: white;
    background: var(--confirm-color);
    white-space: nowrap;
    justify-self: end;
}
.verify-review-btn:hover {
    background: var(--confirm-hover-color);
}



@media (max-width:768px) {
    .reviews-page .page-header h1 {
        margin: 5px;
    }
    .reviews-page .page-section {
        padding: 20px 10px;
        margin: 75px 3px 5px 3px;
    }
    .reviews-page .page-header {
        padding: 0 10px 10px 10px;
        margin: 0;
    }
    .search-bar {
        border-radius: 18px;
    }
    
}