/* =========================
   CARD
========================= */
.drp-card{
    background:#fff;
    border-radius:16px;
    padding:20px;
    max-width:380px;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
    font-family:IRANSans, sans-serif;
    text-align:center;
    position:relative;
}

.drp-score{
    font-size:48px;
    font-weight:800;
    color:#2c7be5;
    line-height:1;
}

.drp-stars{
    margin:10px 0;
}

.drp-star{
    font-size:26px;
    color:#ddd;
}

.drp-star.active{
    color:#f7c948;
}

.drp-users{
    font-size:14px;
    color:#666;
    margin-bottom:15px;
}

/* =========================
   BUTTON
========================= */
.drp-open-popup{
    background:#2c7be5;
    color:#fff;
    border:none;
    border-radius:30px;
    padding:10px 22px;
    cursor:pointer;
    font-size:14px;
    transition:.3s;
}

.drp-open-popup:hover{
    background:#1a68d1;
}

/* =========================
   TIME
========================= */
.drp-time{
    margin-top:12px;
    font-size:13px;
    color:#555;
}

/* =========================
   POPUP
========================= */
.drp-popup{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.55);
    display:none;
    align-items:center;
    justify-content:center;
    z-index:9999;
}

.drp-popup-box{
    background:#fff;
    border-radius:16px;
    width:90%;
    max-width:420px;
    padding:22px;
    text-align:center;
    animation:scaleIn .3s ease;
}

@keyframes scaleIn{
    from{transform:scale(.9);opacity:0}
    to{transform:scale(1);opacity:1}
}

.drp-popup h3{
    margin-bottom:10px;
    font-size:18px;
}

/* =========================
   RATE STARS
========================= */
.drp-rate-stars{
    display:flex;
    justify-content:center;
    margin:15px 0;
}

.drp-rate-stars span{
    font-size:34px;
    color:#ddd;
    cursor:pointer;
    transition:.2s;
}

.drp-rate-stars span.active{
    color:#f7c948;
}

/* =========================
   TEXTAREA
========================= */
.drp-popup textarea{
    width:100%;
    min-height:90px;
    border-radius:10px;
    border:1px solid #ddd;
    padding:10px;
    font-size:14px;
    resize:none;
    margin-bottom:15px;
    font-family: vazirmatn;
}

/* =========================
   POPUP ACTIONS
========================= */
.drp-popup-actions{
    display:flex;
    gap:10px;
}

.drp-popup-actions button{
    flex:1;
    border:none;
    padding:10px;
    border-radius:10px;
    font-size:14px;
    cursor:pointer;
    font-family: vazirmatn;
}

.drp-submit{
    background:#2c7be5;
    color:#fff;
}

.drp-close{
    background:#eee;
    color:#333;
}

/* =========================
   LOADING
========================= */
.drp-popup.loading .drp-submit{
    opacity:.6;
    pointer-events:none;
}

/* =========================
   MESSAGE
========================= */
.drp-message{
    position:fixed;
    bottom:20px;
    right:20px;
    padding:12px 18px;
    border-radius:12px;
    font-size:14px;
    opacity:0;
    transform:translateY(20px);
    transition:.3s;
    z-index:10000;
    font-family: vazirmatn;
}

.drp-message.show{
    opacity:1;
    transform:translateY(0);
}

.drp-msg-success{
    background:#2fb344;
    color:#fff;
}

.drp-msg-error{
    background:#e03131;
    color:#fff;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width:480px){
    .drp-card{
        max-width:100%;
        padding:16px;
        font-family: vazirmatn;
    }

    .drp-score{
        font-size:40px;
        font-family: vazirmatn;
    }
}
/* =========================
   REVIEW LIST
========================= */
.drp-review-list{
    max-width:700px;
    margin:30px auto;
    display:flex;
    flex-direction:column;
    gap:15px;
}

.drp-review-item{
    background:#fff;
    border-radius:14px;
    padding:15px 18px;
    box-shadow:0 8px 25px rgba(0,0,0,.06);
    animation:fadeIn .4s ease;
}

@keyframes fadeIn{
    from{opacity:0;transform:translateY(10px)}
    to{opacity:1;transform:translateY(0)}
}

.drp-review-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:8px;
    font-family: vazirmatn;
}

.drp-review-author{
    font-size:14px;
    font-weight:600;
    color:#333;
    font-family: vazirmatn;
}

.drp-review-stars{
    color:#f7c948;
    font-size:18px;
    font-family: vazirmatn;
}

.drp-review-content{
    font-size:14px;
    line-height:1.8;
    color:#555;
    font-family: vazirmatn;
}

/* =========================
   LOAD MORE
========================= */
.drp-load-more{
    align-self:center;
    margin-top:10px;
    background:#2c7be5;
    color:#fff;
    border:none;
    padding:10px 22px;
    border-radius:30px;
    cursor:pointer;
    font-size:14px;
    transition:.3s;
    font-family: vazirmatn;
}

.drp-load-more:hover{
    background:#1a68d1;
}

/* =========================
   HIDDEN REVIEWS
========================= */
.drp-hidden-review{
    display:none;
}

/* =========================
   NO REVIEW
========================= */
.drp-no-review{
    text-align:center;
    color:#777;
    padding:20px;
    font-family: vazirmatn;
}
.drp-review-avatar{
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 50%;
    object-fit: cover;
    margin-left: 8px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    background: #fff;
}
