/* AI CONTEXT: Comments panel styles
   PURPOSE: Inline analyst-notes textbox + list, shared by every tagger view
   Mirrors the Event Log look (index.css) so it feels native next to it. */

.comments-section { margin-top: 20px; }
.comments-section h2 { text-align: center; color: #3f51b5; margin-bottom: 10px; }

/* Input sits under the timer, right above the tagging buttons. */
.comment-input-mount { margin: 12px 0; }

#comment-input {
    width: 100%;
    box-sizing: border-box;
    padding: 10px 12px;
    border: 1px solid #9aa0ad;
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.95em;
    color: #1a1a1a;
    background: #fff;
    resize: vertical;
}
#comment-input::placeholder { color: #6b6f7a; }
#comment-input:focus { outline: none; border-color: #3f51b5; box-shadow: 0 0 0 2px rgba(63, 81, 181, 0.15); }

#comment-list { list-style: none; padding: 0; max-height: 300px; overflow-y: auto; border: 1px solid #ddd; border-radius: 6px; }
#comment-list li { padding: 10px 15px; border-bottom: 1px solid #eee; display: flex; justify-content: space-between; align-items: flex-start; font-size: 0.95em; }
#comment-list li:last-child { border-bottom: none; }
#comment-list li:nth-child(odd) { background: #f9f9f9; }

.comment-details { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 0; }
.comment-time { font-weight: bold; color: #1a237e; margin-right: 8px; }
.comment-half { font-weight: normal; color: #666; margin-right: 8px; background: #eee; padding: 2px 5px; border-radius: 3px; font-size: 0.85em; }
.comment-text { white-space: pre-wrap; word-break: break-word; }

.delete-comment-btn { background: #ffcdd2; color: #c62828; border: none; padding: 5px 10px; border-radius: 4px; cursor: pointer; font-size: 0.8em; margin-left: 10px; flex-shrink: 0; }
.delete-comment-btn:hover { background: #ef9a9a; }
