
/* Zvýraznění textu s komentářem */
.comment-highlight {
    position: relative;
    padding: 2px 4px;
    border-radius: 3px;
    cursor: help;
}

/* Barvy podle statusu - inline highlight */
.comment-highlight.comment-open {
    background-color: #fff3cd;
    border-bottom: 2px solid #ffc107;
}

.comment-highlight.comment-resolved {
    background-color: #d4edda;
    border-bottom: 2px solid #28a745;
}

.comment-highlight.comment-closed {
    background-color: #e2e3e5;
    border-bottom: 2px solid #6c757d;
    opacity: 0.7;
}

/* Číslo komentáře */
.comment-number {
    font-size: 0.75em;
    font-weight: bold;
    margin-left: 2px;
    color: #666;
}

/* Boční bublina s komentářem */
.comment-bubble {
    display: block;
    position: absolute;
    right: -320px;
    width: 280px;
    padding: 12px;
    margin-top: -5px;
    border-radius: 8px;
    border-left: 4px solid;
    font-size: 0.9em;
    line-height: 1.4;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    z-index: 100;
}

/* Barvy bublin podle statusu */
.comment-bubble.comment-open {
    background-color: #fff3cd;
    border-left-color: #ffc107;
}

.comment-bubble.comment-resolved {
    background-color: #d4edda;
    border-left-color: #28a745;
}

.comment-bubble.comment-closed {
    background-color: #e2e3e5;
    border-left-color: #6c757d;
}

/* Číslo komentáře v bublině */
.comment-bubble .comment-num {
    font-weight: bold;
    font-size: 0.9em;
}

/* Status v bublině */
.comment-bubble .comment-status {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 0.85em;
    font-weight: bold;
    text-transform: uppercase;
    background-color: rgba(255,255,255,0.5);
}

/* Seznam komentářů na konci stránky */
.comments-summary {
    margin-top: 40px;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #dee2e6;
}

.comments-summary h3 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #495057;
    border-bottom: 2px solid #dee2e6;
    padding-bottom: 10px;
}

/* Jednotlivý komentář v seznamu */
.comment-item {
    margin-bottom: 15px;
    padding: 15px;
    border-radius: 6px;
    border-left: 4px solid;
}

.comment-item.comment-open {
    background-color: #fff3cd;
    border-left-color: #ffc107;
}

.comment-item.comment-resolved {
    background-color: #d4edda;
    border-left-color: #28a745;
}

.comment-item.comment-closed {
    background-color: #e2e3e5;
    border-left-color: #6c757d;
}

/* Hlavička komentáře v seznamu */
.comment-header {
    margin-bottom: 10px;
    font-weight: bold;
}

.comment-status-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 0.8em;
    text-transform: uppercase;
    margin-left: 8px;
}

.comment-status-badge.comment-open {
    background-color: #ffc107;
    color: #000;
}

.comment-status-badge.comment-resolved {
    background-color: #28a745;
    color: #fff;
}

.comment-status-badge.comment-closed {
    background-color: #6c757d;
    color: #fff;
}

/* Odkaz na text a obsah komentáře */
.comment-text-ref {
    margin-bottom: 8px;
    font-style: italic;
    color: #495057;
}

.comment-content {
    color: #212529;
}

/* Responsivní design pro menší obrazovky */
@media (max-width: 1200px) {
    .comment-bubble {
        display: none !important;
    }
}



