/* ==========================================================================
   Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; }
body {
    background: #101014;
    color: #e9ecf2;
    font-family: 'Montserrat', system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
::selection { background: rgba(201, 38, 242, .35); }
a { text-decoration: none; }
button { font-family: inherit; cursor: pointer; outline: none;}
button:focus, button:focus-visible { outline: none;}


/* ==========================================================================
   Reviews page
   ========================================================================== */
.rv-page {
    min-height: 100vh;
    background:
            radial-gradient(1200px 700px at 80% -8%, rgba(201, 38, 242, .12), transparent 58%),
            radial-gradient(900px 600px at -8% 22%, rgba(201, 38, 242, .06), transparent 55%),
            #101014;
}
.rv-wrap { max-width: 1320px; margin: 0 auto; padding: 0 28px 90px; }

.rv-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 12.5px;
    padding: 22px 0 0;
    flex-wrap: wrap;
}
.rv-breadcrumbs a { color: #8b93a3; }
.rv-breadcrumbs a:hover { color: #c926f2; }
.rv-breadcrumbs span { color: #4a525f; }
.rv-breadcrumbs__current { color: #aeb6c4 !important; font-weight: 600; }

.rv-hero {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
    padding: 0 0 30px;
}
.rv-pagehead h1 {
    margin: 0;
    font-weight: 700;
    font-size: 34px;
    letter-spacing: -.02em;
    color: #fff;
}
.rv-pagehead p {
    margin: 10px 0 0;
    font-size: 14.5px;
    color: #8b93a3;
    max-width: 560px;
    line-height: 1.5;
}
.rv-avgbox {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 18px 24px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, .08);
    background: rgba(20, 20, 26, .6);
    flex-shrink: 0;
}
.rv-avgbox.slider {background: transparent; border: none; padding: 0;}
.rv-avgbox.slider .rv-avgbox__num {
    font-weight: 800;
    font-size: 24px;
    color: rgb(255, 255, 255);
    line-height: 1;
}
.rv-avgbox__num { font-weight: 800; font-size: 46px; color: #fff; line-height: 1; }
.rv-stars { display: flex; gap: 3px; }
.rv-avgbox__caption { font-size: 12.5px; color: #8b93a3; margin-top: 6px; }

.rv-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 26px;
}
.rv-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.rv-filter {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 9px 15px;
    border-radius: 11px;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    transition: all .15s;
    border: 1px solid rgba(255, 255, 255, .08);
    background: #15151b;
    color: #aeb6c4;
}
.rv-filter span { opacity: .6; font-weight: 600; }
.rv-filter.is-active { border-color: transparent; background: #c926f2; color: #fff; }

.rv-cta {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 13px 22px;
    border-radius: 13px;
    background: #c926f2;
    color: #fff;
    border: none;
    font-weight: 800;
    font-size: 14px;
    white-space: nowrap;
    box-shadow: 0 12px 30px -12px rgba(201, 38, 242, .7);
}
.rv-cta:hover { background: #9145ff; }

/* Form */
.rv-form {
    margin-bottom: 28px;
    border-radius: 18px;
    border: 1px solid rgba(201, 38, 242, .3);
    background: linear-gradient(180deg, rgba(201, 38, 242, .08), rgba(14, 14, 18, .6));
    padding: 24px;
}
.rv-form__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
    font-weight: 700;
    font-size: 17px;
    color: #fff;
}
.rv-form__close {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    border: 1px solid rgba(255, 255, 255, .1);
    background: none;
    color: #9aa3b2;
    display: flex;
    align-items: center;
    justify-content: center;
}
.rv-form__close:hover { color: #fff; border-color: rgba(255, 255, 255, .25); }

.rv-form__rating { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.rv-form__rating > span { font-size: 13px; color: #9aa3b2; }
.rv-form__stars { display: flex; gap: 4px; }
.rv-star-btn { background: none; border: none; padding: 2px; line-height: 0; }

.rv-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.rv-form input[type="text"],
.rv-form select,
.rv-form textarea {
    width: 100%;
    padding: 0 16px;
    border-radius: 11px;
    border: 1px solid rgba(255, 255, 255, .1);
    background: #15151b;
    color: #e9ecf2;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    outline: none;
}
.rv-form input::placeholder, .rv-form textarea::placeholder {
    color: rgb(117 117 117);
}
.rv-form input[type="text"],
.rv-form select { height: 46px; }
.rv-form select { cursor: pointer; padding: 0 14px; }
.rv-form input:focus,
.rv-form select:focus,
.rv-form textarea:focus { border-color: #c926f2; }
.rv-form input#rv-detail { margin-bottom: 12px; }
.rv-form textarea {
    min-height: 96px;
    resize: vertical;
    padding: 13px 16px;
    line-height: 1.5;
}
.rv-form__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 16px;
    flex-wrap: wrap;
}
.rv-form__footer span { font-size: 12px; color: #6b7383; }
.rv-submit {
    padding: 13px 24px;
    border-radius: 12px;
    border: none;
    font-weight: 800;
    font-size: 14px;
    background: #c926f2;
    color: #fff;
}
.rv-submit:disabled { cursor: not-allowed; background: #2a2630; color: #6b6475; }

/* Cards grid */
.rv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 16px;
}
.rv-card {
    display: flex;
    flex-direction: column;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, .08);
    background: #14141a;
    padding: 22px;
    transition: border-color .16s ease, transform .16s ease;
}
.rv-card:hover { border-color: rgba(201, 38, 242, .4); transform: translateY(-3px); }

.rv-card__top { display: flex; align-items: center; gap: 12px; }
.rv-card__avatar {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 15px;
    color: #fff;
}
.rv-card__who { min-width: 0; flex: 1; }
.rv-card__name {
    font-weight: 700;
    font-size: 14.5px;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.rv-card__date { font-size: 12px; color: #6b7383; margin-top: 2px; }
.rv-card__stars { display: flex; gap: 2px; flex-shrink: 0; }

.rv-card__text { margin: 16px 0 0; font-size: 13.5px; line-height: 1.6; color: #c4ccda; flex: 1; }
.rv-card__detail { margin-top: 14px; font-size: 12.5px; color: #8b93a3; }
.rv-card__detail span { color: #e9ecf2; font-weight: 700; }

.rv-card__bottom {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, .06);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
.rv-card__tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 11px;
    border-radius: 8px;
    background: rgba(201, 38, 242, .12);
    color: #d98cf5;
    font-size: 11.5px;
    font-weight: 700;
}
.rv-card__amount { font-weight: 700; font-size: 14px; color: #fff; white-space: nowrap; }

.rv-empty {
    padding: 64px 24px;
    text-align: center;
    color: #8b93a3;
    border: 1px dashed rgba(255, 255, 255, .1);
    border-radius: 16px;
}
.rv-empty__title { font-weight: 700; font-size: 18px; color: #fff; }
.rv-empty p { margin: 8px 0 0; font-size: 14px; }

.rv-loadmore { display: flex; justify-content: center; margin-top: 30px; }
.rv-loadmore button {
    padding: 13px 30px;
    border-radius: 12px;
    border: 1px solid rgba(201, 38, 242, .35);
    background: rgba(201, 38, 242, .1);
    color: #d98cf5;
    font-weight: 700;
    font-size: 14px;
}
.rv-loadmore button:hover { border-color: #c926f2; background: #c926f2; color: #fff; }
.uk-modal-dialog{
    background-color: #000000;
    color: #ffffff;
    font-size: 14.4px;
    width: 650px;
    margin-top: 100px;
}
.uk-modal-title{
    color: #ffffff;
}
.uk-modal-dialog .btn-success{
    border: 1px solid transparent;
}
.uk-modal-dialog .uk-modal-close{
    color: #ffffff;
}
.uk-modal-close:focus, .uk-modal-close:focus-visible{
    outline: none;
}
.pum-theme-redisign{
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background-color: rgba(0, 0, 0, 0.10) !important;
}

/* ==========================================================================
   Slider
   ========================================================================== */
.reviews-slider-wrap {padding-top: 31px;}
.reviews-slider-wrap .swiper-wrapper {
    padding-top: 5px;
}
.reviews-slider-wrap .swiper-slide {max-width: 360px;}
.reviews-slider-wrap .rv-card {height: 100%; max-width: 360px;}
.rv-avgbox.slider{margin-top: 24px;}
.rv-arrows {display: flex; align-items: center; justify-content: flex-end; gap: 10px; margin-top: 18px;}
.reviews-prev, .reviews-next{width: 42px; height: 42px; border-radius: 11px; border: 1px solid rgba(255, 255, 255, 0.1); background: rgb(21, 21, 27); color: rgb(196, 204, 218); cursor: pointer; display: flex; align-items: center; justify-content: center;}
.reviews-slider-wrap .swiper-slide{height: auto;}
.reviews-slider-wrap { position: relative;}
/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 980px) {
}
@media (max-width: 880px) {
    .rv-wrap { padding-left: 16px; padding-right: 16px; padding-bottom: 60px; }
    .rv-pagehead h1 { font-size: 28px; }
    .rv-hero { flex-direction: column; align-items: flex-start; gap: 22px; }
}
@media (max-width: 640px) {
    .rv-form__grid { grid-template-columns: 1fr; }
    .rv-arrows {display: none;}
}
@media (max-width: 560px) {
    .rv-grid { grid-template-columns: 1fr; }
}
