.tarlanweb-review-options {
    margin-bottom: 20px;
    direction: rtl;
    text-align: right;
}

.tarlanweb-review-title {
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 12px;
    color: #333;
}

.tarlanweb-review-grid {
display: flex;
  gap: 10px;
}

.tarlanweb-review-item {width:100%;
    display: flex;
    align-items: center;flex-direction: column;
    gap: 8px;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    background: #fafafa;
    cursor: pointer;
    transition: all 0.25s ease;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    user-select: none;
}

.tarlanweb-review-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.tarlanweb-review-item.active {
    border-color: #2196f3;
    background: #e3f2fd;
    box-shadow: 0 4px 12px rgba(33, 150, 243, 0.2);
}

.tarlanweb-review-item .tarlanweb-review-icon {
    font-size: 28px;
    line-height: 1;
}

.tarlanweb-review-item .tarlanweb-review-label {
    font-size: 14px;
}

.tarlanweb-review-item[data-value="نیاز به بهبود"].active {
    border-color: #f44336;
    background: #ffebee;
    box-shadow: 0 4px 12px rgba(244, 67, 54, 0.2);
}

.tarlanweb-review-item[data-value="کاربردی و قابل اجرا"].active {
    border-color: #ff9800;
    background: #fff3e0;
    box-shadow: 0 4px 12px rgba(255, 152, 0, 0.2);
}

.tarlanweb-review-item[data-value="طراحی استاندارد"].active {
    border-color: #2196f3;
    background: #e3f2fd;
    box-shadow: 0 4px 12px rgba(33, 150, 243, 0.2);
}

.tarlanweb-review-item[data-value="محتوای کامل"].active {
    border-color: #4caf50;
    background: #e8f5e9;
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.2);
}

.tarlanweb-review-display {
    margin-top: 10px;
    padding: 8px 14px;
    background: #f5f7fa;
    border-radius: 6px;
    border-right: 4px solid #2196f3;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.tarlanweb-review-display-icon {
    font-size: 20px;
}

.tarlanweb-review-item.active {
    border-width: 3px;
    transform: scale(1.02);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    position: relative;
}
.tarlanweb-review-item.active::after {
    content: "✓";
    position: absolute;
    top: -8px;
    right: -8px;
    background: #4caf50;
    color: #fff;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}
.tarlanweb-review-item[data-value="نیاز به بهبود"].active {
    border-color: #f44336 !important;
    background: #ffebee !important;
    box-shadow: 0 4px 16px rgba(244, 67, 54, 0.3) !important;
}

.tarlanweb-review-item[data-value="کاربردی و قابل اجرا"].active {
    border-color: #ff9800 !important;
    background: #fff3e0 !important;
    box-shadow: 0 4px 16px rgba(255, 152, 0, 0.3) !important;
}

.tarlanweb-review-item[data-value="طراحی استاندارد"].active {
    border-color: #2196f3 !important;
    background: #e3f2fd !important;
    box-shadow: 0 4px 16px rgba(33, 150, 243, 0.3) !important;
}

.tarlanweb-review-item[data-value="محتوای کامل"].active {
    border-color: #4caf50 !important;
    background: #e8f5e9 !important;
    box-shadow: 0 4px 16px rgba(76, 175, 80, 0.3) !important;
}

@media (max-width: 600px){

.tarlanweb-review-grid{flex-wrap: wrap;}
.tarlanweb-review-item{width: calc(50% - 10px);padding: 15px 0;}


}
/* TarlanWeb-owned taxonomy reviews */
.tarlanweb-term-reviews{display:block!important;position:relative;clear:both;width:calc(100% - 30px);max-width:1200px;margin:40px auto!important;box-sizing:border-box;z-index:2}
.tarlanweb-term-reviews-inner{background:#fff;border:1px solid #e5e7eb;border-radius:16px;padding:24px;box-shadow:0 4px 18px rgba(0,0,0,.04)}
.tarlanweb-term-reviews h2,.tarlanweb-term-reviews h3{margin:0 0 18px}
.tarlanweb-term-review-list{display:grid;gap:14px;margin-bottom:24px}
.tarlanweb-term-review-item{padding:16px;border:1px solid #eef0f3;border-radius:12px;background:#fafbfc}
.tarlanweb-term-review-head{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:8px}
.tarlanweb-term-review-head span{font-weight:600}
.tarlanweb-term-review-body{line-height:1.9}
.tarlanweb-term-review-item time{display:block;margin-top:8px;font-size:.82rem;color:#7a7a7a}
.tarlanweb-term-review-empty{color:#666}
.tarlanweb-term-review-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:12px}
.tarlanweb-term-review-form input,.tarlanweb-term-review-form textarea{width:100%;box-sizing:border-box;padding:12px;border:1px solid #d8dde5;border-radius:10px;font:inherit}
.tarlanweb-term-review-form textarea{resize:vertical;margin-top:12px}
.tarlanweb-term-review-options{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:12px 0}
.tarlanweb-term-review-options .tarlanweb-review-item{cursor:pointer;border:2px solid;padding:12px;border-radius:10px;display:flex;align-items:center;gap:7px}
.tarlanweb-term-review-options input{width:auto;margin:0}
.tarlanweb-term-review-form button{margin-top:12px;border:0;border-radius:10px;padding:12px 24px;cursor:pointer;font:inherit;font-weight:700}
.tarlanweb-term-review-message{margin-top:10px;padding:8px 12px;border-radius:8px}
.tarlanweb-term-review-message.success{background:#e8f5e9;color:#1b5e20}
.tarlanweb-term-review-message.error{background:#ffebee;color:#b71c1c}
@media(max-width:700px){.tarlanweb-term-review-fields,.tarlanweb-term-review-options{grid-template-columns:1fr}.tarlanweb-term-reviews-inner{padding:16px}}
