/* ===== COMMENTS ADMIN ===== */

.table td, .table th {
    vertical-align: middle !important;
    font-size: 14px;
}

.table-hover tbody tr:hover {
    background-color: #f6f9fc;
}

/* Rating stars */
.rating-stars-admin {
    white-space: nowrap;
}
.rating-stars-admin i {
    font-style: normal;
    font-size: 15px;
    color: #ddd;
}
.rating-stars-admin i.on {
    color: #f4b400;
}

/* Comment preview */
.comment-preview {
    max-width: 380px;
    line-height: 1.4;
    color: #444;
}

/* Content seo badge */
.content-badge {
    display: inline-block;
    background: #eef2f7;
    color: #333;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 12px;
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Cards spacing */
.card {
    box-shadow: 0 2px 10px rgba(0,0,0,.05);
    border-radius: 10px;
}

/* Pagination */
.pagination .page-item.active .page-link {
    background-color: #28a745;
    border-color: #28a745;
}

/* === COMMENTS WRAP === */
.comments-wrap {
    margin-top:50px;
    max-width:800px;
}

/* === COMMENT BOX === */
.comment {
    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:12px;
    padding:18px;
    margin-bottom:20px;
    box-shadow:0 2px 6px rgba(0,0,0,.04);
}

.comment strong {
    font-size:15px;
    color:#111827;
}

.comment p {
    margin:10px 0;
    line-height:1.6;
    color:#374151;
}

.comment-meta {
    font-size:12px;
    color:#6b7280;
}

/* === ACTIONS === */
.comment-actions {
    display:flex;
    gap:15px;
    margin-top:10px;
}

.comment-actions button {
    background:none;
    border:none;
    cursor:pointer;
    font-size:14px;
    color:#2563eb;
    display:flex;
    align-items:center;
    gap:5px;
}

.comment-actions button.liked {
    color:#dc2626;
}

/* === REPLY === */
.reply {
    margin-top:15px;
    margin-left:40px;
    padding-left:15px;
    border-left:3px solid #e5e7eb;
    background:#f9fafb;
    border-radius:6px;
}

/* === FORM === */
.comment-form {
    margin-top:40px;
    max-width:600px;
}

.comment-form input,
.comment-form textarea {
    width:100%;
    padding:12px;
    border-radius:8px;
    border:1px solid #d1d5db;
    margin-bottom:15px;
    font-size:14px;
}

.comment-form textarea {
    min-height:120px;
    resize:vertical;
}

.comment-form button {
    background:#2563eb;
    color:#fff;
    border:none;
    padding:12px 25px;
    border-radius:8px;
    cursor:pointer;
}

.comment-form button:hover {
    background:#1d4ed8;
}

.reply-info {
    font-size:13px;
    color:#2563eb;
    margin-bottom:10px;
}

.comments-title {
    font-size:20px;
    margin-bottom:20px;
    color:#111827;
}

.no-comments {
    color:#6b7280;
    font-style:italic;
    margin-bottom:30px;
}