/* ========================
   📚 TAG HISTORY STYLES
   ======================== */
.tag-history-display {
    background: rgba(30, 30, 30, 0.8);
    border: 1px solid rgba(255, 68, 68, 0.2);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
}

.tag-history-display h6 {
    color: #ff6b6b;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

#tagHistoryContainer {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.tag-history-item {
    display: inline-block;
    background: rgba(50, 50, 50, 0.6);
    color: #e0e0e0;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 68, 68, 0.2);
    position: relative;
}

.tag-history-item:hover {
    background: rgba(255, 68, 68, 0.2);
    border-color: rgba(255, 68, 68, 0.5);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(255, 68, 68, 0.3);
}

.tag-history-item.selected {
    background: rgba(255, 68, 68, 0.4);
    border-color: rgba(255, 68, 68, 0.7);
    color: #ffffff;
}

.tag-history-item .check-mark {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #28a745;
    color: white;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

