/* Comment Interactions Styles */
.comment-interactions {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 15px;
    padding-top: 10px;
    border-top: 1px solid #e5e5e5;
}

.comment-interactions button {
    display: flex;
    align-items: center;
    gap: 5px;
    background: none;
    border: none;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 14px;
    color: #666;
}

.comment-interactions button:hover {
    background-color: #f5f5f5;
    color: #333;
}

.comment-interactions .icon {
    font-size: 16px;
}

.comment-interactions .count {
    font-weight: 500;
    color: #666;
}

/* Like button styles */
.comment-like-btn.liked {
    color: #1877f2;
    background-color: transparent;
}

.comment-like-btn.liked .count {
    color: #1877f2;
}

/* Dislike button styles */
.comment-dislike-btn.disliked {
    color: #dc3545;
    background-color: #fde7e7;
}

.comment-dislike-btn.disliked .count {
    color: #dc3545;
}

/* Reply button styles */
.comment-reply-btn:hover {
    color: #28a745;
}

/* More options button */
.comment-more-btn {
    margin-left: auto;
}

/* Comment container improvements */
.comment_container {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
}

.comment-text {
    margin-top: 10px;
}

/* User info styling */
.comment_container .comment-author {
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

/* Make comment avatars circular */
.comment_container .avatar,
.comment_container img.avatar {
    border-radius: 50% !important;
    width: 42px !important;
    height: 42px !important;
    object-fit: cover;
}

.comment_container .comment-meta {
    color: #999;
    font-size: 12px;
    margin-bottom: 10px;
}

/* Comment content */
.comment_container .comment-content {
    line-height: 1.6;
    color: #333;
    margin-bottom: 10px;
}

/* Responsive design */
@media (max-width: 768px) {
    .comment-interactions {
        gap: 10px;
    }
    
    .comment-interactions button {
        padding: 6px 8px;
        font-size: 12px;
    }
    
    .comment-interactions .icon {
        font-size: 14px;
    }
}

/* Animation for button clicks */
.comment-interactions button:active {
    transform: scale(0.95);
}

/* Loading state */
.comment-interactions button.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Success animation */
@keyframes likeAnimation {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.comment-like-btn.liked,
.comment-dislike-btn.disliked {
    animation: likeAnimation 0.3s ease;
}

/* User Info Display Styles */
.user-info-display {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    padding: 15px;
    margin-bottom: 20px;
    position: relative;
}

.user-info-display p {
    margin: 0 0 10px 0;
    color: #495057;
    font-size: 14px;
}

.user-info-display strong {
    color: #212529;
}

.change-user-info {
    background: #6c757d;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.change-user-info:hover {
    background: #5a6268;
}

/* Hide name and email fields when user info is saved */
.comment-form-author.hidden,
.comment-form-email.hidden {
    display: none !important;
}

/* Comment form improvements */
#commentform {
    margin-top: 20px;
}

#commentform .comment-form-author,
#commentform .comment-form-email {
    margin-bottom: 15px;
}

#commentform label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #333;
}

#commentform input[type="text"],
#commentform input[type="email"],
#commentform textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.2s ease;
}

#commentform input[type="text"]:focus,
#commentform input[type="email"]:focus,
#commentform textarea:focus {
    outline: none;
    border-color: #007cba;
}

#commentform .form-submit {
    display: flex;
    justify-content: flex-end;
}

#commentform input[type="submit"] {
    background: #007cba;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

#commentform input[type="submit"]:hover {
    background: #005a87;
}

/* Required field indicator */
.required {
    color: #dc3545;
    font-weight: bold;
} 

.comment-form-cookies-consent {
    display: flex;
    align-items: center;
    gap: 8px;
}

.comment-form-cookies-consent label {
    margin: 0;
    font-weight: normal;
} 