#comments.rvxpc-shell{
    --rvxpc-primary:#2015a5;
    --rvxpc-primary-dark:#170f82;
    --rvxpc-primary-soft:#f1efff;
    --rvxpc-text:#111827;
    --rvxpc-muted:#64748b;
    --rvxpc-line:#e4e7ef;
    --rvxpc-card:#fff;
    display:block;
    width:100%;
    color:var(--rvxpc-text);
    font-family:inherit;
    direction:rtl;
}
#comments.rvxpc-shell *,
#comments.rvxpc-shell *::before,
#comments.rvxpc-shell *::after{
    box-sizing:border-box;
}
#comments.rvxpc-shell button,
#comments.rvxpc-shell input,
#comments.rvxpc-shell textarea{
    font:inherit;
}
#comments.rvxpc-shell button{
    cursor:pointer;
}
.rvxpc-overview,
.rvxpc-comments-region,
.rvxpc-form-card,
.rvxpc-closed-note{
    border:1px solid var(--rvxpc-line);
    border-radius:18px;
    background:var(--rvxpc-card);
    box-shadow:0 12px 34px rgba(15,23,42,.055);
}
.rvxpc-overview{
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    align-items:center;
    gap:18px;
    padding:18px;
    background:linear-gradient(135deg,#fff 0%,#fbfaff 100%);
}
.rvxpc-overview__eyebrow,
.rvxpc-section-heading__eyebrow,
.rvxpc-form-card__eyebrow{
    display:block;
    margin-bottom:5px;
    color:var(--rvxpc-primary);
    font-size:11px;
    font-weight:950;
}
.rvxpc-overview__title,
.rvxpc-section-heading h3,
.rvxpc-form-card h3{
    margin:0;
    color:var(--rvxpc-text);
    font-size:20px;
    font-weight:950;
    line-height:1.7;
}
.rvxpc-overview__text,
.rvxpc-form-card__intro p{
    margin:5px 0 0;
    color:var(--rvxpc-muted);
    font-size:12px;
    line-height:2;
}
.rvxpc-overview__side{
    display:flex;
    align-items:stretch;
    gap:9px;
}
.rvxpc-overview__count{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    min-width:108px;
    padding:9px 12px;
    border:1px solid rgba(32,21,165,.1);
    border-radius:14px;
    background:#fff;
}
.rvxpc-overview__count strong{
    color:var(--rvxpc-primary);
    font-size:24px;
    font-weight:950;
    line-height:1;
}
.rvxpc-overview__count span{
    margin-top:5px;
    color:var(--rvxpc-muted);
    font-size:10px;
    font-weight:800;
}
.rvxpc-primary-button,
.rvxpc-submit{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:7px;
    min-height:46px;
    padding:10px 15px;
    border:0;
    border-radius:12px;
    background:var(--rvxpc-primary) !important;
    color:#fff !important;
    font-size:13px;
    font-weight:950;
    line-height:1.4;
    box-shadow:0 9px 20px rgba(32,21,165,.18);
    transition:background-color .18s ease,transform .18s ease,box-shadow .18s ease;
}
.rvxpc-primary-button:hover,
.rvxpc-submit:hover{
    background:var(--rvxpc-primary-dark) !important;
    transform:translateY(-1px);
    box-shadow:0 11px 23px rgba(32,21,165,.22);
}
.rvxpc-primary-button svg{
    width:18px;
    height:18px;
}
.rvxpc-comments-region{
    position:relative;
    margin-top:15px;
    padding:18px;
}
.rvxpc-section-heading{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    margin-bottom:14px;
}
.rvxpc-section-heading h3{
    font-size:18px;
}
.rvxpc-section-heading__counter{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:33px;
    height:33px;
    padding:0 8px;
    border:1px solid rgba(32,21,165,.12);
    border-radius:999px;
    background:var(--rvxpc-primary-soft);
    color:var(--rvxpc-primary);
    font-size:12px;
    font-weight:950;
}
.rvxpc-comment-list,
.rvxpc-comment-list .children{
    margin:0;
    padding:0;
    list-style:none;
}
.rvxpc-comment-list{
    display:grid;
    gap:11px;
}
.rvxpc-comment-list .children{
    display:grid;
    gap:9px;
    margin:9px 34px 0 0;
}
.rvxpc-comment-item{
    margin:0;
    padding:0;
}
.rvxpc-comment-card{
    display:flex;
    gap:11px;
    padding:14px;
    border:1px solid var(--rvxpc-line);
    border-radius:15px;
    background:#fff;
    transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease;
}
.rvxpc-comment-card:hover{
    border-color:rgba(32,21,165,.18);
    box-shadow:0 10px 24px rgba(15,23,42,.055);
    transform:translateY(-1px);
}
.rvxpc-comment-card--reply{
    background:#fcfcff;
}
.rvxpc-comment-card__avatar{
    display:flex;
    flex:0 0 40px;
    align-items:center;
    justify-content:center;
    width:40px;
    height:40px;
    border:1px solid rgba(32,21,165,.14);
    border-radius:50%;
    background:var(--rvxpc-primary-soft);
    color:var(--rvxpc-primary);
    font-size:14px;
    font-weight:950;
}
.rvxpc-comment-card__body{
    flex:1 1 auto;
    min-width:0;
}
.rvxpc-comment-card__head{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:10px;
}
.rvxpc-comment-card__identity{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:6px;
    min-width:0;
}
.rvxpc-comment-card__name{
    color:var(--rvxpc-text);
    font-size:13px;
    font-weight:950;
}
.rvxpc-comment-card__badge{
    display:inline-flex;
    align-items:center;
    min-height:23px;
    padding:3px 7px;
    border-radius:999px;
    font-size:10px;
    font-weight:900;
    line-height:1.4;
}
.rvxpc-comment-card__badge--admin{
    background:#ede9fe;
    color:#5b21b6;
}
.rvxpc-comment-card__badge--author{
    background:#ecfdf3;
    color:#15803d;
}
.rvxpc-comment-card__badge--reply{
    background:#f1f5f9;
    color:#475569;
}
.rvxpc-comment-card__date{
    flex:0 0 auto;
    color:#94a3b8;
    font-size:10px;
    line-height:1.7;
}
.rvxpc-comment-card__pending{
    margin:9px 0 0;
    padding:8px 10px;
    border:1px solid #fde68a;
    border-radius:9px;
    background:#fffbeb;
    color:#92400e;
    font-size:11px;
    font-weight:800;
}
.rvxpc-comment-card__content{
    margin-top:9px;
    color:#334155;
    font-size:13px;
    line-height:2;
    overflow-wrap:anywhere;
}
.rvxpc-comment-card__content p{
    margin:0 0 8px;
}
.rvxpc-comment-card__content p:last-child{
    margin-bottom:0;
}
.rvxpc-comment-card__actions{
    display:flex;
    margin-top:10px;
}
.rvxpc-comment-card__reply{
    display:inline-flex;
    align-items:center;
    gap:5px;
    min-height:31px;
    padding:6px 9px;
    border:1px solid #e5e7eb;
    border-radius:9px;
    background:#f8fafc;
    color:#475569;
    font-size:11px;
    font-weight:900;
    transition:background-color .18s ease,border-color .18s ease,color .18s ease;
}
.rvxpc-comment-card__reply:hover{
    border-color:rgba(32,21,165,.18);
    background:var(--rvxpc-primary-soft);
    color:var(--rvxpc-primary);
}
.rvxpc-comment-card__reply svg{
    width:15px;
    height:15px;
}
.rvxpc-empty{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    min-height:150px;
    padding:18px;
    text-align:center;
}
.rvxpc-empty__icon{
    display:flex;
    align-items:center;
    justify-content:center;
    width:46px;
    height:46px;
    margin-bottom:8px;
    border-radius:50%;
    background:var(--rvxpc-primary-soft);
    color:var(--rvxpc-primary);
}
.rvxpc-empty__icon svg{
    width:23px;
    height:23px;
}
.rvxpc-empty strong{
    color:var(--rvxpc-text);
    font-size:14px;
    font-weight:950;
}
.rvxpc-empty p{
    margin:5px 0 0;
    color:var(--rvxpc-muted);
    font-size:12px;
    line-height:1.9;
}
.rvxpc-form-card{
    display:grid;
    grid-template-columns:minmax(220px,.72fr) minmax(0,1.28fr);
    gap:18px;
    margin-top:15px;
    padding:18px;
}
.rvxpc-form-card__intro{
    padding:5px 2px;
}
.rvxpc-form-card__intro ul{
    margin:13px 0 0;
    padding:0 17px 0 0;
    color:var(--rvxpc-muted);
    font-size:11px;
    line-height:2.2;
}
.rvxpc-form-card__form{
    min-width:0;
    padding:14px;
    border:1px solid var(--rvxpc-line);
    border-radius:14px;
    background:#f8fafc;
}
.rvxpc-form{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin:0;
}
.rvxpc-field{
    flex:1 1 100%;
    margin:0;
}
.rvxpc-field--half{
    flex:1 1 calc(50% - 5px);
}
.rvxpc-field label{
    display:block;
    margin-bottom:6px;
    color:#334155;
    font-size:12px;
    font-weight:900;
}
.rvxpc-field label span{
    color:#e11d48;
}
.rvxpc-field input,
.rvxpc-field textarea{
    display:block;
    width:100%;
    border:1px solid #dde2eb;
    border-radius:10px;
    background:#fff;
    color:#334155;
    outline:none;
    transition:border-color .18s ease,box-shadow .18s ease;
}
.rvxpc-field input{
    height:42px;
    padding:0 11px;
}
.rvxpc-field textarea{
    min-height:145px;
    padding:11px;
    resize:vertical;
    line-height:1.9;
}
.rvxpc-field input:focus,
.rvxpc-field textarea:focus{
    border-color:rgba(32,21,165,.55);
    box-shadow:0 0 0 3px rgba(32,21,165,.08);
}
.rvxpc-form .form-submit{
    display:flex;
    justify-content:flex-end;
    width:100%;
    margin:0;
}
.rvxpc-submit{
    min-width:198px;
}
.rvxpc-submit.is-loading{
    pointer-events:none;
    opacity:.82;
}
.rvxpc-submit.is-loading::after{
    content:"";
    width:15px;
    height:15px;
    margin-right:8px;
    border:2px solid rgba(255,255,255,.45);
    border-top-color:#fff;
    border-radius:50%;
    animation:rvxpcSpin .7s linear infinite;
}
@keyframes rvxpcSpin{
    to{ transform:rotate(360deg); }
}
.rvxpc-form__login-note,
.rvxpc-closed-note{
    padding:13px 14px;
    color:#475569;
    font-size:12px;
    line-height:1.9;
}
.rvxpc-pagination{
    display:flex;
    justify-content:center;
    margin-top:16px;
}
.rvxpc-pagination ul.page-numbers{
    display:inline-flex;
    flex-wrap:wrap;
    align-items:center;
    justify-content:center;
    gap:6px;
    margin:0;
    padding:6px;
    border:1px solid var(--rvxpc-line);
    border-radius:13px;
    background:#fff;
    list-style:none;
}
.rvxpc-pagination ul.page-numbers > li{
    margin:0;
    padding:0;
    list-style:none;
}
.rvxpc-pagination a.page-numbers,
.rvxpc-pagination span.page-numbers{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:35px;
    height:35px;
    padding:0 8px;
    border:1px solid #e5e7eb;
    border-radius:9px;
    background:#f8fafc;
    color:#475569;
    font-size:12px;
    font-weight:900;
    text-decoration:none;
    transition:background-color .18s ease,border-color .18s ease,color .18s ease;
}
.rvxpc-pagination a.page-numbers:hover{
    border-color:rgba(32,21,165,.2);
    background:var(--rvxpc-primary-soft);
    color:var(--rvxpc-primary);
}
.rvxpc-pagination span.page-numbers.current{
    border-color:var(--rvxpc-primary);
    background:var(--rvxpc-primary);
    color:#fff;
}
.rvxpc-comments-region.is-loading{
    min-height:180px;
    pointer-events:none;
}
.rvxpc-comments-region.is-loading > *{
    opacity:.35;
}
.rvxpc-comments-region.is-loading::after{
    content:"در حال دریافت دیدگاه‌ها…";
    position:absolute;
    top:50%;
    left:50%;
    z-index:4;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:40px;
    padding:8px 14px;
    border:1px solid rgba(32,21,165,.12);
    border-radius:999px;
    background:#fff;
    color:var(--rvxpc-primary);
    font-size:12px;
    font-weight:900;
    box-shadow:0 12px 25px rgba(15,23,42,.1);
    transform:translate(-50%,-50%);
}
.rvxpc-reply-modal{
    --rvxpc-primary:#2015a5;
    --rvxpc-primary-dark:#170f82;
    --rvxpc-primary-soft:#f1efff;
    --rvxpc-text:#111827;
    --rvxpc-muted:#64748b;
    --rvxpc-line:#e4e7ef;
    --rvxpc-card:#fff;
    position:fixed;
    inset:0;
    z-index:2147483646;
    isolation:isolate;
    font-family:inherit;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:18px;
    opacity:0;
    visibility:hidden;
    transition:opacity .2s ease,visibility .2s ease;
}
.rvxpc-reply-modal[hidden]{
    display:none !important;
}
.rvxpc-reply-modal,
.rvxpc-reply-modal *,
.rvxpc-reply-modal *::before,
.rvxpc-reply-modal *::after{
    box-sizing:border-box;
}
.rvxpc-reply-modal.is-open{
    opacity:1;
    visibility:visible;
}
.rvxpc-reply-modal__backdrop{
    position:absolute;
    inset:0;
    background:rgba(15,23,42,.48);
    backdrop-filter:blur(5px);
    -webkit-backdrop-filter:blur(5px);
}
.rvxpc-reply-modal__dialog{
    position:relative;
    width:min(620px,calc(100vw - 36px));
    max-width:100%;
    min-width:0;
    max-height:min(720px,calc(100vh - 30px));
    overflow-x:hidden;
    overflow-y:auto;
    overscroll-behavior:contain;
    border:1px solid rgba(32,21,165,.12);
    border-radius:18px;
    background:#fff;
    box-shadow:0 28px 80px rgba(15,23,42,.22);
    transform:translateY(12px) scale(.985);
    transition:transform .2s ease;
}
.rvxpc-reply-modal.is-open .rvxpc-reply-modal__dialog{
    transform:translateY(0) scale(1);
}
.rvxpc-reply-modal__head{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:12px;
    padding:15px;
    border-bottom:1px solid var(--rvxpc-line);
}
.rvxpc-reply-modal__head span{
    color:var(--rvxpc-primary);
    font-size:11px;
    font-weight:950;
}
.rvxpc-reply-modal__head h3{
    margin:3px 0 0;
    color:var(--rvxpc-text);
    font-size:17px;
    font-weight:950;
}
.rvxpc-reply-modal__head p{
    margin:4px 0 0;
    color:var(--rvxpc-muted);
    font-size:12px;
}
.rvxpc-reply-modal__close{
    display:flex;
    align-items:center;
    justify-content:center;
    width:34px;
    height:34px;
    border:0;
    border-radius:9px;
    background:#f1f5f9;
    color:#475569;
}
.rvxpc-reply-modal__close svg{
    width:17px;
    height:17px;
}
.rvxpc-reply-modal__mount{
    width:100%;
    max-width:100%;
    min-width:0;
    padding:15px;
    overflow-x:hidden;
}
.rvxpc-reply-modal__mount .rvxpc-form-card__form,
.rvxpc-reply-modal__mount .comment-respond{
    width:100%;
    max-width:100%;
    min-width:0;
    margin:0;
    padding:0;
    border:0;
    background:#fff;
    overflow-x:hidden;
}
.rvxpc-reply-modal__mount #respond,
.rvxpc-reply-modal__mount #commentform,
.rvxpc-reply-modal__mount .rvxpc-form,
.rvxpc-reply-modal__mount .rvxpc-field,
.rvxpc-reply-modal__mount .form-submit{
    width:100%;
    max-width:100%;
    min-width:0;
    margin-left:0;
    margin-right:0;
}
.rvxpc-reply-modal__mount input,
.rvxpc-reply-modal__mount textarea,
.rvxpc-reply-modal__mount button{
    max-width:100%;
    min-width:0;
}
.rvxpc-reply-modal__mount textarea{
    width:100%;
    resize:vertical;
}
html.rvxpc-modal-open,
body.rvxpc-modal-open{
    overflow:hidden !important;
}

/*
 * هنگام بازبودن پاسخ دیدگاه، نوبار پایین و شیت‌های وابسته باید کاملاً از چرخه نمایش خارج شوند.
 * هدر عمداً دست‌نخورده می‌ماند.
 */
html.rvxpc-modal-open .rvx-mobile-bottom-nav,
body.rvxpc-modal-open .rvx-mobile-bottom-nav,
html.rvxpc-modal-open .bottom-navbar,
body.rvxpc-modal-open .bottom-navbar,
html.rvxpc-modal-open .rvx-bottom-navbar,
body.rvxpc-modal-open .rvx-bottom-navbar,
html.rvxpc-modal-open .ravix-bottom-navbar,
body.rvxpc-modal-open .ravix-bottom-navbar,
html.rvxpc-modal-open .rvx-mobile-bottom-sheet,
body.rvxpc-modal-open .rvx-mobile-bottom-sheet,
html.rvxpc-modal-open #rvx-mobile-bottom-sheet-backdrop,
body.rvxpc-modal-open #rvx-mobile-bottom-sheet-backdrop{
    display:none !important;
    visibility:hidden !important;
    opacity:0 !important;
    pointer-events:none !important;
}

