/* Comment Customizer Styles */

/* Like Button Styles */
.comment-like-container {
    display: inline-flex;
    align-items: center;
    margin-top: 10px;
    font-size: 14px;
}

.comment-like-button {
    background: #f0f0f0;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 6px 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #666;
}

.comment-like-button:hover {
    background: #e8e8e8;
    border-color: #ccc;
}

.comment-like-button.liked {
    background: #ff6b6b;
    border-color: #ff5252;
    color: white;
    cursor: not-allowed;
}

.comment-like-button.liked:hover {
    background: #ff5252;
}

.comment-like-button i {
    font-size: 12px;
}

.like-count {
    margin-left: 8px;
    font-weight: bold;
    color: #666;
}

/* Background Color Classes for Comments */
.comment-customizer-bg-blue .comment-body {
    background-color: #e3f2fd !important;
    border-left: 4px solid #2196f3 !important;
}

.comment-customizer-bg-green .comment-body {
    background-color: #e8f5e8 !important;
    border-left: 4px solid #4caf50 !important;
}

.comment-customizer-bg-yellow .comment-body {
    background-color: #fff8e1 !important;
    border-left: 4px solid #ff9800 !important;
}

.comment-customizer-bg-pink .comment-body {
    background-color: #fce4ec !important;
    border-left: 4px solid #e91e63 !important;
}

.comment-customizer-bg-purple .comment-body {
    background-color: #f3e5f5 !important;
    border-left: 4px solid #9c27b0 !important;
}

/* Comment Form Customizations */
.comment-form-author label,
.comment-form-email label {
    font-weight: bold;
}

.comment-form-author label::after {
    content: " *必須";
    color: #ff0000;
    font-weight: normal;
}

.comment-form-email label::after {
    content: " *任意";
    color: #666;
    font-weight: normal;
}

/* Responsive Design */
@media (max-width: 768px) {
    .comment-like-container {
        font-size: 12px;
    }

    .comment-like-button {
        padding: 4px 8px;
    }
}