/* --- Smart Modern Comments Styles v1.1 --- */
.smc-container {
    font-family: 'Anek Bangla', sans-serif;
    max-width: 700px;
    margin: 20px auto;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 20px 25px;
    color: #333;
}

.smc-comments-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #1a1a1a;
}

/* Comment Form */
.smc-comment-form-wrap {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 30px;
}

.smc-avatar img {
    border-radius: 50%;
}

.smc-form-main {
    flex-grow: 1;
}

.smc-comment-form textarea {
    width: 100%;
    min-height: 80px;
    padding: 10px 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-family: 'Anek Bangla', sans-serif;
    font-size: 16px;
    resize: vertical;
    transition: border-color 0.3s;
}

.smc-comment-form textarea:focus {
    outline: none;
    border-color: #ff6f00;
}

.smc-form-actions {
    text-align: right;
    margin-top: 10px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
}

.smc-submit-btn, .smc-cancel-btn, .smc-secondary-btn {
    padding: 8px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    transition: background-color 0.3s;
}

.smc-submit-btn {
    background-color: #ff6f00;
    color: white;
}
.smc-submit-btn:hover { background-color: #e66400; }

.smc-cancel-btn, .smc-secondary-btn {
    background-color: #f0f0f0;
    color: #333;
}
.smc-cancel-btn:hover, .smc-secondary-btn:hover { background-color: #e0e0e0; }

.smc-image-preview { margin-top: 10px; }
.smc-image-preview img { max-width: 100px; border-radius: 8px; }

/* Comments List */
.smc-comment {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    padding: 15px;
    border-radius: 8px;
    transition: background-color 0.3s;
}

/* Pinned comment style */
.smc-comment.smc-pinned {
    background-color: #fffaf0;
    border: 1px solid #ffeac4;
}

.smc-comment-header {
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.smc-author-name { font-weight: 700; color: #1a1a1a; }
.smc-comment-time { font-size: 13px; color: #888; }
.smc-pinned-tag {
    font-size: 11px;
    font-weight: bold;
    color: #d97706;
    background-color: #fef3c7;
    padding: 2px 8px;
    border-radius: 12px;
}

.smc-comment-content p { margin: 0; }
.smc-comment-content {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
}
.smc-comment-image { margin-bottom: 10px; }
.smc-comment-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.smc-comment-actions {
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.smc-comment-actions a, .smc-comment-actions button {
    text-decoration: none;
    color: #555;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    background: none;
    border: none;
    padding: 2px 5px;
    border-radius: 4px;
}
.smc-comment-actions a:hover, .smc-comment-actions button:hover { background-color: #f0f0f0; }
.smc-vote-btn.active { color: #ff6f00; font-weight: bold; }
.smc-pin-btn { color: #0073aa !important; }

/* Replies */
.smc-replies {
    margin-top: 20px;
    padding-left: 30px;
    border-left: 2px solid #f0f0f0;
}