/* ── Sana Comments Styles ── */
.sana-comments-wrap {
    font-family: inherit;
    direction: rtl;
    max-width: 780px;
    margin: 40px auto;
    color: #333;
}

/* لیست نظرات */
.sana-comments-title,
.sana-form-title {
    font-size: 1.2rem;
    font-weight: 700;
    border-right: 4px solid #0073aa;
    padding-right: 10px;
    margin-bottom: 20px;
}

.sana-no-comments {
    color: #888;
    font-size: .95rem;
    margin-bottom: 30px;
}

.sana-comment-item {
    display: flex;
    gap: 14px;
    padding: 16px 0;
    border-bottom: 1px solid #eee;
}

.sana-comment-avatar img {
    border-radius: 50%;
    width: 48px;
    height: 48px;
}

.sana-comment-body {
    flex: 1;
}

.sana-comment-author {
    font-weight: 700;
    font-size: .95rem;
    margin-left: 8px;
}

.sana-comment-date {
    font-size: .82rem;
    color: #999;
}

.sana-comment-text {
    margin: 8px 0 0;
    line-height: 1.7;
    font-size: .95rem;
}

/* فرم */
.sana-comment-form-wrap {
    margin-top: 40px;
}

.sana-logged-in {
    font-size: .9rem;
    color: #555;
    margin-bottom: 14px;
}

.sana-form-message {
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 16px;
    font-size: .95rem;
}

.sana-form-message.success {
    background: #edfae1;
    color: #2d7a00;
    border: 1px solid #b6e49a;
}

.sana-form-message.error {
    background: #fdecea;
    color: #a00;
    border: 1px solid #f5b7b1;
}

.sana-form-row {
    margin-bottom: 14px;
}

.sana-form-row--half {
    display: flex;
    gap: 12px;
}

.sana-form-row--half .sana-field {
    flex: 1;
}

.sana-field {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: .95rem;
    font-family: inherit;
    box-sizing: border-box;
    transition: border-color .2s;
    direction: rtl;
}

.sana-field:focus {
    outline: none;
    border-color: #0073aa;
    box-shadow: 0 0 0 2px rgba(0,115,170,.15);
}

textarea.sana-field {
    resize: vertical;
    min-height: 120px;
}

.sana-submit-btn {
    background: #0073aa;
    color: #fff;
    border: none;
    padding: 11px 28px;
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    cursor: pointer;
    transition: background .2s;
}

.sana-submit-btn:hover {
    background: #005a87;
}

.sana-submit-btn:disabled {
    opacity: .65;
    cursor: default;
}

@media (max-width: 600px) {
    .sana-form-row--half {
        flex-direction: column;
        gap: 0;
    }
}
