.tagged-reviews-filters {
    margin-bottom: 2em;
    padding: 1em;
    background: #f5f5f5;
    border-radius: 4px;
}

.filter-group {
    margin-bottom: 1em;
}

.filter-group label {
    display: block;
    margin-bottom: 0.5em;
    font-weight: bold;
}

.checkbox-label {
    display: inline-block;
    margin-right: 1em;
}

.review-item {
    margin-bottom: 2em;
    margin-right: 1em;
    padding: 1em;
    border: 1px solid #ddd;
    border-radius: 16px;
    width: calc(49% - .5em);
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    align-content: stretch;
    align-items: stretch;
    justify-content: flex-start;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1em;
}

.review-author {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.review-author img {
    width: 60px;
    height: 60px;
    /*border-radius: 50%;*/
    margin-right: 1em;
}

.review-rating {
    color: #f8c41b;
}

.review-date {
    font-size: 0.8em;
    color: #6c757d;
}

.review-meta{
    line-height: 100%;
}

.review-images {
    margin: 1em 0;
    display: flex;
    gap: 1em;
    flex-wrap: wrap;
}

.review-images img {
    max-width: 100px;
    height: auto;
    border-radius: 4px;
}

.review-tags {
    margin-top: 1em;
}

.tag {
    display: inline-block;
    padding: 0.2em 0.6em;
    background: #eee;
    border-radius: 3px;
    margin-right: 0.5em;
    font-size: 0.9em;
}

.tagged-reviews-pagination {
    margin-top: 2em;
    text-align: center;
}


.tagged-reviews-filters {
    margin-bottom: 2em;
    padding: 1.5em;
    background: #f8f9fa;
    border-radius: 8px;
}

.filter-group {
    margin-bottom: 1.5em;
}

.filter-group:last-child {
    margin-bottom: 0;
}

.filter-group label {
    display: block;
    margin-bottom: 0.5em;
    font-weight: 600;
    color: #495057;
}

.select2-container {
    width: 100% !important;
}

.tag-option {
    display: flex;
    align-items: center;
}

.tag-group {
    font-size: 0.8em;
    color: #6c757d;
    margin-right: 0.5em;
    padding: 0.2em 0.5em;
    background: #e9ecef;
    border-radius: 3px;
}

.tagged-reviews-list {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
}

.tagged-reviews-list.loading {
    opacity: 0.6;
    pointer-events: none;
}

.tagged-reviews-filters {
    margin-bottom: 2em;
}

.tagged-reviews-filter-form .filter-group {
    margin-bottom: 1em;
}

.tagged-reviews-filter-form label {
    display: block;
    margin-bottom: 0.5em;
    font-weight: bold;
}

.tagged-reviews-filter-form .form-select {
    width: 100%;
    max-width: 300px;
}

.tagged-reviews-filter-form .select2-container {
    margin-bottom: 1em;
}

.review-tags .tag,
.review-tags .post-tag {
    display: inline-block;
    padding: 2px 8px;
    margin: 2px;
    border-radius: 3px;
    font-size: 0.9em;
}

.review-tags .tag {
    background: #e9ecef;
}

.review-tags .post-tag {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
}

.post-type-group {
    margin-top: 0.5em;
}

.post-type-group strong {
    margin-right: 0.5em;
}

.tagged-reviews-filters {
    margin-bottom: 2em;
}

.tagged-reviews-filters .filter-group {
    margin-bottom: 1em;
}

.tagged-reviews-filters label {
    display: block;
    margin-bottom: 0.5em;
    font-weight: bold;
}

.tagged-reviews-filters .form-select {
    width: 100%;
    max-width: 300px;
}

.tagged-reviews-filters .button {
    margin-right: 0.5em;
}

.select2-container {
    margin-bottom: 0.5em;
}

.sorting-options {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.filter-rating, .sort-field, .sort-direction {
    flex: 1;
}

.review-tags {
    margin-top: 1rem;
    padding-top: 0.5rem;
    border-top: 1px solid #eee;
}

.tags-label {
    font-weight: bold;
    margin-right: 0.5rem;
}

.tag {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    margin: 0.25rem;
    background-color: #f0f0f0;
    border-radius: 3px;
    font-size: 0.9em;
}

.review-date {
    color: #666;
    font-size: 0.9em;
    margin-top: 0.25rem;
}

.select2-search__field {
    font-size: 0.8em;
    line-height: 1;
}
.select2-selection__choice{
    line-height:125%;
}