.reviews-page {
    padding: 40px 0;
}
.reviews-open-popup {
    border: 0;
    padding: 14px 30px;
    cursor: pointer;
    color: #fff;
    background: linear-gradient(135deg, #00e6d2 0%, #00b8f4 45%, #7457e8 100%);
    box-shadow: 0 12px 30px rgba(40, 170, 240, 0.24);
    border-radius: 12px;
}
.reviews-open-popup:hover {
    opacity: 0.8;
}
.review-item {
    background: #1c1c1c;
    padding: 25px;
    margin-bottom: 15px;
    border-radius: 12px;
}
.review-head {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}
.review-head span {
    color: #00d9d2;
}
.review-stars {
    color: #ffc400;
    margin-bottom: 15px;
}
.reviews-popup {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .7);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}
.reviews-popup.active {
    display: flex;
}
.reviews-popup__box {
    background: #202020;
    padding: 35px;
    border-radius: 20px;
    width: 420px;
    position: relative;
}
.reviews-close {
    position: absolute;
    right: 15px;
    top: 15px;
    background: none;
    border: 0;
    color: #fff;
    cursor: pointer;
}
.reviews-form input,
.reviews-form textarea {
    width: 100%;
    background: #111;
    border: 1px solid #444;
    color: #fff;
    padding: 12px;
    margin-bottom: 15px;
}
.reviews-form textarea {
    height: 120px;
}
.rating {
    display: flex;
    gap: 5px;
    margin: 15px 0;
}
.rating-star {
    font-size: 34px;
    cursor: pointer;
    color: #777;
    transition: .2s;
}
.rating-star.active,
.rating-star.hover {
    color: #00cfff;
}
.rating input:checked + * {
    color: #ffc400;
}
.reviews-success {
    display: none;
    font-size: 18px;
    text-align: center;
}
.reviews-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 13px 28px;
    border: 0;
    border-radius: 12px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    color: #fff;
    background: linear-gradient(
        135deg,
        #00e6d2 0%,
        #00b8f4 45%,
        #7457e8 100%
    );
    box-shadow: 0 12px 30px rgba(0, 184, 244, .25);
    transition: transform .25s ease,
    box-shadow .25s ease,
    opacity .25s ease;
}
.reviews-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 35px rgba(0, 184, 244, .35);
}
.reviews-submit:active {
    transform: translateY(0);
}
.reviews-submit:disabled {
    opacity: .6;
    cursor: not-allowed;
}
.review-stars {
    display: flex;
    gap: 3px;
    margin: 10px 0;
}
.review-stars {
    color: #00d9d2;
    font-size: 22px;
    line-height: 1;
}
.review-stars span {
    color: #00d9d2;
}
.review-stars {
    display: flex;
    gap: 4px;
    margin: 12px 0;
}
.review-stars span {
    font-size: 22px;
    color: #555;
}
.review-stars span.active {
    color: #00d9d2;
}

.reviews-pagination {
    margin-top: 36px;
}

.reviews-pagination ul.page-numbers {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.reviews-pagination ul.page-numbers li {
    margin: 0;
    padding: 0;
}

.reviews-pagination a.page-numbers,
.reviews-pagination span.page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 12px;
    border: 1px solid #3d3d3d;
    border-radius: 10px;
    color: #fff;
    background: #1c1c1c;
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    transition: border-color .2s ease,
    background .2s ease,
    color .2s ease,
    transform .2s ease;
}

.reviews-pagination a.page-numbers:hover,
.reviews-pagination a.page-numbers:focus-visible {
    border-color: #00d9d2;
    color: #00d9d2;
    transform: translateY(-2px);
    outline: none;
}

.reviews-pagination span.page-numbers.current {
    border-color: transparent;
    color: #fff;
    background: linear-gradient(135deg, #00e6d2 0%, #00b8f4 45%, #7457e8 100%);
    box-shadow: 0 8px 22px rgba(0, 184, 244, .25);
}

.reviews-pagination span.page-numbers.dots {
    min-width: 28px;
    padding: 0;
    border-color: transparent;
    background: transparent;
}

.reviews-pagination .prev.page-numbers,
.reviews-pagination .next.page-numbers {
    font-size: 20px;
}

@media (max-width: 575px) {
    .reviews-pagination {
        margin-top: 28px;
    }

    .reviews-pagination ul.page-numbers {
        gap: 6px;
    }

    .reviews-pagination a.page-numbers,
    .reviews-pagination span.page-numbers {
        min-width: 38px;
        height: 38px;
        padding: 0 9px;
        border-radius: 9px;
        font-size: 14px;
    }
}