body > .rvxpc-reply-modal{
    contain:layout style;
}
.rvxpc-toast{
    position:fixed;
    left:50%;
    right:auto;
    bottom:22px;
    z-index:2147483600;
    display:flex;
    align-items:center;
    gap:10px;
    width:min(620px,calc(100vw - 28px));
    padding:12px 13px;
    overflow:hidden;
    border:1px solid #bbf7d0;
    border-radius:14px;
    background:#f0fdf4;
    color:#166534;
    box-shadow:0 18px 48px rgba(15,23,42,.18);
    opacity:0;
    visibility:hidden;
    transform:translate(-50%,20px);
    transition:opacity .22s ease,transform .22s ease,visibility .22s ease;
}
.rvxpc-toast.is-open{
    opacity:1;
    visibility:visible;
    transform:translate(-50%,0);
}
.rvxpc-toast--error{
    border-color:#fecdd3;
    background:#fff1f2;
    color:#be123c;
}
.rvxpc-toast__icon{
    display:flex;
    flex:0 0 34px;
    align-items:center;
    justify-content:center;
    width:34px;
    height:34px;
    border-radius:50%;
    background:#dcfce7;
}
.rvxpc-toast--error .rvxpc-toast__icon{
    background:#ffe4e6;
}
.rvxpc-toast__content{
    flex:1 1 auto;
    min-width:0;
}
.rvxpc-toast__title{
    display:block;
    font-size:12px;
    font-weight:950;
}
.rvxpc-toast__text{
    margin:1px 0 0;
    font-size:11px;
    line-height:1.8;
}
.rvxpc-toast__close{
    display:flex;
    flex:0 0 30px;
    align-items:center;
    justify-content:center;
    width:30px;
    height:30px;
    border:0;
    border-radius:8px;
    background:rgba(255,255,255,.62);
    color:currentColor;
}
.rvxpc-toast__close svg{
    width:16px;
    height:16px;
}
@media (max-width:760px){
    .rvxpc-overview{
        grid-template-columns:1fr;
        gap:12px;
        padding:14px;
    }
    .rvxpc-overview__side{
        display:grid;
        grid-template-columns:92px minmax(0,1fr);
    }
    .rvxpc-overview__count{
        min-width:0;
    }
    .rvxpc-primary-button{
        width:100%;
    }
    .rvxpc-comments-region{
        margin-top:11px;
        padding:13px;
        border-radius:15px;
    }
    .rvxpc-comment-card{
        gap:8px;
        padding:11px;
        border-radius:12px;
    }
    .rvxpc-comment-card__avatar{
        flex-basis:34px;
        width:34px;
        height:34px;
        font-size:12px;
    }
    .rvxpc-comment-card__head{
        display:block;
    }
    .rvxpc-comment-card__date{
        display:block;
        margin-top:4px;
    }
    .rvxpc-comment-list .children{
        margin-right:14px;
    }
    .rvxpc-form-card{
        display:block;
        margin-top:11px;
        padding:13px;
        border-radius:15px;
    }
    .rvxpc-form-card__form{
        margin-top:11px;
        padding:11px;
    }
    .rvxpc-field--half{
        flex-basis:100%;
    }
    .rvxpc-submit{
        width:100%;
        min-width:0;
    }
    .rvxpc-reply-modal{
        align-items:flex-end;
        padding:0;
    }
    .rvxpc-reply-modal__dialog{
        width:100%;
        max-width:100%;
        max-height:88vh;
        overflow-x:hidden;
        border-radius:18px 18px 0 0;
    }
    .rvxpc-toast{
        bottom:14px;
        width:calc(100vw - 20px);
    }
}
