/**
 * Dotekománie Komentáře - Doplňkové styly pro testovací režim a animaci nového komentáře
 */

.dt-comments-test-banner {
    background: #fffbeb !important;
    border: 1px solid #f59e0b !important;
    color: #92400e !important;
    padding: 10px 16px !important;
    border-radius: 8px !important;
    font-size: 13px !important;
    margin-bottom: 20px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
}

.dt-comments-test-banner span:first-child {
    display: flex;
    align-items: center;
    gap: 8px;
}

@keyframes dtCommentHighlight {
    0% {
        background-color: rgba(217, 21, 54, 0.12);
    }
    100% {
        background-color: transparent;
    }
}

.dt-just-posted {
    animation: dtCommentHighlight 2.5s ease-out forwards;
    border-radius: 6px;
}

.dt-comment-optimistic {
    opacity: 0.65;
    filter: grayscale(20%);
    transition: opacity 0.35s ease, filter 0.35s ease;
    position: relative;
}

.dt-comment-optimistic.dt-confirmed {
    opacity: 1;
    filter: none;
}

.dt-optimistic-status {
    font-size: 11px;
    font-weight: 600;
    color: #d91536;
    margin-left: 8px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.comment-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-top: -8px;
    margin-bottom: 24px;
    padding-right: 4px;
}

#comments .comment-reply-link {
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 4px 10px 4px 6px !important;
    border-radius: 6px !important;
    color: #64748b !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: color 0.15s ease, background 0.15s ease !important;
    user-select: none !important;
    background: transparent !important;
}

#comments .comment-reply-link:hover {
    color: #d91536 !important;
    background: rgba(217, 21, 54, 0.06) !important;
}

#comments .comment-reply-link .response {
    object-fit: contain !important;
    width: 14px !important;
    height: 12px !important;
    padding: 0 !important;
    display: inline-block !important;
    vertical-align: middle !important;
    transition: filter 0.15s ease !important;
}

#comments .comment-reply-link:hover .response {
    filter: invert(16%) sepia(87%) saturate(5412%) hue-rotate(344deg) brightness(88%) contrast(98%) !important;
}

#comments .comment-reply-link .reply-text {
    line-height: 1 !important;
    display: inline-block !important;
}
