/* Современный дизайн комментариев */

.modern-comment {
    display: flex;
    gap: 15px;
    padding: 20px;
    margin-bottom: 15px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    border-left: 3px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.modern-comment:hover {
    background: rgba(0, 0, 0, 0.3);
    border-left-color: rgba(255, 255, 255, 0.3);
    transform: translateX(3px);
}

.comment-avatar {
    flex-shrink: 0;
}

.comment-avatar img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.comment-avatar img.rounded-circle {
    border-radius: 50%;
}

.comment-body {
    flex: 1;
    min-width: 0;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    flex-wrap: wrap;
    gap: 10px;
}

.comment-author {
    display: flex;
    align-items: center;
    gap: 5px;
}

.comment-author a {
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: opacity 0.2s;
}

.comment-author a:hover {
    opacity: 0.8;
}

.comment-badge {
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 3px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.comment-meta {
    display: flex;
    align-items: center;
    gap: 10px;
}

.comment-date {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    gap: 5px;
}

.comment-date i {
    font-size: 12px;
}

.comment-content {
    line-height: 1.6;
    word-wrap: break-word;
}

.comment-content p {
    margin-bottom: 10px;
}

.comment-content p:last-child {
    margin-bottom: 0;
}

/* Кнопка удаления */
.modern-comment .dell_message {
    cursor: pointer;
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.2s;
    font-size: 16px;
}

.modern-comment .dell_message:hover {
    color: #ff4444;
}

/* Пустое состояние */
.empty-element {
    display: block;
    text-align: center;
    padding: 40px 20px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

/* Адаптивность */
@media (max-width: 576px) {
    .modern-comment {
        gap: 10px;
        padding: 15px;
    }
    
    .comment-avatar img {
        width: 40px;
        height: 40px;
    }
    
    .comment-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .comment-badge {
        display: none;
    }
}

/* Форма комментариев */
.comment-form-wrapper {
    margin-bottom: 20px;
}

.comment-form-wrapper textarea {
    width: 100%;
    min-height: 100px;
}

/* Анимация появления */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modern-comment {
    animation: fadeInUp 0.3s ease;
}
