/*
Theme Name: iZap Fit Notícias 06
Description: Tema personalizado para o portal de notícias
Version: 1.0
Author: iZap
*/

/* Estilos para comentários */
.comment-list {
    list-style: none;
    padding: 0;
}

.comment-list .comment {
    margin-bottom: 1.5rem;
    padding: 1rem;
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    background-color: #fff;
}

.comment-list .comment .comment-body {
    position: relative;
}

.comment-list .comment .comment-author {
    font-weight: 600;
    color: #0d6efd;
    margin-bottom: 0.5rem;
}

.comment-list .comment .comment-meta {
    font-size: 0.875rem;
    color: #6c757d;
    margin-bottom: 0.5rem;
}

.comment-list .comment .comment-content {
    margin-top: 0.5rem;
}

.comment-list .comment .comment-content p {
    margin-bottom: 0.5rem;
}

/* Avatar dos comentários */
.comment-list .comment .avatar {
    float: left;
    margin-right: 1rem;
    border-radius: 50%;
}

/* Comentários aninhados */
.comment-list .children {
    list-style: none;
    padding-left: 2rem;
    margin-top: 1rem;
}

.comment-list .children .comment {
    border-left: 3px solid #0d6efd;
}

/* Formulário de comentários */
.comment-form {
    margin-top: 2rem;
}

.comment-form .form-control {
    border-radius: 0.375rem;
}

.comment-form .btn-primary {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.comment-form .btn-primary:hover {
    background-color: #0b5ed7;
    border-color: #0a58ca;
}

/* Badge de contagem de comentários */
.comments-count-badge {
    display: inline-block;
    margin-left: 1rem;
}

/* Navegação de comentários */
.comment-navigation .nav-links a {
    text-decoration: none;
    color: #0d6efd;
}

.comment-navigation .nav-links a:hover {
    color: #0b5ed7;
}

/* Alertas */
.alert {
    border-radius: 0.375rem;
}

.alert-info {
    background-color: #d1ecf1;
    border-color: #bee5eb;
    color: #0c5460;
}

.alert-warning {
    background-color: #fff3cd;
    border-color: #ffeaa7;
    color: #856404;
}

/* Responsividade */
@media (max-width: 768px) {
    .comment-list .children {
        padding-left: 1rem;
    }

    .comment-list .comment .avatar {
        float: none;
        display: block;
        margin-bottom: 0.5rem;
    }
}