@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
body {
    padding: 0;
    margin: 0;
    width: 100%;
    overflow-x: hidden;
    background-color: transparent !important;
    font-family: "Roboto", sans-serif;
}

a {
    text-decoration: none;
}

.btn.btn-primary {
    background-color: rgb(var(--primary_color));
    border-color: rgb(var(--primary_color));
}

.btn.btn-primary:active,
.btn.btn-primary:focus,
.btn.btn-primary:hover {
    background-color: rgb(var(--primary_color));
    border-color: rgb(var(--primary_color));
    color: #fff;
}

.widget {
    width: 100%;
    max-width: 320px;
    border-radius: 8px;
    background: #fff;
    border: 1px solid rgb(var(--border_color));
    box-sizing: border-box;
}

.widget-average {
    font-size: 14px;
    color: rgb(var(--text_color));
}

.widget-rating {
    color: rgb(var(--star_fill_color));
    margin-left: .3rem;
}

[dir=rtl] .widget-rating {
    margin-left: 0;
    margin-right: .3rem;
}

.widget-reviews-link {
    color: rgb(var(--text_color));
    text-decoration: none;
    font-weight: bold;
    cursor: pointer;
}

.widget-reviews-link:hover {
    text-decoration: underline;
}

.widget-v1 {
    text-align: center;
    max-width: 300px;
}

.widget-v1-logo {
    height: 30px;
    margin-bottom: 12px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.widget-v1-rating-image {
    height: 50px;
    margin-bottom: 8px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.widget-v2-logo {
    height: 30px;
    margin-right: 10px;
}

[dir=rtl] .widget-v2-logo {
    margin-right: 0;
    margin-left: 10px;
}

.widget-v2-title {
    font-size: 16px;
    font-weight: bold;
    color: rgb(var(--text_color));
}

.widget-v2-rating-img {
    height: 20px;
}

.widget-v2-rating {
    font-size: 14px;
    color: #333;
}

.widget-v2-link {
    font-size: 14px;
    color: rgb(var(--primary_color));
    text-decoration: none;
}

.widget-v2-link:hover {
    text-decoration: underline;
}

.widget-v3-logo {
    height: 30px;
    object-fit: contain;
    max-width: 100%;
}

.widget-v3-rating-img {
    height: 20px;
    object-fit: contain;
    max-width: 100%;
}

.widget-v3-title {
    font-weight: bold;
    font-size: 16px;
    word-wrap: break-word;
}

.widget-v3-reviews {
    font-size: 14px;
    word-wrap: break-word;
}

.widget-v3-star-label {
    width: 40px;
    font-size: 12px;
    color: rgb(var(--text_color));
}

.widget-v3-progress-bg {
    height: 8px;
    background: rgb(var(--star_color));
    border-radius: 4px;
    overflow: hidden;
}

.widget-v3-progress-bar {
    background-color: rgb(var(--primary_color));
    border-radius: 4px;
}

.widget-v3-star-count {
    font-size: 12px;
    color: rgb(var(--text_muted_color));
}

.widget-v3-link {
    font-size: 13px;
    font-weight: 500;
    color: rgb(var(--primary_color));
    text-decoration: none;
}

.widget-v3-link:hover {
    text-decoration: underline;
}

.widget-v4-logo {
    height: 35px;
    margin-right: 10px;
}

[dir=rtl] .widget-v4-logo {
    margin-right: 0;
    margin-left: 10px;
}

.widget-v4-title {
    font-size: 18px;
    font-weight: bold;
    color: rgb(var(--text_color));
}

.widget-v4-rating-img {
    height: 35px;
}

.widget-v4-link {
    width: 100%;
    padding: 10px 0;
    border-radius: 4px;
    text-align: center;
}

.widget-v5 {
    max-width: 1600px;
    background-color: var(--widget-v5-frame-color, #fff);
    border: 1px solid var(--widget-v5-frame-color, rgb(var(--border_color))) !important;
}

.widget-v5-layout {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 14px;
    align-items: stretch;
}

.widget-v5-left {
    border-right: 1px solid rgb(var(--border_color, 222, 226, 230));
    padding-right: 14px;
    display: flex;
    align-items: center;
}

[dir=rtl] .widget-v5-left {
    border-right: 0;
    border-left: 1px solid rgb(var(--border_color, 222, 226, 230));
    padding-right: 0;
    padding-left: 14px;
}

.widget-v5-summary {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: #fff;
    border-radius: 8px;
}

.widget-v5-right {
    min-width: 0;
    display: flex;
}

.widget-v5-reviews {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
    height: 100%;
}

.widget-v5-review {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 12px;
    border: 1px solid var(--widget-v5-review-card-border-color, rgb(var(--border_color, 222, 226, 230)));
    border-radius: 8px;
    background-color: var(--widget-v5-review-card-color, #fff);
    min-width: 0;
}

.widget-v5-reviewer {
    font-size: 13px;
    font-weight: 700;
    color: var(--widget-v5-reviewer-color, rgb(var(--text_color, 33, 37, 41)));
}

.widget-v5-date {
    font-size: 12px;
    color: rgb(var(--text_muted_color, 108, 117, 125));
    white-space: nowrap;
}

.widget-v5-review-rating {
    height: 18px;
    width: auto;
    max-width: 100%;
}

.widget-v5-body {
    font-size: 13px;
    line-height: 1.45;
    color: var(--widget-v5-review-text-color, rgb(var(--text_color, 33, 37, 41)));
    display: -webkit-box;
    -webkit-line-clamp: 7;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.widget-v5-empty {
    color: var(--widget-v5-review-text-color, rgb(var(--text_muted_color, 108, 117, 125)));
    font-size: 13px;
}

.widget-v5-more-wrap {
    text-align: right;
}

[dir=rtl] .widget-v5-more-wrap {
    text-align: left;
}

.widget-v5-more {
    display: inline-flex;
    font-size: 13px;
    font-weight: 600;
    color: rgb(var(--primary_color, 251, 175, 0));
}

.widget-v5-more:hover {
    text-decoration: underline;
}

@media (max-width: 575.98px) {
    .widget-v5-layout {
        grid-template-columns: 1fr;
    }

    .widget-v5-left {
        border-right: 0;
        padding-right: 0;
        border-bottom: 1px solid rgb(var(--border_color, 222, 226, 230));
        padding-bottom: 12px;
    }

    [dir=rtl] .widget-v5-left {
        border-left: 0;
        padding-left: 0;
    }

    .widget-v5-reviews {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        overflow-x: visible;
        padding-bottom: 0;
    }

    .widget-v5-review-rating {
        height: 16px;
    }
}
