/* Badge Styling */
.amgr-google-reviews-badge {
    display: block;
    width:fit-content;
    align-items: center;
    padding: 8px 12px;
    border: 1px solid rgba(0,0,0,0.2);
    border-radius: 4px;
    background-color: #ffffff;
    text-align:center;
    margin: 0 auto;
}

.amgr-google-reviews-badge .amgr-badge-rating {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--wp--preset--color--typography);
    margin-right: 5px;
}

.amgr-google-reviews-badge .amgr-stars {
    margin-right: 2px;
    line-height: 1;
}

.amgr-google-reviews-badge .amgr-badge-total {
    font-size: 0.9rem;
    color:var(--wp--preset--color--typography);
    margin: 0 auto;
}

.amgr-google-reviews-badge a:hover {
    text-decoration: underline;
}

.amgr-stars .amgr-star {
    font-size: 1rem;
    margin:0;
}

.amgr-stars .amgr-star-full {
    color: #A05200; 
}

.amgr-stars .amgr-star-empty {
    color: #767676;
}

/* Listen-Styling */
.amgr-google-reviews-list {
    color: var(--wp--preset--color--typography);
}

.amgr-google-reviews-list .amgr-review-item {
    border: 1px solid rgba(0,0,0,0.2)
    border-radius: 4px;
    padding: 15px;
    margin-bottom: 20px;
    background-color: #fff;
}

.amgr-google-reviews-list .amgr-review-item:last-child {
    margin-bottom: 0;
}

.amgr-google-reviews-list .amgr-review-header {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.amgr-google-reviews-list .amgr-review-author-photo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
    object-fit: cover;
}

.amgr-google-reviews-list .amgr-review-author-details {
    display: flex;
    flex-direction: column;
}

.amgr-google-reviews-list .amgr-review-author-name {
    font-weight: bold;
    color: var(--wp--preset--color--typography);
}

.amgr-google-reviews-list .amgr-review-rating {
    margin-bottom: 10px;
}

.amgr-google-reviews-list .amgr-review-text {
    font-size: 1rem;
    line-height: 1.5;
    color: var(--wp--preset--color--typography);
}

.amgr-google-reviews-list .amgr-reviews-summary {
    margin: 1.2rem auto;
    font-size: 0.9rem;
    color: var(--wp--preset--color--typography);
    text-align: center;
}
.amgr-google-reviews-list a.wp-element-button {
    width: fit-content;
}