/* Tag List Component Styles */
.tags-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.tag-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.tag-item:hover {
    border-color: #007bff;
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.1);
}

.tag-info {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tag-main {
    flex: 1;
}

.tag-name {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.tag-color {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: inline-block;
    border: 2px solid #fff;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1);
}

.tag-name a {
    color: #2c3e50;
    text-decoration: none;
}

.tag-name a:hover {
    color: #007bff;
}

.tag-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.25rem;
    margin-left: 1rem;
}

.doc-count {
    font-size: 0.875rem;
    font-weight: 600;
    color: #007bff;
}

.created-date {
    font-size: 0.8rem;
    color: #6c757d;
}

.tag-actions {
    margin-left: 1rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-primary {
    background-color: #007bff;
    border-color: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 3rem 1rem;
    color: #6c757d;
}

.empty-state i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #adb5bd;
}

.empty-state h3 {
    margin-bottom: 0.5rem;
    color: #495057;
}

.empty-state p {
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .tag-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .tag-info {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .tag-meta {
        align-items: flex-start;
        margin-left: 0;
    }
    
    .tag-actions {
        margin-left: 0;
        width: 100%;
    }
    
    .btn-sm {
        width: 100%;
        text-align: center;
    }
}