/* KOL Comment Avatar Enhancement Styles */

.kol-comment-form-avatar {
    float: left;
    margin-right: 15px;
    margin-top: 5px;
}

.kol-comment-form-avatar img {
    border-radius: 50%;
    width: 48px;
    height: 48px;
}

.kol-comment-form-content {
    overflow: hidden;
}

.kol-comment-item {
    list-style: none;
    margin-bottom: 20px;
    clear: both;
}

.kol-comment-wrapper {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.kol-comment-avatar {
    flex-shrink: 0;
}

.kol-comment-avatar img {
    border-radius: 50%;
    width: 48px;
    height: 48px;
}

.kol-comment-content {
    flex: 1;
    background: var(--color-theme-white-box, #ffffff);
    border: 1px solid var(--global-border-color, #e0e0e0);
    border-radius: 11px;
    padding: 11px;
    margin-bottom: 20px;
    overflow: hidden;
    transition: 0.3s ease;
    color: var(--global-font-color, #333333);
}

.kol-comment-meta {
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.kol-comment-author {
    font-weight: bold;
}

.kol-comment-date {
    color: #666;
    font-size: 12px;
}

.kol-comment-text {
    margin-bottom: 8px;
    line-height: 1.5;
}

.kol-comment-reply {
    text-align: right;
}

.kol-comment-reply a {
    color: #0073aa;
    text-decoration: none;
    font-size: 12px;
}

.kol-comment-reply a:hover {
    text-decoration: underline;
}

.kol-bp-comment-avatar {
    float: left;
    margin-right: 15px;
    margin-bottom: 10px;
}

.kol-bp-comment-avatar img {
    border-radius: 50%;
    width: 48px;
    height: 48px;
}

html.dark-mode .kol-comment-content {
    background: #16213e;
    border-color: var(--ld-dark-mode-border-color, #333);
    color: var(--ld-dark-mode-content-text, #ffffff);
}

html.dark-mode .kol-comment-date {
    color: var(--ld-dark-mode-content-text, #cccccc);
}

html.dark-mode .kol-comment-reply a {
    color: #4a9eff;
}

@media (max-width: 768px) {
    .kol-comment-wrapper {
        gap: 10px;
    }
    
    .kol-comment-form-avatar {
        margin-right: 10px;
    }
    
    .kol-bp-comment-avatar {
        margin-right: 10px;
    }
}